Tag Info

Hot answers tagged

4

You can capture USB traffic with Wireshark. From it's wiki: To dump USB traffic on Linux, you need the usbmon module, which has existed since Linux 2.6.11. Information on that module is available in /usr/src/linux/Documentation/usb/usbmon.txt in the Linux source tree. Depending on the distribution you're using, and the version of that distribution, ...


2

Typically you can set the BIOS to handle USB support, which will work with whatever boot-loader from there. At that point you can have a separate image available to load with USB support for those times that everything goes to pot. This may not work as some USB devices aren't supported by some boot-loaders. Two notes: 1) I haven't tried this, though the ...


2

I generally use this approach when plugging in a USB based printer. Unplug the USB printer cable from your computer and enter this command: $ tail -f /var/log/syslog Reconnect the USB printer cable, you should see some messages appearing. Press Ctrl-C to stop the logging. Check whether the printer gets correctly detected by the USB subsystem and ...


1

I'm not quite certain what you're asking. You mention 'port' several times, but then in your example, you say the answer is /dev/ttyUSB0, which is a device dev path, not a port. So this answer is about finding the dev path for each device. Below is a quick and dirty script which walks through devices in /sys looking for USB devices with a ID_SERIAL ...


1

You can try echo -n "suspend" > /sys/bus/usb/drivers/hub/1-0:1.0/power/level to suspend the said usb device



Only top voted, non community-wiki answers of a minimum length are eligible