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

Add support to Alienware M17 R2 #76

Open tugapower0 opened 4 years ago

tugapower0 commented 4 years ago

System information

USB Data

tugapower@Alienware:~/akbl$ lsusb
Bus 006 Device 002: ID 174c:1153 ASMedia Technology Inc. ASM2115 SATA 6Gb/s bridge
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 2104:030c  
Bus 001 Device 004: ID 0bda:565a Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 187c:0550 Alienware Corporation 
Bus 001 Device 007: ID 8087:0a2b Intel Corp. 
Bus 001 Device 006: ID 0d62:1a1c Darfon Electronics Corp. 
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Device Info


Device: ID 187c:0550 Alienware Corporation 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x187c Alienware Corporation
  idProduct          0x0550 
  bcdDevice            2.00
  iManufacturer           1 Alienware
  iProduct                2 AW-ELC
  iSerial                 3 00.01
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    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 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      25
          Report Descriptor: (length is 25)
            Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
                            (null)
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x21 ] 33
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Input, data= [ 0x00 ] 0
                            Data Array Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Output, data= [ 0x00 ] 0
                            Data Array Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
      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           33
  bNumDeviceCaps          1
  ** UNRECOGNIZED:  1c 10 05 00 df 60 dd d8 89 45 c7 4c 9c d2 65 9d 9e 64 8a 9f 00 00 03 06 48 00 01 00
Device Status:     0x0001
  Self Powered```
rsm-gh commented 4 years ago

Hello @TugaPowerROM ,

I just added the configuration for your computer, you can download and re-install the software to check if everything works alright,

Please keep me updated, rsm

tugapower0 commented 4 years ago

Hello @TugaPowerROM ,

I just added the configuration for your computer, you can download and re-install the software to check if everything works alright,

Please keep me updated, rsm

sorry for late answer, for me its not working, when press to do something it kinda frezze and no change happens.

rsm-gh commented 4 years ago

Hello @TugaPowerROM , you can start by using the block testing window and check if there's some error message.

~rsm

tugapower0 commented 4 years ago

Sorry for late answer, the block testing window just frezze when pressing the test and CPU start to spike.

hedmo commented 4 years ago

@TugaPowerROM

do you have a setting in bios about touchpad?

tugapower0 commented 4 years ago

@hedmo my BIOS does not have option to control touchpad on/off

Still cannot make akbl to work with my model, the block window frezze and cpu spikes :(

hedmo commented 4 years ago

@TugaPowerROM

as you can see when you hit : top the cpu spikes comes from udevd. udev has bind/unbind loop and that one i have not solved. alienware laptops have had this problem with hardware on some models like m17rx2 bluetooth and was fixed with udev rules : https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1759836

MangoPie2409 commented 4 years ago

I am still green with Linux. I am having the same issues with AKBL locking up while using the test block window. I understand that the problem lies with the bluetooth system, and can be fixed with Hedmo's response, but I need help understanding how to implement the solution.

I am running the same system as OP, and running Ubuntu 20.04.

hedmo commented 4 years ago

@MangoPie2409 the problem do not lie in the bluetooth system.alienware have had THE bind/unbind issues with the bluetooth systems before .this problem i think is something else because i have Tried to fix it with the old udev rules workaround and did not work.