Hi all,
I'm hoping someone can help me out with my wonderful Logitech Mediaplay mouse that I've just got along with my new Rextron KAG-14 USB KVM switch.
My machine is a 1GHz Athlon with 1Gb RAM and I'm running openSuSE 10.0 with X11R6.9 installed from openSuSE 10.1 Beta 6. After following this howto
here, I've got my MediaPlay up and running. I've writen a custom udev rule which creates a static device /dev/input/MediaPlay and pointed my xorg.conf file at it this part definitely works
The problem is that when I switch to another computer using the KVM, and then switch back to my SuSE box, the mouse has frozen. The logs indicate that switching looks like unplugging and replugging the mouse to the SuSE box. However, udev is seeing this and *is* still creating the static /dev file. So WTF is going on? X should still be pointing at /dev/input/MediaPlay no matter what event file the mouse is actually in. I've tried taking the KVM out of the equation and the same thing happens when you unplug and replug the mouse receiver manually.
I've already tried the lmpcm_usb driver but I couldn't get it to work properly, and from what I've read, the evdev solution is better.
Has anyone managed to get a similar set up working? See below for my xorg.conf and udev rule. Any help gratefully received
xorg.conf snippet
Code:
Section "InputDevice"
Driver "evdev"
Identifier "Mouse[1]"
Option "Device" "/dev/input/MediaPlay"
EndSection
InputDevice "Mouse[1]" "CorePointer"
udev rule
Code:
KERNEL=="event*", SYSFS{../manufacturer}=="Logitech", SYSFS{../product}=="USB RECEIVER", NAME="input/MediaPlay", MODE="664", GROUP="plugdev"
Log output when switching on the KVM
Code:
Mar 10 15:26:17 ferret kernel: usbcore: deregistering driver usbhid
Mar 10 15:26:17 ferret kernel: usbcore: deregistering driver hiddev
Mar 10 15:26:23 ferret kernel: usb 1-2: USB disconnect, address 81
Mar 10 15:26:23 ferret kernel: usb 1-2.2: USB disconnect, address 83
Mar 10 15:26:23 ferret kernel: usb 1-2.4: USB disconnect, address 82
Mar 10 15:26:26 ferret kernel: usb 1-2: new full speed USB device using uhci_hcd and address 84
Mar 10 15:26:27 ferret kernel: hub 1-2:1.0: USB hub found
Mar 10 15:26:27 ferret kernel: hub 1-2:1.0: 4 ports detected
Mar 10 15:26:27 ferret kernel: usb 1-2.4: new low speed USB device using uhci_hcd and address 85
Mar 10 15:26:27 ferret kernel: usbcore: registered new driver hiddev
Mar 10 15:26:27 ferret kernel: input: USB HID v1.00 Keyboard [Chicony USB Keyboard] on usb-0000:00:07.2-2.4
Mar 10 15:26:27 ferret kernel: input,hiddev96: USB HID v1.00 Device [Chicony USB Keyboard] on usb-0000:00:07.2-2.4
Mar 10 15:26:27 ferret kernel: usbcore: registered new driver usbhid
Mar 10 15:26:27 ferret kernel: drivers/usb/input/hid-core.c: v2.01:USB HID core driver
Mar 10 15:26:28 ferret kernel: usb 1-2.2: new low speed USB device using uhci_hcd and address 86
Mar 10 15:26:28 ferret kernel: lmpcm_usb.c: Logitech USB RECEIVER
Mar 10 15:26:28 ferret lmctl: 001.086: 046d:c50e Receiver for MX1000 Laser (C-BN34) Caps: CSR SMS
Mar 10 15:26:28 ferret lmctl: