THANKS Ludovic!

You seem to be right - 1.5.6 works, pcsc_scan says
tgula...@tgulacsi-desktop:~$ pcsc_scan
PC/SC device scanner
V 1.4.15 (c) 2001-2009, Ludovic Rousseau <[email protected]>
Compiled with PC/SC lite version: 1.4.102
Scanning present readers...
0: Smart Enterprise Guardian [Smart Card Reader] (106A1D11163057150508) 00 00

Mon Nov 23 13:32:29 2009
 Reader 0: Smart Enterprise Guardian [Smart Card Reader]
(106A1D11163057150508) 00 00
  Card state: Card inserted,
  ATR: 3B 16 96 41 73 74 72 69 64

ATR: 3B 16 96 41 73 74 72 69 64
+ TS = 3B --> Direct Convention
+ T0 = 16, Y(1): 0001, K: 6 (historical bytes)
  TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
    250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
+ Historical bytes: 41 73 74 72 69 64
  Category indicator byte: 41 (proprietary format)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 16 96 41 73 74 72 69 64
        Gemalto .NET v2.0


Tamás Gulácsi

2009/11/23  <[email protected]>:
> Send Muscle mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.drizzle.com/mailman/listinfo/muscle
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Muscle digest..."
>
>
> Today's Topics:
>
>   1. Gemalto Smart Enterprise Guardian (Tam?s Gul?csi)
>   2. Re: Gemalto Smart Enterprise Guardian (Ludovic Rousseau)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 23 Nov 2009 10:31:21 +0100
> From: Tam?s Gul?csi <[email protected]>
> Subject: [Muscle] Gemalto Smart Enterprise Guardian
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> I've a Gemalto Smart Enterprise Guardian token (reader with a built-in
> card). If I could access the reader, I may use the Gemalto supplied
> libgemaltodotnetp11_2.1.1-1ubuntu2_amd64.deb PKCS#11 driver.
>
> But the reader fails with
> ifdhandler.c:104:IFDHCreateChannelByName() failed
> readerfactory.c:1050:RFInitializeReader() Open Port 200001 Failed
> (usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if0)
> readerfactory.c:233:RFAddReader() Smart Enterprise Guardian
> (106A1D11163057150508) init failed.
> hotplug_libhal.c:397:HPAddDevice() Failed adding USB device:
> usb_device_8e6_8000_106A1D11163057150508_if0
>
> It is the same with the Ubuntu provided pcsc-lite-1.5.3 and the
> downloaded 1.5.6-svn-4563, too.
> The latter uses the same libccid-1.3.11 for two reasons:
>  1. I couldn't find how to check out ccid source (from where?)
>  2. the downloaded 1.3.11 ccid source fails to compile with 1.5.6-svn-4563:
> make[2]: Entering directory `/usr/local/src/ccid-1.3.11/src'
> /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..    -pthread -I/usr/local/include/PCSC    -pthread
> -fvisibility=hidden -DCCID_VERSION=`./convert_version.pl 1.3.11` -g
> -O2 -MT libccid_la-ifdhandler.lo -MD -MP -MF
> .deps/libccid_la-ifdhandler.Tpo -c -o libccid_la-ifdhandler.lo `test
> -f 'ifdhandler.c' || echo './'`ifdhandler.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread
> -I/usr/local/include/PCSC -pthread -fvisibility=hidden
> -DCCID_VERSION=0x0103000B -g -O2 -MT libccid_la-ifdhandler.lo -MD -MP
> -MF .deps/libccid_la-ifdhandler.Tpo -c ifdhandler.c  -fPIC -DPIC -o
> .libs/libccid_la-ifdhandler.o
> ifdhandler.c: In function ‘IFDHControl’:
> ifdhandler.c:1304: error: ‘PIN_PROPERTIES_STRUCTURE’ has no member
> named ‘wLcdMaxCharacters’
> ifdhandler.c:1305: error: ‘PIN_PROPERTIES_STRUCTURE’ has no member
> named ‘wLcdMaxLines’
> make[2]: *** [libccid_la-ifdhandler.lo] Error 1
>
>
> Any suggestions?
>
> Thanks,
> Tamás Gulácsi
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: pcsc-1.5.3-20091123.log
> Type: application/octet-stream
> Size: 9419 bytes
> Desc: not available
> Url : 
> http://lists.drizzle.com/pipermail/muscle/attachments/20091123/28c4a934/pcsc-1.5.3-20091123-0001.obj
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: pcsc-1.5.6+ccid-1.3.11-20091123.log
> Type: application/octet-stream
> Size: 9459 bytes
> Desc: not available
> Url : 
> http://lists.drizzle.com/pipermail/muscle/attachments/20091123/28c4a934/pcsc-1.5.6ccid-1.3.11-20091123-0001.obj
>
> ------------------------------
>
> Message: 2
> Date: Mon, 23 Nov 2009 11:03:16 +0100
> From: Ludovic Rousseau <[email protected]>
> Subject: Re: [Muscle] Gemalto Smart Enterprise Guardian
> To: MUSCLE <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 2009/11/23 Tamás Gulácsi <[email protected]>:
>> Hi,
>
> Hello,
>
>> I've a Gemalto Smart Enterprise Guardian token (reader with a built-in
>> card). If I could access the reader, I may use the Gemalto supplied
>> libgemaltodotnetp11_2.1.1-1ubuntu2_amd64.deb PKCS#11 driver.
>>
>> But the reader fails with
>> ifdhandler.c:104:IFDHCreateChannelByName() failed
>> readerfactory.c:1050:RFInitializeReader() Open Port 200001 Failed
>> (usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if0)
>> readerfactory.c:233:RFAddReader() Smart Enterprise Guardian
>> (106A1D11163057150508) init failed.
>> hotplug_libhal.c:397:HPAddDevice() Failed adding USB device:
>> usb_device_8e6_8000_106A1D11163057150508_if0
>
> The SEG is a composite device. The CCID device is on interface if1 and
> was opened correctly. You can see the card ATR in the logs. if0 should
> be the mass storage part of the SEG device and is NOT a CCID device.
>
> Your SEG is working correctly. You can check that using the command
> pcsc_scan from the pcsc-tools package.
>
> Bye
>
> --
>  Dr. Ludovic Rousseau
>
>
>
> ------------------------------
>
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle
>
>
> End of Muscle Digest, Vol 69, Issue 13
> **************************************
>

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to