← Back to team overview

touch-packages team mailing list archive

[Bug 1366152] Re: System crash when Vasco-card-reader is plugged in at powerup

 

Thank you Ludovic for your quick response.

I generated to log-files,
LogCardReader@xxxxxxxxxxx in case it goes wrong (only when the card-reader is plugged in while the computer is starting-up or rebooting

LogCardReaderOK.txt after the crash - removed the reader and sudo
service pcscd start

/usr/sbin/pcscd --version
pcsc-lite version 1.8.10.
Copyright (C) 1999-2002 by David Corcoran <corcoran@xxxxxxxxxxxx>.
Copyright (C) 2001-2011 by Ludovic Rousseau <ludovic.rousseau@xxxxxxx>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron@xxxxxxxx>.
Report bugs to <muscle@xxxxxxxxxxxxxxxxxxxx>.
Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d

pcsc_scan (when the reader is ok)
PC/SC device scanner
V 1.4.22 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@xxxxxxx>
Compiled with PC/SC lite version: 1.8.10
Using reader plug'n play mechanism
Scanning present readers...
0: VASCO DP905v1.1 00 00

Sat Sep  6 10:18:48 2014
Reader 0: VASCO DP905v1.1 00 00
  Card state: Card removed, 

apt-cache policy pcscd
pcscd:
  Geïnstalleerd: 1.8.10-1ubuntu1
  Kandidaat:     1.8.10-1ubuntu1
  Versietabel:
 *** 1.8.10-1ubuntu1 0
        500 http://be.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Middleware = eid-mw
low-level support for Belgian Electronic Identity Card
apt-cache policy eid-mw
eid-mw:
  Geïnstalleerd: 4.0.6r1620-0trusty1
  Kandidaat:     4.0.6r1620-0trusty1
  Versietabel:
 *** 4.0.6r1620-0trusty1 0
        500 http://files.eid.belgium.be/debian/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
 


** Attachment added: "LogCardReader@xxxxxxxxxxx"
   https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1366152/+attachment/4196927/+files/LogCardReader%40Powerup.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcsc-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1366152

Title:
  System crash when Vasco-card-reader is plugged in at powerup

Status in “pcsc-lite” package in Ubuntu:
  New

Bug description:
  I'm using VASCO Data Security International Digipass 905 SmartCard Reader which is working fine. However if the device is plugged in at power-up, the device isn't handled well. Although the device is in the ilisted usb-devices, pcsc-scan doesn't find the device at all (Which is normal as the green-led is going out after the kernel starts). If one tries to remove the card-reader,
  a system-crash happens. After that the pcscd-service seems to be halted :
  pcsc_scan
  PC/SC device scanner
  V 1.4.22 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@xxxxxxx>
  Compiled with PC/SC lite version: 1.8.10
  SCardEstablishContext: Service not available.

  One can recover from this problem by
  1. Unplugging the reader
  2. Manually starting the service again by sudo service pcscd start 
  3. Plugging back the reader in (green led stays on, red led goes on when a card is put in)

  The bug is not related to a 64-bit architecture as it happens also
  with 32-bit machines.

  Info about the device
  Bus 001 Device 005: ID 1a44:0001 VASCO Data Security International Digipass 905 SmartCard Reader
  Couldn't open device, some information will be missing
  Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               1.10
    bDeviceClass            0 (Defined at Interface level)
    bDeviceSubClass         0 
    bDeviceProtocol         0 
    bMaxPacketSize0         8
    idVendor           0x1a44 VASCO Data Security International
    idProduct          0x0001 Digipass 905 SmartCard Reader
    bcdDevice            1.02
    iManufacturer           1 
    iProduct                2 
    iSerial                 0 
    bNumConfigurations      1
    Configuration Descriptor:
      bLength                 9
      bDescriptorType         2
      wTotalLength           93
      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       000404BE
            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 and extended APDU level exchange
          dwMaxCCIDMsgLen       272
          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

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: pcscd 1.8.10-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Sep  5 19:55:38 2014
  InstallationDate: Installed on 2014-05-10 (118 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: pcsc-lite
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1366152/+subscriptions


References