Bug 211679 - HID: 258a:0001 SINO WEALTH USB KEYBOARD SCRLK/backlight button not work
Summary: HID: 258a:0001 SINO WEALTH USB KEYBOARD SCRLK/backlight button not work
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 high
Assignee: drivers_input-devices
URL:
Keywords:
: 211143 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-10 15:19 UTC by Gennaro Cimmino
Modified: 2021-04-26 12:39 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.12-0-1-MANJARO
Tree: Mainline
Regression: No


Attachments

Description Gennaro Cimmino 2021-02-10 15:19:38 UTC
Bus 001 Device 004: ID 258a:0001 SINO WEALTH USB KEYBOARD
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x258a 
  idProduct          0x0001 
  bcdDevice            1.00
  iManufacturer           1 SINO WEALTH
  iProduct                2 USB KEYBOARD
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x003b
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    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              0 
        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     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     158
         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     0x0008  1x 8 bytes
        bInterval              10
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)


with this command i can power on the backlight.
echo 1 | sudo tee /sys/class/leds/input6::scrolllock/brightness
or
xset led 3

but the screenlock button/button to poweron the backlight doesn't work.

i tried to set the trigger on "kbd-scrolllock" with 
echo "kbd-scrolllock" | sudo tee /sys/class/leds/input6::scrolllock/trigger

but the button doesn't work.

Thanks.

if it can help,
this is the keyboard model: CM Storm Devastator
https://www.coolermaster.com/catalog/peripheral/keyboards/devastator/
Comment 1 Gennaro Cimmino 2021-02-10 15:20:13 UTC
*** Bug 211143 has been marked as a duplicate of this bug. ***
Comment 2 Gennaro Cimmino 2021-03-01 18:36:27 UTC
if can help. Thanks.


sudo usbhid-dump -d 258a

001:004:001:DESCRIPTOR         1614623415.035768
 06 01 00 09 80 A1 01 85 02 25 01 15 00 75 01 0A
 81 00 0A 82 00 0A 83 00 95 03 81 06 95 05 81 01
 C0 06 0C 00 09 01 A1 01 85 03 25 01 15 00 75 01
 0A B5 00 0A B6 00 0A B7 00 0A CD 00 0A E2 00 0A
 A2 00 0A E9 00 0A EA 00 95 08 81 02 0A 83 01 0A
 94 01 0A 86 01 0A 88 01 0A 8A 01 0A 92 01 0A A8
 02 0A 84 01 95 08 81 02 0A 21 02 0A 23 02 0A 24
 02 0A 25 02 0A 26 02 0A 27 02 0A 2A 02 0A B1 02
 95 08 81 02 C0 06 00 FF 09 01 A1 01 85 05 15 00
 26 FF 00 19 01 29 02 75 08 95 05 B1 02 C0

001:004:000:DESCRIPTOR         1614623415.039679
 05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01
 75 01 95 08 81 02 95 01 75 08 81 01 95 03 75 01
 05 08 19 01 29 03 91 02 95 05 75 01 91 01 95 06
 75 08 15 00 26 FF 00 05 07 19 00 2A FF 00 81 00
 C0
 

 sudo usbhid-dump -d 258a --entity=stream
Starting dumping interrupt transfer stream
with 1 minute timeout.

001:004:000:STREAM             1614623510.889212 (SCRLK pressed)
 00 00 47 00 00 00 00 00

001:004:000:STREAM             1614623511.097207 (SCRLK released)
 00 00 00 00 00 00 00 00

Note You need to log in before you can comment on or make changes to this bug.