openrazer / openrazer

Open source driver and user-space daemon to control Razer lighting and other features on GNU/Linux
https://openrazer.github.io
GNU General Public License v2.0
3.61k stars 524 forks source link

Razer BlackWidow V4 - doesn't "initialize" unless it is replugged (USB) #2291

Open Swazib0y opened 2 weeks ago

Swazib0y commented 2 weeks ago

Affected Device / PID

Razer BlackWidow V4 1532:0287

Operating System / Version

Fedora 40

Kernel Version

6.10.6-200.fc40.x86_64

OpenRazer Version

3.8.0

Support Checklist

Symptoms

Please describe the issue

The device does not initialize on fresh boot and login. I have to remove the USB cable, wait a few seconds, and once I plug the USB cable back in it initializes perfectly.

By "no initialize" I mean, no back lighting active, all dark on the KB. Changing any backlight settings in Polychromatic has no effect, yet it detects the keyboard just fine.

Once I replug the device, PolyChromatic has no issues changing the back light config effectively.

Fresh boot dmesg

$ sudo dmesg | grep razer
[    6.346752] razerkbd: loading out-of-tree module taints kernel.
[    6.346763] razerkbd: module verification failed: signature and/or required key missing - tainting kernel
[    6.537597] razerkbd 0003:1532:0287.0005: input,hidraw4: USB HID v1.11 Keyboard [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input0
[    6.773550] razerkbd 0003:1532:0287.0007: input,hidraw5: USB HID v1.00 Mouse [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input2
[    6.773677] razerkbd 0003:1532:0287.0008: No inputs registered, leaving
[    6.773711] razerkbd 0003:1532:0287.0008: hidraw6: USB HID v1.00 Device [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input3
[    6.773914] razerkbd 0003:1532:0287.0009: hiddev98,hidraw7: USB HID v1.00 Device [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input4
[    6.826512] razerkbd 0003:1532:0287.0006: input,hidraw10: USB HID v1.00 Keyboard [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input1

Post replug dmesg

sudo dmesg | grep razer
[    6.346752] razerkbd: loading out-of-tree module taints kernel.
[    6.346763] razerkbd: module verification failed: signature and/or required key missing - tainting kernel
[    6.537597] razerkbd 0003:1532:0287.0005: input,hidraw4: USB HID v1.11 Keyboard [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input0
[    6.773550] razerkbd 0003:1532:0287.0007: input,hidraw5: USB HID v1.00 Mouse [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input2
[    6.773677] razerkbd 0003:1532:0287.0008: No inputs registered, leaving
[    6.773711] razerkbd 0003:1532:0287.0008: hidraw6: USB HID v1.00 Device [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input3
[    6.773914] razerkbd 0003:1532:0287.0009: hiddev98,hidraw7: USB HID v1.00 Device [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input4
[    6.826512] razerkbd 0003:1532:0287.0006: input,hidraw10: USB HID v1.00 Keyboard [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input1
[  462.317528] razerkbd 0003:1532:0287.000C: input,hidraw4: USB HID v1.11 Keyboard [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input0
[  462.375872] razerkbd 0003:1532:0287.000D: input,hidraw5: USB HID v1.00 Keyboard [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input1
[  462.441802] razerkbd 0003:1532:0287.000E: input,hidraw6: USB HID v1.00 Mouse [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input2
[  462.446834] razerkbd 0003:1532:0287.000F: No inputs registered, leaving
[  462.446911] razerkbd 0003:1532:0287.000F: hidraw7: USB HID v1.00 Device [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input3
[  462.457353] razerkbd 0003:1532:0287.0010: hiddev98,hidraw10: USB HID v1.00 Device [Razer Razer BlackWidow V4] on usb-0000:57:00.0-3/input4

Modules seem fine.

sudo dkms status
openrazer-driver/3.8.0, 6.10.4-200.fc40.x86_64, x86_64: installed
openrazer-driver/3.8.0, 6.10.5-200.fc40.x86_64, x86_64: installed
openrazer-driver/3.8.0, 6.10.6-200.fc40.x86_64, x86_64: installed

What am I missing? I am a .... dangerous rookie on the command line. Point me in the right direction I should be good (mostly LOL)!

lah7 commented 2 weeks ago

I'm not really sure if anything on OpenRazer's software side is causing this.

Since nobody else reported this problem, it's possible there could be newer firmware that fixed this. If you can, try plugging the keyboard into a Windows computer with Razer Synapse 3 installed to check. Sometimes newer firmware can fix things like this.

RogerSelf commented 1 week ago

I'm having this same issue and the scenario listed by OP matches my presentation of the problem. The only difference I have to his initial setup is I am dual booting (OSes contained on two seperate SSD's)

DKMS Status:

openrazer-driver/3.8.0, 6.10.7-200.fsync.fc40.x86_64, x86_64: installed

RogerSelf commented 2 days ago

Recent updates seem to have addressed this issue.

Fixed