Le 24 avril 2012 23:38, Martin Kaiser <li...@kaiser.cx> a écrit : > Dear all,
Hello, > I've spent some time trying to get my epass2003 token to work with > opensc and pcsclite. Unfortunately, I'm stuck and I hope you can help me > track down my problem. > > I'm running on Debian squeeze > Linux xxx 2.6.39-bpo.2-amd64 #1 SMP Tue Jul 26 10:35:23 UTC 2011 x86_64 > GNU/Linux > > I'm using pcsclite and ccid drivers (compiled from source, not the > debian packages) > > pcsc-lite version 1.8.3. > Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>. > Copyright (C) 2001-2011 by Ludovic Rousseau <ludovic.rouss...@free.fr>. > Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>. > Report bugs to <mus...@lists.musclecard.com>. > Enabled features: Linux x86_64-unknown-linux-gnu serial usb libudev > usbdropdir=/usr/local/pcsclite/lib/pcsc/drivers ipcdir=/var/run/pcscd > configdir=/usr/local/pcsclite/etc/reader.conf.d > > > The token is detected by pcscd, it's powered when I plug it in. However, > it's unpowered immediately after reading the ATR. This is the expected behavior since pcsc-lite 1.6.5 See http://ludovicrousseau.blogspot.fr/2010/10/card-auto-power-on-and-off.html > Therefore, it's not > visible with opensc-tool -l or similar. Why do you think this is related to the power off? What is the output of "opensc-tool -l"? > It's recognized by lsusb -v even after it's unpowered. > > I'll attach the logfile of pcscd -d -f and the output of lsusb -v > > Do you have any idea why the token is unpowered? I have the same > behaviour with different tokens on different pcs (debian / fedora core 15) > > The lines > 00002211 ccid_usb.c:1042:ControlUSB() control failed (2/3): -9 Success > 00000037 ccid_usb.c:973:get_data_rates() IFD does not support GET_DATA_RATES > request: -9 > > look suspicious but I guess that's not the main problem. You are right. It is not related with your problem. Bye -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel