On Sunday 10 September 2006 6:10 pm, Lisa Y. wrote:
> Hi,
> 
> I can't seem to figure this out. But each time I run the usb.c program,
> it does not seem to go past the write () part in the
> simple_source_thread. It outputs a "signothing 22" and I'm not sure
> whether anything has been written to the endpoint-in virtual file. 

Did you get past this??  You had some userspace updates to teach it
about your controller, as I recall.

There's actually no reason that userspace shouldn't autoconfigure
now the way the kernel does.


> Is it waiting for some kind of signal from the host? 

The message means that something was signaled to EP0; I forget
why the message appears, since sigwait() was ISTR supposed to
mean the handler didn't get called.  That'd be a minor bug
someplace, not worth worrying about.


> And if yes, what 
> kind of signal/event should I get the host to send for the write to
> proceed and hence the host be able to read the data? 

The write should complete when the host has read almost all the
dats written to the endpoint ... e.g. running at full speed with
a single-buffered endpoint, probably all but the last packet of
64 bytes would have been read, and that last packet would have
been pushed to the FIFO.

- dave

-------------------------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to