← Back to team overview

touch-packages team mailing list archive

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

 

LogCardReader%40Powerup.txt indicates that the device is not responding correctly:
00000024 -> 000000 65 00 00 00 00 00 00 00 00 00 
05000412 ccid_usb.c:751:WriteUSB() write failed (1/4): -7 Resource temporarily unavailable

-7 is LIBUSB_ERROR_TIMEOUT
So the device is not visible at the PC/SC level. I have no idea what is happening. I suspect a reader firmware bug.

I do not see the pcscd crash in this log. Can you run pcscd inside gdb?
$ gdb /usr/sbin/pcscd
(gdb) set args -dfa
(gdb) run
remove the reader do make pcscd crash
(gdb) backtrace

Then send me the complete gdb trace.
Thanks

-- 
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