At 08:30 PM 3/18/2009, Andrew Thompson wrote:
On Wed, Mar 18, 2009 at 08:04:48PM -0400, Mike Tancsa wrote:
> At 05:40 PM 3/18/2009, Andrew Thompson wrote:
>> On Wed, Mar 18, 2009 at 04:15:46PM -0400, Mike Tancsa wrote:
>> > Hi,
>> > I was trying to see if OpenCT and OpenSC work under the new USB
>> > regime, but openCT doesnt compile now. Are there any tricks
to get it to
>> > compile and or work ?
>> >
>>
>> Can you try this patch.
>>
>> http://people.freebsd.org/~thompsa/openct.diff
>>
>
> Thanks! It does build now. However, not all of the bits seem to be
> working just yet
Thats odd, its working for me.
> 1[i7]# opensc-tool -l
> [opensc-tool] reader-pcsc.c:996:pcsc_detect_readers: returning with: No
> readers found
> No smart card readers found.
% opensc-tool -l
Readers known about:
Nr. Driver Name
0 openct Aladdin eToken PRO
1 openct Aladdin eToken PRO 64k
> 0[i7]# ps -auxww | grep if
> root 64638 0.0 0.1 3328 1640 ?? Ss 7:57PM 0:00.00
> /usr/local/sbin/ifdhandler -H etoken64 usb (null)/usb//dev/usb//dev/ugen1.2
root 4433 0.0 0.1 3352 1548 ?? Ss 5:22PM 0:00.01
/usr/local/sbin/ifdhandler -H etoken usb
(null)/usb//dev/usb//dev/ugen1.3
root 4435 0.0 0.1 3352 1548 ?? Ss 5:22PM 0:00.01
/usr/local/sbin/ifdhandler -H etoken64 usb
(null)/usb//dev/usb//dev/ugen1.2
Does 'ldd /usr/local/sbin/ifdhandler' show it linked to
/usr/lib/libusb.so.1 ?
Hi,
0[i7]# ldd /usr/local/sbin/ifdhandler
/usr/local/sbin/ifdhandler:
libopenct.so.1 => /usr/local/lib/libopenct.so.1 (0x280b0000)
libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x280b7000)
libusb.so.1 => /usr/lib/libusb.so.1 (0x280be000)
libc.so.7 => /lib/libc.so.7 (0x280c7000)
0[i7]#
Actually, I just did a full make deinstall and full re-install of
opensc, and it seems to periodically work
0[i7]# opensc-tool -l
[opensc-tool] reader-pcsc.c:996:pcsc_detect_readers: returning with:
No readers found
Readers known about:
Nr. Driver Name
0 openct Aladdin eToken PRO 64k
1 openct OpenCT reader (detached)
0[i7]# opensc-tool -l
[opensc-tool] reader-pcsc.c:996:pcsc_detect_readers: returning with:
No readers found
Readers known about:
Nr. Driver Name
0 openct Aladdin eToken PRO 64k
1 openct OpenCT reader (detached)
0[i7]# cardos-info
Running cardos-tool --info
[cardos-tool] reader-pcsc.c:996:pcsc_detect_readers: returning with:
No readers found
Using reader with a card: Aladdin eToken PRO 64k
3b:f2:18:00:02:c1:0a:31:fe:58:c8:09:75
Info : CardOS V4.2B (C) Siemens AG 1994-2005
Chip type: 124
Serial number: 28 59 e2 19 37 20
Full prom dump:
33 66 00 22 9A 9A 9A 9A 7C FF 28 59 E2 19 37 20 3f."....|.(Y..7
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
OS Version: 200.9 (that's CardOS M4.2B)
Current life cycle: 32 (administration)
Security Status of current DF:
Free memory : 1024
ATR Status: 0x0 ROM-ATR
[cardos-tool] reader-openct.c:324:openct_reader_transmit: unable to transmit
[cardos-tool] apdu.c:394:do_single_transmit: unable to transmit APDU
APDU transmit failed: Generic reader error
1[i7]# cardos-info
Running cardos-tool --info
[cardos-tool] reader-pcsc.c:996:pcsc_detect_readers: returning with:
No readers found
Using reader with a card: Aladdin eToken PRO 64k
3b:f2:18:00:02:c1:0a:31:fe:58:c8:09:75
[cardos-tool] reader-openct.c:324:openct_reader_transmit: unable to transmit
[cardos-tool] apdu.c:394:do_single_transmit: unable to transmit APDU
APDU transmit failed: Generic reader error
1[i7]#
---Mike
---Mike
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"