LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2010, 09:32 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Rep: Reputation: 34
pcscd dead but subsys locked


Hello,

I can not start the pcsc deamon :

Code:
[root@jonas ~]# /sbin/service pcscd status
pcscd dead but subsys locked
[root@jonas ~]# /sbin/service pcscd start
Starting PC/SC smart card daemon (pcscd):                  [  OK  ]
[root@jonas ~]# /sbin/service pcscd status
pcscd dead but subsys locked
What does this mean and what can I do about it ?!
 
Old 10-11-2010, 09:43 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jonaskellens View Post
Hello,
I can not start the pcsc deamon :
Code:
[root@jonas ~]# /sbin/service pcscd status
pcscd dead but subsys locked
[root@jonas ~]# /sbin/service pcscd start
Starting PC/SC smart card daemon (pcscd):                  [  OK  ]
[root@jonas ~]# /sbin/service pcscd status
pcscd dead but subsys locked
What does this mean and what can I do about it ?!
Best we can tell you from this is that it's not starting.

You'll have to check the system logs and/or the pcsc logs, to see what error(s) it's giving you, and go from there. Check the man page
http://linux.die.net/man/8/pcscd

chances are, you'll have to configure things first, before you attempt to start the device daemon.
 
Old 10-11-2010, 01:41 PM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
Well, this is what is noted in /var/log/messages :

Oct 11 20:36:59 jonas kernel: usb 5-2: new full speed USB device using uhci_hcd and address 2
Oct 11 20:36:59 jonas kernel: usb 5-2: New USB device found, idVendor=072f, idProduct=9000
Oct 11 20:36:59 jonas kernel: usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 11 20:36:59 jonas kernel: usb 5-2: Product: ACR38 USB Reader
Oct 11 20:36:59 jonas kernel: usb 5-2: Manufacturer: ACS
Oct 11 20:36:59 jonas kernel: usb 5-2: configuration #1 chosen from 1 choice

This happens when I insert my card-reader in my usb-port.

But when I start up a program to read from my identity card which I insert into the card reader, then there is no further input.

The program however tells me that there is no card reader connected...


When I do the following :
Code:
[root@jonas Jonas]# /sbin/service pcscd status
pcscd dead but subsys locked
[root@jonas Jonas]# /sbin/service pcscd restart
Stopping PC/SC smart card daemon (pcscd):                  [FAILED]
Starting PC/SC smart card daemon (pcscd):                  [  OK  ]
[root@jonas Jonas]# /sbin/service pcscd status
pcscd dead but subsys locked
Then this is noted in /var/log/messages :
Oct 11 20:40:13 jonas pcscd: pcscdaemon.c:506:main() pcsc-lite 1.5.2 daemon ready.
Oct 11 20:40:13 jonas pcscd: hotplug_libhal.c:455:HPRegisterForHotplugEvents() No bundle files in pcsc drivers directory: /usr/lib/pcsc/drivers
Oct 11 20:40:13 jonas pcscd: hotplug_libhal.c:456:HPRegisterForHotplugEvents() Disabling USB support for pcscd
Oct 11 20:40:13 jonas pcscd: pcscdaemon.c:525:main() SVCServiceRunLoop returned
Oct 11 20:40:13 jonas pcscd: pcscdaemon.c:531:at_exit() cleaning /var/run
 
Old 10-12-2010, 03:31 AM   #4
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
Hello,

I'm getting the following error :

Quote:
Oct 12 10:29:42 jonas ifdhandler[2373]: usb_bulk failed: Connection timed out
Oct 12 10:29:42 jonas ifdhandler[2373]: ps_receive_from_ifd: failed: -1
Oct 12 10:29:42 jonas ifdhandler[2373]: ps_apdu_recv: failed
Oct 12 10:29:42 jonas pcscd: ifdwrapper.c:722:IFDTransmit() Card not transacted: 612
Oct 12 10:29:42 jonas pcscd: winscard.c:1671:SCardTransmit() Card not transacted: 0x80100016
 
Old 10-12-2010, 07:48 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jonaskellens View Post
Hello,
I'm getting the following error :
Don't know what version/distro of Linux you're on, but upon further reading, it appears there are many packages/modules you've got to load. In openSUSE->YAst->Software Management, searching for pcsc, I get lots of hardware handlers, none of which are installed by default.

Check your online repos, and see if installing them helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
<service name> dead but subsys locked arunplr Linux - Server 1 03-15-2008 10:13 AM
sshd dead but subsys locked itsjustme Linux - Networking 14 09-08-2005 10:36 PM
crond dead but subsys locked dpirvulescu Linux - Software 9 04-23-2005 09:09 AM
httpd dead but subsys locked x2000koh Linux - General 5 03-21-2005 05:26 PM
anacron dead but subsys locked adenardo Linux - General 11 06-13-2003 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration