LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 10:32 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Rep: Reputation: 33
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, 10:43 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
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, 02:41 PM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
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, 04:31 AM   #4
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
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, 08:48 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:13 AM
sshd dead but subsys locked itsjustme Linux - Networking 14 09-08-2005 11:36 PM
crond dead but subsys locked dpirvulescu Linux - Software 9 04-23-2005 10:09 AM
httpd dead but subsys locked x2000koh Linux - General 5 03-21-2005 06:26 PM
anacron dead but subsys locked adenardo Linux - General 11 06-13-2003 02:37 AM


All times are GMT -5. The time now is 06:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration