Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Card is unpowered #9

Closed
flroux opened this issue Oct 19, 2017 · 8 comments
Closed

Card is unpowered #9

flroux opened this issue Oct 19, 2017 · 8 comments

Comments

@flroux
Copy link

flroux commented Oct 19, 2017

When I try to use scriptor I have an error "Can't allocate Chipcard::PCSC::Card object: Card is unpowered."

The card is recognized by my reader and it works with nfc-pcsc

pcsc_scan output:

PC/SC device scanner
V 1.5.2 (c) 2001-2017, Ludovic Rousseau <[email protected]>
Using reader plug'n play mechanism
Scanning present readers...
0: OMNIKEY CardMan (076B:5121) 5121 (OKCM0022509131612005524582011459) 00 00
1: OMNIKEY CardMan (076B:5121) 5121 (OKCM0022509131612005524582011459) 00 01

Thu Oct 19 11:27:39 2017
 Reader 0: OMNIKEY CardMan (076B:5121) 5121 (OKCM0022509131612005524582011459) 00 00
  Card state: Card inserted, Unresponsive card,
 Reader 1: OMNIKEY CardMan (076B:5121) 5121 (OKCM0022509131612005524582011459) 00 01
  Card state: Card inserted,
  ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A

ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
+ TS = 3B --> Direct Convention
+ T0 = 8F, Y(1): 1000, K: 15 (historical bytes)
  TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
-----
  TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1
-----
+ Historical bytes: 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00
  Category indicator byte: 80 (compact TLV data object)
    Tag: 4, len: F (initial access data)
      Initial access data: 0C A0 00 00 03 06 03 00 01 00 00 00 00
+ TCK = 6A (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
3B 8F 80 01 80 4F 0C A0 00 00 03 06 .. 00 01 00 00 00 00 ..
        Mifare Standard 1K (as per PCSC std part3)
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 .. .. 00 00 00 00 ..
        RFID - ISO 14443 Type A Part 3 (as per PCSC std part3)
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
        Philips MIFARE Standard (1 Kbytes EEPROM)
        http:https://www.nxp.com/#/pip/pip=[pfp=41863]|pp=[t=pfp,i=41863]
        RFID - ISO 14443 Type A - Transport for London Oyster
        ACOS5/1k Mirfare
        RFID - ISO 14443 Type A - NXP Mifare card with 1k EEPROM
        vivotech ViVOcard Contactless Test Card
        Bangkok BTS Sky SmartPass
        Mifare Classic 1K (block 0 re-writeable)
@flroux
Copy link
Author

flroux commented Oct 20, 2017

When I try tu use the card with node-pcsclite or nfc-pcsc, I have no error "Card is unpowered" but the card return an error 0x6986
I don't know if the two problem are linked

@LudovicRousseau
Copy link
Owner

Please provide the complete output of scriptor.

@flroux
Copy link
Author

flroux commented Oct 23, 2017

scriptor output:

No reader given: using OMNIKEY CardMan 5x21 (OKCM0021212161306074695909938966) 00 00
Can't allocate Chipcard::PCSC::Card object: Card is unpowered.

@LudovicRousseau
Copy link
Owner

Your 5121 reader has 2 interfaces. The card is present in reader "OMNIKEY CardMan (076B:5121) 5121 (OKCM0022509131612005524582011459) 00 01" but you are using reader "OMNIKEY CardMan (076B:5121) 5121 (OKCM0022509131612005524582011459) 00 00" in scriptor (first reader found).

Use scriptor -r "OMNIKEY CardMan (076B:5121) 5121 (OKCM0022509131612005524582011459) 00 01"

@dcruveiller
Copy link

dcruveiller commented Feb 22, 2020

Hey pcsc_scan says the unresponsive card but i have only one interface how i make it power my card ?
Here is the pcsc_scan output:

PC/SC device scanner
V 1.5.2 (c) 2001-2017, Ludovic Rousseau <[email protected]>
Using reader plug'n play mechanism
Scanning present readers...
0: Alcor Micro AU9560 00 00
 
Sat Feb 22 15:10:52 2020
 Reader 0: Alcor Micro AU9560 00 00
  Card state: Card inserted, Unresponsive card

@LudovicRousseau
Copy link
Owner

You are using a different reader now.
Are you sure your Alcor Micro AU9560 reader can read your RFID card?

@dcruveiller
Copy link

my card is SLE4442 and Alcor Micro AU9560 chip is compatible with SLE4442.

@dcruveiller
Copy link

@FlorianLeroux hi what is your exact reader name ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants