On Monday 15 January 2007 10:08 am, David Brownell wrote:

> > > As to why they don't get up to userspace, it seems to be something after
> > > the kill_fasync() is called which doesn't work.  The event loop is never
> > > notified; sigwait() never returns, the read on ep0 is never issued.  This
> > > is outside the realm of gadgetfs infrastructure, unfortunately, so unless
> > > a bug turns up in how those notifications are issued I'll suspect 
> > > something
> > > changed in the signal processing triggered by kill_fasync().
> > >
> > > I'm thinking of trying to rewrite that userspace loop in terms of poll(),
> > > but if that works 
> 
> ... at least the enumeration timeouts are gone; more later ...

With that and the other patches I've sent (notably the race fix, none
of the others ought to matter here), I don't see problem any more.

I've checked the updated "usb.c" code into CVS; not sure when it'l be
visible on the website, presumably tomorrow morning, but I'd expect
it's available from CVS already.

Can you see if it behaves correctly now on your system?

- Dave

p.s. Still haven't sorted out why kill_fasync() is misbehaving.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to