• Ludovic Rousseau's avatar
    Fix: "start pcscd only when a reader is connected" · 258816fd
    Ludovic Rousseau authored
    and "do not open the reader USB device if no client is using the reader"
    Now that pcscd is auto started it will be started only if an appication
    is using the PC/SC API. This is the case since release 1.6.0:
    - SCardEstablishContext(): try to start the pcscd daemon if not already
      . pcscd will suicide itself after 60 seconds of inactivity if it is
      started using --auto-exit. This is the default behavior when pcscd is
      started by libpcsclite
      . Set PCSCLITE_PCSCD_ARGS with the argument you want to pass to pcscd in
      autostart Only one argument is passed. The space character is not a
      separator. example: export PCSCLITE_PCSCD_ARGS=-dfa
    git-svn-id: svn://anonscm.debian.org/svn/pcsclite/trunk/PCSC@5705 0ce88b0d-b2fd-0310-8134-9614164e65ea