Bug 45166 - pcsc-lite needs version bump to 1.2.0
|
Bug#:
45166
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: embedded@gentoo.org
|
Reported By: robert.w.thomas@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
http://pcsclite.alioth.debian.org/
|
|
Summary: pcsc-lite needs version bump to 1.2.0
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-03-19 14:02 0000
|
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.
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
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.
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!).
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... :(
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.
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.
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.
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.
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.
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 :)