Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Gadget Serial Problem
PostPosted: Thu Jul 05, 2007 9:55 pm 
Offline

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

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.

Bob


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: