linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anssi Hannula <anssi.hannula@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev regression with hid input devices
Date: Fri, 19 Jan 2007 16:32:12 +0000	[thread overview]
Message-ID: <45B0F28C.3040001@gmail.com> (raw)
In-Reply-To: <45AE4CCA.8020607@gmail.com>

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

      reply	other threads:[~2007-01-19 16:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 16:20 udev regression with hid input devices Anssi Hannula
2007-01-19 16:32 ` Anssi Hannula [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B0F28C.3040001@gmail.com \
    --to=anssi.hannula@gmail.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).