Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
[opensuse] No keyboard on XFCE after switching via KVM USB Switch box
Hi

Given:
SL 12.1 with xfce . Keyboard and mouse are connected via a USB KVM Switch.

Problem:
After the user switches to another box via the KVM Switch and back to to its
Linux box the keyboard does not function anymore. The mouse is still working.

Workaround:
The user unplugs the keyboard from the USB KVM switch and reconnects the
keyboard.

Example:
/var/log/messages during a KVM switch forth and back

Mar 7 12:25:08 tcpc2104 kernel: [18129.403747] usb 6-1.3: USB disconnect,
device number 45
Mar 7 12:25:08 tcpc2104 kernel: [18129.443749] hub 6-1:1.0: hub_port_status
failed (err = -71)
Mar 7 12:25:08 tcpc2104 kernel: [18129.443756] hub 6-1:1.0: connect-debounce
failed, port 3 disabled
Mar 7 12:25:08 tcpc2104 kernel: [18129.500044] usb 6-1: USB disconnect, device
number 39
Mar 7 12:25:08 tcpc2104 kernel: [18129.500049] usb 6-1.1: USB disconnect,
device number 46
Mar 7 12:25:08 tcpc2104 kernel: [18129.512141] usb 6-1.2: USB disconnect,
device number 44
Mar 7 12:25:09 tcpc2104 kernel: [18131.070028] usb 6-1: new low speed USB
device number 47 using uhci_hcd
Mar 7 12:25:10 tcpc2104 kernel: [18131.235057] usb 6-1: New USB device found,
idVendor=06f2, idProduct=0011
Mar 7 12:25:10 tcpc2104 kernel: [18131.235063] usb 6-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Mar 7 12:25:10 tcpc2104 kernel: [18131.235068] usb 6-1: Product: USB KVM Switch
Mar 7 12:25:10 tcpc2104 kernel: [18131.235071] usb 6-1: Manufacturer: USB KVM
Switch
Mar 7 12:25:10 tcpc2104 mtp-probe: checking bus 6, device 47:
"/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1"
Mar 7 12:25:10 tcpc2104 kernel: [18131.253874] input: USB KVM Switch USB KVM
Switch as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.0/input/input48
Mar 7 12:25:10 tcpc2104 kernel: [18131.254023] generic-usb
0003:06F2:0011.002E: input,hidraw0: USB HID v1.10 Keyboard [USB KVM Switch USB
KVM Switch] on usb-0000:00:1d.1-1/input0
Mar 7 12:25:10 tcpc2104 kernel: [18131.270807] input: USB KVM Switch USB KVM
Switch as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.1/input/input49
Mar 7 12:25:10 tcpc2104 kernel: [18131.270967] generic-usb
0003:06F2:0011.002F: input,hidraw1: USB HID v1.10 Mouse [USB KVM Switch USB KVM
Switch] on usb-0000:00:1d.1-1/input1
Mar 7 12:25:10 tcpc2104 mtp-probe: bus: 6, device: 47 was not an MTP device

As we see only the mouse will be recognized again.

In case the keyboard will disconnected and attached again we see:

Mar 7 12:28:09 tcpc2104 kernel: [18311.000040] usb 6-1: USB disconnect, device
number 47
Mar 7 12:28:11 tcpc2104 kernel: [18312.693030] usb 6-1: new full speed USB
device number 48 using uhci_hcd
Mar 7 12:28:11 tcpc2104 kernel: [18312.830268] usb 6-1: New USB device found,
idVendor=0451, idProduct=2046
Mar 7 12:28:11 tcpc2104 kernel: [18312.830274] usb 6-1: New USB device
strings: Mfr=0, Product=0, SerialNumber=0
Mar 7 12:28:11 tcpc2104 kernel: [18312.833341] hub 6-1:1.0: USB hub found
Mar 7 12:28:11 tcpc2104 kernel: [18312.835269] hub 6-1:1.0: 4 ports detected
Mar 7 12:28:11 tcpc2104 kernel: [18313.114276] usb 6-1.1: new low speed USB
device number 49 using uhci_hcd
Mar 7 12:28:12 tcpc2104 kernel: [18313.192273] usb 6-1.1: device descriptor
read/64, error -71
Mar 7 12:28:12 tcpc2104 kernel: [18313.370277] usb 6-1.1: device descriptor
read/64, error -71
Mar 7 12:28:12 tcpc2104 kernel: [18313.537280] usb 6-1.1: new low speed USB
device number 50 using uhci_hcd
Mar 7 12:28:12 tcpc2104 kernel: [18313.565281] hub 6-1:1.0: unable to
enumerate USB device on port 1
Mar 7 12:28:12 tcpc2104 kernel: [18313.632283] usb 6-1.2: new low speed USB
device number 51 using uhci_hcd
Mar 7 12:28:12 tcpc2104 kernel: [18313.763282] usb 6-1.2: New USB device
found, idVendor=045e, idProduct=00cb
Mar 7 12:28:12 tcpc2104 kernel: [18313.763288] usb 6-1.2: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Mar 7 12:28:12 tcpc2104 kernel: [18313.763293] usb 6-1.2: Product: Microsoft
Basic Optical Mouse v2.0
Mar 7 12:28:12 tcpc2104 kernel: [18313.763297] usb 6-1.2: Manufacturer:
Microsoft
Mar 7 12:28:12 tcpc2104 mtp-probe: checking bus 6, device 51:
"/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.2"
Mar 7 12:28:12 tcpc2104 kernel: [18313.780072] input: Microsoft Microsoft
Basic Optical Mouse v2.0 as
/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.2/6-1.2:1.0/input/input50
Mar 7 12:28:12 tcpc2104 kernel: [18313.780251] generic-usb
0003:045E:00CB.0030: input,hidraw0: USB HID v1.11 Mouse [Microsoft Microsoft
Basic Optical Mouse v2.0 ] on usb-0000:00:1d.1-1.2/input0
Mar 7 12:28:12 tcpc2104 kernel: [18313.847288] usb 6-1.3: new low speed USB
device number 52 using uhci_hcd
Mar 7 12:28:12 tcpc2104 kernel: [18313.976289] usb 6-1.3: New USB device
found, idVendor=06f2, idProduct=0011
Mar 7 12:28:12 tcpc2104 kernel: [18313.976296] usb 6-1.3: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Mar 7 12:28:12 tcpc2104 kernel: [18313.976301] usb 6-1.3: Product: USB KVM
Switch
Mar 7 12:28:12 tcpc2104 kernel: [18313.976305] usb 6-1.3: Manufacturer: USB
KVM Switch
Mar 7 12:28:12 tcpc2104 mtp-probe: checking bus 6, device 52:
"/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.3"
Mar 7 12:28:12 tcpc2104 kernel: [18313.995118] input: USB KVM Switch USB KVM
Switch as
/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.3/6-1.3:1.0/input/input51
Mar 7 12:28:12 tcpc2104 kernel: [18313.995269] generic-usb
0003:06F2:0011.0031: input,hidraw1: USB HID v1.10 Keyboard [USB KVM Switch USB
KVM Switch] on usb-0000:00:1d.1-1.3/input0
Mar 7 12:28:12 tcpc2104 kernel: [18314.012058] input: USB KVM Switch USB KVM
Switch as
/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.3/6-1.3:1.1/input/input52
Mar 7 12:28:12 tcpc2104 kernel: [18314.012220] generic-usb
0003:06F2:0011.0032: input,hidraw2: USB HID v1.10 Mouse [USB KVM Switch USB KVM
Switch] on usb-0000:00:1d.1-1.3/input1
Mar 7 12:28:13 tcpc2104 kernel: [18314.189294] usb 6-1.1: new low speed USB
device number 53 using uhci_hcd
Mar 7 12:28:13 tcpc2104 kernel: [18314.317292] usb 6-1.1: New USB device
found, idVendor=05d5, idProduct=8001
Mar 7 12:28:13 tcpc2104 kernel: [18314.317298] usb 6-1.1: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Mar 7 12:28:13 tcpc2104 kernel: [18314.317302] usb 6-1.1: Product: Ergomedia
Mar 7 12:28:13 tcpc2104 kernel: [18314.317306] usb 6-1.1: Manufacturer: KYE 4D
device
Mar 7 12:28:13 tcpc2104 mtp-probe: checking bus 6, device 53:
"/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.1"
Mar 7 12:28:13 tcpc2104 kernel: [18314.344121] input: KYE 4D device Ergomedia
as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.1/6-1.1:1.0/input/input53
Mar 7 12:28:13 tcpc2104 kernel: [18314.344273] generic-usb
0003:05D5:8001.0033: input,hidraw3: USB HID v1.10 Keyboard [KYE 4D device
Ergomedia] on usb-0000:00:1d.1-1.1/input0
Mar 7 12:28:13 tcpc2104 kernel: [18314.360127] input: KYE 4D device Ergomedia
as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.1/6-1.1:1.1/input/input54
Mar 7 12:28:13 tcpc2104 kernel: [18314.360247] generic-usb
0003:05D5:8001.0034: input,hidraw4: USB HID v1.10 Device [KYE 4D device
Ergomedia] on usb-0000:00:1d.1-1.1/input1
Mar 7 12:28:13 tcpc2104 mtp-probe: bus: 6, device: 51 was not an MTP device
Mar 7 12:28:13 tcpc2104 mtp-probe: bus: 6, device: 52 was not an MTP device
Mar 7 12:28:13 tcpc2104 mtp-probe: bus: 6, device: 53 was not an MTP device


I have read on the network that adding to the /etc/X11/xorg.conf :
...
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
...

Might help. But i am not familiar with the new XORG structure thus where to add
this entry.

Any help is appreciated
Hajo

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References