Linux Usb Protocol Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us usb device not accepting address error 71 Learn more about Stack Overflow the company Business Learn more about hiring developers or usb protocol error 71 posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow device descriptor read/64 error 32 Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Protocol Error (71) is comming from usbtest driver while
Device Descriptor Read/64 Error 71
reading bulk in request from USB device up vote 1 down vote favorite I have ubuntu 12.04 with kernel version 3.2.0 on my Linux PC. I have updated one usbtest driver for my USB device which is working fine in vendor read and write request. I have also requirement to read bulk in request which can used to read 4 bytes of data from USB device. I config_usb_suspend got the error like Protocol Error (71) continuously while reading bulk in request data and the it can not be recovered after unloading and loading my usbtest driver. To recover that error, I have to unplug and plug the udb device then and then i can do vendor read/write request after getting that error. Is there any one have idea about how to resolve that issue or is any one have faced this type of issue before? Please let me know the positive feedback as soon as possible. ioctl error :: 71 (Protocol error) ioctl called failed status :: -1 linux usb linux-device-driver share|improve this question asked Sep 5 '13 at 13:01 Ritesh Prajapati 323414 Is there any one have idea about this type of error? Please let me know as quickly as possible if any have faced this type of problem. –Ritesh Prajapati Sep 6 '13 at 3:25 Is any one have idea about timing (delay) constraint required to cause this type of error? Because I have observed one thing that whenever i put some debug statement in usbetst driver while fetching bulk in request at that this type of error is not faced from usbtest
Member Registered: 2009-07-24 Posts: 48 [SOLVED] USB error numbers and codes Hi there,I struggle around with some erros device not responding to setup address on usb devices.dmesg does only output error numbers like e.g.device
Linux Usb Error
not accepting address 69, error -71On http://stackoverflow.com/questions/9544 … 4-error-71 I found a description what this
Device Not Accepting Address Error 32
error means (error -71 is a EPROTO error).in /usr/src/linux/Documentation/usb/error-codes.txt all this codes are described but there is no association to the number.So how can I http://stackoverflow.com/questions/18637099/protocol-error-71-is-comming-from-usbtest-driver-while-reading-bulk-in-request convert a error number to the error code described in the text file if the next time any other error appears.Cheers Framas Last edited by framas (2012-09-28 12:44:18) Offline #2 2012-09-28 06:43:43 DSpider Member From: Romania Registered: 2009-08-23 Posts: 2,273 Re: [SOLVED] USB error numbers and codes https://bbs.archlinux.org/viewtopic.php?id=149384Don't forget to mark https://bbs.archlinux.org/viewtopic.php?id=149708 it as solved. "How to Succeed with Linux"I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me). Offline #3 2012-09-28 06:56:53 framas Member Registered: 2009-07-24 Posts: 48 Re: [SOLVED] USB error numbers and codes This thread doesn't answer my questionDSpider wrote:https://bbs.archlinux.org/viewtopic.php?id=149384Don't forget to mark it as solved. Offline #4 2012-09-28 07:04:16 DSpider Member From: Romania Registered: 2009-08-23 Posts: 2,273 Re: [SOLVED] USB error numbers and codes Are you sure? Because this one sounds awfully similar:... Sep 22 11:20:54 arch64 kernel: [ 75.716691] usb 2-4: device not accepting address 6, error -110Different numbers because it fails at different read blocks. This depends on the capacity (in gigabytes) of the flash media and the hardware reading i
version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it https://www.kernel.org/doc/htmldocs/usb/ will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite device not 330, Boston, MA 02111-1307 USA For more details see the file COPYING in the source distribution of Linux. Table of Contents1. Introduction to USB on Linux2. USB Host-Side API Model3. USB-Standard Typesusb_speed_string -- Returns human readable-name of the speed. usb_get_maximum_speed -- Get maximum requested speed for a given USB controller. usb_state_string -- Returns human readable name for the usb protocol error state. 4. Host-Side Data Types and Macrosstruct usb_host_endpoint -- host-side endpoint descriptor and queue struct usb_interface -- what usb device drivers talk to struct usb_interface_cache -- long-term representation of a device interface struct usb_host_config -- representation of a device's configuration struct usb_device -- kernel's representation of a USB device usb_hub_for_each_child -- iterate over all child devices on the hub usb_interface_claimed -- returns true iff an interface is claimed usb_make_path -- returns stable device path in the usb tree USB_DEVICE -- macro used to describe a specific usb device USB_DEVICE_VER -- describe a specific usb device with a version range USB_DEVICE_INTERFACE_CLASS -- describe a usb device with a specific interface class USB_DEVICE_INTERFACE_PROTOCOL -- describe a usb device with a specific interface protocol USB_DEVICE_INTERFACE_NUMBER -- describe a usb device with a specific interface number USB_DEVICE_INFO -- macro used to describe a class of usb devices USB_INTERFACE_INFO -- macro used to describe a class of usb interfaces USB_DEVICE_AND_INTERFACE_INFO -- describe a specific usb device with a class of usb interfaces USB_VENDOR_AND_INTERFACE_INFO -- describe a specific usb
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 20 Oct 2016 06:12:07 GMT by s_wx1062 (squid/3.5.20)