I'm trying to write linux driver for my AT91SAM7S board with FreeRTOS with CDC class. It's working fine on Windows as virtual COM.
For Linux I try to use usb-skelton.c from kernel tree. It is loading correctly and device is detected (bulk in/out interface precisely):
"DSO-bulk interface is now attached to 192"
Few files are created: /dev/bulk0 and /dev/bus/usb/002/... and so on.
Please tell where are endpoints files that I can read/write to using fread and fwrite? I tried /dev/bulk0, I can open it with fopen but can't read any data from it.
Please help me, I've seen a few topic like my but there are no answer there.