* udev regression with hid input devices
@ 2007-01-17 16:20 Anssi Hannula
2007-01-19 16:32 ` Anssi Hannula
0 siblings, 1 reply; 2+ messages in thread
From: Anssi Hannula @ 2007-01-17 16:20 UTC (permalink / raw)
To: linux-hotplug
With a multi-interface USB HID devices (i.e. my keyboards and
radio-remote receivers), on 2.6.17:
# 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=Logitech
E: ID_MODEL=USB_Receiver
E: ID_REVISION\x0103
E: ID_SERIAL=Logitech_USB_Receiver
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_PATH=pci-0000:00:10.0-usb-0:1:1.1
And on 2.6.20-rc4 (output from different host):
# 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=noserial
E: ID_PATH=pci-1-1-
I found the following difference, possibly related:
# readlink -f /sys/class/input/input6/event4/device
/sys/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.1
# readlink -f /sys/class/input/input3/event3/device
/sys/devices/pci0000:00/0000:00:10.0/usb1/1-1
On the older working kernel, device/ symlink points to the interface
directory, which contains, among other files, the critical modalias file.
--
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=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: udev regression with hid input devices
2007-01-17 16:20 udev regression with hid input devices Anssi Hannula
@ 2007-01-19 16:32 ` Anssi Hannula
0 siblings, 0 replies; 2+ messages in thread
From: Anssi Hannula @ 2007-01-19 16:32 UTC (permalink / raw)
To: linux-hotplug
Anssi Hannula wrote:
> With a multi-interface USB HID devices (i.e. my keyboards and
> radio-remote receivers), on 2.6.17:
>
> # 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=Logitech
> E: ID_MODEL=USB_Receiver
> E: ID_REVISION\x0103
> E: ID_SERIAL=Logitech_USB_Receiver
> E: ID_TYPE=hid
> E: ID_BUS=usb
> E: ID_PATH=pci-0000:00:10.0-usb-0:1:1.1
>
> And on 2.6.20-rc4 (output from different host):
>
> # 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=noserial
> E: ID_PATH=pci-1-1-
>
> I found the following difference, possibly related:
>
> # readlink -f /sys/class/input/input6/event4/device
> /sys/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.1
>
> # readlink -f /sys/class/input/input3/event3/device
> /sys/devices/pci0000:00/0000:00:10.0/usb1/1-1
>
> 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.
--
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=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-19 16:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-17 16:20 udev regression with hid input devices Anssi Hannula
2007-01-19 16:32 ` Anssi Hannula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).