LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2019, 08:52 PM   #1
chrocket
LQ Newbie
 
Registered: Jan 2011
Posts: 16

Rep: Reputation: 0
My linux kernel has an issue with Caps Lock LED on 87EC-XRGB.


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.
  • 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)

Last edited by chrocket; 05-07-2019 at 09:53 PM.
 
Old 06-04-2019, 05:03 AM   #2
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Rep: Reputation: 49
Post Personal researches on the subject

I adress this on my Website(in french, sorry): http://web.fdn.fr/~sascoet/ "Fichiers de configuration :" chapter
 
Old 08-20-2019, 01:03 AM   #3
chrocket
LQ Newbie
 
Registered: Jan 2011
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Stéphane Ascoët View Post
I adress this on my Website(in french, sorry): http://web.fdn.fr/~sascoet/ "Fichiers de configuration :" chapter

I can't read it. Can you just give me the solution here in english?
 
Old 08-20-2019, 10:56 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
It says that you should
Quote:
put both files in "/etc/init.d"
Become a super administrator
Do:
chmod 744 /etc/init.d/sa-22072014configurationtouches.sh
update-rc.d sa-22072014configurationtouches.sh start 23 2 3 4 5
The files are at
http://sascoet.mutu.fdn.fr/texte/fic...rationtouches/
Don't blame me if it all goes pair-shaped — I'm just the translator.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Caps Lock & Scroll Lock lights blinking (Not a Kernel Panic) Amanda_L Linux - Software 1 01-24-2014 06:58 PM
Kernel module,flashing caps-lock led Dufresne Programming 2 06-15-2010 02:05 PM
[SOLVED] Dell Studio 1555 no Caps Lock LED. Any software? marco18 Linux - Software 1 04-14-2010 04:00 PM
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 11:44 AM
Hard lock plus Caps and Scroll Lock flashing (kernel panic?) TiredOfThis Linux - General 4 12-11-2007 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration