LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   reading data from USB ports (https://www.linuxquestions.org/questions/linux-newbie-8/reading-data-from-usb-ports-642603/)

steelmoon 05-16-2008 05:48 AM

reading data from USB ports
 
Does anyone know what the command is that tells you what devices are connected to your usb ports. Or what man or info page It is on?

unSpawn 05-16-2008 06:59 AM

lsusb? lshw? 'find /sys/bus/usb/devices/ | while read dir; do find $dir/ -name product -o -iname id\* | xargs cat -v|xargs; done'?

steelmoon 05-17-2008 05:29 AM

Thanks for that. for some reason of Fedora 8 it seams to be /sbin/lsusb


All times are GMT -5. The time now is 12:26 PM.