From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 01 Mar 2004 17:00:18 +0000 Subject: Re: How can I specify a specific 'sub-device' of a device for udev Message-Id: <1078160418.1170.6.camel@pim> List-Id: References: <4042D36F.9020909@kuiki.net> In-Reply-To: <4042D36F.9020909@kuiki.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 2004-03-01 at 17:23, Jonathan Steinert wrote: > Kay Sievers wrote: > > On Mon, 2004-03-01 at 07:08, Jonathan Steinert wrote: > > > >This does leave me puzzled about two things: > >> > >> 1) Why does udev have a flag to crawl up the sysfs tree (Asuming my > >> observations of udev are correct) but no flag to show the attributes of > >> only the device I specify? or only 'n' layers down for that matter? > > Do you really need this? Why? > > That's not quite what I intended with the question. My observation is > that udevinfo shows you all the attributes as you walk up the tree, but > udev has no way to match attributes as you walk up the tree. > > I'm not sure if this is intended to confuse people, but it most > certainly makes me think that there should be a way to match attributes > as you walk up the tree with udev, otherwise why does it show it to you? udevinfo prints all attributes in sections, you can select and combine any attribute within _one_ section, thats why we print it all. Unfortunally, I see this doesn't solve your problem. could you please send a: tree /sys/devices/pci0000:00/0000:00:1d.2/usb2/2-1 I want to have a look if we can do something for you :) thanks, Kay ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&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