Re: USB interrupt URB programming question

Sven Anders <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization ANDURAS AG
Message-ID <[email protected]>
Oliver Neukum schrieb:
> Am Donnerstag, 15. Februar 2007 10:27 schrieb Sven Anders:
>> My problem is: If I decide (upon the data I received from the touchpad), that
>> there isn't a finger any longer on the pad, I want to stop the calling of the
>> 'atp_complete' function until I'm sure the touchpad is touched again. Then I
>> want the data again till it's released again.
>>
>> After I suspend and resume the computer this works. How can I archive this
>> within the interrupt-handler-code?
> 
> You do this by implementing autosuspend support in your driver.
> However, this is a relatiely new and untested feature.

Is there any documentation?
Do I need a patch or is this integrated in any of the latest kernels?
How is the decision made, that the interface can be suspended?

>> Another possibility (for me) would be to make the interval (in the untouched
>> times)
>> longer. Is this possible?
> 
> Yes, you can increase the interval.

Can I do it in the interrupt-handler?
What do I have to call to set it?

Regards
 Sven
-- 
 Sven Anders <[email protected]>                 () Ascii Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS service solutions AG
 Innstraße 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger

-------------------------------------------------------------------------
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.