Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Caps Lock LED on 87EC-XRGB has an issue with gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
crocket
Apprentice
Apprentice


Joined: 29 Apr 2017
Posts: 214

PostPosted: Tue May 07, 2019 6:09 am    Post subject: Caps Lock LED on 87EC-XRGB has an issue with gentoo Reply with quote

I run gentoo linux on a customized linux kernel. With this kernel, Caps Lock LED on 87EC-XRGB often does not toggle when I press Caps Lock. Thus, the LED often doesn't reflect the actual status of Caps Lock. Generic kernels from binary linux distributions don't have this issue.

How can I debug and fix the issue?


  • diff -u config.gentoo config.artix
  • diff -u lsmod.gentoo lsmod.artix
  • lsusb -v
    Code:
    Bus 004 Device 002: ID 0483:532d STMicroelectronics
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            0
      bDeviceSubClass         0
      bDeviceProtocol         0
      bMaxPacketSize0        64
      idVendor           0x0483 STMicroelectronics
      idProduct          0x532d
      bcdDevice            0.00
      iManufacturer           1 CATEX TECH.
      iProduct                2 87EC-XRGB
      iSerial                 3 CA2018050001
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           91
        bNumInterfaces          3
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xa0
          (Bus Powered)
          Remote Wakeup
        MaxPower              200mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         3 Human Interface Device
          bInterfaceSubClass      1 Boot Interface Subclass
          bInterfaceProtocol      1 Keyboard
          iInterface              4 Keyboard
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               1.10
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength      65
             Report Descriptors:
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x83  EP 3 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval               1
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         3 Human Interface Device
          bInterfaceSubClass      0
          bInterfaceProtocol      0
          iInterface              5 Program
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               1.00
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength      39
             Report Descriptors:
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x82  EP 2 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval              15
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x01  EP 1 OUT
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               3
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        2
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         3 Human Interface Device
          bInterfaceSubClass      0
          bInterfaceProtocol      0
          iInterface              6 System Control
            HID Device Descriptor:
              bLength                 9
              bDescriptorType        33
              bcdHID               1.10
              bCountryCode            0 Not supported
              bNumDescriptors         1
              bDescriptorType        34 Report
              wDescriptorLength     161
             Report Descriptors:
               ** UNAVAILABLE **
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x84  EP 4 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x000f  1x 15 bytes
            bInterval               1
    Device Status:     0x0000
      (Bus Powered)

  • usb-devices
    Code:
    T:  Bus=04 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
    D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=0483 ProdID=532d Rev=00.00
    S:  Manufacturer=CATEX TECH.
    S:  Product=87EC-XRGB
    S:  SerialNumber=CA2018050001
    C:  #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=200mA
    I:  If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
    I:  If#=0x1 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
    I:  If#=0x2 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid

  • dmesg on gentoo
    Code:
    [14897.226260] usb 5-5: new full-speed USB device number 15 using ohci-pci
    [14897.391300] usb 5-5: New USB device found, idVendor=0483, idProduct=532d, bcdDevice= 0.00
    [14897.391303] usb 5-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [14897.391304] usb 5-5: Product: 87EC-XRGB
    [14897.391306] usb 5-5: Manufacturer: CATEX TECH.
    [14897.391307] usb 5-5: SerialNumber: CA2018050001
    [14897.401890] input: CATEX TECH. 87EC-XRGB as /devices/pci0000:00/0000:00:13.0/usb5/5-5/5-5:1.0/0003:0483:532D.0031/input/input87
    [14897.453454] hid-generic 0003:0483:532D.0031: input,hidraw1: USB HID v1.10 Keyboard [CATEX TECH. 87EC-XRGB] on usb-0000:00:13.0-5/input0
    [14897.460568] hid-generic 0003:0483:532D.0032: hiddev96,hidraw2: USB HID v1.00 Device [CATEX TECH. 87EC-XRGB] on usb-0000:00:13.0-5/input1
    [14897.468916] input: CATEX TECH. 87EC-XRGB Consumer Control as /devices/pci0000:00/0000:00:13.0/usb5/5-5/5-5:1.2/0003:0483:532D.0033/input/input88
    [14897.520386] input: CATEX TECH. 87EC-XRGB System Control as /devices/pci0000:00/0000:00:13.0/usb5/5-5/5-5:1.2/0003:0483:532D.0033/input/input89
    [14897.520444] input: CATEX TECH. 87EC-XRGB Keyboard as /devices/pci0000:00/0000:00:13.0/usb5/5-5/5-5:1.2/0003:0483:532D.0033/input/input90
    [14897.520583] input: CATEX TECH. 87EC-XRGB Mouse as /devices/pci0000:00/0000:00:13.0/usb5/5-5/5-5:1.2/0003:0483:532D.0033/input/input91
    [14897.520642] hid-generic 0003:0483:532D.0033: input,hidraw3: USB HID v1.10 Keyboard [CATEX TECH. 87EC-XRGB] on usb-0000:00:13.0-5/input2
    [14897.562874] elogind-daemon[7228]: Watching system buttons on /dev/input/event14 (CATEX TECH. 87EC-XRGB System Control)
    [14897.571881] elogind-daemon[7228]: Watching system buttons on /dev/input/event12 (CATEX TECH. 87EC-XRGB)
    [14897.584339] elogind-daemon[7228]: Watching system buttons on /dev/input/event15 (CATEX TECH. 87EC-XRGB Keyboard)
    [14897.614216] elogind-daemon[7228]: Watching system buttons on /dev/input/event13 (CATEX TECH. 87EC-XRGB Consumer Control)

  • dmesg on artix linux
    Code:
    [1302.430641] usb 2-2: new full-speed USB device number 3 using ohci-pci
    [ 1302.795426] usb 2-2: New USB device found, idVendor=0483, idProduct=532d, bcdDevice= 0.00
    [ 1302.795429] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 1302.795431] usb 2-2: Product: 87EC-XRGB
    [ 1302.795432] usb 2-2: Manufacturer: CATEX TECH.
    [ 1302.795433] usb 2-2: SerialNumber: CA2018050001
    [ 1302.816674] input: CATEX TECH. 87EC-XRGB as /devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.0/0003:0483:532D.0002/input/input9
    [ 1302.873881] hid-generic 0003:0483:532D.0002: input,hidraw1: USB HID v1.10 Keyboard [CATEX TECH. 87EC-XRGB] on usb-0000:00:06.0-2/input0
    [ 1302.892787] hid-generic 0003:0483:532D.0003: hiddev0,hidraw2: USB HID v1.00 Device [CATEX TECH. 87EC-XRGB] on usb-0000:00:06.0-2/input1
    [ 1302.909147] input: CATEX TECH. 87EC-XRGB Consumer Control as /devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.2/0003:0483:532D.0004/input/input10
    [ 1302.963781] input: CATEX TECH. 87EC-XRGB System Control as /devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.2/0003:0483:532D.0004/input/input11
    [ 1302.963927] input: CATEX TECH. 87EC-XRGB Keyboard as /devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.2/0003:0483:532D.0004/input/input12
    [ 1302.964226] input: CATEX TECH. 87EC-XRGB Mouse as /devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.2/0003:0483:532D.0004/input/input13
    [ 1302.964485] hid-generic 0003:0483:532D.0004: input,hidraw3: USB HID v1.10 Keyboard [CATEX TECH. 87EC-XRGB] on usb-0000:00:06.0-2/input2
    [ 1303.040825] elogind[1345]: Watching system buttons on /dev/input/event10 (CATEX TECH. 87EC-XRGB System Control)
    [ 1303.040925] elogind[1345]: Watching system buttons on /dev/input/event8 (CATEX TECH. 87EC-XRGB)
    [ 1303.071934] elogind[1345]: Watching system buttons on /dev/input/event11 (CATEX TECH. 87EC-XRGB Keyboard)
    [ 1303.127978] elogind[1345]: Watching system buttons on /dev/input/event9 (CATEX TECH. 87EC-XRGB Consumer Control)

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum