don wrote:
On Wed, Feb 11, 2004 at 05:13:07PM -0800, David Brownell wrote:

don wrote:

I have a device based on an EZUSB-FX2 part. It sends data with ISO
packets. My code uses the usbdevice_fs calls. It works on several
systems with 1.1 USB ports, but not on a 2.0 system. The call to


ioctl (device_fd, USBDEVFS_SUBMITURB, urb)

gets an error return -EINVAL.

There was a patch someone posted a while back, to set urb->interval when used with usbfs. I remember the patch being incorrect, since it assumed the interval was always 1 frame (or 1 uframe, at high speed), but likely that's your basic problem -- kernel bug.


Would this explain an EINVAL return from submitting a URB?

Yes, and the patch was


http://marc.theaimsgroup.com/?l=linux-usb-devel&m=106759963117426&w=2

but it should be "interval = 1 << (ep_desc->bInterval - 1)" as
I recall.  Someone should fix that patch and submit it...

- Dave



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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