View previous topic :: View next topic |
Author |
Message |
MaDDeePee Guru
Joined: 18 Aug 2004 Posts: 387 Location: Germany
|
Posted: Wed Mar 27, 2024 7:24 pm Post subject: Can't get 3rd(middle) mouse button working, Roccat [solved] |
|
|
Hi guys,
i am unable to get my middle mouse button working. should it work out of the box? Wheel is working as it should, though! KDE-Plasma recent and 6.6.21.
Code: | ~ $ lsusb
Bus 009 Device 003: ID 1e7d:2de1 ROCCAT ROCCAT Burst Pro
|
Code: |
cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 525.89.02
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Buttons" "3"
Option "MatchIsPointer" "on"
Option "Emulate3Buttons" "on"
Option "ZAxisMapping" "4 5"
Option "MiddleEmulation" "true"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Ancor Communications Inc ASUS PB287Q"
HorizSync 24.0 - 160.0
VertRefresh 30.0 - 80.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce RTX 2080"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-3"
Option "metamodes" "DP-2: nvidia-auto-select +3840+0, DP-4: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
|
Code: | xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Valve Software Steam Controller Mouse id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Keyboard Consumer Control id=13 [slave pointer (2)]
⎜ ↳ ROCCAT ROCCAT Burst Pro id=14 [slave pointer (2)]
⎜ ↳ ROCCAT ROCCAT Burst Pro Keyboard id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Blue Microphones Blue Snowball id=8 [slave keyboard (3)]
↳ Valve Software Steam Controller Keyboard id=9 [slave keyboard (3)]
↳ Logitech USB Keyboard id=11 [slave keyboard (3)]
↳ Logitech USB Keyboard System Control id=12 [slave keyboard (3)]
↳ ROCCAT ROCCAT Burst Pro Wireless Radio Control id=16 [slave keyboard (3)]
|
Code: | xinput list-props 14
Device 'ROCCAT ROCCAT Burst Pro':
Device Enabled (156): 1
Coordinate Transformation Matrix (158): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (271): 0
Device Accel Constant Deceleration (272): 1.000000
Device Accel Adaptive Deceleration (273): 1.000000
Device Accel Velocity Scaling (274): 10.000000
Device Product ID (267): 7805, 11745
Device Node (268): "/dev/input/event11"
Evdev Axis Inversion (275): 0, 0
Evdev Axes Swap (277): 0
Axis Labels (278): "Rel X" (166), "Rel Y" (167), "Rel Horiz Wheel" (299), "Rel Vert Wheel" (283), "None" (0), "None" (0)
Button Labels (284): "Button Left" (159), "Button Middle" (160), "Button Right" (161), "Button Wheel Up" (162), "Button Wheel Down" (163), "Button Horiz Wheel Left" (164), "Button Horiz Wheel Right" (165), "Button Side" (281), "Button Extra" (282), "Button Unknown" (280), "Button Unknown" (280), "Button Unknown" (280), "Button Unknown" (280)
Evdev Scrolling Distance (279): 1, 1, 1
Evdev Middle Button Emulation (285): 0
Evdev Middle Button Timeout (286): 50
Evdev Middle Button Button (287): 2
Evdev Third Button Emulation (288): 0
Evdev Third Button Emulation Timeout (289): 1000
Evdev Third Button Emulation Button (290): 3
Evdev Third Button Emulation Threshold (291): 20
Evdev Wheel Emulation (292): 0
Evdev Wheel Emulation Axes (293): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (294): 10
Evdev Wheel Emulation Timeout (295): 200
Evdev Wheel Emulation Button (296): 4
Evdev Drag Lock Buttons (297): 0
|
Code: | dmesg
[ 7.009673] usb 9-2: New USB device found, idVendor=1e7d, idProduct=2de1, bcdDevice= 1.01
[ 7.009677] usb 9-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7.009679] usb 9-2: Product: ROCCAT Burst Pro
[ 7.009680] usb 9-2: Manufacturer: ROCCAT
[ 7.020530] usb 5-6: new full-speed USB device number 4 using xhci_hcd
[ 7.072816] input: ROCCAT ROCCAT Burst Pro as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.0/0003:1E7D:2DE1.0004/input/input11
[ 7.072875] hid-generic 0003:1E7D:2DE1.0004: input: USB HID v1.11 Mouse [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input0
[ 7.076847] hid-generic 0003:1E7D:2DE1.0005: hiddev97: USB HID v1.11 Device [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input1
[ 7.081951] input: ROCCAT ROCCAT Burst Pro Keyboard as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input12
[ 7.133591] input: ROCCAT ROCCAT Burst Pro Mouse as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input13
[ 7.133656] input: ROCCAT ROCCAT Burst Pro as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input14
[ 7.133700] input: ROCCAT ROCCAT Burst Pro Wireless Radio Control as /devices/pci0000:20/0000:20:08.1/0000:2c:00.3/usb9/9-2/9-2:1.2/0003:1E7D:2DE1.0006/input/input15
[ 7.133745] hid-generic 0003:1E7D:2DE1.0006: input,hiddev98: USB HID v1.11 Keyboard [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input2
[ 7.137859] hid-generic 0003:1E7D:2DE1.0007: hiddev99: USB HID v1.11 Device [ROCCAT ROCCAT Burst Pro] on usb-0000:2c:00.3-2/input3
|
Code: | cat /usr/share/X11/xorg.conf.d/10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
|
Am i missing anything crucial? Help MUCH appreciated!
Last edited by MaDDeePee on Fri Mar 29, 2024 11:56 am; edited 2 times in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1713
|
Posted: Wed Mar 27, 2024 7:34 pm Post subject: |
|
|
Make sure to enable CONFIG_HID_ROCCAT in the kernel and fix that nvidia-settings generated file.
The "mouse" and "kbd" xorg drivers have not existed for many years now for amd64. They both should be libinput at best and evdev at worst.
A better solution is to copy that Device section to a /etc/xorg.conf.d/10-nvidia.conf file and move/rename the /etc/X11/xorg.conf file elsewhere.
This allows for automatic detection of other devices while reserving the video to the nvidia driver. |
|
Back to top |
|
|
MaDDeePee Guru
Joined: 18 Aug 2004 Posts: 387 Location: Germany
|
Posted: Wed Mar 27, 2024 7:37 pm Post subject: |
|
|
grknight wrote: | Make sure to enable CONFIG_HID_ROCCAT in the kernel and fix that nvidia-settings generated file.
The "mouse" and "kbd" xorg drivers have not existed for many years now for amd64. They both should be libinput at best and evdev at worst.
A better solution is to copy that Device section to a /etc/xorg.conf.d/10-nvidia.conf file and move/rename the /etc/X11/xorg.conf file elsewhere.
This allows for automatic detection of other devices while reserving the video to the nvidia driver. |
hi,
oh well i got INPUT_DEVICES="evdev" in make.conf. should this be libinput then? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Wed Mar 27, 2024 7:43 pm Post subject: |
|
|
MaDDeePee,
Code: | Option "ZAxisMapping" "4 5"
Option "MiddleEmulation" "true" |
The first option says to map the middle button to 4 and 5, that's press and release.
The second option says that you have a two button mouse and pressing both buttons together 'emulates' the middle button.
Comment out the Code: | Option "MiddleEmulation" "true" | and try again.
You will need to restart Xorg. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MaDDeePee Guru
Joined: 18 Aug 2004 Posts: 387 Location: Germany
|
Posted: Fri Mar 29, 2024 11:55 am Post subject: |
|
|
Got it working with libinput and removing xorg.conf. Thanks! |
|
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
|
|