| | 1 | = Driver documentation = |
| | 2 | |
| | 3 | == Debug == |
| | 4 | |
| | 5 | To be able to debug a reader driver you may need to start pcscd by hand instead of automatically when the reader is connected. |
| | 6 | |
| | 7 | To do that edit the file {{{/System/Library/LaunchDaemons/com.apple.securityd.plist}}} |
| | 8 | |
| | 9 | Change the file from something like: |
| | 10 | {{{ |
| | 11 | <key>ProgramArguments</key> |
| | 12 | <array> |
| | 13 | <string>/usr/sbin/securityd</string> |
| | 14 | <string>-i</string> |
| | 15 | </array> |
| | 16 | }}} |
| | 17 | to something like: |
| | 18 | {{{ |
| | 19 | <key>ProgramArguments</key> |
| | 20 | <array> |
| | 21 | <string>/usr/sbin/securityd</string> |
| | 22 | <string>-i</string> |
| | 23 | <string>-s</string> |
| | 24 | <string>off</string> |
| | 25 | </array> |
| | 26 | }}} |
| | 27 | Reboot |
| | 28 | |
| | 29 | source http://lists.apple.com/archives/apple-cdsa/2007/Nov/msg00009.html |