[Pcsclite-muscle] Alcor Micro AU9520 not recognized by libccid 1.4.31

zeroconf zeroconf at zeroconf.ee
Wed Nov 4 13:57:55 EST 2020


Hello!

Tried to downgrade libccid and lock the package (sudo apt-mark hold libccid):
https://packages.debian.org/libccid
https://ubuntu.pkgs.org/
https://packages.ubuntu.com/search?keywords=libccid&searchon=names&suite=all&section=all
.... none helped.
Earlier times such downgrading helped, but not anymore.

When to look at:
https://ccid.apdu.fr/ccid/section.html - big table
https://ccid.apdu.fr/ccid/supported.html#0x058F0x9520 - Alcor Micro AU9520

...then it suppose to be supported but still the device is not working:
$ opensc-tool --list-readers
No smart card readers found.

Log file created with command as suggested at https://ccid.apdu.fr/#support:
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu
--color | tee log.txt

$ pcscd --version
pcsc-lite version 1.8.26.
Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
Copyright (C) 2001-2018 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
Report bugs to <pcsclite-muscle at lists.alioth.debian.org>.
Enabled features: Linux x86_64-pc-linux-gnu libsystemd serial usb
libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/run/pcscd filter
configdir=/etc/reader.conf.d

$ dpkg -l|grep -i ccid
ii  libccid                                    1.4.31-1
            amd64        PC/SC driver for USB CCID smart card readers

$ lsb_release -a
Distributor ID: Linuxmint
Description: Linux Mint 20
Release: 20
Codename: ulyana

$ cat /etc/os-release
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=ulyana
UBUNTU_CODENAME=focal

$ cat /etc/debian_version
bullseye/sid

PC information
regular PC
# dmidecode -t baseboard
Manufacturer: MICRO-STAR INTERNATIONAL CO.,LTD
Product Name: 760GM -E51 (MS-7596)
Version: 1.0

$ inxi -xxxS
System:    Host: MS-7596 Kernel: 5.4.0-52-generic x86_64 bits: 64
compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7
           wm: muffin 4.6.3 dm: LightDM 1.30.0 Distro: Linux Mint 20
Ulyana base: Ubuntu 20.04 focal


Card reader
Alcor Micro AU9520
Bus 005 Device 002: ID 058f:9520 Alcor Micro Corp. EMV Certified Smart
Card Reader

$ sudo lsusb -vd 058f:9520

Bus 005 Device 002: ID 058f:9520 Alcor Micro Corp. Watchdata W 1981
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x058f Alcor Micro Corp.
  idProduct          0x9520 Watchdata W 1981
  bcdDevice            1.02
  iManufacturer           1 Generic
  iProduct                2 EMV Smartcard Reader
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x005d
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               50mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass        11 Chip/SmartCard
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      ChipCard Interface Descriptor:
        bLength                54
        bDescriptorType        33
        bcdCCID              1.00
        nMaxSlotIndex           0
        bVoltageSupport         3  5.0V 3.0V
        dwProtocols             3  T=0 T=1
        dwDefaultClock       3700
        dwMaxiumumClock      3700
        bNumClockSupported      1
        dwDataRate           9946 bps
        dwMaxDataRate      318280 bps
        bNumDataRatesSupp.     53
        dwMaxIFSD             254
        dwSyncProtocols  00000007  2-wire 3-wire I2C
        dwMechanical     00000000
        dwFeatures       000204BE
          Auto configuration based on ATR
          Auto activation on insert
          Auto voltage selection
          Auto clock change
          Auto baud rate change
          Auto PPS made by CCID
          Auto IFSD exchange
          Short APDU level exchange
        dwMaxCCIDMsgLen       271
        bClassGetResponse    echo
        bClassEnvelope       echo
        wlcdLayout           none
        bPINSupport             0
        bMaxCCIDBusySlots       1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               0
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)
----
Thank you!



More information about the pcsclite-muscle mailing list