when i modify the /System/Library/LaunchDaemons/com.apple.securityd.plist
to
<string>com.apple.securityd<string>
<string>-s aggressive<string>
or
<string>-s on<string>
the computer can't start,it stop at start time.
Is it a bug of leopard(10.5)?
Thank you!
======= 2008-07-02 13:21:27 您在来信中写道:=======
>On Jul 1, 2008, at 6:58 PM, 王景民 wrote:
>
>> Hello to all:
>> I have write a usb smart card driver for pcscd,and when I run the
>> pcscd from command line,it can catch my USB Smart card,but when I
>> plugin my token ,the securityd does't lauch pcscd automaticity. Is
>> there something I lost?
>
>Your reader must be either of USB device class "smart card" (CCID) or
>of class "vendor defined". Securityd watches for both of those classes
>and launched pcscd if it detects either. (If pcscd does not recognize
>the reader, it won't post device-insertion notifications, and
>securityd will kill it again after a few minutes.)
>
>> I read the source code of securityd, find it have different mode of
>> lauch pcscd,such as "conservative" "aggressive". So how can I change
>> this mode?
>
>That's the -s argument to securityd. You can change it in securityd's
>startup script, in
> /System/Library/LaunchDaemons/com.apple.securityd.plist.
>
>In conservative mode, securityd does not respond to vendor-defined
>class devices (because those can be anything - that's the catch-all
>device class in USB, and many - particularly older - USB devices fall
>there). In aggressive mode, it does launch pcscd on those.
>
>Another value useful for testing (but not deployment!) is "-s
>external", which keeps securityd from managing pcscd and instead tells
>it to use an already-running pcscd (that you presumably hand-started,
>perhaps under gdb). If that works fine, then it's likely that you're
>having auto-launch trouble of some kind.
>
>Another (cheesy) work-around is to plug a CCID reader into the
>computer. That'll launch pcscd, and once it's running, it will scan
>for any other readers according to its own rules and procedures.
>
>Cheers
> -- perry
>
>
>
= = = = = = = = = = = = = = = = = = = =
致
礼!
王景民
email@hidden
2008-07-03
_______________________________________________
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