Re: EOVERFLOW problem with usb_control_msg
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 20 Aug 2007, Frank A. Kingswood wrote: > Alan Stern wrote: > > It looks like your driver thinks it is performing a control-IN > > transfer, but the usbmon log shows that it is really doing a > > control-OUT. Could that be your problem? It stems from the fact that > > ch341_control_in uses usb_sndctrlpipe() instead of usb_rcvctrlpipe(). > > Of course, you're right. With that change in my code now runs OK. > > Next will be set_termios, but that looks pretty hairy in the drivers > I've looked at... Some of those drivers have been going through changes recently to simplify the termios handling. Be sure to look at the current development versions. > When my driver is feature-complete, should I post it here first for > review, or to lkml? Post it here first. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel