Thanks Sergey,
I will try it with USBDEVFS_URB_TYPE_INTERRUPT.

----------
From:   Sergey Vlasov
Sent:   Sunday, December 21, 2003 2:33 PM
To:     '[EMAIL PROTECTED]'
Subject:        Re: [linux-usb-devel] ADU200 (PIC16C745) incompatible with libusb

> devio.c does NOT provide ioctls for interrupt writes and reads.

In fact, this is not entirely correct.  While a simple interface like
USBDEVFS_CONTROL or USBDEVFS_BULK is not provided, the more generic
USBDEVFS_SUBMITURB ioctl can be used to work with interrupt endpoints
(USBDEVFS_URB_TYPE_INTERRUPT).  Even better, this interface is already
available even in 2.4.x.

.......
Probably it would be better to use the existing ioctls instead of
adding new ones - this way your program will not require to upgrade
the kernel.





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to