From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anssi Hannula Date: Fri, 19 Jan 2007 16:32:12 +0000 Subject: Re: udev regression with hid input devices Message-Id: <45B0F28C.3040001@gmail.com> List-Id: References: <45AE4CCA.8020607@gmail.com> In-Reply-To: <45AE4CCA.8020607@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Anssi Hannula wrote: > With a multi-interface USB HID devices (i.e. my keyboards and > radio-remote receivers), on 2.6.17: >=20 > # udevinfo -q all -n /dev/input/event4 > P: /class/input/input6/event4 > N: input/event4 > S: input/by-path/pci-0000:00:10.0-usb-0:1:1.1-event- > E: ID_VENDOR=3DLogitech > E: ID_MODEL=3DUSB_Receiver > E: ID_REVISION=0103 > E: ID_SERIAL=3DLogitech_USB_Receiver > E: ID_TYPE=3Dhid > E: ID_BUS=3Dusb > E: ID_PATH=3Dpci-0000:00:10.0-usb-0:1:1.1 >=20 > And on 2.6.20-rc4 (output from different host): >=20 > # udevinfo -q all -n /dev/input/event3 > P: /class/input/input3/event3 > N: input/event3 > S: input/by-path/pci-1-1--event- > E: ID_SERIAL=3Dnoserial > E: ID_PATH=3Dpci-1-1- >=20 > I found the following difference, possibly related: >=20 > # readlink -f /sys/class/input/input6/event4/device > /sys/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.1 >=20 > # readlink -f /sys/class/input/input3/event3/device > /sys/devices/pci0000:00/0000:00:10.0/usb1/1-1 >=20 > On the older working kernel, device/ symlink points to the interface > directory, which contains, among other files, the critical modalias file. It seems this is indeed the culprit here, and that the change is done in the HID split by Jiri Kosina, probably accidentally. I will write a patch to fix this, test it and send it to the relevant parties. --=20 Anssi Hannula ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel