First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45166
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Embedded Gentoo Team <embedded@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bob Thomas <robert.w.thomas@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45166 depends on: Show dependency tree
Bug 45166 blocks: 15527
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Daniel Black 2004-03-21 20:19:53 0000 -------
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 From Daniel Black 2004-03-22 00:33:39 0000 -------
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 From Daniel Black 2004-03-22 00:37:33 0000 -------
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 From Bob Thomas 2004-03-22 08:57:37 0000 -------
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 From Daniel Black 2004-03-22 18:45:50 0000 -------
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 From Daniel Black 2004-03-23 12:07:51 0000 -------
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 From Bob Thomas 2004-03-24 11:09:14 0000 -------
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 From Daniel Black 2004-03-24 15:01:59 0000 -------
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 From Daniel Black 2004-03-24 15:20:12 0000 -------
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 From Bob Thomas 2004-03-24 18:52:19 0000 -------
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 :)

First Last Prev Next    No search results available      Search page      Enter new bug