I personally couldn't waste anymore time troubleshooting this problem.
Ensure you are using a Smartcard Reader that is compatible with the CCID
(Chip/Smart Card Interface Devices) and ICCD (Integrated Circuit(s) Card
Devices) driver.
Supported CCID readers/ICCD tokens:
Another data point: an Aventra MyEID PKI card
(http://www.aventra.fi/webshop/index.php?route=product/product_id=53
; it's apparently a "version 4", on the invoice it's identified as SKU:
MYEID and MPN: TH#130) works fine in this Alcor reader under OpenSC on
Ubuntu. The only card that has this
Similar output of ccid conformance as James' from a few years back.
** Attachment added: "output of src/parse from ccid-1.4.26"
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1307109/+attachment/4821262/+files/output.txt
--
You received this bug notification because you are a
I'll also note that the A22CR card works fine (does not exhibit the
flapping behavior) in an external Feitian reader.
Interestingly, the A22CR card + Alcor combibation doesn't "flap" under
Windows either when running opensc-tool in a loop. Just under Linux.
--
You received this bug
I have the same problem, using pcscd 1.8.14-1ubuntu1.16.04.1 on an IBM
Thinkpad P50, which has the same card reader.
However, interestingly, it only happens when I use a Feitian/Entersafe
A22CR card. I tried two of them with the same result, so it's not a
flaky card either.
When I use a PIVKey
** Changed in: pcsc-lite (Ubuntu)
Assignee: Kip Warner (kip) = Dariusz Gadomski (dgadomski)
** Changed in: pcsc-lite (Ubuntu)
Assignee: Dariusz Gadomski (dgadomski) = (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** No longer affects: linux (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor Micro AU9540 keeps powering down when card is present
To manage notifications about this bug
** Changed in: linux (Ubuntu)
Assignee: (unassigned) = Kip Warner (kip)
** Changed in: pcsc-lite (Ubuntu)
Assignee: (unassigned) = Kip Warner (kip)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
It may be possible to make the driver work with this reader.
I am not sure how to come back from the state An ICC is present and inactive.
Without such a reader at hand it will be hard to debug the driver.
Maybe you can offer me a Hewlett-Packard HP EliteBook Folio 1040 G1? :-)
--
You received
So I see that get_data_rates is returning an error, are there
alternative Control USB bytes we need to send? Or do we think this
failure is because of something else (reader clock being stopped.)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
** Description changed:
I have smart card reader built-into this laptop, however, whenever I
insert a card - it'll read it for a few seconds, then the USB connection
to the reader gets powered down and thus the card disappears in the
systems eyes.
After a few seconds, it comes back
Your reader firmware is newer than the one I have at
http://pcsclite.alioth.debian.org/ccid/readers/AU9540.txt
I confirm the reader firmware is bogus according to the output.txt you attached
in #27.
bNumDataRatesSupported: 138
IFD does not support GET_DATA_RATES request: Resource
What is strange is the response RDR_to_PC_SlotStatus (first byte 81h) when a
card is present and powered.
The normal CCID frame should be:
81 00 00 00 00 00 xx _00_ 00 00
00 is: An ICC is present and active (power is on and stable, RST is inactive)
But in the case of the HP we have:
81 00 00 00
** Attachment added: output.txt
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4085815/+files/output.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Maybe you can find a reader firmware update from Alcor Micro or HP.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor Micro AU9540 keeps powering down when card is present
To
This is a brand new laptop and HP appear to have shipped it with their
latest firmware.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor Micro AU9540 keeps powering down when card
** Patch added: apw_ccid_debug_patch-hp.diff
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4085400/+files/apw_ccid_debug_patch-hp.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Attachment added: lenovo-laptop-working-debug-hack.log
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4085389/+files/log.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Attachment added: hp-ccid-debug-hack.txt
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4085395/+files/hp-ccid-debug-hack.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
OK, in comments #22 and #23, we have outputs with ccid compiled with the
patch to add some more debug in #24.
Comment #22 features a working Lenovo laptop.
Comment #23 features the HP laptop.
For some reason, the HP laptop hits the IFDHICCPresence() function's
CCID_ICC_PRESENT_INACTIVE case and
That output above is what happens without touching the card or running
an application - it just sits there with Card present, as soon as I do
something like 'opensc-tool -l' - the card is absent and then it
eventually loops back to present.
--
You received this bug notification because you are a
** Attachment added: pcscd debug with 1.8.11-1 without touching card
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4084202/+files/watch-debug.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
The readers report card present and then card absent. The driver can't
do much to know this is not correct and must trust the reader.
I will try to find a Alcor Micro AU9540 reader and to tests. But it
looks like it is a reader bug.
--
You received this bug notification because you are a member
It comes built-into the HP EliteBook Folio 1040 G1, otherwise, I'm happy
to do any tests on my laptop.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor Micro AU9540 keeps powering
** Changed in: linux (Ubuntu)
Importance: Undecided = High
** Tags added: kernel-da-key
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor Micro AU9540 keeps powering down when
** Summary changed:
- Alcor Micro AU9540 keeps powering down when card is inserted
+ Alcor Micro AU9540 keeps powering down when card is present
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
** Attachment added: dmesg on card insertion and removal
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4083182/+files/card-insert-remove.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I ran 'opensc-tool' three times while running this debug.
** Attachment added: pcscd debug with arges' disable on demand power patch
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4083437/+files/pcsc-disable-on-demand-power-on.txt
--
You received this bug
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pcsc-lite (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
The dmesg corresponding to device removal and power on was related to a
BIOS option that does Power on if card is present vs Always powered
on. If the BIOS option is switched to Always powered on these
messages are not present.
** Also affects: pcsc-lite (Ubuntu)
Importance: Undecided
For context I found the following thread which looked related:
http://ludovicrousseau.blogspot.fr/2010/10/card-auto-power-on-and-off.html
From bug 1161882. So I built the following packages with
DISABLE_ON_DEMAND_POWER_ON defined:
http://people.canonical.com/~arges/lp1307404/
This also failed.
I ran 'opensc-tool' three times during this debug run. First two times,
it reported that there was a card in the system; third 'No'.
** Attachment added: pcscd debug with 1.8.11-1 on Ubuntu.
** Attachment added: pcsc_scan output of card
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307109/+attachment/4083485/+files/pcsc_scan_output.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: pcsc-lite (Ubuntu)
Importance: Undecided = High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor Micro AU9540 keeps powering down when card is present
To manage
An example of a non-working log:
http://pastebin.ubuntu.com/7250315/
An example of a working log:
http://pastebin.ubuntu.com/7250304/
The main differences I see start after here in the log:
0003 winscard.c:261:SCardConnect() Attempting Connect to Alcor Micro AU9540
00 00 using protocol: 3
Why does powering down a present card is a problem?
A problem would be if the reader reports no card inserted when a card is
inserted. Is that what happens?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Ludovic: That is exactly what happens. I'm not touching the card and as
shown in comment #3, it keeps appearing and disappearing.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor
Please generates a pcscd log as in #2 but without starting any
application. Just insert a smart card and wait.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307109
Title:
Alcor Micro AU9540 keeps
38 matches
Mail list logo