Flight 5 problems with USB mouse hotplugging

Paul paul at oz.net
Mon Mar 27 01:18:02 UTC 2006


As I understand it, hotplug has been replaced by udev.
But now hotplugging the USB mouse into my laptop no longer works.

What am I doing wrong?  Do I need to manually to add the
USB mouse as an input device in xorg.conf?  Didn't have to
do that in Hoary/Breezy/etc.

$ cat /etc/issue
Ubuntu 6.04 "Dapper Drake" Development Branch \n \l

$ uname -a
Linux coho 2.6.15-19-386 #1 PREEMPT Mon Mar 20 16:46:02 UTC 2006 i686 GNU/Linux

$ lsmod | grep usb
usbmouse                5504  0
usbhid                 38368  0
usbcore               129668  4 usbmouse,usbhid,uhci_hcd

Hotplugging the USB mouse is detected by the kernel and udevmonitor,
but the mouse has no effect on the X11 pointer.

$ dmesg
...
Mar 26 17:00:50 coho kernel: [4341125.889000] usb 1-1: new low speed USB device using uhci_hcd and address 5
Mar 26 17:00:53 coho kernel: [4341126.082000] input: Kensington Kensington USB Wheel Mouse as /class/input/input5
Mar 26 17:00:53 coho kernel: [4341126.082000] input: USB HID v1.00 Mouse [Kensington Kensington USB Wheel Mouse] on usb-0000:00:1f.2-1

# udevmonitor
...
UEVENT[1143421250.278429] add@/devices/pci0000:00/0000:00:1f.2/usb1/1-1
UEVENT[1143421250.295122] add@/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0
UEVENT[1143421250.312301] add@/class/input/input5
UEVENT[1143421250.312375] add@/class/input/input5/mouse1
UEVENT[1143421250.312398] add@/class/input/input5/event2
UEVENT[1143421250.312420] add@/class/input/input5/ts1
UEVENT[1143421250.336175] add@/class/usb_device/usbdev1.5
UDEV  [1143421251.172223] add@/devices/pci0000:00/0000:00:1f.2/usb1/1-1
UDEV  [1143421251.902558] add@/devices/pci0000:00/0000:00:1f.2/usb1/1-1/1-1:1.0
UDEV  [1143421252.061794] add@/class/input/input5
UDEV  [1143421252.760693] add@/class/usb_device/usbdev1.5
UDEV  [1143421253.616508] add@/class/input/input5/ts1
UDEV  [1143421253.633197] add@/class/input/input5/mouse1
UDEV  [1143421253.835879] add@/class/input/input5/event2


Thanks!

-- Paul





More information about the ubuntu-users mailing list