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: ReadPipeT0 always wrong!



On Mar 20, 2007, at 6:05 PM, Wang Yongqing wrote:

Garth Cummings <email@hidden> wrote:
Hi Yongqing,

On Mar 19, 2007, at 6:44 PM, Wang Yongqing wrote:
/AgmIIMac/Src/usb.c:571:ReadUSB()?ReadPipeT0 wrong!
/AgmIIMac/Src/usb.c:572:ReadUSB()?iorv = e0004051

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

 _______________________________________________
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: 
 >Re: ReadPipeT0 always wrong! (From: Wang Yongqing <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.