⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 error-codes.txt

📁 Usb1.1驱动c语言源代码
💻 TXT
字号:
$Id: error-codes.txt,v 1.5 2000/01/17 16:01:44 fliegl Exp $This is the documentation of (hopefully) all possible error codes (andtheir interpretation) that can be returned from the hostcontroller driver and from usbcore.More documentation can be found at http://usb.in.tum.deNOTE:The USB_ST_* codes are deferred and are only listed for compatibility, newsoftware should use only -E* instead!***************************************************************************                   Error codes returned by usb_submit_urb               ***************************************************************************Non-USB-specific:USB_ST_NOERROR0		URB submission went fine-ENOMEM		no memory for allocation of internal structures	USB-specific:-ENODEV		specified USB-device or bus doesn't exist-ENXIO		URB already queued USB_ST_URB_INVALID_ERROR-EINVAL		a) Invalid transfer type specified (or not supported)		b) Invalid interrupt interval (0<=n<256)		c) more than one interrupt packet requested-EAGAIN		a) specified ISO start frame too early		b) (using ISO-ASAP) too much scheduled for the future		   wait some time and try again.-EFBIG		too much ISO frames requested (currently uhci>900)-EPIPE		specified pipe-handle is already stalled-EMSGSIZE	endpoint message size is zero, do interface/alternate setting***************************************************************************                   Error codes returned by in urb->status               **                   or in iso_frame_desc[n].status (for ISO)             ***************************************************************************USB_ST_NOERROR0			Transfer completed successfullyUSB_ST_URB_KILLED-ENOENT			URB was canceled by unlink_urbUSB_ST_URB_PENDING-EINPROGRESS		URB still pending, no results yet			(actually no error until now;-)USB_ST_BITSTUFFUSB_ST_INTERNALERROR-EPROTO			a) bitstuff error			b) unknown USB error USB_ST_CRC-EILSEQ			CRC mismatch-EPIPE			a) babble detect			b) endpoint stalledUSB_ST_BUFFERUNDERRUN-ENOSR			buffer errorUSB_ST_NORESPONSEUSB_ST_TIMEOUT-ETIMEDOUT		transfer timed out, NAKUSB_ST_REMOVED	-ENODEV			device was removedUSB_ST_SHORT_PACKET-EREMOTEIO		short packet detectedUSB_ST_PARTIAL_ERROR-EXDEV			ISO transfer only partially completed			look at individual frame status for detailsUSB_ST_URB_INVALID_ERROR-EINVAL			ISO madness, if this happens: Log off and go home***************************************************************************              Error codes returned by usbcore-functions                 **           (expect also other submit and transfer status codes)         ***************************************************************************usb_register():USB_ST_NOTSUPPORTED-EINVAL			error during registering new driverusb_terminate_bulk():USB_ST_REMOVED-ENODEV			urb already removedusb_get_*/usb_set_*():			All USB errors (submit/status) can occur

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -