[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-06-13 Thread Chris J Arges
** No longer affects: linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109 Title: Alcor Micro AU9540 keeps powering down when card is present Status in “pcsc-lite”

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-05-01 Thread Kip Warner
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-25 Thread Ludovic Rousseau
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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-21 Thread Chris J Arges
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 Kernel Packages, which is

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-17 Thread Jonathan Davies
** 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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-17 Thread Ludovic Rousseau
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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Ludovic Rousseau
Maybe you can find a reader firmware update from Alcor Micro or HP. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109 Title: Alcor Micro AU9540 keeps powering down when card is

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Jonathan Davies
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 Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109 Title: Alcor Micro AU9540 keeps powering

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Jonathan Davies
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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Ludovic Rousseau
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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-16 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-15 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-15 Thread Jonathan Davies
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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-15 Thread Ludovic Rousseau
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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-15 Thread Jonathan Davies
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 Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109 Title: Alcor Micro AU9540

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-15 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided = High ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109 Title: Alcor Micro AU9540 keeps

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Jonathan Davies
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.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Jonathan Davies
** 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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Chris J Arges
** Changed in: pcsc-lite (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109 Title: Alcor Micro AU9540 keeps powering down when card is

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Chris J Arges
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

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Ludovic Rousseau
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 Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Jonathan Davies
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 Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109

[Kernel-packages] [Bug 1307109] Re: Alcor Micro AU9540 keeps powering down when card is present

2014-04-14 Thread Ludovic Rousseau
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 Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1307109 Title: Alcor Micro