Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About UsbIsocRead Issue on OS9.22(kUSBUnderRunErr!!!)



I can find no way out!Anybody can point me why USBIsocRead return kUSBUnderRunErr,and what the kUSBUnderRunErr means.
How to Avoid unlimited USBIsocRead requests returning kUSBUnderRunErr.

kUSBUnderRunErr isn't really an error -- for a packet, it means that ioActCount < ioReqCount (the packet is smaller than your buffer) -- for the result of the call, it just means that one of the packets in the buffer is smaller than the maximum size and there weren't any other errors.


You can safely ignore it and check the actual size of the packets returned.

kUSBOverRunErr is an error in that it means you lost some data (the packet was bigger than your buffer).

HTH,

-Steve
--
_________________________________________________________________________
Steve Sisak, CTO                                 email@hidden
IOXperts, Inc.                                            +1 617 876-2572
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >About UsbIsocRead Issue on OS9.22(kUSBUnderRunErr!!!) (From: "blacklee" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.