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: help: pcscd is harassing me



On Sep 19, 2006, at 6:05 PM, Mark Sanvitale wrote:

Thank you for the info. This will allow development to get to work and support be able to assist customers who encounter this problem. Still, are there any hints to help me figure out why this problem (i.e. my non-smart-card device being treated like one) is happening? Naturally, it is preferable for this product to not require disablement of system functionality.

Here's what's (probably) happening. You have a "vendor specific" class USB device (class 255, I believe). Since nobody knows what a "vendor specific" class device really does - each one's, well, vendor specific - the smartcard system launches pcscd on the theory that maybe what you've got is a smart card reader.


Normally, pcscd takes one look at your device, blows it a gentle raspberry, and ignores it. Two minutes later, it quietly dies, and everything is pretty much okay.

In your case, pcscd seems to have taken an unnatural liking to your device and is getting all excited about it. That's not good, and we should find out why it does that. (It may mean that it *thinks* your device is a smart card reader that it knows about. It may also mean that it's just really confused.)

If you want to help, take a sample of pcscd in its excited state and send it in as a Radar report. That'll help us figure out what it's excited about...


On Sep 19, 2006, at 4:35 PM, Gary Hoo wrote:

If you won't need smart cards at all on your system, try modifying / private/etc/mach_init.d/securityd.plist. Change


<string>/usr/sbin/securityd</string>

to

<string>/usr/sbin/securityd -s off</string>

and reboot. This should keep securityd from trying to handle smart cards at all.

To just make pcscd not launch on Vendor Specific devices, use
-s conservative
which will still launch on USB devices of the smart card reader class (but ignore Vendor Specific devices). It's a bit less asocial than "-s off", which disables smart card operation entirely. (Apple recommends that people use smart card class readers where possible, because Mac OS X contains a class driver for that device class.)


Cheers
-- perry
---------------------------------------------------------------------------
Perry The Cynic email@hidden
To a blind optimist, an optimistic realist must seem like an Accursed Cynic.
---------------------------------------------------------------------------




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden

This email sent to email@hidden
References: 
 >help: pcscd is harassing me (From: Mark Sanvitale <email@hidden>)
 >Re: help: pcscd is harassing me (From: Gary Hoo <email@hidden>)
 >Re: help: pcscd is harassing me (From: Mark Sanvitale <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.