Gadget Serial Problem

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Posts: 11
Joined: Fri Apr 28, 2006 10:26 pm

Gadget Serial Problem

Thu Jul 05, 2007 9:55 pm


I'm running kernel version 2.6.20 on a AT91RM9200 and have a gadget serial (USB) open in user space. I'm reading and writing with no problem. My reads are blocking and
the read call returns fine when data comes in on the USB port. My
problem is that when I'm waiting on the read() call and the USB device
cable is removed, the read() does not return with an error like I
would expect, in fact it does not return at all and seems to be
locked. Basically the gadget serial driver is not releasing the read call when the USB disconnects. Anyone have any insight into this?

Thanks a lot.


Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 2 guests