[Pcsclite-muscle] Adding new CCID reader
Andreas Schwier
andreas.schwier
Mon Sep 29 12:06:25 PDT 2014
OK. Answered that myself.
Added a new entry to all three sections in info.plist works. In my
initial attempt I missed the entry in the vendor list.
Andreas
On 09/29/2014 12:20 PM, Andreas Schwier wrote:
> Hi Ludovic,
>
> is there a simple way to add a product id to the list of supported
> readers in an existing installation (Linux/MaxOSX), e.g. by modifying
> info.plist ?
>
> We received a new batch of USB token for our SmartCard-HSM and the
> manufacturer had to replace the CCID controller. Unfortunately, the new
> stick now has new product id, which is not recognized in the current
> libccid version.
>
> I've already manually added the device to readers/supported_readers.txt
> and validated that the SmartCard-HSM works with the current version of
> libccid.
>
> As an intermediate fix to the issue, I want to provide our customers
> using Debian, Ubuntu and MacOSX with a patch that does not require them
> to compile anything. Ideally, the issue should be fixed by just editing
> some file (info.plist ?) to add the product id.
>
> Would it be possible to just edit info.plist ? (I already tried, but
> then no reader was recognized).
>
> The output of parse is like:
>
> Parsing USB bus/device: 04E6:5817 (bus 5, device 13)
> idVendor: 0x04E6 iManufacturer: Identive
> idProduct: 0x5817 iProduct: SCT3522CC token
>
> Found a CCID/ICCD device at interface 0
> idVendor: 0x04E6
> iManufacturer: Identive
> idProduct: 0x5817
> iProduct: SCT3522CC token
> bcdDevice: 1.00 (firmware release?)
> bLength: 9
> bDescriptorType: 4
> bInterfaceNumber: 0
> bAlternateSetting: 0
> bNumEndpoints: 3
> bulk-IN, bulk-OUT and Interrupt-IN
> bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)]
> bInterfaceSubClass: 0
> bInterfaceProtocol: 0
> bulk transfer, optional interrupt-IN (CCID)
> iInterface: CCID Interface
> CCID Class Descriptor
> bLength: 0x36
> bDescriptorType: 0x21
> bcdCCID: 1.10
> bMaxSlotIndex: 0x00
> bVoltageSupport: 0x07
> 5.0V
> 3.0V
> 1.8V
> dwProtocols: 0x0000 0x0003
> T=0
> T=1
> dwDefaultClock: 4.800 MHz
> dwMaximumClock: 16.000 MHz
> bNumClockSupported: 0 (will use whatever is returned)
> IFD does not support GET CLOCK FREQUENCIES request: Resource
> temporarily unavailable
> dwDataRate: 12903 bps
> dwMaxDataRate: 600000 bps
> bNumDataRatesSupported: 0 (will use whatever is returned)
> IFD does not support GET_DATA_RATES request: Resource temporarily
> unavailable
> dwMaxIFSD: 254
> dwSynchProtocols: 0x00000000
> dwMechanical: 0x00000000
> No special characteristics
> dwFeatures: 0x000404BA
> ....02 Automatic parameter configuration based on ATR data
> ....08 Automatic ICC voltage selection
> ....10 Automatic ICC clock frequency change according to parameters
> ....20 Automatic baud rate change according to frequency and Fi, Di
> params
> ....80 Automatic PPS made by the CCID
> ..04.. Automatic IFSD exchange as first exchange (T=1)
> 04.... Short and Extended APDU level exchange
> dwMaxCCIDMessageLength: 271 bytes
> bClassGetResponse: 0xFF
> echoes the APDU class
> bClassEnvelope: 0xFF
> echoes the APDU class
> wLcdLayout: 0x0000
> bPINSupport: 0x00
> bMaxCCIDBusySlots: 1
>
>
> Kind regards,
>
> Andreas
>
>
--
--------- CardContact Software & System Consulting
|.##> <##.| Andreas Schwier
|# #| Sch?lerweg 38
|# #| 32429 Minden, Germany
|'##> <##'| Phone +49 571 56149
--------- http://www.cardcontact.de
http://www.tscons.de
http://www.openscdp.org
http://www.smartcard-hsm.com
More information about the pcsclite-muscle
mailing list