Re: [linux-usb-devel] USBDEVFS_SUBMITURB error with 2.0 but not 1.1

2004-02-18 Thread don
The constant for decoding maxpacket size is still wrong in 2.4.25. The low 11 bits are used for the count (not 10). Here is a patch. I also added more debug messages before error returns. If these are not wanted I can submit just the constant change. -- Don Reid --- hcd.c.orig Tue Feb 17 10:

Re: [linux-usb-devel] USBDEVFS_SUBMITURB error with 2.0 but not 1.1

2004-02-12 Thread David Brownell
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

Re: [linux-usb-devel] USBDEVFS_SUBMITURB error with 2.0 but not 1.1

2004-02-12 Thread don
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 > > > >

Re: [linux-usb-devel] USBDEVFS_SUBMITURB error with 2.0 but not 1.1

2004-02-11 Thread David Brownell
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

[linux-usb-devel] USBDEVFS_SUBMITURB error with 2.0 but not 1.1

2004-02-11 Thread don
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. I have trac