Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100654

Summary: ifd-gempc not working with GCR-432
Product: Gentoo Linux Reporter: Shawn Rutledge <e_cloud>
Component: [OLD] Core systemAssignee: Daniel Black (RETIRED) <dragonheart>
Status: RESOLVED NEEDINFO    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shawn Rutledge 2005-07-28 18:01:43 UTC
pcscd reports various errors with this device plugged in.

Reproducible: Always
Steps to Reproduce:
[petshop][05:50:27 PM] pcscd -f
pcscdaemon.c:242:main() pcscd set to foreground with debug send to stderr
pcscdaemon.c:446:main() pcsc-lite 1.2.9-beta7 daemon ready.
hotplug_libusb.c:371:HPAddHotPluggable() Adding USB device: 001:008
readerfactory.c:1066:RFInitializeReader() Attempting startup of GemPC432 00 00.
readerfactory.c:940:RFBindFunctions() Loading IFD Handler 3.0
ifdhandler.c:51:IFDHCreateChannelByName (GemPC43x) lun: 0, device:
usb:08e6/0432:libusb:001:008
GCCmds.c:406:GCCmdSetMode (GemPC43x)
libusb_wrap.c:245:WriteUSB (GemPC43x) 001/008: Resource temporarily unavailable
GCCmds.c:415 GCCmdSetMode Unknown or undocumented error: 0x5D
GemPC430Utils.c:39:OpenGemPC430ByName (GemPC43x) Setmode failed
ifdhandler.c:65:IFDHCreateChannelByName (GemPC43x) OpenPort failed
readerfactory.c:1101:RFInitializeReader() Open Port 200000 Failed
(usb:08e6/0432:libusb:001:008)
readerfactory.c:983:RFUnloadReader() Unloading reader driver.
readerfactory.c:219:RFAddReader() GemPC432 init failed.

Actual Results:  
just sits there

Expected Results:  
not really sure, I'm new to this stuff

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20041102-r1, 2.4.30 i686)
=================================================================
System uname: 2.4.30 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.3-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.3
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.4.3-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US.utf8"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi adns aim alsa apache2 apm arts audiofile avi bcmath berkdb
bitmap-fonts bzlib calendar cdparanoia cdr crypt cups curl dga dio directfb
divx4linux dvd dvdread emboss encode esd esoob evo exif faac faad fam fastcgi
fbcon ffmpeg flac flash flatfile foomaticdb fortran gd gdbm ggi gif gimp gmp
gnome gphoto2 gpm gstreamer gtk gtk2 guile i8x0 icc icc-pgo iconv icq
imagemagick imap imlib ipv6 jabber jack java jikes jpeg jpeg2k junit kde krb4
lcms ldap libg++ libwww lirc live lm_sensors lzo mad matroshka matroska mbox
mcal mikmod ming mmap mmx mmx2 mng mono motif mozdevelop mozilla mozsvg
mozxmlterm mp3 mpeg msn mysql ncurses network nis nls nocd odbc ogg oggvorbis
opengl oscar oss pam pcre pcsc-lite pda pdflib perl php png posix postgres
povray ppds python qt quicktime rdesktop readline real rtc ruby samba scanner
sdl session shared simplexml slang slp snmp soap sockets speex spell spl sse
sse2 ssl svg svga tcltk tcpd tetex theora tidy tiff truetype truetype-fonts
type1-fonts unicode usb vorbis win32codecs wmf xanim xine xinerama xml xml2 xmms
xosd xprint xscreensaver xv xvid xvmc yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

[petshop][06:00:34 PM] lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd
Bus 002 Device 003: ID 0451:1446 Texas Instruments, Inc. TUSB2040/2070 Hub
Bus 002 Device 004: ID 413c:3010 Dell Computer Corp.
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 05e3:0710 Genesys Logic, Inc.
Bus 001 Device 003: ID 0409:0058 NEC Corp. USB2.0 Hub Controller
Bus 001 Device 004: ID 07cf:4001 Casio Computer Co., Ltd
Bus 001 Device 005: ID 058f:9254 Alcor Micro Corp. Hub
Bus 001 Device 009: ID 08e6:0432 Gemplus GemPC432 SmartCard Reader
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-07-29 01:12:14 UTC
I've added ifd-gempc-1.0.0.ebuild. Please see if this "cures" you otherwise we 
may need to look to the ifd-gempc for help. 
 
Also consider upgrading libusb? what version do you have? 
 
Did you notice any compile errors/warnings with ifd-gempc? 
Comment 2 Daniel Black (RETIRED) gentoo-dev 2005-08-20 02:37:11 UTC
as per previous comment I need information to solve this bug. 
 
You'd probably get better help from upstream authors. I'll change anything to 
make it work for you (provided it doesn't break everything) I just need to 
know how.