On Sun, 13 May 2007, Radha Mohan wrote: > How to differentiate between a pen drive and a USB HDD using any of the > descriptors? Both the devices use same driver. I want to know whether a > device connected is a pen-drive or a USB HDD.
There is no way to do it in general. For a particular limited set of devices, you can tell them apart based on their Vendor ID, Product ID, and Serial Number strings. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users