-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 3 Dec 2002 19:31, John Sheahan wrote: > are there any solutions to identifying ports - short of ensuring all > devices have unique serial numbers? Dave Brownell implemented a nice solution, called make_usb_path(), which gets you the PCI address of the host controller and the usb tree to your device. You'd likely need to add support to your device driver, probably via an ioctl(). There are examples in the source, although I can't think of a convenient one right now.
Brad - -- http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE97H9bW6pHgIdAuOMRAqQkAKCmK28+T/Hq/IS+amIaPn+tYmeBAwCfSfAZ CCTsZc5/L1bQ4XpnoZKVoiQ= =zokL -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users