Thank you greg, and thank you for your excellent work on udev. I tried, but finally gave up because I'm using a embedded system with a highly modified uClinux 2.4.22. Is there any chance to solve this problem with devfs? Or can udev run under such a platform without performance loss?
brs Edward >From: Greg KH <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >CC: linux-usb-users@lists.sourceforge.net >Subject: Re: [Linux-usb-users] Matching usb port with device file >Date: Sun, 4 Feb 2007 23:03:05 -0800 > >On Mon, Feb 05, 2007 at 09:23:45AM +0800, [EMAIL PROTECTED] wrote: > > Hi, > > > > I need to locate the device file by every usb port. Could anyone give me >a > > hint? > > > > The background is I have two usb ports. On each port, there is a usb >mass > > storage device. I need to mount corresponding device file when >application > > chose the usb port. I know the device files are > > /dev/scsi/host0/bus0/target0/lun0/disc and > > /dev/scsi/host1/bus0/target0/lun0/disc. But I don't know which is from >usb > > port1. > >Try using udev to map this properly, it will show you this information >if you use the udevinfo program. > >good luck, > >greg k-h _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users