Trying to get the usb_dev_serial example to work under linux. When usb cable is plugged in, I see the usb device and I see that it creates a /dev/ttyACM0 port. I then write a simple C application to open this port and write/read to it. I can write to it, and I get breakpoints while debugging the example code in the RxHandler method of Usb_dev_serial.c. Problem is, the only event I ever get is USB_EVENT_DATA_REMAINING, so it never gets to any code which transmits anything back.
1) Am I treating this example properly (reading/writing to /dev/ttyACM0)?
2) Do I need to send special characters in order for this to work?
Any advice would be much appreciated.
Thanks, Dean