On Tue, Mar 22, 2005 at 07:13:49PM -0500, Brian Perkins wrote: > Greg KH wrote: > >On Mon, Mar 21, 2005 at 11:45:38PM -0500, Brian Perkins wrote: > > > >>So it doesn't matter that the "type one" variety works fine with this > >>script, and the "type two" variety doesn't? > > > > > >Who knows? :) > > > >As these devices are undocumented, in the end, we really can never be > >sure :( > > > > > >>And it doesn't matter that the problem observed _precisely_ mirrors the > >>problem seen in the C problem (gpsbabel)? > > > > > >And that program uses the proper tty setup calls? > > Yes, as far as I can tell. And it works fine with the type one > controller.
Hm, can you send the values of /proc/bus/usb/devices for both the type one and type two controllers? > There is a pattern. After inserting the device and running the program > the first time, it works fine. The second time it drops the first > character. The third time, it's OK. The fourth time it drops the first > character. Etc. Etc. Ah, I've seen this before in some devices. We've worked around crappy hardware before, let me go dig up a patch... Hm, no, it looks like we already make a call to usb_clear_halt() in the open call for the pl2303 device, so I don't know what else to do. Ah, the joys of writing a driver for a completly undocumented device, with multiple revisions and broken implementations. It's amazing the thing even works at all... thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users