Bug 483071 - My Razer Naga Pro does not work over USB with Wayland
Summary: My Razer Naga Pro does not work over USB with Wayland
Status: REOPENED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6, wayland
Depends on:
Blocks:
 
Reported: 2024-03-10 05:41 UTC by j_hodgson
Modified: 2024-03-19 10:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description j_hodgson 2024-03-10 05:41:06 UTC
My Razer Naga Pro mouse does not work over a USB cable or it's own 2.4gh dongle with Wayland only Bluetooth, X11 works fine.

STEPS TO REPRODUCE
1. Plug mouse in via USB on wayland
2. Try to use it
3. 

OBSERVED RESULT
Mouse only works over Bluetooth

EXPECTED RESULT
Mouse should work over USB/Dongle

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6750 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B650M AORUS ELITE

ADDITIONAL INFORMATION
I have not tried Wayland previously with this mouse so i am unable to say if this is a new problem.
Comment 1 David Edmundson 2024-03-14 14:03:50 UTC
Can you please run "evtest" and then select your mouse and perform some mouse wiggling.

Then share the result and reopen this report. Thanks
Comment 2 j_hodgson 2024-03-17 23:31:43 UTC
(In reply to David Edmundson from comment #1)
> Can you please run "evtest" and then select your mouse and perform some
> mouse wiggling.
> 
> Then share the result and reopen this report. Thanks

here are the results 
evtest
No device specified, trying to scan all of /dev/input/event*
Not running as root, no devices may be available.
Available devices:
/dev/input/event0:      Power Button
/dev/input/event1:      Power Button
/dev/input/event10:     HD-Audio Generic HDMI/DP,pcm=7
/dev/input/event11:     HD-Audio Generic Front Mic
/dev/input/event12:     HD-Audio Generic Rear Mic
/dev/input/event13:     HDA ATI HDMI HDMI/DP,pcm=8
/dev/input/event14:     HDA ATI HDMI HDMI/DP,pcm=9
/dev/input/event15:     HD-Audio Generic HDMI/DP,pcm=8
/dev/input/event16:     HD-Audio Generic HDMI/DP,pcm=9
/dev/input/event17:     HD-Audio Generic Line Out
/dev/input/event18:     HDA ATI HDMI HDMI/DP,pcm=10
/dev/input/event19:     HD-Audio Generic Front Headphone
/dev/input/event2:      Video Bus
/dev/input/event20:     HDA ATI HDMI HDMI/DP,pcm=11
/dev/input/event21:     Naga Pro Mouse
/dev/input/event22:     Naga Pro Consumer Control
/dev/input/event23:     Naga Pro System Control
/dev/input/event24:     Logitech Wireless Mouse PID:4038
/dev/input/event25:     Mouse passthrough
/dev/input/event256:    Razer Naga Pro
/dev/input/event257:    Onboard on-screen keyboard
/dev/input/event258:    Razer Naga Pro
/dev/input/event259:    Razer Naga Pro
/dev/input/event26:     Keyboard passthrough
/dev/input/event27:     Razer DSV2Pro TKL
/dev/input/event28:     Razer DSV2Pro TKL
/dev/input/event29:     Razer DSV2Pro TKL
/dev/input/event3:      YICHIP Wireless Device
/dev/input/event30:     Naga Pro
/dev/input/event31:     Naga Pro Keyboard
/dev/input/event4:      YICHIP Wireless Device Mouse
/dev/input/event5:      YICHIP Wireless Device System Control
/dev/input/event6:      YICHIP Wireless Device Consumer Control
/dev/input/event7:      HDA ATI HDMI HDMI/DP,pcm=3
/dev/input/event8:      HDA ATI HDMI HDMI/DP,pcm=7
/dev/input/event9:      HD-Audio Generic HDMI/DP,pcm=3
Select the device event number [0-259]: 256
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1532 product 0x8f version 0x111
Input device name: "Razer Naga Pro"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 273 (BTN_RIGHT)
Event code 274 (BTN_MIDDLE)
Event code 275 (BTN_SIDE)
Event code 276 (BTN_EXTRA)
Event type 2 (EV_REL)
Event code 0 (REL_X)
Event code 1 (REL_Y)
Event code 8 (REL_WHEEL)
Event code 11 (REL_WHEEL_HI_RES)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1710718124.445885, type 2 (EV_REL), code 0 (REL_X), value -1
Event: time 1710718124.445885, -------------- SYN_REPORT ------------
Event: time 1710718124.453883, type 2 (EV_REL), code 0 (REL_X), value -5
Event: time 1710718124.453883, type 2 (EV_REL), code 1 (REL_Y), value -2
Event: time 1710718124.453883, -------------- SYN_REPORT ------------
Event: time 1710718124.461883, type 2 (EV_REL), code 0 (REL_X), value -7
Event: time 1710718124.461883, type 2 (EV_REL), code 1 (REL_Y), value -3
Event: time 1710718124.461883, -------------- SYN_REPORT ------------
Event: time 1710718124.469888, type 2 (EV_REL), code 0 (REL_X), value -12
Event: time 1710718124.469888, type 2 (EV_REL), code 1 (REL_Y), value -7
Event: time 1710718124.469888, -------------- SYN_REPORT ------------
Event: time 1710718124.477883, type 2 (EV_REL), code 0 (REL_X), value -19
Event: time 1710718124.477883, type 2 (EV_REL), code 1 (REL_Y), value -10
Event: time 1710718124.477883, -------------- SYN_REPORT ------------
Event: time 1710718124.485886, type 2 (EV_REL), code 0 (REL_X), value -28
Event: time 1710718124.485886, type 2 (EV_REL), code 1 (REL_Y), value -15
Comment 3 Vlad Zahorodnii 2024-03-18 09:58:17 UTC
Can you also check if the input events are coming in kwin's debug console when you wiggle the mouse? The debug console can be opened by typing "kwin" in krunner, then navigate to the input events tab
Comment 4 j_hodgson 2024-03-19 10:07:29 UTC
(In reply to Vlad Zahorodnii from comment #3)
> Can you also check if the input events are coming in kwin's debug console
> when you wiggle the mouse? The debug console can be opened by typing "kwin"
> in krunner, then navigate to the input events tab

The mouse does not register in Input Events via USB, I also noticed under Input Devices that when the mouse is plugged in via USB it registers 3 new items all named Razer Naga Pro.