Try DigitalOcean free for up to two months!

how to send data char data from kernel space to usb?

Discussion in 'General Linux' started by herhangibirhesap, Jan 10, 2017.

  1. herhangibirhesap

    herhangibirhesap New Member

    Jan 10, 2017
    Likes Received:
    we are asked a device driver that send data to arduino

    I planed to write a virtual usb driver like /dev/ttyUSBx this way I can send data by typing echo "hello" > /dev/myUsbDriver to arduino

    but when I tried a usb driver code after that I added to insmod and plug in arduino to usb there was no myUsbDriver in /dev folder?

    maybe there is a better way I dont know for sending data to arduino via a normal device driver?

Share This Page