Alcor AU9520 not recognized by libccid > 1.4.2

Bug #1175465 reported by Po-Hsu Lin on 2013-05-02
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ccid (Ubuntu)
linux (Ubuntu)
Jesse Sung

Bug Description

CID: 201205-11052 (Pavilion Slimline S5 Pavilion P6)

With this card reader: 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer

1. Insert a MMC/SD/SDHC card.
2. (The file browser will pop out.)
3. Remove the pre-inserted card.

Expected Results:
1. The card will be removed from the /media, the icon will disappear from the launcher.
2. Open a file browser, and it's not in the devices section of the left column.

Actual Results:
1. The card will be removed from the /media, the icon will disappear.
2. It still listed in the devices section, if you click on it in the file browser,
an error pops, telling you the device was not found, and the disappears from the left column of the file browser.

The reason seems to be the eject event is not being sent through dbus.
Will try update later to see if it can be solved.
The eject event is not being sent through dbus

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.5.0-23-generic 3.5.0-23.35~precise1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic
Uname: Linux 3.5.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
 **** List of PLAYBACK Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
 /dev/snd/controlC0: ubuntu 1547 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf7d00000 irq 50'
   Mixer name : 'IDT 92HD73E1X5'
   Components : 'HDA:111d7676,103c2ada,00100103'
   Controls : 39
   Simple ctrls : 21
Date: Thu May 2 02:11:18 2013
HibernationDevice: RESUME=UUID=0059822b-2011-4dbc-aea6-3e1aff45462e
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
 eth0 no wireless extensions.

 lo no wireless extensions.
MarkForUpload: True
 PATH=(custom, no user)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-23-generic root=UUID=c6420b34-c860-4df2-99fd-9fa1a0b893b7 ro quiet splash initcall_debug vt.handoff=7
 linux-restricted-modules-3.5.0-23-generic N/A
 linux-backports-modules-3.5.0-23-generic N/A
 linux-firmware 1.79.1

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install) 03/29/2013
dmi.bios.vendor: AMI
dmi.bios.version: 00.05 2ADA
dmi.board.vendor: Hewlett-Packard
dmi.board.version: PVT
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAMI:bvr00.05:bd03/29/2013:svnHewlett-Packard:pn:pvr:rvnHewlett-Packard:rn2ADA:rvrPVT:cvnHewlett-Packard:ct3:cvr:
dmi.sys.vendor: Hewlett-Packard

Po-Hsu Lin (cypressyew) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Po-Hsu Lin (cypressyew) on 2013-05-02
description: updated
Po-Hsu Lin (cypressyew) wrote :

Also affects HP Pavilion P6

tags: added: 201206-11161
Daniel Manrique (roadmr) on 2013-05-26
Changed in linux (Ubuntu):
importance: Undecided → Low
Anthony Wong (anthonywong) wrote :

Would it be possible for you to test a mainline kernel, such as the one in Thanks.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Po-Hsu Lin (cypressyew) wrote :

Hello Anthony,
the hardware configuration of this system, 201205-11052, is refreshed, thus this CID is deprecated.

I've verified this with 12.04.1 + kernel v3.10-rc7 on 201201-10357 Dell Vostro 270, another system with [058f:6362]
The problem still exist.

tags: added: 201201-10537 kernel-bug-exists-upstream
removed: 201205-11052
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → Jesse Sung (wenchien)
Po-Hsu Lin (cypressyew) wrote :

Verified on 201201-10399 with 12.04.3 (3.8.0-33)
This bug still exist

Po-Hsu Lin, could you please provide the full computer model as noted on the sticker (ex. HP Pavilion Slimline s5-1000z CTO Desktop PC)?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Po-Hsu Lin (cypressyew) wrote :

Hello Christopher,
All I have is the model name here
And I think the point is what card reader is affected, sometimes vendors will even change the component base on their marketing strategy.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Edmund Laugasson (ed-lau) wrote :

I can confirm the current bug under Ubuntu 14.04 LTS:
# cat /etc/lsb-release

# lsusb
Bus 002 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 003 Device 003: ID 058f:9520 Alcor Micro Corp. EMV Certified Smart Card Reader

More information about Alcor Micro AU9520 reader -

Actually this bug is very annoying since Ubuntu 12.04 LTS at least....

Currently installed libccid in Ubuntu 14.04 LTS:

Last working version of libccid seems to be:

I install (downgrade) it by command: dpkg -i libccid_1.4.2-2_i386.deb

Then I have to hold that downgraded package: echo libccid hold | dpkg --set-selections

... for checking: dpkg --get-selections libccid
... releasing again (if I want to upgrade to current again): echo libccid install | dpkg --set-selections

Edmund Laugasson (ed-lau) wrote :

sorry - forgot...

Currently installed libccid version in Ubuntu 14.04 LTS: 1.4.15-1 <--- still buggy....

I can confirm, that if to downgrade onto 1.4.2-2 then this smartcard reader will work under Ubuntu 14.04 LTS.

So - you can look inside that old 1.4.2-2 version and bring back the working state of libccid also for newer Ubuntu releases.

There are whole generation of PC-s at schools, which are using that smardcard reader and it is really annoying bug as there are at least several tens of thousands PC-s using that smardcard reader and since 2012 there is needed to downgrade libccid to get that smardcard reader to work...

Märt Põder (boamaod) wrote :

I confirm that Ubuntu 14.04.4 with neither 1.4.15-1 from official Trusty repository nor newest version 1.4.22-1 from Xenial repository works with AU9520 reader. Downgrading to 1.4.2-2 solves the issue for me too.

I have no idea what the problem can be.

Please generate 2 traces as described in
- 1 trace with the working libccid 1.4.2-2
- 1 trace with the non working libccid (any version but 1.4.22-1 preferred)

Note that the original bug was with SD/MMC cards that has nothing to do with smart cards and smart card reader managed by libccid.

Märt Põder (boamaod) on 2016-03-17
summary: - Card reader - Alcor [058f:6362] didn't detect the eject of SD/MMC cards.
+ AU9520 not recognized by libccid > 1.4.2
summary: - AU9520 not recognized by libccid > 1.4.2
+ Alcor AU9520 not recognized by libccid > 1.4.2
Märt Põder (boamaod) wrote :

Experimenting with different versions seemed to result 1.4.22-1 to run properly some times, specifically when run directly after successful run of 1.4.2-2. Running 1.4.22-1 alone didn't give any successful results in the beginning.

Märt Põder (boamaod) wrote :

Sorry about messing up the original bug report, I was linked to comment #10 and I didn't pay attention enough. I can file a new report and restore the original status, if we get to some resolution with this bug.

I have no idea what the problem can be.
- Do you use the same libusb in all tests?
- What is the result of the parse command as described in

Märt Põder (boamaod) wrote :

As far as I know, there are no differences in libusb between versions tested, it seems that system doesn't offer automatical updates if I change version of libccid and I haven't changed anything manually for sure. I attach CCID parse output.

You version is quiet similar to

I have no idea what the problem can be.

To post a comment you must log in.