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