Ubuntu 14.04 ACR38 card reader. Says "card is not found" in java applet

Bug #1350425 reported by Mosipo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcsc-lite (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

ACR38 card reader is not working. Assume that I have wrong driver installed.

tm@Compaq-HP-6510b:~$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

tm@Compaq-HP-6510b:~$ java -version
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :
Revision history for this message
Mosipo (wellcome2) wrote : Re: [Bug 1350425] Re: Ubuntu 14.04 ACR38 card reader driver problem
  • 123 Edit (19.6 KiB, application/octet-stream; name=123)

Hi Ludovic,
I think i have did what you wanted me to, but there is one step i can not
finish. Particularly this one.

-----------------------------------------

make
sudo ./src/parse > output.txt
-------------------------------

please see the attachement.

Thanks in advance.

On Thu, Jul 31, 2014 at 1:11 AM, Ludovic Rousseau <
<email address hidden>> wrote:

> Please follow http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1350425
>
> Title:
> Ubuntu 14.04 ACR38 card reader driver problem
>
> Status in “pcsc-lite” package in Ubuntu:
> New
>
> Bug description:
> ACR38 card reader is not working. Assume that I have wrong driver
> installed.
>
> tm@Compaq-HP-6510b:~$ lsb_release -rd
> Description: Ubuntu 14.04.1 LTS
> Release: 14.04
>
> tm@Compaq-HP-6510b:~$ java -version
> java version "1.8.0_11"
> Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1350425/+subscriptions
>

Mosipo (wellcome2)
summary: - Ubuntu 14.04 ACR38 card reader driver problem
+ Ubuntu 14.04 ACR38 card reader. Says "card is not found" in java applet
Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

You changed the bug title.
Maybe the problem is with your application and not with the driver.

Follow http://ludovicrousseau.blogspot.fr/2014/03/level-1-smart-card-support-on-gnulinux.html

Revision history for this message
Mosipo (wellcome2) wrote :

what does the output below means?
--------------------------------------------------------------------------------------------------
PC/SC device scanner
V 1.4.22 (c) 2001-2011, Ludovic Rousseau <email address hidden>
Compiled with PC/SC lite version: 1.8.10
Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR38U-CCID 00 00

Mon Aug 4 18:27:58 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card inserted, Unresponsive card,

Mon Aug 4 18:28:10 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card removed,

Mon Aug 4 18:28:13 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card inserted, Unresponsive card,

Mon Aug 4 18:28:16 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card removed,

Mon Aug 4 18:28:18 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card inserted, Unresponsive card,

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

It means that the driver is working correctly.
It also means that the card is dead or is not a _smart_ card. Or that you insert the card in a wrong way.

Revision history for this message
Mosipo (wellcome2) wrote :

Thanks, for explaination.

what about new output below? (I have pluged in my usb card reader with card pre-inserted and gave me result below. then i took out card and inserted it back again several time and it showed the result i have showed you before)

-----------------------------------------------------------------------------------------------------
PC/SC device scanner
V 1.4.22 (c) 2001-2011, Ludovic Rousseau <email address hidden>
Compiled with PC/SC lite version: 1.8.10
Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR38U-CCID 00 00

Mon Aug 4 20:32:04 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card inserted,
  ATR: 3B 6E 00 00 80 31 80 66 B1 A1 11 01 00 F6 83 00 90 00

ATR: 3B 6E 00 00 80 31 80 66 B1 A1 11 01 00 F6 83 00 90 00
+ TS = 3B --> Direct Convention
+ T0 = 6E, Y(1): 0110, K: 14 (historical bytes)
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 80 31 80 66 B1 A1 11 01 00 F6 83 00 90 00
  Category indicator byte: 80 (compact TLV data object)
    Tag: 3, len: 1 (card service data byte)
      Card service data byte: 80
        - Application selection: by full DF name
        - EF.DIR and EF.ATR access services: by GET RECORD(s) command
        - Card with MF
    Tag: 6, len: 6 (pre-issuing data)
      Data: B1 A1 11 01 00 F6
    Tag: 8, len: 3 (status indicator)
      LCS (life card cycle): 00 (No information given)
      SW: 9000 (Normal processing.)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
 NONE

find: `/home/tm/.cache/smartcard_list.txt': No such file or directory
Your card is not present in the database.
Please submit your unknown card at:
http://smartcard-atr.appspot.com/parse?ATR=3B6E000080318066B1A1110100F683009000

Mon Aug 4 20:33:24 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card removed,

Mon Aug 4 20:33:26 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card inserted, Unresponsive card,

Mon Aug 4 20:33:27 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card removed,

Mon Aug 4 20:33:29 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card inserted, Unresponsive card,

Mon Aug 4 20:35:16 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card removed,

Mon Aug 4 20:35:19 2014
Reader 0: ACS ACR38U-CCID 00 00
  Card state: Card inserted, Unresponsive card,

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

So the card+reader works at least a bit.

Now follow http://pcsclite.alioth.debian.org/ccid.html#support
and redo what you did above: connect the reader with the card inserted, remove and insert the card.

Revision history for this message
Mosipo (wellcome2) wrote :

Please refer to attachment.

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

You can remove the /usr/lib/pcsc/drivers/ifd-acsccid.bundle driver. It is for 32 bits only.

I could not find a problem in your log. But the card never worked in this trace.
I think you have a real problem with your card. Try with another card.

It is not a driver problem.

Revision history for this message
Mosipo (wellcome2) wrote :

ic. but this card is working with Windows OS.
Ok. thanks anyways. )))

Revision history for this message
Alexander (aheihachi) wrote :

Same here, Ubuntu 14.04 not working. Though on Windows system it does work as intended.

Revision history for this message
Mosipo (wellcome2) wrote :

I have made soem experiment using same card reader but different cards. Some them can be identified some not. So it can be the card problem indeed. ( bwt in i forgot to mention, in my case on windows it worked not constantly sometimes it did sometime it didn't.) I have odered a new card )) will how it will work.

Revision history for this message
Mosipo (wellcome2) wrote :

Hello, Ludovic!
Could you please see the attachment again. I've got a new card. But still Java applet says "card is not found".

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

You log "pcsc_scan output" show that the card is working since the ATR is returned.
I guess it is a bug in your Java program or a mis-configuration.

You can use http://ludovicrousseau.blogspot.fr/2010/06/pcsc-sample-in-java.html to check your Java runtime is working.

Revision history for this message
Mosipo (wellcome2) wrote :

Thank you for your reply. I will try.

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

Hello,

veeru, it looks like you do not know what you are doing. I propose you to read documentation first.

Mosipo, I guess you solved your problem.

This bug system is not a support forum. I close this non-bug.

Changed in pcsc-lite (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.