rsm-gh / akbl

Control the lights of Alienware computers under GNU/Linux systems.
GNU General Public License v3.0
127 stars 24 forks source link

Support for Alienware M15 R4 #97

Open randomCharacter opened 3 years ago

randomCharacter commented 3 years ago

System information

Bug description

Add support for Alienware M15 R4

lsusb output:

Device: ID 187c:0550 Alienware Corporation 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x187c Alienware Corporation
  idProduct          0x0550 
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  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
rsm-gh commented 3 years ago

Hello @randomCharacter ,

I have added your configuration. Can you install and give me a feedback? If I remember well, there is a problem with the M15X series.

Best regards, rsm

randomCharacter commented 3 years ago

Hi @rsm-gh, Thank you for fast response. The provided link is redirecting to issues, but I assume you are referring to this commit. After running setup, my laptop was detected as Aleinware15R4, instead of AlienwareM15R4, but both configurations didn't work at the end.

rsm-gh commented 3 years ago

@randomCharacter ,

but I assume you are referring to this commit.

Yes that's the commit, my mistake !

After running setup, my laptop was detected as Aleinware15R4

The ID of that keyboard is pretty common so actually you can select a ton of different configurations. Never the less, when installing the software, you should select the AlienwareM14R4

but both configurations didn't work at the end.

Sadly that's what I was expecting. For making work your computer I need to fix this issue, the problem is currently affecting (at least) the M15R1,2,3,4, and the 15R1.

To be honest I don't have the hardware for doing it since I only posses on M14XR1. I doubt that I'll fix it but if someday it is done you will be able to benefit.

Best regards, rsm

randomCharacter commented 3 years ago

I see. Thank you for maintaining this project. I'll look into your code myself, so maybe I'll be able to help with this. Also I noticed that AKBL only supports setting colours on specific zones, but my laptop has per-key lighting keyboard. Will setting zones work in this case or is the keyboard using different controller?