Feitian SCR301 - new version

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Feitian SCR301 - new version

Thomas Capricelli
Il 20/10/2015 18:06, Ludovic Rousseau ha scritto:
> That's where I am. Any hint about what's happening or what I could
> try next ?
> Buy another model of reader.
> Choose a reader from the "supported" list
> https://pcsclite.alioth.debian.org/ccid/supported.html

Ok, done. It works well (I took one from Gemalto).

I happen to have also got my hand on this reader (lsusb output appended):

http://cartesapuce-discount.com/fr/lecteurs-de-cartes-a-puce-usb/109-lecteur-de-cartes-a-puce-usb-cardman-3121.html

pcsc_scan reports "Feitian SCR301", which is on:

        https://pcsclite.alioth.debian.org/ccid/unsupported.html

though it looks like as on my first link, not this one.

So far I have had no problem to use it.
Do you know how I could test/check the problems mentionned on the page ?

On a side note, there are two groups "FEITIAN" and "Feitian" on

https://pcsclite.alioth.debian.org/ccid/shouldwork.html

, aren't they the same ?

best regards,
--
Thomas Capricelli <[hidden email]>
http://www.freehackers.org/thomas/


lsusb output :

orzel@berlioz /home/orzel% sudo lsusb -d 0x96e: -v

Bus 001 Device 006: ID 096e:0503 Feitian Technologies, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x096e Feitian Technologies, Inc.
idProduct 0x0503
bcdDevice 4.50
iManufacturer 1 Feitian
iProduct 2 SCR301
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 93
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
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 7 5.0V 3.0V 1.8V
dwProtocols 3 T=0 T=1
dwDefaultClock 3700
dwMaxiumumClock 3700
bNumClockSupported 0
dwDataRate 9946 bps
dwMaxDataRate 318280 bps
bNumDataRatesSupp. 53
dwMaxIFSD 272
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 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 24

can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: Feitian SCR301 - new version

Ludovic Rousseau


2015-11-05 13:43 GMT+01:00 Thomas Capricelli <[hidden email]>:
Il 20/10/2015 18:06, Ludovic Rousseau ha scritto:
That's where I am. Any hint about what's happening or what I could
try next ?
Buy another model of reader.
Choose a reader from the "supported" list
https://pcsclite.alioth.debian.org/ccid/supported.html

Ok, done. It works well (I took one from Gemalto).

I happen to have also got my hand on this reader (lsusb output appended):

http://cartesapuce-discount.com/fr/lecteurs-de-cartes-a-puce-usb/109-lecteur-de-cartes-a-puce-usb-cardman-3121.html

pcsc_scan reports "Feitian SCR301", which is on:

        https://pcsclite.alioth.debian.org/ccid/unsupported.html

though it looks like as on my first link, not this one.

So far I have had no problem to use it.
Do you know how I could test/check the problems mentionned on the page ?

The page says: The reader fails with a CASE 2 APDU with Le=0 (256 bytes)

So you have to test if a case 2 APDU with Le=0 works for you.
You may have to never use such an APDU. So the reader may work well for you.

Your reader has: bcdDevice 4.50
The one on my list has: bcdDevice: 3.01 (firmware release?)

So you have a newer firmware. Maybe your firmware is fixed.


On a side note, there are two groups "FEITIAN" and "Feitian" on

https://pcsclite.alioth.debian.org/ccid/shouldwork.html

, aren't they the same ?


Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: Feitian SCR301 - new version

Thomas Capricelli


Il 06/11/2015 10:56, Ludovic Rousseau ha scritto:
> So you have to test if a case 2 APDU with Le=0 works for you.
> You may have to never use such an APDU. So the reader may work well for you.


I understand this. I was asking about how to send such a "border case"
APDU. Any code somewhere ? any regression tests suite  ?


> Yes. They are all Feitian readers
> https://pcsclite.alioth.debian.org/select_readers/?idVendor=2414

I mean : there are displayed in two different sections on the page, that
looks weird


Thomas
--
Thomas Capricelli <[hidden email]>
http://www.freehackers.org/thomas/

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: Feitian SCR301 - new version

Ludovic Rousseau


2015-11-06 11:00 GMT+01:00 <[hidden email]>:


Il 06/11/2015 10:56, Ludovic Rousseau ha scritto:
So you have to test if a case 2 APDU with Le=0 works for you.
You may have to never use such an APDU. So the reader may work well for you.


I understand this. I was asking about how to send such a "border case" APDU. Any code somewhere ? any regression tests suite  ?

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle