Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to Dell G5 5000 #115

Open
cpknight opened this issue Oct 17, 2023 · 2 comments
Open

Add support to Dell G5 5000 #115

cpknight opened this issue Oct 17, 2023 · 2 comments

Comments

@cpknight
Copy link

System information

  • Distribution name: Debian
  • Distribution version: Bullseye
  • Python3 version: Python 3.9.2
  • akbl version: 2019.05.26
  • Computer model: Dell G5 5000
  • Daemon status: True

Bug description

USB Data

Bus 001 Device 002: ID 187c:0550 Alienware Corporation LED controller

Device Info

Device: ID 187c:0550 Alienware Corporation LED controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x187c Alienware Corporation
  idProduct          0x0550 LED controller
  bcdDevice            2.00
  iManufacturer           1 Alienware
  iProduct                2 AW-ELC
  iSerial                 3 00.01
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      25
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval             100
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0021
  bNumDeviceCaps          1
  Platform Device Capability:
    bLength                28
    bDescriptorType        16
    bDevCapabilityType      5
    bReserved               0
    PlatformCapabilityUUID    {d8dd60df-4589-4cc7-9cd2-659d9e648a9f}
    CapabilityData[0]    0x00
    CapabilityData[1]    0x00
    CapabilityData[2]    0x03
    CapabilityData[3]    0x06
    CapabilityData[4]    0x48
    CapabilityData[5]    0x00
    CapabilityData[6]    0x01
    CapabilityData[7]    0x00
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

I've done a bit of digging...

This is the same device (it appears) as the Dell G5 5500, Issue#88, only this machine only has one LED on the front panel (perhaps by default - I'm not sure if you can plug more in).

The following worked for me (using elc_ng.py):

#!/usr/bin/python3

from elc_ng import ELC, ColorCommand

elc = ELC(0x187c, 0x0550)

with elc:
	elc.execute(ColorCommand([1], 0, 255, 0))

I haven't spent much time digging into this yet, however. I tried writing a new DellG5_5000.ini, but I don't know enough about akbl to make this work for me (yet)...

@cpknight
Copy link
Author

I should add that I tried ColorCommand([0]... through ColorCommand([16]... but only [1] worked for me. The LED on the power button (the only other light on the front panel) didn't twitch, so I think that this G5 5000 only has the [1]...

@rsm-gh
Copy link
Owner

rsm-gh commented Dec 29, 2023

Hello @cpknight ,

Does the block testing window works?

rsm~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants