LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sending raw data to a USB device from terminal in ubuntu (https://www.linuxquestions.org/questions/linux-networking-3/sending-raw-data-to-a-usb-device-from-terminal-in-ubuntu-784544/)

raphtor 01-25-2010 04:05 AM

sending raw data to a USB device from terminal in ubuntu
 
I want to send raw data to a usart port of my board connected to linux box. i know the command

echo "abcxyz" > /dev/<usb_dev_file_name>

would write the raw bits for characters abcxyz to the usb device but the problem is how do i know which device file to write to?there are so many in my /dev.

sohail0399 01-25-2010 04:37 AM

please check

/dev/bus/usb/

It may work for you.


All times are GMT -5. The time now is 01:29 AM.