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

H

herhangibirhesap

Guest
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?
 

Staff online


Top