USB CDC demo linux

m_a_d_i_s wrote on Monday, October 22, 2007:


I have question regarding SAM7X lwip demo. There is USB CDC driver included in that project. Which runs fine in case of windows host. But I can not get it working under linux. My linux box finds the usb device and seems to enumerate it fine:

usb 2-8.4: new full speed USB device using ehci_hcd and address 5
usb 2-8.4: configuration #1 chosen from 1 choice

But thats all it does. Linux version is:

debian stable

lsmod shows that cdc_acm module is loaded. I loaded it manually. It seems to be that CDC class device is not recognized?

Thank you,

rtel wrote on Monday, October 22, 2007:

I’m afraid it has been noted before that the CDC driver is not fully conferment to the CDC spec, so I expect this is the issue on Linux.  Windoze (on which it was developed) is somewhat more forgiving it seems.  The driver is just meant for demo purposes.  If you correct it for Linux then let me know and I can update the files.  I do not have access to a Linux machine so cannot test it myself.