libftdi Archives

Subject: Re: FT2232H bug: wrong maxpacket at full speed

From: David Brownell <david-b@xxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon, 2 Nov 2009 02:58:30 -0700
On Monday 02 November 2009, Thomas Jarosch wrote:

> Thanks for reporting this issue. Maybe there's a way to ask libusb
> about the maximum packet size, I'll have to check that. Otherwise
> we would need to go the sysfs route.

I don't know about portable options ... but <usb.h> in Linux
does at least show the config descriptor hanging out in the
usb_device data structure, which means you could parse it.


> Does anyone know if it's a valid thing to do for a USB device
> to switch to a lower speed during one "session"?

Such a thing isn't valid.  It would be a new session.  Plus
there'd be the issue of how to ask for such behavior....

- Dave




--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread