Re: USB interrupt URB programming question

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Freitag, 16. Februar 2007 18:58 schrieb Sven Anders:
> Variant 1:
>  If the completion handler decides, that there is no finger on the touchpad
>  any more, it does not call usb_submit_urb() again. The completion handler
>  stops. Via an kernel timer I will call the completion handler to test, if
>  there is a finger on the touchpad again. If so, I will restart the interrupt
>  handler and will call usb_submit_urb() until I have no finger on the pad
>  again.

How are you going to tell whether a finger is on the pad without
requesting data which means calling usb_submit_urb?

	Regards
		Oliver

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.