rsm-gh / akbl

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

Add support to Alienware 15R2 #75

Open 1ntronaut opened 4 years ago

1ntronaut commented 4 years ago

System information

Bug description

USB Data

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1bcf:2b8c Sunplus Innovation Technology Inc. Integrated_Webcam_HD
Bus 001 Device 003: ID 8087:0a2a Intel Corp. 
Bus 001 Device 002: ID 187c:0528 Alienware Corporation AW1517
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Device Info

Device: ID 187c:0528 Alienware Corporation 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               0.02
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x187c Alienware Corporation
  idProduct          0x0528 
  bcdDevice            0.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           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.01
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      56
         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     0x000a  1x 10 bytes
        bInterval              10
rsm-gh commented 4 years ago

Hello @1ntronaut ,

I just added the configuration for your computer and it seems to be the same than the R1. You can download and re-install the software and I hope that everything works alright.

Please keep me updated, rsm

1ntronaut commented 4 years ago

Hi there @rsm-gh ,

Thank you for replying and adding the config for the AW15R2. Unfotunately, some things don't seem to work appropriately. I had been using the R1 config beforehand (before you made the config) and some lights are non- or partially responsive and/or get assigned wrong color values. It doensn't seem to differ when changing the DATA_LENGTH (I think it was called) to either 9 or 12.

I will be replying/contacting you with more information, regarding the exact lighting and LED positions on the laptop. For now, unfortunately, I'm swamped with work and I can't get into it right now.

Of course, I'm willing to do the block testing.. I will also try to give you an overview of the 'Zones' and 'LEDs' and 'Groups' my LED-lights are set to be in (from the original AW theme files in Windows); but it'll have to wait for a few more days.

Thanks for making the effort and supporting akbl c:

cheers, intronaut