Skip to contentSkip to conversation

can I differentiate two usb device in linux hotplug?

DISCUSSION ayuan 2 participants 2 messages Nov 18, 2003 – Nov 20, 2003

lore
Share & tools
lore

ayuan

author
#0 lore raw

Hi,
I have some problems in using linux-hotplug. For example, if I have usb camera and usb mp3 at the same time, can I differentiate the two usb device in linux
hotplug? If linux hotplug can differentiate the two usb device, how to differentiate them? Thanks!ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÓ†+ó^µéšŠX¬²š'²ŠŞu¼ÿ„è3#„è3#ŠËayö¬·÷š³&§vÇœº·°k+hiDz̨º·(š›­z·ë¢f§Ég›nº0±ê诫zW¬±×¯‰ÇÿXœ’«zÚ¯(­·�şm¦Ïÿÿ 0ş-¢l©s÷(›ûküäƒ7ğıÿÛM7şßàÛiiı6«�ëšoàÛiişÙ©—ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ.)îÇøh¶™nƒ÷^½éfj)b� b²Øm¶ŸÿşX§»á¢Úeºì¢êÜyú+�ïçzÒâ�ìÿ†‹i–èÿu몗ùb²Ûÿ²‹«qçè®ÿ�ëa¶ÚlÿÿåŠËlşÊ.­ÇŸ¢¸şw­şX¬¶ÏåŠËb�ú?–)îÇøh¶™nƒ÷^

#1 lore raw
Quoted 5 lines · ayuan

Hi,
I have some problems in using linux-hotplug. For example, if I have usb camera and usb mp3 at the same time, can I differentiate the two usb device in linux hotplug? If linux hotplug can differentiate the two usb device, how to differentiate them?

Yes it can. Please see the documenataion at
http://linux-hotplug.sf.net/ for details on how to do this (based on vendor id, product id, etc.)

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel