openct port and USB2

Andrew Thompson thompsa at FreeBSD.org
Wed Mar 18 17:30:06 PDT 2009


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 ?


Andrew



More information about the freebsd-usb mailing list