[Muscle] Help with GemPC Card PCMCIA reader

David Mueller dsm42 at iname.com
Thu Jul 12 18:30:04 PDT 2007


After having success with pcsc-lite, ccid, and coolkey using ActivCard and SCR-331 USB readers, we recently picked up some PCMCIA readers to use with laptops running Fedora.  Since they were listed on the ccid page as working, we ordered the Gemplus GemPC Card readers, specifically these via Lenovo: http://shop.lenovo.com/SEUILibrary/controller/catalog.workflow:item.detail?GroupID=38&Code=41N3004&current-category-id=A6F994D7C48648028C3538652752E30C

I've been trying to get the reader to work with my ThinkPad X60 running Fedora 7 and haven't had much success.  I know the reader isn't defective as it works if I boot to my Windows XP partition.  I can also see the reader insertion being detected by the kernel:

# tail -f /var/log/messages
Jul 12 18:28:14 mueller kernel: pccard: PCMCIA card inserted into slot 0
Jul 12 18:28:14 mueller kernel: pcmcia: registering new device pcmcia0.0
Jul 12 18:28:14 mueller kernel: 0.0: ttyS0 at I/O 0x3f8 (irq = 3) is a 16450

pccardctl also recognizes the device:

# pccardctl ident
Socket 0:
  product info: "Gemplus", "SerialPort", "GemPC Card", ""
  manfid: 0x0157, 0x0100
  function: 0x2 (serial), 9

# pccardctl info
PRODID_1="Gemplus"
PRODID_2="SerialPort"
PRODID_3="GemPC Card"
PRODID_4=""
MANFID=0157,0100
FUNCID=2

However, when I insert the card, nothing appears in Firefox's security devices window.  If I run pcscd in the foreground, there's not much there:

# pcscd -f
pcscdaemon.c:319:main() pcscd set to foreground with debug send to stderr
pcscdaemon.c:533:main() pcsc-lite 1.3.3 daemon ready.

Compare this to what I get if I do it with a SCR-331 USB reader connected:

# pcscd -f
pcscdaemon.c:319:main() pcscd set to foreground with debug send to stderr
pcscdaemon.c:533:main() pcsc-lite 1.3.3 daemon ready.
hotplug_libusb.c:446:HPAddHotPluggable() Adding USB device: 003:002
readerfactory.c:1108:RFInitializeReader() Attempting startup of SCM SCR 331 (21120650227327) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so.1.2.1
readerfactory.c:977:RFBindFunctions() Loading IFD Handler 3.0
ifdhandler.c:1231:init_driver() LogLevel: 0x0003
ifdhandler.c:1241:init_driver() DriverOptions: 0x0000
ifdhandler.c:77:IFDHCreateChannelByName() lun: 0, device: usb:04e6/e001:libusb:003:002
ccid_usb.c:229:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rousseau at free.fr)
ccid_usb.c:239:OpenUSBByName() ProductString: Generic CCID driver v1.2.1
ccid_usb.c:245:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
ccid_usb.c:393:OpenUSBByName() Found Vendor/Product: 04E6/E001 (SCM SCR 331)
ccid_usb.c:395:OpenUSBByName() Using USB bus/device: 003/002
ccid_usb.c:743:get_data_rates() IFD does not support GET_DATA_RATES request: Broken pipe
ifdhandler.c:271:IFDHGetCapabilities() lun: 0, tag: 0xFAE
ifdhandler.c:313:IFDHGetCapabilities() Reader supports 1 slots

Anyone have any suggestions on how to get the GemPC reader to work?

In case it helps anyone:

# rpm -qa pcsc-lite
pcsc-lite-1.3.3-1.fc7

# rpm -qa ccid
ccid-1.2.1-1.fc7

Thanks in advance,

David

-- 
We've Got Your Name at http://www.mail.com!
Get a FREE E-mail Account Today - Choose From 100+ Domains




More information about the Muscle mailing list