Re: EOVERFLOW problem with usb_control_msg
"Frank A. Kingswood" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
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... When my driver is feature-complete, should I post it here first for review, or to lkml? Many thanks for your help, Frank Kingswood. ------------------------------------------------------------------------- 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