• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • pyscard
  • Bugs
pyscard

Error when trying to list readers in python

Brought to you by: jdaussel, ludov
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Bugs
    • Support Requests
    • Feature Requests
  • Code
  • Git ▾
    • Git
    • Git contrib
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#22 Error when trying to list readers in python

v1.0 (example)
open
nobody
None
5
2021-02-04
2021-02-04
Zablon Dawit
No

I'm trying to connect and read nfc card using my raspberry pi, running raspbian 10. Can't figure out if I'm running something wrong. I've tried java code and it works fine, pcscd also reads and detects the cards. I'm using ACS ACR122U A9 reader.

#! /usr/bin/env python

from smartcard.System import readers

SELECT  = [0x00, 0xA4, 0x04, 0x00, 0x0A, 0xA0, 0x00, 0x00, 0x00, 0x62, 0x03, 0x01, 0x0C, 0x06, 0x01];
COMMAND = [0x00, 0x00, 0x00, 0x00]

r = readers()
print ("Available readers: ", r)
1 Attachments
2021-02-04 12_12_46-192.168.137.222 (raspberrypi) - VNC Viewer.png

Discussion

  • Ludovic Rousseau

    Ludovic Rousseau - 2021-02-04

    It looks like pcscd is NOT running.
    https://ludovicrousseau.blogspot.com/2014/03/level-1-smart-card-support-on-gnulinux.html

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
Retool Logo
Retool Logo Try it free