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

    Joined:
    Jan 10, 2017
    Messages:
    1
    Likes Received:
    0
    hi
    we are asked a device driver that send data to arduino

    I planed to write a virtual usb driver like /dev/ttyUSBx does.in 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