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!



Hi Garth,
 
There is another problem about my driver.
When the ppc wakes up from hibernation mode, there are the same wrong messeges
on my terminal, I think it is the same problem for my previous instance. The wrong messeges follow:
 
[Hou-Haikun:/AgmIIMac/build/Debug] root# pcscd -f
src/PCSC/pcscdaemon.c:300 main: pcscd set to foreground
src/PCSC/pcscdaemon.c:505 main: warning: no reader.conf found
src/PCSC/pcscdaemon.c:523 main: pcsc-lite daemon ready.
src/PCSC/readerfactory.c:1336 RFInitializeReader: Attempting startup of Argos Mini II 0 0.
src/PCSC/readerfactory.c:1078 RFBindFunctions: Loading IFD Handler 2.0
/AgmIIMac/Src/ifdhandler.c:74:IFDHCreateChannel() Argos Mini II Reader : entering CreateChannel Lun = 0x00000000
/AgmIIMac/Src/ifdhandler.c:88:IFDHCreateChannel()  Open USBDevice Success
 
/AgmIIMac/Src/usb.c:571:ReadUSB()  ReadPipeT0 wrong!
/AgmIIMac/Src/usb.c:572:ReadUSB()  iorv = e0004051
/AgmIIMac/Src/tdssccom.c:102:GetStatus() Read USB Wrong! retVal = e0004051
===In the GetStatus===ReadUSB faild!====
/AgmIIMac/Src/tdssccom.c:138:GetStatus() globalData->ReadEpMaxPacketSize = 8
/AgmIIMac/Src/tdssccom.c:139:GetStatus() retVal: -536854447
 
/AgmIIMac/Src/ifdhandler.c:161:IFDHGetCapabilities() Argos Mini II USB Reader : entering IFDHGetCapabilities Lun = 0x00000000
/AgmIIMac/Src/ifdhandler.c:187:IFDHGetCapabilities() TAG_IFD_SLOTS_NUMBER
/AgmIIMac/Src/ifdhandler.c:212:IFDHGetCapabilities() Argos Mini II : exisiting IFDHGetCapabilities
/AgmIIMac/Src/usb.c:571:ReadUSB()  ReadPipeT0 wrong!
/AgmIIMac/Src/usb.c:572:ReadUSB()  iorv = e0004051
/AgmIIMac/Src/tdssccom.c:102:GetStatus() Read USB Wrong! retVal = e0004051
===In the GetStatus===ReadUSB faild!====
/AgmIIMac/Src/tdssccom.c:138:GetStatus() globalData->ReadEpMaxPacketSize = 8
/AgmIIMac/Src/tdssccom.c:139:GetStatus() retVal: -536854447
src/PCSC/winscard_svc.c:246 MSGServerProcessEvents: Common channel packet arrival
Thax
Yongqing

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

On Mar 18, 2007, at 6:13 PM, Wang Yongqing wrote:

Thank you  for your reply!
Yes, my driver doesn't based on CCID. Now it can be used,
if my ppc first start. But only there are problems when I restart pcsc service.
The ReadPipeTo has wrong messege.
 
any advice, Thax  

You haven't provided nearly enough detail for anyone to give you any specific advice. The best general advice would be to use a USB bus analyzer to see what's going on.

If I had to guess, I'd suspect a data toggle error.

Can't you make your device CCID compliant? That's a much better solution for you, Apple, and your customers.

Yongqing

--gc



Garth Cummings <email@hidden> wrote:
Hello,

On Mar 16, 2007, at 1:13 AM, Wang Yongqing wrote:

Hi, I'm developing the USB dirver for my SmartCard Reader for Mac OS?10.4.

Is your smart card reader compliant with the USB CCID spec? If so, Mac OS X already has a CCID class driver and you shouldn't need to write your own.

If your reader isn't CCID compliant and you are able to influence its design, you should strongly consider making the reader a CCID device.

Regards,
--gc

____________________________________________________________________
Garth Cummings ?lt;/SPAN>email@hidden
Sr. Software Engineer
Apple Developer Technical Support






Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
 _______________________________________________
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

____________________________________________________________________
Garth Cummings  email@hidden
Sr. Software Engineer
Apple Developer Technical Support





Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
 _______________________________________________
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: Garth Cummings <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.