Recently I purchased a Das Keyboard DK5QS and it’s working fine. Every now and then I play a little and Wine immediately acted weird as it kept turning on and off my keyboard and mouse (num-lock lamp went crazy and the dmesg
got spammed). As soon as I managed to quit the game (quite tricky actually) everything turned normal.
After looking around for a while I noticed that my XFCE-settings listed the keyboard as a mouse. So in the “Mouse and Touchpad”-area the drop-down lists
- Metadot - Das Keyboard DK5QS
- Logitech Logitech RumblePad 2 USB
As the “Keyboard”-area has no such drop-down I can’t post what’s the keyboard. Anyway, here some commands and outputs:
lsusb
The output to lsusb
is:
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 085: ID 24f0:209a Metadot DK5QS
Bus 007 Device 084: ID 0557:8021 ATEN International Co., Ltd Hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 048d:8297 Integrated Technology Express, Inc. IT8297 RGB LED Controller
Bus 003 Device 002: ID 046d:c218 Logitech, Inc. F510 Gamepad [DirectInput Mode]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2516:0051 Cooler Master Co., Ltd. AMD SR4 lamplight Control
Bus 001 Device 002: ID 046d:081b Logitech, Inc. Webcam C310
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg while unplugging the mouse
usb 7-3: USB disconnect, device number 72
usb 7-3.1: USB disconnect, device number 73
usb 7-3: new full-speed USB device number 74 using xhci_hcd
usb 7-3: New USB device found, idVendor=0557, idProduct=8021, bcdDevice= 1.00
usb 7-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 7-3:1.0: USB hub found
hub 7-3:1.0: 4 ports detected
usb 7-3.1: new full-speed USB device number 75 using xhci_hcd
usb 7-3.1: New USB device found, idVendor=24f0, idProduct=209a, bcdDevice= 1.00
usb 7-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 7-3.1: Product: DK5QS
usb 7-3.1: Manufacturer: Metadot - Das Keyboard
input: Metadot - Das Keyboard DK5QS as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.0/0003:24F0:209A.0129/input/input393
hid-generic 0003:24F0:209A.0129: input,hidraw4: USB HID v1.10 Keyboard [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input0
input: Metadot - Das Keyboard DK5QS System Control as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.1/0003:24F0:209A.012A/input/input394
input: Metadot - Das Keyboard DK5QS Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.1/0003:24F0:209A.012A/input/input395
hid-generic 0003:24F0:209A.012A: input,hidraw5: USB HID v1.10 Device [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input1
dmesg while plugging in the mouse
usb 7-3: USB disconnect, device number 74
usb 7-3.1: USB disconnect, device number 75
usb 7-3: new full-speed USB device number 76 using xhci_hcd
usb 7-3: New USB device found, idVendor=0557, idProduct=8021, bcdDevice= 1.00
usb 7-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 7-3:1.0: USB hub found
hub 7-3:1.0: 4 ports detected
usb 7-3.1: new full-speed USB device number 77 using xhci_hcd
usb 7-3.1: New USB device found, idVendor=24f0, idProduct=209a, bcdDevice= 1.00
usb 7-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 7-3.1: Product: DK5QS
usb 7-3.1: Manufacturer: Metadot - Das Keyboard
input: Metadot - Das Keyboard DK5QS as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.0/0003:24F0:209A.012B/input/input396
hid-generic 0003:24F0:209A.012B: input,hidraw4: USB HID v1.10 Keyboard [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input0
input: Metadot - Das Keyboard DK5QS System Control as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.1/0003:24F0:209A.012C/input/input397
input: Metadot - Das Keyboard DK5QS Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.1/0003:24F0:209A.012C/input/input398
hid-generic 0003:24F0:209A.012C: input,hidraw5: USB HID v1.10 Device [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input1
input: Metadot - Das Keyboard DK5QS as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.2/0003:24F0:209A.012D/input/input399
hid-generic 0003:24F0:209A.012D: input,hidraw6: USB HID v1.11 Mouse [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input2
dmesg while unplugging the keyboard
usb 7-3: USB disconnect, device number 76
usb 7-3.1: USB disconnect, device number 77
usb 7-3: new full-speed USB device number 78 using xhci_hcd
usb 7-3: New USB device found, idVendor=0557, idProduct=8021, bcdDevice= 1.00
usb 7-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 7-3:1.0: USB hub found
hub 7-3:1.0: 4 ports detected
usb 7-3.1: new full-speed USB device number 79 using xhci_hcd
usb 7-3.1: config 1 has an invalid interface number: 2 but max is 1
usb 7-3.1: config 1 has no interface number 1
usb 7-3.1: New USB device found, idVendor=0557, idProduct=2213, bcdDevice= 1.00
usb 7-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 7-3.1: Product: HDMI KVM V1.2.115
usb 7-3.1: Manufacturer: ATEN Advance Tech Inc.
input: ATEN Advance Tech Inc. HDMI KVM V1.2.115 as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.0/0003:0557:2213.012E/input/input400
hid-generic 0003:0557:2213.012E: input,hidraw4: USB HID v1.00 Keyboard [ATEN Advance Tech Inc. HDMI KVM V1.2.115] on usb-0000:0a:00.3-3.1/input0
input: ATEN Advance Tech Inc. HDMI KVM V1.2.115 as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.2/0003:0557:2213.012F/input/input401
hid-generic 0003:0557:2213.012F: input,hidraw5: USB HID v1.11 Mouse [ATEN Advance Tech Inc. HDMI KVM V1.2.115] on usb-0000:0a:00.3-3.1/input2
dmesg while plugging in the keyboard
usb 7-3: USB disconnect, device number 78
usb 7-3.1: USB disconnect, device number 79
usb 7-3: new full-speed USB device number 80 using xhci_hcd
usb 7-3: New USB device found, idVendor=0557, idProduct=8021, bcdDevice= 1.00
usb 7-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 7-3:1.0: USB hub found
hub 7-3:1.0: 4 ports detected
usb 7-3.1: new full-speed USB device number 81 using xhci_hcd
usb 7-3.1: New USB device found, idVendor=24f0, idProduct=209a, bcdDevice= 1.00
usb 7-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 7-3.1: Product: DK5QS
usb 7-3.1: Manufacturer: Metadot - Das Keyboard
input: Metadot - Das Keyboard DK5QS as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.0/0003:24F0:209A.0130/input/input402
hid-generic 0003:24F0:209A.0130: input,hidraw4: USB HID v1.10 Keyboard [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input0
input: Metadot - Das Keyboard DK5QS System Control as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.1/0003:24F0:209A.0131/input/input403
input: Metadot - Das Keyboard DK5QS Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.1/0003:24F0:209A.0131/input/input404
hid-generic 0003:24F0:209A.0131: input,hidraw5: USB HID v1.10 Device [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input1
input: Metadot - Das Keyboard DK5QS as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.2/0003:24F0:209A.0132/input/input405
hid-generic 0003:24F0:209A.0132: input,hidraw6: USB HID v1.11 Mouse [Metadot - Das Keyboard DK5QS] on usb-0000:0a:00.3-3.1/input2
hwinfo --mouse # with the keyboard plugged in
$ hwinfo --mouse
64: USB 00.2: 10503 USB Mouse
[Created at usb.122]
Unique ID: 8rR7.oGBDYt2gox4
Parent ID: Ur7z.Uktxy1IOZI5
SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.2
SysFS BusID: 7-3.1:1.2
Hardware Class: mouse
Model: "Metadot - Das Keyboard DK5QS"
Hotplug: USB
Vendor: usb 0x24f0 "Metadot - Das Keyboard"
Device: usb 0x209a "DK5QS"
Revision: "1.00"
Compatible to: int 0x0210 0x0023
Driver: "usbhid"
Driver Modules: "usbhid"
Device File: /dev/input/mice (/dev/input/mouse0)
Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event18, /dev/input/by-id/usb-Metadot_-_Das_Keyboard_DK5QS-if02-event-mouse, /dev/input/by-path/pci-0000:0a:00.3-usb-0:3.1:1.2-event-mouse, /dev/input/by-id/usb-Metadot_-_Das_Keyboard_DK5QS-if02-mouse, /dev/input/by-path/pci-0000:0a:00.3-usb-0:3.1:1.2-mouse
Device Number: char 13:63 (char 13:32)
Speed: 12 Mbps
Module Alias: "usb:v24F0p209Ad0100dc00dsc00dp00ic03isc01ip02in02"
Driver Info #0:
Buttons: 3
Wheels: 2
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #59 (Hub)
hwinfo --mouse # with the keyboard plugged out
$ sleep 5; hwinfo --mouse
64: USB 00.2: 10503 USB Mouse
[Created at usb.122]
Unique ID: 8rR7.jvH3oxkTpg9
Parent ID: Ur7z.Uktxy1IOZI5
SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb7/7-3/7-3.1/7-3.1:1.2
SysFS BusID: 7-3.1:1.2
Hardware Class: mouse
Model: "ATEN International CS682 2-Port USB 2.0 DVI KVM Switch"
Hotplug: USB
Vendor: usb 0x0557 "ATEN International Co., Ltd"
Device: usb 0x2213 "CS682 2-Port USB 2.0 DVI KVM Switch"
Revision: "1.00"
Compatible to: int 0x0210 0x0023
Driver: "usbhid"
Driver Modules: "usbhid"
Device File: /dev/input/mice (/dev/input/mouse0)
Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event16, /dev/input/by-id/usb-ATEN_Advance_Tech_Inc._HDMI_KVM_V1.2.115-if02-event-mouse, /dev/input/by-path/pci-0000:0a:00.3-usb-0:3.1:1.2-event-mouse, /dev/input/by-id/usb-ATEN_Advance_Tech_Inc._HDMI_KVM_V1.2.115-if02-mouse, /dev/input/by-path/pci-0000:0a:00.3-usb-0:3.1:1.2-mouse
Device Number: char 13:63 (char 13:32)
Speed: 12 Mbps
Module Alias: "usb:v0557p2213d0100dc00dsc00dp00ic03isc01ip02in02"
Driver Info #0:
Buttons: 3
Wheels: 2
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #59 (Hub)
InputDevices of the Xorg-configuration
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
So how do I tell XFCE/Xorg what’s a keyboard and what’s a mouse or maybe what’s NOT a mouse?
BTW, the KVM-switch has to stay as my life would turn bad without it.