Have you looked up what the error?xe0004051 means? That should get
you somewhere.
Hi Garth,
I have check the values of the kIOReturn, There is not my wrong number.
But when the Readpipe is wrong, I try to use USBDeviceReEnumerate,
my driver starts to work well and there is no problem when my ppc wakes up
from the hibernation mode.
Hello Yongqing,
It's the middle of the night in the U.S. and no developer (in their
right mind) should be awake here :-) -- so I guess I could attempt to
help you by providing another hint:
You'll find the error value for the failing ReadUSB function defined
in <usb/USB.h>.
Take a look at that how the error is defined in that header file and
you might get a good idea as to what is going wrong in your code.
m
In addition to what Michael has advised, the other thing to do is to
attach a USB Analyzer and watch what is taking place on the USB bus,
when the "Transaction Timeout" error occurs. It might be that the
device is NAKing all IN requests. A USBProber dump will not show
this. You can only see if this is happening with a USB Analyzer. Does
the IN request have the correct values?
best wishes.
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
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