linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Drake <dsd@gentoo.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: usb_id segfaulting on 2.6.23
Date: Mon, 15 Oct 2007 13:07:04 +0000	[thread overview]
Message-ID: <471365F8.4010002@gentoo.org> (raw)
In-Reply-To: <47135D33.7080805@gentoo.org>

Kay Sievers wrote:
> Hmm, works fine here with my USB keyboard. Can you provide the output of:
>   udevinfo -a -p <devpath>
> for the failing setup?


# udevinfo -a -p 
/devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0/input/input2/event2

Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

   looking at device 
'/devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0/input/input2/event2':
     KERNEL="event2"
     SUBSYSTEM="input"
     DRIVER=""
     ATTR{dev}="13:66"

   looking at parent device 
'/devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0/input/input2':
     KERNELS="input2"
     SUBSYSTEMS="input"
     DRIVERS=""
 
ATTRS{modalias}="input:b0003v045Ep00BBe0111-e0,1,11,14,k71,72,73,74,75,77,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,F0,raml0,1,2,8,sfw"
     ATTRS{uniq}="_3A1B506A-BB77-444C-851B-C424997B2763_"
     ATTRS{phys}="usb-0000:00:02.0-2/input0"

   looking at parent device 
'/devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0/input':
     KERNELS="input"
     SUBSYSTEMS=""
     DRIVERS=""

   looking at parent device 
'/devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0':
     KERNELS="2-2:1.0"
     SUBSYSTEMS="usb"
     DRIVERS="usbhid"
     ATTRS{modalias}="usb:v045Ep00BBd0100dc00dsc00dp00ic03isc01ip01"
     ATTRS{bInterfaceProtocol}="01"
     ATTRS{bInterfaceSubClass}="01"
     ATTRS{bInterfaceClass}="03"
     ATTRS{bNumEndpoints}="01"
     ATTRS{bAlternateSetting}=" 0"
     ATTRS{bInterfaceNumber}="00"

   looking at parent device '/devices/pci0000:00/0000:00:02.0/usb2/2-2':
     KERNELS="2-2"
     SUBSYSTEMS="usb"
     DRIVERS="usb"
     ATTRS{dev}="189:129"

   looking at parent device '/devices/pci0000:00/0000:00:02.0/usb2':
     KERNELS="usb2"
     SUBSYSTEMS="usb"
     DRIVERS="usb"
     ATTRS{dev}="189:128"

   looking at parent device '/devices/pci0000:00/0000:00:02.0':
     KERNELS="0000:00:02.0"
     SUBSYSTEMS="pci"
     DRIVERS="ohci_hcd"
     ATTRS{msi_bus}=""
     ATTRS{broken_parity_status}="0"
     ATTRS{enable}="1"
 
ATTRS{modalias}="pci:v000010DEd0000036Csv0000147Bsd00001C25bc0Csc03i10"
     ATTRS{local_cpus}="ffffffff"
     ATTRS{irq}="23"
     ATTRS{class}="0x0c0310"
     ATTRS{subsystem_device}="0x1c25"
     ATTRS{subsystem_vendor}="0x147b"
     ATTRS{device}="0x036c"
     ATTRS{vendor}="0x10de"

   looking at parent device '/devices/pci0000:00':
     KERNELS="pci0000:00"
     SUBSYSTEMS=""
     DRIVERS=""
     ATTRS{uevent}=""


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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

  parent reply	other threads:[~2007-10-15 13:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 12:29 usb_id segfaulting on 2.6.23 Daniel Drake
2007-10-15 12:41 ` Kay Sievers
2007-10-15 12:58 ` Kay Sievers
2007-10-15 13:07 ` Daniel Drake [this message]
2007-10-15 21:19 ` Kay Sievers
2007-10-16 18:15 ` Kay Sievers
2007-11-06  0:42 ` Daniel Drake
2007-11-06  2:26 ` Kay Sievers
2007-11-06  7:42 ` Oliver Neukum
2007-11-06 11:47 ` Daniel Drake
2007-11-06 12:38 ` Oliver Neukum
2007-11-06 14:11 ` Oliver Neukum
2007-11-06 15:03 ` Daniel Drake
2007-11-06 16:11   ` Alan Stern
2007-11-06 16:05 ` Alan Stern
2007-11-06 17:51 ` Daniel Drake
2007-11-06 17:54 ` Daniel Drake
2007-11-06 22:18 ` Greg KH

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=471365F8.4010002@gentoo.org \
    --to=dsd@gentoo.org \
    --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).