From: reg@dwf.com
To: linux-hotplug@vger.kernel.org
Subject: Another UDEV question.
Date: Wed, 03 Mar 2004 23:28:58 +0000 [thread overview]
Message-ID: <200403032328.i23NSwlv009796@orion.dwf.com> (raw)
Ive been trying to get several devices working (again) with
udev. Greg pointed me in the right direction on the first,
and I was able to get the second working,- but there is something
here that I dont understand.
On the first, a usb key, the udevinfo showed the device twice,
once as a scsi device, once as a usb. Trying to specify the device
with the 'model' string and the scsi info didnt work, with the
'model' and the 'usb' did. I have no idea WHY the one worked and
not the other.
On the second, a 2-1/2" drive in a small usb 'box' the udevinfo
shows the device again twice, once as
looking at the device chain at '/sys/devices/pci0000:00/0000:00:0d.0/usb3/3-1
/3-1:2.0/host3/3:0:0:0':
BUS="scsi"
ID="3:0:0:0"
SYSFS{detach_state}="0"
SYSFS{type}="0"
SYSFS{max_sectors}="240"
SYSFS{device_blocked}="0"
SYSFS{queue_depth}="1"
SYSFS{scsi_level}="3"
SYSFS{vendor}="IC25N020"
SYSFS{model}="ATCS04-0 "
SYSFS{rev}="CA2O"
SYSFS{online}="1"
and then again as
looking at the device chain at '/sys/devices/pci0000:00/0000:00:0d.0/usb3/3-1
':
BUS="usb"
ID="3-1"
SYSFS{detach_state}="0"
SYSFS{bNumInterfaces}=" 1"
SYSFS{bConfigurationValue}="2"
SYSFS{bmAttributes}="c0"
SYSFS{bMaxPower}=" 98mA"
SYSFS{idVendor}="0c0b"
SYSFS{idProduct}="b001"
SYSFS{bcdDevice}="1110"
SYSFS{bDeviceClass}="00"
SYSFS{bDeviceSubClass}="00"
SYSFS{bDeviceProtocol}="00"
SYSFS{bNumConfigurations}="1"
SYSFS{speed}="12"
SYSFS{manufacturer}="DMI"
SYSFS{product}="USB 2.0 Storage Adaptor"
SYSFS{serial}="0B0201420527B284"
and using the vendor or product fields I can get udev to see EITHER
of these.
Is this just hit or miss?
Is there someone behind the curtain that Im not seeing?
Just trying to understand whats going on.
--
Reg.Clemens
reg@dwf.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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
next reply other threads:[~2004-03-03 23:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 23:28 reg [this message]
2004-03-03 23:43 ` Another UDEV question 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=200403032328.i23NSwlv009796@orion.dwf.com \
--to=reg@dwf.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).