View previous topic :: View next topic |
Author |
Message |
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Tue Feb 15, 2022 12:43 pm Post subject: Razer Keyboard Lighting |
|
|
I have two different Razer keyboards, a Huntsman V2 Tenkeyless and a Huntsman Mini.
The lighting on the Mini works with all hardware and OSes that I've tried. I am not chasing the colors or patterns, just that it illuminates.
The Tenkeyless lights up on a pc in windows. It lights up during the post and early loading in the few linuxes that I have tried. The lights promptly go out before the booting is finished in every linux I have tried except a default XFCE Kali. The lights on the Tenkeyless do illuminate if I unplug the keyboard and then plug it back in after booting has completed.
I am using XFCE in my Gentoo installs, both PC and Pi. The Tenkeyless lighting works on the Gentoo Pi installs, just not on a PC.
The solution is eluding me, any ideas are appreciated. Thanks. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Tue Feb 15, 2022 3:42 pm Post subject: |
|
|
flysideways,
Share the Vendor and Device IDs.
I suspect that you need to tweek a knob in the kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Tue Mar 08, 2022 10:13 pm Post subject: |
|
|
dmesg from an install with the lights working
Code: | [ 2.881939] usb 1-3.1: new full-speed USB device number 3 using ehci-pci
[ 2.994135] usb 1-3.1: not running at top speed; connect to a high speed hub
[ 2.994884] usb 1-3.1: New USB device found, idVendor=1532, idProduct=026b, bcdDevice= 1.01
[ 2.994887] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.994889] usb 1-3.1: Product: Razer Huntsman V2 Tenkeyless
[ 2.994890] usb 1-3.1: Manufacturer: Razer
[ 2.997896] hid: raw HID events driver (C) Jiri Kosina
[ 3.002087] usbcore: registered new interface driver usbhid
[ 3.002089] usbhid: USB HID core driver
[ 3.003229] input: Razer Razer Huntsman V2 Tenkeyless as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0/0003:1532:026B.0001/input/input2
[ 3.014715] random: lvm: uninitialized urandom read (4 bytes read)
[ 3.062078] hid-generic 0003:1532:026B.0001: input,hidraw0: USB HID v1.11 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input0
[ 3.062426] input: Razer Razer Huntsman V2 Tenkeyless Keyboard as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.1/0003:1532:026B.0002/input/input3
[ 3.073934] usb 1-3.2: new full-speed USB device number 4 using ehci-pci
[ 3.122058] input: Razer Razer Huntsman V2 Tenkeyless as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.1/0003:1532:026B.0002/input/input4
[ 3.122107] hid-generic 0003:1532:026B.0002: input,hidraw1: USB HID v1.00 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input1
[ 3.122272] input: Razer Razer Huntsman V2 Tenkeyless as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.2/0003:1532:026B.0003/input/input5
[ 3.122342] hid-generic 0003:1532:026B.0003: input,hidraw2: USB HID v1.00 Mouse [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input2
[ 3.122397] hid-generic 0003:1532:026B.0004: No inputs registered, leaving
[ 3.122442] hid-generic 0003:1532:026B.0004: hidraw3: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input3
[ 3.122758] input: Razer Razer Huntsman V2 Tenkeyless Consumer Control as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.4/0003:1532:026B.0005/input/input6
[ 3.182021] hid-generic 0003:1532:026B.0005: input,hiddev0,hidraw4: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input4 |
another plugged in after boot to get all messages together
Code: | [ 16.010195] usb 1-3.1: new high-speed USB device number 6 using ehci-pci
[ 16.118988] usb 1-3.1: New USB device found, idVendor=1532, idProduct=026b, bcdDevice= 1.01
[ 16.118997] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 16.119003] usb 1-3.1: Product: Razer Huntsman V2 Tenkeyless
[ 16.119007] usb 1-3.1: Manufacturer: Razer
[ 16.120455] input: Razer Razer Huntsman V2 Tenkeyless as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0/0003:1532:026B.0006/input/input16
[ 16.178564] hid-generic 0003:1532:026B.0006: input,hidraw5: USB HID v1.11 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input0
[ 16.180550] input: Razer Razer Huntsman V2 Tenkeyless Keyboard as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.1/0003:1532:026B.0007/input/input17
[ 16.238524] input: Razer Razer Huntsman V2 Tenkeyless as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.1/0003:1532:026B.0007/input/input18
[ 16.238771] hid-generic 0003:1532:026B.0007: input,hidraw6: USB HID v1.00 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input1
[ 16.239984] input: Razer Razer Huntsman V2 Tenkeyless as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.2/0003:1532:026B.0008/input/input19
[ 16.240281] hid-generic 0003:1532:026B.0008: input,hidraw7: USB HID v1.00 Mouse [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input2
[ 16.240997] hid-generic 0003:1532:026B.0009: No inputs registered, leaving
[ 16.241120] hid-generic 0003:1532:026B.0009: hidraw8: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input3
[ 16.243941] input: Razer Razer Huntsman V2 Tenkeyless Consumer Control as /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.4/0003:1532:026B.000A/input/input20
[ 16.302607] hid-generic 0003:1532:026B.000A: input,hiddev2,hidraw9: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:00:12.2-3.1/input4
|
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5353 Location: Bavaria
|
Posted: Tue Mar 08, 2022 11:15 pm Post subject: |
|
|
NeddySeagoon wrote: | I suspect that you need to tweek a knob in the kernel. |
Neddy,
I am not sure. As far as I see it uses standard INPUT (evdev) and HID. No I2C or anything else which we know as bad. And it is recognized correctly.
Maybe this is a question of the bootloader. Maybe on PI there is no grub2 and PC uses grub2; or the other way. Or a initramfs/initrd. Something between while switching. I really think its not the kernel.
I would like to know what happens with this keyboard on a system where UEFI boots directly a (stub-) kernel ? |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Tue Mar 08, 2022 11:50 pm Post subject: |
|
|
This is from an arm64 Pi install, that works.
Code: | [ 2.571167] usb 1-1.4.1: new full-speed USB device number 4 using xhci_hcd
[ 2.676581] usb 1-1.4.1: not running at top speed; connect to a high speed hub
[ 2.680834] usb 1-1.4.1: New USB device found, idVendor=1532, idProduct=026b, bcdDevice= 1.01
[ 2.680855] usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.680869] usb 1-1.4.1: Product: Razer Huntsman V2 Tenkeyless
[ 2.680881] usb 1-1.4.1: Manufacturer: Razer
[ 2.690346] input: Razer Razer Huntsman V2 Tenkeyless as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.0/0003:1532:026B.0001/input/input0
[ 2.747983] hid-generic 0003:1532:026B.0001: input,hidraw0: USB HID v1.11 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input0
[ 2.754682] input: Razer Razer Huntsman V2 Tenkeyless Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.0002/input/input1
[ 2.811940] input: Razer Razer Huntsman V2 Tenkeyless Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.0002/input/input2
[ 2.812244] input: Razer Razer Huntsman V2 Tenkeyless System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.0002/input/input3
[ 2.812524] input: Razer Razer Huntsman V2 Tenkeyless as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.0002/input/input4
[ 2.812843] hid-generic 0003:1532:026B.0002: input,hidraw1: USB HID v1.00 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input1
[ 2.818558] input: Razer Razer Huntsman V2 Tenkeyless as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.2/0003:1532:026B.0003/input/input5
[ 2.819153] hid-generic 0003:1532:026B.0003: input,hidraw2: USB HID v1.00 Mouse [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input2
[ 2.823195] hid-generic 0003:1532:026B.0004: hidraw3: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input3
[ 2.829901] input: Razer Razer Huntsman V2 Tenkeyless Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.4/0003:1532:026B.0005/input/input6
[ 2.887748] hid-generic 0003:1532:026B.0005: input,hiddev96,hidraw4: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input4
|
The same Pi with a disconnect and reconnect.
Code: |
[ 504.323286] usb 1-1.4.1: USB disconnect, device number 4
[ 513.507190] usb 1-1.4.1: new high-speed USB device number 8 using xhci_hcd
[ 513.607970] usb 1-1.4.1: New USB device found, idVendor=1532, idProduct=026b, bcdDevice= 1.01
[ 513.607999] usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 513.608013] usb 1-1.4.1: Product: Razer Huntsman V2 Tenkeyless
[ 513.608026] usb 1-1.4.1: Manufacturer: Razer
[ 513.615462] input: Razer Razer Huntsman V2 Tenkeyless as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.0/0003:1532:026B.000A/input/input20
[ 513.676309] hid-generic 0003:1532:026B.000A: input,hidraw0: USB HID v1.11 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input0
[ 513.681611] input: Razer Razer Huntsman V2 Tenkeyless Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.000B/input/input21
[ 513.740434] input: Razer Razer Huntsman V2 Tenkeyless Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.000B/input/input22
[ 513.740819] input: Razer Razer Huntsman V2 Tenkeyless System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.000B/input/input23
[ 513.741197] input: Razer Razer Huntsman V2 Tenkeyless as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:1532:026B.000B/input/input24
[ 513.741601] hid-generic 0003:1532:026B.000B: input,hidraw1: USB HID v1.00 Keyboard [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input1
[ 513.746164] input: Razer Razer Huntsman V2 Tenkeyless as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.2/0003:1532:026B.000C/input/input25
[ 513.746816] hid-generic 0003:1532:026B.000C: input,hidraw2: USB HID v1.00 Mouse [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input2
[ 513.749578] hid-generic 0003:1532:026B.000D: No inputs registered, leaving
[ 513.749875] hid-generic 0003:1532:026B.000D: hidraw3: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input3
[ 513.756165] input: Razer Razer Huntsman V2 Tenkeyless Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.4/0003:1532:026B.000E/input/input26
[ 513.815883] hid-generic 0003:1532:026B.000E: input,hiddev96,hidraw4: USB HID v1.00 Device [Razer Razer Huntsman V2 Tenkeyless] on usb-0000:01:00.0-1.4.1/input4
|
There are four inputs that keep their number from the initial boot and the others get new one, in sequence, every disconnect and reconnect.
It is the PC's that have no lights on boot, but always on after a reconnect, or, always on if I boot with the keyboard disconnected and plug it in after the boot has finished.
I have one instance of Kali on a hard drive that boots with the lights on, old AMD FX board, and one usb thumb drive install that I use with a Ryzen box that also boots with the lights on. I have compared dmesg's and am missing any differences.
The PC keys are always illuminated for the post and very beginning of the boot. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5353 Location: Bavaria
|
Posted: Wed Mar 09, 2022 1:12 am Post subject: |
|
|
flysideways wrote: | I have compared dmesg's and am missing any differences. |
I believe this immediately, because I dont think its a kernel configuration. I would like to compare the boot sequences of these devices: EFI/CSM-boot ? --> [ grub2 or other ? ] or none ? --> kernel with/without initramfs ? --> systemD or OpenRC ?
flysideways wrote: | The PC keys are always illuminated for the post and very beginning of the boot. |
This is a little bit imprecisely. Can you define it more exactly at which point it happens ? In other words: BETWEEN which switches in your boot sequence (or in the middle of ...) ? What happens if you change something in this boot sequence: Using grub2 / NOT using grub2 ? |
|
Back to top |
|
|
|
|
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
|
|