Can't get `pcscd` to start in Ubuntu 12.10












2














I'm trying to get a smart card reader (SCR3310) to work under Ubuntu 12.10. I have used this same card reader with Linux Mint and Previous versions of Ubuntu. I have installed pcsc-tools,pcscd libccid, libnss3-tools, and coolkey. The driver for the card reader is included in libccid.



When I run pcsc_scan the terminal returns the error, SCardEstablishContext: Service not available. If I understand this correctly, the error is indicating that it can't contact the pcscddaemon/service.
When I check service pcscd status it returns * pcscd is not running. If I try sudo service pcscd start, I get no error but the service doesn't start. I also tried the force-reload option, it returns * Restarting PCSC Lite resource manager pcscd [failed]



For what it's worth, the card reader and supporting software currently work under my Mint partition. So far I haven't seen where I'm missing anything under the Ubuntu install that is present under Mint. Also, I have tried un-installing/re-installing pcscd.



Is it likely that there is another service that pcscd depends on that may not be present?



Operating System: Ubuntu 12.10 32-bit

System: Dell Latitude E6500

Card Reader: SCR 3310










share|improve this question
























  • FTR, i had to update the smartcard reader's firmware in my dell laptop to make the reader work under linux. i started out from this: natisbad.org/E4300 and i remember struggling to make a bootable USB to update it with the fw extracted from this: DELL_CONTROLPOINT-SECURITY-M_A18_R276445.exe that i found here ftp.ins.dell.com/Control%20Point
    – Attila Lendvai
    Oct 31 '15 at 23:09
















2














I'm trying to get a smart card reader (SCR3310) to work under Ubuntu 12.10. I have used this same card reader with Linux Mint and Previous versions of Ubuntu. I have installed pcsc-tools,pcscd libccid, libnss3-tools, and coolkey. The driver for the card reader is included in libccid.



When I run pcsc_scan the terminal returns the error, SCardEstablishContext: Service not available. If I understand this correctly, the error is indicating that it can't contact the pcscddaemon/service.
When I check service pcscd status it returns * pcscd is not running. If I try sudo service pcscd start, I get no error but the service doesn't start. I also tried the force-reload option, it returns * Restarting PCSC Lite resource manager pcscd [failed]



For what it's worth, the card reader and supporting software currently work under my Mint partition. So far I haven't seen where I'm missing anything under the Ubuntu install that is present under Mint. Also, I have tried un-installing/re-installing pcscd.



Is it likely that there is another service that pcscd depends on that may not be present?



Operating System: Ubuntu 12.10 32-bit

System: Dell Latitude E6500

Card Reader: SCR 3310










share|improve this question
























  • FTR, i had to update the smartcard reader's firmware in my dell laptop to make the reader work under linux. i started out from this: natisbad.org/E4300 and i remember struggling to make a bootable USB to update it with the fw extracted from this: DELL_CONTROLPOINT-SECURITY-M_A18_R276445.exe that i found here ftp.ins.dell.com/Control%20Point
    – Attila Lendvai
    Oct 31 '15 at 23:09














2












2








2







I'm trying to get a smart card reader (SCR3310) to work under Ubuntu 12.10. I have used this same card reader with Linux Mint and Previous versions of Ubuntu. I have installed pcsc-tools,pcscd libccid, libnss3-tools, and coolkey. The driver for the card reader is included in libccid.



When I run pcsc_scan the terminal returns the error, SCardEstablishContext: Service not available. If I understand this correctly, the error is indicating that it can't contact the pcscddaemon/service.
When I check service pcscd status it returns * pcscd is not running. If I try sudo service pcscd start, I get no error but the service doesn't start. I also tried the force-reload option, it returns * Restarting PCSC Lite resource manager pcscd [failed]



For what it's worth, the card reader and supporting software currently work under my Mint partition. So far I haven't seen where I'm missing anything under the Ubuntu install that is present under Mint. Also, I have tried un-installing/re-installing pcscd.



Is it likely that there is another service that pcscd depends on that may not be present?



Operating System: Ubuntu 12.10 32-bit

System: Dell Latitude E6500

Card Reader: SCR 3310










share|improve this question















I'm trying to get a smart card reader (SCR3310) to work under Ubuntu 12.10. I have used this same card reader with Linux Mint and Previous versions of Ubuntu. I have installed pcsc-tools,pcscd libccid, libnss3-tools, and coolkey. The driver for the card reader is included in libccid.



When I run pcsc_scan the terminal returns the error, SCardEstablishContext: Service not available. If I understand this correctly, the error is indicating that it can't contact the pcscddaemon/service.
When I check service pcscd status it returns * pcscd is not running. If I try sudo service pcscd start, I get no error but the service doesn't start. I also tried the force-reload option, it returns * Restarting PCSC Lite resource manager pcscd [failed]



For what it's worth, the card reader and supporting software currently work under my Mint partition. So far I haven't seen where I'm missing anything under the Ubuntu install that is present under Mint. Also, I have tried un-installing/re-installing pcscd.



Is it likely that there is another service that pcscd depends on that may not be present?



Operating System: Ubuntu 12.10 32-bit

System: Dell Latitude E6500

Card Reader: SCR 3310







12.10 pcscd






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 1 '14 at 10:30









phunehehe

2161316




2161316










asked Feb 12 '13 at 17:33









Argusvision

1,44031027




1,44031027












  • FTR, i had to update the smartcard reader's firmware in my dell laptop to make the reader work under linux. i started out from this: natisbad.org/E4300 and i remember struggling to make a bootable USB to update it with the fw extracted from this: DELL_CONTROLPOINT-SECURITY-M_A18_R276445.exe that i found here ftp.ins.dell.com/Control%20Point
    – Attila Lendvai
    Oct 31 '15 at 23:09


















  • FTR, i had to update the smartcard reader's firmware in my dell laptop to make the reader work under linux. i started out from this: natisbad.org/E4300 and i remember struggling to make a bootable USB to update it with the fw extracted from this: DELL_CONTROLPOINT-SECURITY-M_A18_R276445.exe that i found here ftp.ins.dell.com/Control%20Point
    – Attila Lendvai
    Oct 31 '15 at 23:09
















FTR, i had to update the smartcard reader's firmware in my dell laptop to make the reader work under linux. i started out from this: natisbad.org/E4300 and i remember struggling to make a bootable USB to update it with the fw extracted from this: DELL_CONTROLPOINT-SECURITY-M_A18_R276445.exe that i found here ftp.ins.dell.com/Control%20Point
– Attila Lendvai
Oct 31 '15 at 23:09




FTR, i had to update the smartcard reader's firmware in my dell laptop to make the reader work under linux. i started out from this: natisbad.org/E4300 and i remember struggling to make a bootable USB to update it with the fw extracted from this: DELL_CONTROLPOINT-SECURITY-M_A18_R276445.exe that i found here ftp.ins.dell.com/Control%20Point
– Attila Lendvai
Oct 31 '15 at 23:09










2 Answers
2






active

oldest

votes


















0














Finally got back to tinkering with the card reader again today. The good news is I got it working. The bad news is, I'm not sure which step fixed it...




  1. Removed Coolkey

  2. Installed CacKey (available at SourceForge.mil). Tested but still couldn't restart pcscd

  3. Looked through the README.gz file and found a reference to libusb. I didn't have libusb in my /lib directory on Ubuntu but I did on Mint. So I sym-linked to the /lib/libusb on my Mint partition. (Yes, I realize that would not be an option for everyone, but it's what I did.) Still couldn't get pcscd to restart.

  4. Removed and Re-installed pcscd. I was then able to contact the reader with pcsc_scan. Keep in mind I had already un-installed/re-installed pcscd before.

  5. Added Security device in Firefox and pointed to /usr/lib/libcackey.so. Worked as expected


I'm going to continue to tinker and see if I can Isolate the step that worked. (Have a second laptop running 12.10 with the same problem.)






share|improve this answer























  • This is not my answer, I copied it from the answer part @Argusvision put in the question.
    – phunehehe
    Jul 1 '14 at 10:06






  • 1




    I believe step 4. was the solution as that would have restarted the pcscd service. Probably all that was needed was sudo service pcscd restart.
    – Jim Parker
    Jan 17 '15 at 17:44












  • if you have both pcscd and scdaemon installed, then they may be stepping on each other's toes when trying to acquire exclusive access to the reader. either uninstall scdaemon or configure it to use pcscd (my card+reader doesn't work with scdaemon but does work with pcscd): wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC you may need to find the exact path on your system using '$ locate libpcsclite.so'
    – Attila Lendvai
    Oct 31 '15 at 23:07



















0














In my case:



First I install the original drivers (OMNIKEY-3021), but it doesn't work immediately. sudo service pcscd status show:



~$ sudo service pcscd status

pcscd is not running


Then I just purge and then reinstall again pcscd and now it works.



If it still doesn't work, just try:



sudo service pcscd start





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f254300%2fcant-get-pcscd-to-start-in-ubuntu-12-10%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Finally got back to tinkering with the card reader again today. The good news is I got it working. The bad news is, I'm not sure which step fixed it...




    1. Removed Coolkey

    2. Installed CacKey (available at SourceForge.mil). Tested but still couldn't restart pcscd

    3. Looked through the README.gz file and found a reference to libusb. I didn't have libusb in my /lib directory on Ubuntu but I did on Mint. So I sym-linked to the /lib/libusb on my Mint partition. (Yes, I realize that would not be an option for everyone, but it's what I did.) Still couldn't get pcscd to restart.

    4. Removed and Re-installed pcscd. I was then able to contact the reader with pcsc_scan. Keep in mind I had already un-installed/re-installed pcscd before.

    5. Added Security device in Firefox and pointed to /usr/lib/libcackey.so. Worked as expected


    I'm going to continue to tinker and see if I can Isolate the step that worked. (Have a second laptop running 12.10 with the same problem.)






    share|improve this answer























    • This is not my answer, I copied it from the answer part @Argusvision put in the question.
      – phunehehe
      Jul 1 '14 at 10:06






    • 1




      I believe step 4. was the solution as that would have restarted the pcscd service. Probably all that was needed was sudo service pcscd restart.
      – Jim Parker
      Jan 17 '15 at 17:44












    • if you have both pcscd and scdaemon installed, then they may be stepping on each other's toes when trying to acquire exclusive access to the reader. either uninstall scdaemon or configure it to use pcscd (my card+reader doesn't work with scdaemon but does work with pcscd): wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC you may need to find the exact path on your system using '$ locate libpcsclite.so'
      – Attila Lendvai
      Oct 31 '15 at 23:07
















    0














    Finally got back to tinkering with the card reader again today. The good news is I got it working. The bad news is, I'm not sure which step fixed it...




    1. Removed Coolkey

    2. Installed CacKey (available at SourceForge.mil). Tested but still couldn't restart pcscd

    3. Looked through the README.gz file and found a reference to libusb. I didn't have libusb in my /lib directory on Ubuntu but I did on Mint. So I sym-linked to the /lib/libusb on my Mint partition. (Yes, I realize that would not be an option for everyone, but it's what I did.) Still couldn't get pcscd to restart.

    4. Removed and Re-installed pcscd. I was then able to contact the reader with pcsc_scan. Keep in mind I had already un-installed/re-installed pcscd before.

    5. Added Security device in Firefox and pointed to /usr/lib/libcackey.so. Worked as expected


    I'm going to continue to tinker and see if I can Isolate the step that worked. (Have a second laptop running 12.10 with the same problem.)






    share|improve this answer























    • This is not my answer, I copied it from the answer part @Argusvision put in the question.
      – phunehehe
      Jul 1 '14 at 10:06






    • 1




      I believe step 4. was the solution as that would have restarted the pcscd service. Probably all that was needed was sudo service pcscd restart.
      – Jim Parker
      Jan 17 '15 at 17:44












    • if you have both pcscd and scdaemon installed, then they may be stepping on each other's toes when trying to acquire exclusive access to the reader. either uninstall scdaemon or configure it to use pcscd (my card+reader doesn't work with scdaemon but does work with pcscd): wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC you may need to find the exact path on your system using '$ locate libpcsclite.so'
      – Attila Lendvai
      Oct 31 '15 at 23:07














    0












    0








    0






    Finally got back to tinkering with the card reader again today. The good news is I got it working. The bad news is, I'm not sure which step fixed it...




    1. Removed Coolkey

    2. Installed CacKey (available at SourceForge.mil). Tested but still couldn't restart pcscd

    3. Looked through the README.gz file and found a reference to libusb. I didn't have libusb in my /lib directory on Ubuntu but I did on Mint. So I sym-linked to the /lib/libusb on my Mint partition. (Yes, I realize that would not be an option for everyone, but it's what I did.) Still couldn't get pcscd to restart.

    4. Removed and Re-installed pcscd. I was then able to contact the reader with pcsc_scan. Keep in mind I had already un-installed/re-installed pcscd before.

    5. Added Security device in Firefox and pointed to /usr/lib/libcackey.so. Worked as expected


    I'm going to continue to tinker and see if I can Isolate the step that worked. (Have a second laptop running 12.10 with the same problem.)






    share|improve this answer














    Finally got back to tinkering with the card reader again today. The good news is I got it working. The bad news is, I'm not sure which step fixed it...




    1. Removed Coolkey

    2. Installed CacKey (available at SourceForge.mil). Tested but still couldn't restart pcscd

    3. Looked through the README.gz file and found a reference to libusb. I didn't have libusb in my /lib directory on Ubuntu but I did on Mint. So I sym-linked to the /lib/libusb on my Mint partition. (Yes, I realize that would not be an option for everyone, but it's what I did.) Still couldn't get pcscd to restart.

    4. Removed and Re-installed pcscd. I was then able to contact the reader with pcsc_scan. Keep in mind I had already un-installed/re-installed pcscd before.

    5. Added Security device in Firefox and pointed to /usr/lib/libcackey.so. Worked as expected


    I'm going to continue to tinker and see if I can Isolate the step that worked. (Have a second laptop running 12.10 with the same problem.)







    share|improve this answer














    share|improve this answer



    share|improve this answer








    answered Jul 1 '14 at 10:06


























    community wiki





    phunehehe













    • This is not my answer, I copied it from the answer part @Argusvision put in the question.
      – phunehehe
      Jul 1 '14 at 10:06






    • 1




      I believe step 4. was the solution as that would have restarted the pcscd service. Probably all that was needed was sudo service pcscd restart.
      – Jim Parker
      Jan 17 '15 at 17:44












    • if you have both pcscd and scdaemon installed, then they may be stepping on each other's toes when trying to acquire exclusive access to the reader. either uninstall scdaemon or configure it to use pcscd (my card+reader doesn't work with scdaemon but does work with pcscd): wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC you may need to find the exact path on your system using '$ locate libpcsclite.so'
      – Attila Lendvai
      Oct 31 '15 at 23:07


















    • This is not my answer, I copied it from the answer part @Argusvision put in the question.
      – phunehehe
      Jul 1 '14 at 10:06






    • 1




      I believe step 4. was the solution as that would have restarted the pcscd service. Probably all that was needed was sudo service pcscd restart.
      – Jim Parker
      Jan 17 '15 at 17:44












    • if you have both pcscd and scdaemon installed, then they may be stepping on each other's toes when trying to acquire exclusive access to the reader. either uninstall scdaemon or configure it to use pcscd (my card+reader doesn't work with scdaemon but does work with pcscd): wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC you may need to find the exact path on your system using '$ locate libpcsclite.so'
      – Attila Lendvai
      Oct 31 '15 at 23:07
















    This is not my answer, I copied it from the answer part @Argusvision put in the question.
    – phunehehe
    Jul 1 '14 at 10:06




    This is not my answer, I copied it from the answer part @Argusvision put in the question.
    – phunehehe
    Jul 1 '14 at 10:06




    1




    1




    I believe step 4. was the solution as that would have restarted the pcscd service. Probably all that was needed was sudo service pcscd restart.
    – Jim Parker
    Jan 17 '15 at 17:44






    I believe step 4. was the solution as that would have restarted the pcscd service. Probably all that was needed was sudo service pcscd restart.
    – Jim Parker
    Jan 17 '15 at 17:44














    if you have both pcscd and scdaemon installed, then they may be stepping on each other's toes when trying to acquire exclusive access to the reader. either uninstall scdaemon or configure it to use pcscd (my card+reader doesn't work with scdaemon but does work with pcscd): wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC you may need to find the exact path on your system using '$ locate libpcsclite.so'
    – Attila Lendvai
    Oct 31 '15 at 23:07




    if you have both pcscd and scdaemon installed, then they may be stepping on each other's toes when trying to acquire exclusive access to the reader. either uninstall scdaemon or configure it to use pcscd (my card+reader doesn't work with scdaemon but does work with pcscd): wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC you may need to find the exact path on your system using '$ locate libpcsclite.so'
    – Attila Lendvai
    Oct 31 '15 at 23:07













    0














    In my case:



    First I install the original drivers (OMNIKEY-3021), but it doesn't work immediately. sudo service pcscd status show:



    ~$ sudo service pcscd status

    pcscd is not running


    Then I just purge and then reinstall again pcscd and now it works.



    If it still doesn't work, just try:



    sudo service pcscd start





    share|improve this answer




























      0














      In my case:



      First I install the original drivers (OMNIKEY-3021), but it doesn't work immediately. sudo service pcscd status show:



      ~$ sudo service pcscd status

      pcscd is not running


      Then I just purge and then reinstall again pcscd and now it works.



      If it still doesn't work, just try:



      sudo service pcscd start





      share|improve this answer


























        0












        0








        0






        In my case:



        First I install the original drivers (OMNIKEY-3021), but it doesn't work immediately. sudo service pcscd status show:



        ~$ sudo service pcscd status

        pcscd is not running


        Then I just purge and then reinstall again pcscd and now it works.



        If it still doesn't work, just try:



        sudo service pcscd start





        share|improve this answer














        In my case:



        First I install the original drivers (OMNIKEY-3021), but it doesn't work immediately. sudo service pcscd status show:



        ~$ sudo service pcscd status

        pcscd is not running


        Then I just purge and then reinstall again pcscd and now it works.



        If it still doesn't work, just try:



        sudo service pcscd start






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 22 '16 at 2:03









        techraf

        2,75092035




        2,75092035










        answered Apr 21 '16 at 23:30









        tedy58-user1045284

        6317




        6317






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f254300%2fcant-get-pcscd-to-start-in-ubuntu-12-10%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b