From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 23 Jan 2004 01:43:14 +0000 Subject: Re: how to determine physical bus of a device and find it there Message-Id: <20040123014314.GH16052@kroah.com> List-Id: References: <20040120025230.GA26199@vrfy.org> In-Reply-To: <20040120025230.GA26199@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Jan 23, 2004 at 12:42:36AM +0100, Kay Sievers wrote: > On Thu, Jan 22, 2004 at 02:40:46PM -0800, Greg KH wrote: > > On Tue, Jan 20, 2004 at 03:52:30AM +0100, Kay Sievers wrote: > > > > > > but the really interesting attributes are on the usb bus: > > > /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1': > > > > > > SYSFS_manufacturer="SMSC" > > > SYSFS_product="USB 2 Flash Media Device" > > > SYSFS_serial="0305037000C2" > > > > > > > > > So, how do I reliable get there? > > > > We need to set up a "stack" (for lack of a better word) of sysfs > > devices. We can now do this with some libsysfs calls. > > Oh, my english is not quite good, but for me it sounds like a 'chain'? Yes, that is a much better name for that, thanks. greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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