|
Open the USB device file directly, read / write read and write, but in most cases you can't read anything, because USB and serial port are different, USB device types are different, and different initial trials are required. Soy oil different operation methods. For example, if you are using a USB mouse, then you can use cat / dev / mouse to get the data sent by the mouse to the PC. |
|