We’ll need this to pass to our OpenVZ container in just a moment so make a note of it. dev/bus/usb/002/003Īs you can see, the above path starts with /dev/bus/usb/ and follows with the bus address in the lsusb command. You can navigate to the USB bus in /dev/bus/ by following the bus address. The way Linux accesses most IO devices is through the /dev/ mounts, and USB devices are no different. As above, mine is 002:003, which are the details I’ll need in a moment. Once you had identified the row in the output of lsusb it’s time to make a note of the usb bus it’s attached to. Then plug the device in and run the following command: lsusb > /tmp/afterįinally compare the two command outputs and identify the difference: diff /tmp/before /tmp/after For example, run the below command with the device unplugged. Often the names of the devices mean little and you’ll then need to compare the output of lsusb before and after plugging the device in. The device I’m after for this example is on Bus 002 Device 003 which I identified from the name. Integrated Rate Matching Hubīus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Integrated Rate Matching Hubīus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubīus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubīus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 001 Device 002: ID 8087:0024 Intel Corp. Bus 002 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) ICīus 002 Device 002: ID 8087:0024 Intel Corp. The below shows an example output of the command. Wait a few moments for it to be recognised and then run the below command to identify which bus the device is plugged into. The first step is usually the easiest take your USB device and plug it into your Proxmox host.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |