You are not logged in.

#1 2015-04-10 23:37:59

gamewolf
Member
Registered: 2009-12-02
Posts: 60

Kernel thinks mouse is keyboard

I recently updated arch linux, and suddenly my mouse doesn't work anymore.

Here are the lines that show up whenever I unplug and plug the mouse back in:

Option "Device" "/dev/input/event4"
Using input driver 'libinput' for 'ROCCAT ROCCAT Kone XTD'
input device 'ROCCAT ROCCAT Kone XTD', /dev/input/event4 is tagged by udev as: keyboard
input device 'ROCCAT ROCCAT Kone XTD', /dev/input/event4 is a keyboard
XINPUT: Adding extended input device "ROCCAT ROCCAT Kone XTD" (type: KEYBOARD, id 11)

Apparently, udev thinks its a keyboard. How would I go about fixing this?

Last edited by gamewolf (2015-04-11 00:41:18)

Offline

#2 2015-04-11 00:04:24

EscapedNull
Member
Registered: 2013-12-04
Posts: 129

Re: Kernel thinks mouse is keyboard

This is just a quick guess, but did you reboot after the upgrade? A new kernel was pushed recently, and if you upgraded the kernel without rebooting, the module for your mouse might refuse to load.

See https://wiki.archlinux.org/index.php/Kernel_modules

Offline

#3 2015-04-11 00:37:42

gamewolf
Member
Registered: 2009-12-02
Posts: 60

Re: Kernel thinks mouse is keyboard

EscapedNull wrote:

This is just a quick guess, but did you reboot after the upgrade? A new kernel was pushed recently, and if you upgraded the kernel without rebooting, the module for your mouse might refuse to load.

See https://wiki.archlinux.org/index.php/Kernel_modules

Yes I did reboot (many times). I am wondering if the kernel upgrade might be causing the issue, but there are a number or packages that I need (GPU Driver) that depend on the new kernel.

Offline

#4 2015-04-11 00:52:52

gamewolf
Member
Registered: 2009-12-02
Posts: 60

Re: Kernel thinks mouse is keyboard

Ok, so I managed to downgrade the kernel, with no success in getting the mouse to work. I also got this new error:

kernel bug: Device "ROCCAT ROCCAT Kone XTD" has min == max on (null)

Offline

#5 2015-04-11 00:55:42

EscapedNull
Member
Registered: 2013-12-04
Posts: 129

Re: Kernel thinks mouse is keyboard

Does `dmesg | tail` have anything to say about it when you plug the mouse in? Do you know off-hand what driver it requires, and whether that module is present?

If you don't know, you can usually find out by searching online for the xxxx:xxxx vendor/product IDs from `lsusb`, or by the modalias.

shopt -s globstar
head /sys/bus/usb/devices/**/modalias

See also Find out which modules are associated with a usb device?

As for the keyboard, many mouses implement both the USB mouse and keyboard protocols, in order to implement additional buttons, like volume. These require different modules, so it could be that only the module for the keyboard protocol is present.

Offline

#6 2015-04-11 01:15:38

gamewolf
Member
Registered: 2009-12-02
Posts: 60

Re: Kernel thinks mouse is keyboard

You are correct on the keyboard part. I googled around and found that the Roccat Kone XTD does implement both mouse and keyboard. I found an article here: http://roccat.sourceforge.net/general.html

This talks about installing drivers and setting up xorg.conf. I figured that without the drivers, that the mouse would at least work on some basic level. Maybe I was wrong.

I'll post if I find anything new.

Offline

Board footer

Powered by FluxBB