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: usbdeviceopen failure - non-classic problem



Hi Joe,

On Oct 24, 2005, at 10:20 PM, Joseph Antony wrote:
Hi,

I am aware of the pc/sc subsystem in the OS. I have the driver bundle
placed in /usr/libexec/smartcardservices/drivers. When i plug-in my
device (spr532), the driver bundle loads, but is failing when it tries
to open the interface. that is my problem. I found from forums that
some other app maybe holding the handle. Hence, I went for the
"codeless kext". But, still I am facing the issue.

Are you writing a PC/SC driver for the reader then? According to the SCM website, the SPR532 is a CCID class compliant device. That means that Apple's CCID driver could be the culprit. What happens if you remove your driver, plug in the device, then run pcsctest?

Can you post the descriptors from the device and the part of "ioreg -lw 0" that shows your reader? That way we'll be able to see what else might be competing for the device.


Under this situation, if i run "pcsctest", it fails in the
"scardestablishcontext" itself since the driver is not successfully
loaded. Hence, the deadlock for me. I sure shall post it in the cdsa
list also, if I can get a lead/solution to this.

Let's rule out the USB side first, since you appear to be writing a PC/SC driver.


Joe

--gc



__________________________________________________________________

Garth Cummings                

Apple Developer Technical Support     email@hidden


http://developer.apple.com/technicalsupport



 _______________________________________________
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: 
 >usbdeviceopen failure - non-classic problem (From: Joseph Antony <email@hidden>)
 >Re: usbdeviceopen failure - non-classic problem (From: Garth Cummings <email@hidden>)
 >Re: usbdeviceopen failure - non-classic problem (From: Joseph Antony <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.