LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-05-2011, 03:12 AM   #1
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Udev rules for SCM card reader


Hi All.

I would like to get my SCM spr532 card reader up and running with gpg. I have added the udev rules as described here:

http://wiki.fsfe.org/Card_howtos/Car...tup_%28udev%29

As root user I do:

Code:
gpg --card-status
Everything is fine.

lsusb shows the device:

Code:
Bus 003 Device 002: ID 04e6:e003 SCM Microsystems, Inc. SPR532 PinPad SmartCard Reader
Problem is I can't see the device as a normal user. My normal user is in the scard group. I probably need to tell udev to allow my normal user to use the device.

This was done as normal user:

Code:
bash-4.1$ gpg --card-status
gpg: apdu_open_reader: failed to open driver `libpcsclite.so.1': libpcsclite.so.1: cannot open shared object file: No such file or directory
gpg: card reader not available
gpg: OpenPGP card not available: general error

What do we think?

Best,

Kristian

Last edited by Phorize; 10-05-2011 at 03:24 AM. Reason: Adding more information
 
Old 10-06-2011, 04:51 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
All udev is doing is setting permissions on the device. It is not a card reader driver. The error message that you got says:

Code:
libpcsclite.so.1: cannot open shared object file: No such file or directory
You are missing the file libpcsclite.so.1. This is a library file which contains the code to talk to the device and actually read the cards.
 
Old 10-07-2011, 01:32 AM   #3
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by smallpond View Post
All udev is doing is setting permissions on the device. It is not a card reader driver. The error message that you got says:

Code:
libpcsclite.so.1: cannot open shared object file: No such file or directory
You are missing the file libpcsclite.so.1. This is a library file which contains the code to talk to the device and actually read the cards.
Thanks for your reply. I'm not sure that you are right that this is a missing library issue; as root user the device functions perfectly. gpg --card-status gives me the right output for the card I have inserted into the reader. This is why I think it could be udev issue.
 
  


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
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory rcg1984 Linux From Scratch 2 09-17-2008 07:02 AM
4-in1 Card Reader, HAL, dbus, and/or udev marnold Slackware 5 07-14-2007 11:13 AM
Multiple External camera flash memory card readers, udev rules best way? Old_Fogie Slackware 1 11-02-2006 06:18 AM
Card Reader + Udev not working bingo Slackware 16 10-27-2006 08:07 PM
udev rules for sandisk 8 in 1 card reader, can't distinguish hedpe Linux - Hardware 4 12-30-2005 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:07 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