Wwitched to gentoo-sources-2.6.13-r3 from gentoo-sources-2.6.12-r10. When I now boot up with my usb mouse connected, all works ok. Removing and reconnecting the mouse breaks it then. The device /dev/input/mouse2 (and my symlink /dev/input/usbmouse) that existed after boot is not created. I use coldplug and hotplug, but the needed module for the usbmouse is compiled in. It seems as if the input HID driver is not notified of the connected device as it does not output notifying messages. Will attach dmesg of both kernels. I have a udev rule for the mouse like this: BUS=="usb", DRIVER=="usb", SYSFS{product}=="USB-PS/2 Optical Mouse*", SYMLINK="input/usbmouse" This is the log of a mouse remove and reconnect: <snip> saidar ~ # uname -a Linux saidar.tsa 2.6.13-gentoo-r3 #5 Mon Oct 17 17:28:45 CEST 2005 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz Genuine Intel GNU/Linux saidar ~ # l /dev/input/ total 0 drwxr-xr-x 2 root root 140 Okt 18 2005 . drwxr-xr-x 19 root root 14260 Okt 18 21:37 .. crw-r--r-- 1 root root 13, 63 Okt 18 2005 mice crw-r--r-- 1 root root 13, 32 Okt 18 2005 mouse0 crw-r--r-- 1 root root 13, 33 Okt 18 2005 mouse1 crw-r--r-- 1 root root 13, 34 Okt 18 2005 mouse2 lrwxrwxrwx 1 root root 6 Okt 18 2005 usbmouse -> mouse2 saidar ~ # udevmonitor udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1129664280] remove@/class/input/mouse2 UEVENT[1129664280] remove@/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0 UEVENT[1129664280] remove@/devices/pci0000:00/0000:00:1d.0/usb1/1-1 UDEV [1129664280] remove@/class/input/mouse2 UDEV [1129664280] remove@/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0 UDEV [1129664280] remove@/devices/pci0000:00/0000:00:1d.0/usb1/1-1 --- removed mouse saidar ~ # l /dev/input/ total 0 drwxr-xr-x 2 root root 100 Okt 18 21:38 . drwxr-xr-x 19 root root 14260 Okt 18 21:37 .. crw-r--r-- 1 root root 13, 63 Okt 18 2005 mice crw-r--r-- 1 root root 13, 32 Okt 18 2005 mouse0 crw-r--r-- 1 root root 13, 33 Okt 18 2005 mouse1 saidar ~ # udevmonitor udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1129664285] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1 UEVENT[1129664286] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0 UDEV [1129664286] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1 UDEV [1129664286] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0 --- reconnected mouse saidar ~ # l /dev/input/ total 0 drwxr-xr-x 2 root root 100 Okt 18 21:38 . drwxr-xr-x 19 root root 14260 Okt 18 21:37 .. crw-r--r-- 1 root root 13, 63 Okt 18 2005 mice crw-r--r-- 1 root root 13, 32 Okt 18 2005 mouse0 crw-r--r-- 1 root root 13, 33 Okt 18 2005 mouse1 </snip> With kernel 2.6.12 the udev reconnect events looked like this: <snip> UEVENT[1129663918] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1 UEVENT[1129663918] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0 UEVENT[1129663918] add@/class/input/mouse2 UDEV [1129663918] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1 UDEV [1129663918] add@/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0 UDEV [1129663918] add@/class/input/mouse2 </snip> Of course this is minor, but still annoying.. any help appreciated.
Created attachment 70971 [details] usb-mouse-2.6.12-dmesg
Created attachment 70972 [details] usb-mouse-2.6.13-dmesg
Please try and reproduce this on the latest development kernel (currently vanilla-sources-2.6.14_rc5)
Works correctly with 2.6.14_rc5. This is upstream then? Or gentoo-sources?
gentoo-sources-2.6.14 now available in portage