On Thu, 18 Aug 2005, Uwe Bonnes wrote:

> However for mapping the interrupt mechanism available in the parport
> framework to the USB layer I have no idea. In basic, the status register of
> the SJA1000 needs to be polled at a high rate.1000 Hz would probably do,
> like the time frame for non Full spped USB devices use.

Is that a typo?  1000 Hz _is_ the frame rate for full-speed USB.  
(High-speed USB uses microframes at 8000 Hz.)  Hence a full-speed device
with an interrupt endpoint whose period was 1 frame would be interrogated 
1000 times per second.

>  When a certain
> condition is met, the USB layer needs to react appropriate and needs to
> inform higher levels.

That will happen whenever the device sends a positive response to the 
periodic interrogation.

> Is there already something like a parport framework for the USB layer? I
> know about libusb, but it is in user space and has therefore some drawbacks,
> but also some advantages...

I'm not aware of anything like that.  You may end up with no choice but to 
build your own tools.

Alan Stern



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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