Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45166 - pcsc-lite needs version bump to 1.2.0
Summary: pcsc-lite needs version bump to 1.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL: http://pcsclite.alioth.debian.org/
Whiteboard:
Keywords:
Depends on:
Blocks: 15527
  Show dependency tree
 
Reported: 2004-03-19 14:02 UTC by Bob Thomas
Modified: 2004-03-27 17:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Thomas 2004-03-19 14:02:29 UTC
At least some new card reader drivers require a higher version of pcsc-lite.

The GemCore drivers support pcsc-lite 1.1.2beta4 and later.

Latest version is 1.2.0, and has moved to a new URL (see above)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-03-21 20:19:53 UTC
Are gentoo devs going to have to write ebuilds for all of these http://www.linuxnet.com/sourcedrivers.html?

I'm most of the way through writing this ebuild.

I'll write one for GemCore so you (Robert Thomas) can test it all I'll leave it up to anyone else to submit others. Note pcsc-lite is configured with --enable-usbdropdir=/usr/share/pcsc/drivers \
                --enable-muscledropdir=/usr/share/pcsc/services
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-03-22 00:33:39 UTC
commited 1.2.0 to cvs - pls test and let me know how it goes. If you could make a GemCore driver ebuild I'd appreciate it too.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-03-22 00:37:33 UTC
Should of asked - which GemCore do you have? Sample ebuild /usr/portage/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0.ebuild if you want to have something to create a GemCore ebuild from (hint hint- please!).
Comment 4 Bob Thomas 2004-03-22 08:57:37 UTC
The chip is a GemCore 1.21A, which I think corresponds to a GemPC 415. It's the American Express branded reader that you can get off their site for free :p. I get an "Unknown or undocumented error" when I try to use it though (running pcscd -f to see error messages). Either that or "Open Port 103F8 Failed". It's probably a problem with my setup, so I don't know if I can test or not... :(
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-03-22 18:45:50 UTC
Is your driver for the GemPC 415 in /usr/share/pcsc/drivers? Another thing to try is "strace -f pcscd" (dev-util/strace). If you can't follow the output dump it here I'll take a look. Look for errors in opening files and the like ("strace -fe trace=file pcscd" will specifically give that). This ebuild, like all ebuids, is ment to work pretty much out of the box so let me know if anything shoud be done. Could be a permssion error on a file somewhere.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-03-23 12:07:51 UTC
base-system peoples - just realised this probably should be assigned to you. I committed a version bump on 1.2.0 as requested in this bug. Small things that I think should change (although I'm reluctant as I think I meddled too much already): pcsc-lite config to /etc/pcsc-lite/readers.conf, driver lib directory to /usr/lib/pcsc-lite/{serial,usb} (though still determining paths used by pcsc-lite)

Cicero - I've added the package ifd-gempc which should support your hardware. You will need to change /etc/reader.conf to point to the driver /usr/lib/readers/usb/libGemPC430.so.0.9.1. Can you reemerge the 1.2.0 version as I changed the setup to for usb drivers to /usr/lib/readers/usb.

Can you list the steps taken to get this working on you machine and I'll add a bit more automation into the ebuild. As usual place any faults with supporting debug info here.
Comment 7 Bob Thomas 2004-03-24 11:09:14 UTC
Well, I finally got it working. Turns out, you have to give it power for it to work. Fancy that....

Both the updated pcsc-lite and the ifd-gempc builds work fine.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2004-03-24 15:01:59 UTC
Damn modern devices are demanding. Can you attach you final /etc/reader.conf so I can get the driver ebuild  to update the pcsc-lite config to point to the GemCore driver.
Comment 9 Daniel Black (RETIRED) gentoo-dev 2004-03-24 15:20:12 UTC
Just read an email from the author saying:

The USB drivers are used "automagically" without any admin configuration.

Great - you probably didn't do anything or at least need to. Let us know if you had any problems.
Comment 10 Bob Thomas 2004-03-24 18:52:19 UTC
Actually, I have a serial reader, not a USB one, so I needed to add the following to /etc/reader.conf:

FRIENDLYNAME     "GemPC410"
DEVICENAME       /dev/ttyS0
LIBPATH          /usr/lib/readers/serial/libGemPC410.so
CHANNELID        1

For future reference, CHANNELID is deprecated in >1.2.0, and DEVICENAME is required. Also, /dev/pcsc/1 must be a symlink to /dev/ttyS0 (or whatever device you're using). I would have gotten a USB reader, but they were out :)