About: 2120 results

usbutils/lsusb.c at master · gregkh/usbutils · GitHub
https://github.com/gregkh/usbutils/blob/master/lsu ...
USB utilities for Linux, including lsusb. Contribute to gregkh/usbutils development by creating an account on GitHub.
第15回 udevを読む:ソースコード・リテラシーのススメ|gihyo.jp … 技術 ...
https://gihyo.jp/dev/serial/01/sc-literacy/0015
2008年7月9日 ... 過去数回に渡ってLinuxの起動の仕組みを紹介してきました。今回はその最後として udevとそれが利用するsysfsについて紹介しましょう。udevを使えば,従来はあらかじめ 用意しておく必要があったデバイスファイルを必要に応じて動的に作成 ...
How to check if an USB device is present without lsusb? - Unix ...
https://unix.stackexchange.com/questions/97235/how ...
mount -t usbfs none /proc/bus/usb cat /proc/bus/usb/devices. If you don't have the usbfs module OR /proc/bus/usb directory, then try this cat /sys/bus/usb/devices/*/ product.
How to read lsusb? - Unix & Linux Stack Exchange
https://unix.stackexchange.com/questions/207831/ho ...
Jun 5, 2015 ... "If it quacks like a keyboard and types like a keyboard it must be a keyboard." That's not always true. The lsusb utillity takes his information from a file called /var /lib/usbutils/usb.ids to look up the vendor ids, product ids, classes, ...
How to interpret the output of 'lsusb' -- What are all these Linux ...
https://unix.stackexchange.com/questions/103302/ho ...
A USB hub is a device that has one cord that plugs into one USB port, but provides multiple USB ports for you to plug devices into. It's essentially a USB multiplexer. A root hub, AFAIK, is a USB hub that's internal. For example, there might ony ...
Map physical USB device path to the Bus/Device number returned by ...
https://unix.stackexchange.com/questions/116664/ma ...
... now, we can retrieve device data by lsusb -D /dev/bus/usb/$busnum/$devnum echo "busnum=$busnum, devnum=$devnum" ... fi fi done echo "\$1 not found :-(" } ENDL $ source ~/.bashrc $ gousb 0a5c:21e6 $ pwd /sys/bus/usb/devices/2-1.4.
USB serial number not shown with lsusb -v command - Unix & Linux ...
https://unix.stackexchange.com/questions/361135/us ...
lsusb may try to open the USB device as O_RDWR (read/write mode) and your user might not have the rights to do this (some error message "Couldn't open device, some information will be missing" should be inbetween the output, if so).
Find out which modules are associated with a usb device? - Unix ...
https://unix.stackexchange.com/questions/60078/fin ...
Jan 2, 2013 ... Initially, lsusb seems to count devices from 1, /sys from 0. So 10-2 is a good guess for where to find the APC UPS lsusb gives as bus 10, device 3. Unfortunately, over time that mapping breaks down—sysfs re-uses numbers ...
How to get device filename from lsusb output or by device path ...
https://unix.stackexchange.com/questions/136781/ho ...
Supposing I'm trying to find the device for my UVC camera, lsusb gives me: Bus 001 Device 004: ID 1e4e:0102 Cubeternet GL-UPC822 UVC WebCam. The device filename is then /dev/bus/usb/001/004 (first component is bus id, next is device ...
How to get USB vendor and product info programmatically on Linux ...
https://stackoverflow.com/questions/3279800/how-to ...
lsusb command queries information about currently plugged USB devices. You can use its -d option to query a certain vendor/product (but it seems to work only for currently plugged devices): $ lsusb -d 0e21:0750 Bus 001 ...