USB interrupt URB programming question
Sven Anders <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | ANDURAS AG |
| Message-ID | <[email protected]> |
Hello!
I want to change the actual "appletouch.c" USB driver and run into a problem.
After I called
usb_fill_int_urb(dev->urb, udev,
usb_rcvintpipe(udev, int_in_endpointAddr),
dev->data, dev->datalen, atp_complete, dev, 1);
the driver waits until the USB device (here the touchpad) starts sending data
(after I touched it). It does this continuously until I unload the driver.
If I change the driver to not (re)call the function
usb_submit_urb(dev->urb, GFP_ATOMIC);
in the "atp_complete" function, it stops. But it does not wait (as the first
time) to restart the transfer. Is it possible to let the USB device restart
the transfer after I touched the pad again?
Any trick to archive this? Do I have to reinit the device?
And help appreciated!
Thanks in advance,
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
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel