device enumeration
jhalpin <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <C32BAB59.7544%[email protected]> |
Is there a way to specify the order in which devices are detected on bootup? It doesn't look like it to me, but I'm not sure I understand the code well enough to say. We have a board running linux 2.6, which always seems to discover an external usb key first if one is there. This gets assigned to /dev/sda1, and the internal usb flash gets assigned to /dev/sdb1. However, if a key isn't plugged in, the internal flash gets assigned to /dev/sda1. Our software needs a way to tell which device file is associated with the internal flash. I can root around in /sys and get an answer, but I'm hoping there's a better way. Incidentally, this board does not run udev, so that's not an option unfortunately. Thanks Joe -- ------------------------------------------------------------------------- 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/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel