ifd-egate version 0.90

View: New views
5 Messages — Rating Filter:   Alert me  

ifd-egate version 0.90

by Jeffrey Hutzelman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've released version 0.90 of the egate driver, available at [1].

Since there have been no updates to this driver in a few years and this
version contains a few significant changes, this is a sort of pre-release
version.  It works for me, but hasn't been heavily tested under a wide
range of conditions.  If you use egate devices (cryptoflex or cyberflex,
using the egate USB interface rather than some other reader), please give
it a try and let me know if you run into any problems.

My intent is to do a hopefully small number of these 0.9x releases and then
eventually release a stable version 1.0.

New in this version:

- This version is updated to support version 3 of the pcsc-lite IFD
  handler API, and works without modification with current versions of
  pcsc-lite and pcscd.  It will also work with older versions, with
  some reduction in functionality.

- Support is added for hotplugging using libusb on platforms where it
  is available, or using libhal on Linux.  Note that when libusb is
  used, you must arrange for something to run 'pcscd --hotplug' any
  time a new egate device appears on the USB bus, or it will not be
  detected.  Alternately, run pcscd with --force-reader-polling to
  force pcscd to poll for readers.  This situation may be improved
  in a future release.

- The driver is now capable of supporting multiple egate devices at
  once.

- This version has an improved build system using GNU autoconf and
  related tools.


[1] <http://grand.central.org/dl/software/ifd-egate/>

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@...>
   Carnegie Mellon University - Pittsburgh, PA

_______________________________________________
Muscle mailing list
Muscle@...
http://lists.drizzle.com/mailman/listinfo/muscle

Re: ifd-egate version 0.90

by Hugh Cole-Baker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeffrey Hutzelman wrote:
I've released version 0.90 of the egate driver, available at [1].

Since there have been no updates to this driver in a few years and this
version contains a few significant changes, this is a sort of pre-release
version.  It works for me, but hasn't been heavily tested under a wide
range of conditions.  If you use egate devices (cryptoflex or cyberflex,
using the egate USB interface rather than some other reader), please give
it a try and let me know if you run into any problems.
configure fails on Mac OS X 10.5.6, because ifdhandler.h and reader.h are missing...

orange:ifd-egate-0.90 hugh$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
...
checking pkg-config is at least version 0.9.0... yes
checking for PCSC... no
configure: WARNING: install pcsc-lite 1.3.3 or later
checking for grep that handles long lines and -e... /usr/bin/grep
...
checking for unistd.h... yes
checking ifdhandler.h usability... no
checking ifdhandler.h presence... no
checking for ifdhandler.h... no
configure: error: ifdhandler.h not found, install pcsc-lite 1.3.3 or later, or use ./configure PCSC_CFLAGS=...
orange:ifd-egate-0.90 hugh$

Apple ships a version of pcsc-lite with the OS. I looked to see if the missing headers were in Apple's PCSC.framework, but it only contains:
mscdefines.h
musclecard.h
pcsclite.h
winscard.h
wintypes.h

I think the previous version, which did build on Mac, included these files in the source package. I can help test subsequent versions to see if they compile, and I'll also try getting the headers from pcsc-lite and building this version.

-- Hugh

Re: ifd-egate version 0.90

by galapogos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jeffrey Hutzelman wrote:
I've released version 0.90 of the egate driver, available at [1].

Since there have been no updates to this driver in a few years and this
version contains a few significant changes, this is a sort of pre-release
version.  It works for me, but hasn't been heavily tested under a wide
range of conditions.  If you use egate devices (cryptoflex or cyberflex,
using the egate USB interface rather than some other reader), please give
it a try and let me know if you run into any problems.

My intent is to do a hopefully small number of these 0.9x releases and then
eventually release a stable version 1.0.

New in this version:

- This version is updated to support version 3 of the pcsc-lite IFD
  handler API, and works without modification with current versions of
  pcsc-lite and pcscd.  It will also work with older versions, with
  some reduction in functionality.

- Support is added for hotplugging using libusb on platforms where it
  is available, or using libhal on Linux.  Note that when libusb is
  used, you must arrange for something to run 'pcscd --hotplug' any
  time a new egate device appears on the USB bus, or it will not be
  detected.  Alternately, run pcscd with --force-reader-polling to
  force pcscd to poll for readers.  This situation may be improved
  in a future release.

- The driver is now capable of supporting multiple egate devices at
  once.

- This version has an improved build system using GNU autoconf and
  related tools.


[1] <http://grand.central.org/dl/software/ifd-egate/>

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Carnegie Mellon University - Pittsburgh, PA

_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
Hi,

I'm trying to get ifd-egate 0.90 to work with pcsclite 1.5.4 with libusb instead of libhal. I'm working on Mandriva 2009.1, and I've tested it on the pre-installed pcsclite 1.5.2 Mandriva package (w/libhal support) and it seems to detect the egate token. However, when I uninstall that and install pcsclite 1.5.4 with libusb support, this is the debug output when I run "pcscd -df --force-reader-polling"

00000000 pcscdaemon.c:267:main() pcscd set to foreground with debug send to stderr
00000304 pcscdaemon.c:512:main() pcsc-lite 1.5.4 daemon ready.
00099060 tokenparser.l:175:LTPBundleFindValueWithKey() Value/Key not defined for: ifdVendorID in /usr/lib/pcsc/drivers//ifd-ccid.bundle/Contents/Info.plist
00000185 tokenparser.l:175:LTPBundleFindValueWithKey() Value/Key not defined for: ifdVendorID in /usr/lib/pcsc/drivers//egate.bundle/Contents/Info.plist
00220736 hotplug_libusb.c:403:HPEstablishUSBNotifications() Driver ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
00000020 hotplug_libusb.c:412:HPEstablishUSBNotifications() Polling forced every 1 second(s)
31011981 hotplug_libusb.c:477:HPAddHotPluggable() Adding USB device: 004:004
00000030 readerfactory.c:1024:RFInitializeReader() Attempting startup of E-Gate 00 00 using /usr/lib/pcsc/drivers//egate.bundle/Contents/Linux/libifd_egate.so
00000220 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00000352 readerfactory.c:1050:RFInitializeReader() Open Port 200000 Failed (usb:0973/0001:libusb:004:004)
00000009 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
00000028 readerfactory.c:233:RFAddReader() E-Gate init failed.

Am I missing anything? I've tried both the --force-reader-polling and --hotplug parameters for pcscd, but neither worked. It seems that it's detecting the egate token just fine, however the driver initialization/loading is failing.

Thanks.

Re: ifd-egate version 0.90

by galapogos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


galapogos wrote:
Jeffrey Hutzelman wrote:
I've released version 0.90 of the egate driver, available at [1].

Since there have been no updates to this driver in a few years and this
version contains a few significant changes, this is a sort of pre-release
version.  It works for me, but hasn't been heavily tested under a wide
range of conditions.  If you use egate devices (cryptoflex or cyberflex,
using the egate USB interface rather than some other reader), please give
it a try and let me know if you run into any problems.

My intent is to do a hopefully small number of these 0.9x releases and then
eventually release a stable version 1.0.

New in this version:

- This version is updated to support version 3 of the pcsc-lite IFD
  handler API, and works without modification with current versions of
  pcsc-lite and pcscd.  It will also work with older versions, with
  some reduction in functionality.

- Support is added for hotplugging using libusb on platforms where it
  is available, or using libhal on Linux.  Note that when libusb is
  used, you must arrange for something to run 'pcscd --hotplug' any
  time a new egate device appears on the USB bus, or it will not be
  detected.  Alternately, run pcscd with --force-reader-polling to
  force pcscd to poll for readers.  This situation may be improved
  in a future release.

- The driver is now capable of supporting multiple egate devices at
  once.

- This version has an improved build system using GNU autoconf and
  related tools.


[1] <http://grand.central.org/dl/software/ifd-egate/>

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Carnegie Mellon University - Pittsburgh, PA

_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
Hi,

I'm trying to get ifd-egate 0.90 to work with pcsclite 1.5.4 with libusb instead of libhal. I'm working on Mandriva 2009.1, and I've tested it on the pre-installed pcsclite 1.5.2 Mandriva package (w/libhal support) and it seems to detect the egate token. However, when I uninstall that and install pcsclite 1.5.4 with libusb support, this is the debug output when I run "pcscd -df --force-reader-polling"

00000000 pcscdaemon.c:267:main() pcscd set to foreground with debug send to stderr
00000304 pcscdaemon.c:512:main() pcsc-lite 1.5.4 daemon ready.
00099060 tokenparser.l:175:LTPBundleFindValueWithKey() Value/Key not defined for: ifdVendorID in /usr/lib/pcsc/drivers//ifd-ccid.bundle/Contents/Info.plist
00000185 tokenparser.l:175:LTPBundleFindValueWithKey() Value/Key not defined for: ifdVendorID in /usr/lib/pcsc/drivers//egate.bundle/Contents/Info.plist
00220736 hotplug_libusb.c:403:HPEstablishUSBNotifications() Driver ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
00000020 hotplug_libusb.c:412:HPEstablishUSBNotifications() Polling forced every 1 second(s)
31011981 hotplug_libusb.c:477:HPAddHotPluggable() Adding USB device: 004:004
00000030 readerfactory.c:1024:RFInitializeReader() Attempting startup of E-Gate 00 00 using /usr/lib/pcsc/drivers//egate.bundle/Contents/Linux/libifd_egate.so
00000220 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00000352 readerfactory.c:1050:RFInitializeReader() Open Port 200000 Failed (usb:0973/0001:libusb:004:004)
00000009 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
00000028 readerfactory.c:233:RFAddReader() E-Gate init failed.

Am I missing anything? I've tried both the --force-reader-polling and --hotplug parameters for pcscd, but neither worked. It seems that it's detecting the egate token just fine, however the driver initialization/loading is failing.

Thanks.
Hi,

I've monitored the return value of IFDOpenIFD() as called from RFInitializeReader() and instead of IFD_SUCCESS, it's 0x269. This is returned from ifdwrapper.c in line 151:

rv = (*IFDH_create_channel_by_name) (rContext->dwSlot, rContext->lpcDevice);

What does the return value mean?

Re: ifd-egate version 0.90

by Ludovic Rousseau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/24 galapogos <goister@...>:
> I've monitored the return value of IFDOpenIFD() as called from
> RFInitializeReader() and instead of IFD_SUCCESS, it's 0x269. This is
> returned from ifdwrapper.c in line 151:
>
> rv = (*IFDH_create_channel_by_name) (rContext->dwSlot, rContext->lpcDevice);
>
> What does the return value mean?

from http://svn.debian.org/viewsvn/pcsclite/trunk/PCSC/src/PCSC/ifdhandler.h?view=markup

#define IFD_NO_SUCH_DEVICE 617

--
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Muscle@...
http://lists.drizzle.com/mailman/listinfo/muscle