[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
You should NOT have libpcsclite.so.1 in /usr/local/lib unless you installed it by hand. Just remove it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
It worked! Thank you for your advice. 2013/12/4 Ludovic Rousseau ludovic.rouss...@gmail.com You should NOT have libpcsclite.so.1 in /usr/local/lib unless you installed it by hand. Just remove it. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 Status in “pcsc-lite” package in Ubuntu: Invalid Bug description: My ubuntu version is 12.04.3 LTS and my C3PO LTC31v2 smart card reader doesn't work. When execute the command sudo /usr/sbin/pcscd -f -d I've got this error: 1990 hotplug_libudev.c:309:HPAddDevice() Adding USB device: C3PO LTC31 2015 readerfactory.c:934:RFInitializeReader() Attempting startup of C3PO LTC31 (00545535) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 2142 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 2161 ifdhandler.c:1781:init_driver() Driver version: 1.4.5 2509 ifdhandler.c:1798:init_driver() LogLevel: 0x0003 2512 ifdhandler.c:1809:init_driver() DriverOptions: 0x 2578 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: usb:0783/0006:libudev:0:/dev/bus/usb/003/002 2879 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rouss...@free.fr) 2885 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver 2891 ccid_usb.c:247: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. 00051056 ccid_usb.c:506:OpenUSBByName() Found Vendor/Product: 0783/0006 (C3PO LTC31) 00051065 ccid_usb.c:508:OpenUSBByName() Using USB bus/device: 3/2 00051809 ccid_usb.c:1026:ControlUSB() control failed (3/2): -9 Success 00051816 ccid_usb.c:964:get_data_rates() Wrong GET DATA RATES size: 251 00076769 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB3, usb:0783/0006:libudev:0:/dev/bus/usb/003/002 (lun: 0) 00076777 readerfactory.c:295:RFAddReader() Using the reader polling thread 00078862 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFAE, usb:0783/0006:libudev:0:/dev/bus/usb/003/002 (lun: 0) 00078869 ifdhandler.c:490:IFDHGetCapabilities() Reader supports 1 slot(s) And when execute pcsc_scan don't show any reader. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
When execute the ldd command I have this output: $ ldd /usr/bin/pcsc_scan linux-vdso.so.1 = (0x7fffa45ff000) libpcsclite.so.1 = /usr/local/lib/libpcsclite.so.1 (0x7f0d7d4de000) libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f0d7d11e000) libpthread.so.0 = /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f0d7cf0) /lib64/ld-linux-x86-64.so.2 (0x7f0d7d707000) pcsc_scan use /usr/local/lib/libpcsclite.so.1. Why doesn't it use /lib/x86_64-linux-gnu/libpcsclite.so.1? And I don't see any package that install the library /usr/local/lib/libpcsclite.so.1.0.0. Finally my solution was remove this library and create this soft link: usr/local/lib$ ln -s /lib/x86_64-linux-gnu/libpcsclite.so.1.0.0 libpcsclite.so.1.0.0 Thank you. 2013/11/30 Ludovic Rousseau ludovic.rouss...@gmail.com open(/usr/local/lib/libpcsclite.so.1, O_RDONLY|O_CLOEXEC) = 3 You are using a locally installed libpcsclite.so.1, maybe from a different release. That can't work. See http://ludovicrousseau.blogspot.fr/2010/10/pcsc-lite-upgrade-and-ubuntu- special.html ** Changed in: pcsc-lite (Ubuntu) Status: New = Invalid -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 Status in “pcsc-lite” package in Ubuntu: Invalid Bug description: My ubuntu version is 12.04.3 LTS and my C3PO LTC31v2 smart card reader doesn't work. When execute the command sudo /usr/sbin/pcscd -f -d I've got this error: 1990 hotplug_libudev.c:309:HPAddDevice() Adding USB device: C3PO LTC31 2015 readerfactory.c:934:RFInitializeReader() Attempting startup of C3PO LTC31 (00545535) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 2142 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 2161 ifdhandler.c:1781:init_driver() Driver version: 1.4.5 2509 ifdhandler.c:1798:init_driver() LogLevel: 0x0003 2512 ifdhandler.c:1809:init_driver() DriverOptions: 0x 2578 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: usb:0783/0006:libudev:0:/dev/bus/usb/003/002 2879 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rouss...@free.fr) 2885 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver 2891 ccid_usb.c:247: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. 00051056 ccid_usb.c:506:OpenUSBByName() Found Vendor/Product: 0783/0006 (C3PO LTC31) 00051065 ccid_usb.c:508:OpenUSBByName() Using USB bus/device: 3/2 00051809 ccid_usb.c:1026:ControlUSB() control failed (3/2): -9 Success 00051816 ccid_usb.c:964:get_data_rates() Wrong GET DATA RATES size: 251 00076769 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB3, usb:0783/0006:libudev:0:/dev/bus/usb/003/002 (lun: 0) 00076777 readerfactory.c:295:RFAddReader() Using the reader polling thread 00078862 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFAE, usb:0783/0006:libudev:0:/dev/bus/usb/003/002 (lun: 0) 00078869 ifdhandler.c:490:IFDHGetCapabilities() Reader supports 1 slot(s) And when execute pcsc_scan don't show any reader. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
My solution was to change the soft links in '/usr/local/lib' with these commands: /usr/local/lib$ sudo ln -s /lib/x86_64-linux-gnu/libpcsclite.so.1.0.0 libpcsclite.so.1 /usr/local/lib$ sudo ln -s /lib/x86_64-linux-gnu/libpcsclite.so.1.0.0 libpcsclite.so Now pcsc_scan detect the reader and work without problem. Thank you very much for your help. 2013/11/30 Ludovic Rousseau ludovic.rouss...@gmail.com open(/usr/local/lib/libpcsclite.so.1, O_RDONLY|O_CLOEXEC) = 3 You are using a locally installed libpcsclite.so.1, maybe from a different release. That can't work. See http://ludovicrousseau.blogspot.fr/2010/10/pcsc-lite-upgrade-and-ubuntu- special.html ** Changed in: pcsc-lite (Ubuntu) Status: New = Invalid -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 Status in “pcsc-lite” package in Ubuntu: Invalid Bug description: My ubuntu version is 12.04.3 LTS and my C3PO LTC31v2 smart card reader doesn't work. When execute the command sudo /usr/sbin/pcscd -f -d I've got this error: 1990 hotplug_libudev.c:309:HPAddDevice() Adding USB device: C3PO LTC31 2015 readerfactory.c:934:RFInitializeReader() Attempting startup of C3PO LTC31 (00545535) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 2142 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 2161 ifdhandler.c:1781:init_driver() Driver version: 1.4.5 2509 ifdhandler.c:1798:init_driver() LogLevel: 0x0003 2512 ifdhandler.c:1809:init_driver() DriverOptions: 0x 2578 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: usb:0783/0006:libudev:0:/dev/bus/usb/003/002 2879 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rouss...@free.fr) 2885 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver 2891 ccid_usb.c:247: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. 00051056 ccid_usb.c:506:OpenUSBByName() Found Vendor/Product: 0783/0006 (C3PO LTC31) 00051065 ccid_usb.c:508:OpenUSBByName() Using USB bus/device: 3/2 00051809 ccid_usb.c:1026:ControlUSB() control failed (3/2): -9 Success 00051816 ccid_usb.c:964:get_data_rates() Wrong GET DATA RATES size: 251 00076769 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB3, usb:0783/0006:libudev:0:/dev/bus/usb/003/002 (lun: 0) 00076777 readerfactory.c:295:RFAddReader() Using the reader polling thread 00078862 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFAE, usb:0783/0006:libudev:0:/dev/bus/usb/003/002 (lun: 0) 00078869 ifdhandler.c:490:IFDHGetCapabilities() Reader supports 1 slot(s) And when execute pcsc_scan don't show any reader. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
After staring pcscd, run pcsc_scan as: $ strace pcsc_scan and send the trace. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
$ strace pcsc_scan execve(/usr/bin/pcsc_scan, [pcsc_scan], [/* 41 vars */]) = 0 brk(0) = 0x67b000 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2f828c9000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=112825, ...}) = 0 mmap(NULL, 112825, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2f828ad000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/usr/local/lib/libpcsclite.so.1, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0@\27\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=146318, ...}) = 0 mmap(NULL, 2141936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2f8249e000 mprotect(0x7f2f824a7000, 2097152, PROT_NONE) = 0 mmap(0x7f2f826a7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f2f826a7000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/x86_64-linux-gnu/libc.so.6, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200\30\2\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1815224, ...}) = 0 mmap(NULL, 3929304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2f820de000 mprotect(0x7f2f82293000, 2097152, PROT_NONE) = 0 mmap(0x7f2f82493000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b5000) = 0x7f2f82493000 mmap(0x7f2f82499000, 17624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2f82499000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/x86_64-linux-gnu/libpthread.so.0, O_RDONLY|O_CLOEXEC) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\200l\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=135366, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2f828ac000 mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2f81ec1000 mprotect(0x7f2f81ed9000, 2093056, PROT_NONE) = 0 mmap(0x7f2f820d8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f2f820d8000 mmap(0x7f2f820da000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2f820da000 close(3)= 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2f828ab000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2f828aa000 arch_prctl(ARCH_SET_FS, 0x7f2f828ab700) = 0 mprotect(0x7f2f82493000, 16384, PROT_READ) = 0 mprotect(0x7f2f820d8000, 4096, PROT_READ) = 0 mprotect(0x7f2f826a7000, 4096, PROT_READ) = 0 mprotect(0x601000, 4096, PROT_READ) = 0 mprotect(0x7f2f828cb000, 4096, PROT_READ) = 0 munmap(0x7f2f828ad000, 112825) = 0 set_tid_address(0x7f2f828ab9d0) = 2768 set_robust_list(0x7f2f828ab9e0, 0x18) = 0 futex(0x7fff6a18750c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f2f828ab700) = -1 EAGAIN (Resource temporarily unavailable) rt_sigaction(SIGRTMIN, {0x7f2f81ec7750, [], SA_RESTORER|SA_SIGINFO, 0x7f2f81ed0cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7f2f81ec77e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f2f81ed0cb0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2f828c8000 write(1, PC/SC device scanner\n, 21PC/SC device scanner ) = 21 write(1, V 1.4.18 (c) 2001-2011, Ludovic ..., 68V 1.4.18 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr ) = 68 write(1, Compiled with PC/SC lite version..., 40Compiled with PC/SC lite version: 1.7.4 ) = 40 stat(/var/run/pcscd/pcscd.comm, {st_mode=S_IFSOCK|0666, st_size=0, ...}) = 0 brk(0) = 0x67b000 brk(0x69c000) = 0x69c000 socket(PF_FILE, SOCK_STREAM, 0) = 3 connect(3, {sa_family=AF_FILE, path=/var/run/pcscd/pcscd.comm}, 28) = 0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)= 0 select(4, NULL, [3], NULL, NULL)= 1 (out [3]) sendto(3, \f\0\0\0\21\0\0\0, 8, MSG_NOSIGNAL, NULL, 0) = 8 select(4, NULL, [3], NULL, NULL)= 1 (out [3]) sendto(3, \4\0\0\0\2\0\0\0\0\0\0\0, 12, MSG_NOSIGNAL, NULL, 0) = 12 select(4, [3], NULL, NULL, NULL)= 1 (in [3]) read(3, \4\0\0\0\2\0\0\0\0\0\0\0, 12) = 12 ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
open(/usr/local/lib/libpcsclite.so.1, O_RDONLY|O_CLOEXEC) = 3 You are using a locally installed libpcsclite.so.1, maybe from a different release. That can't work. See http://ludovicrousseau.blogspot.fr/2010/10/pcsc-lite-upgrade-and-ubuntu- special.html ** Changed in: pcsc-lite (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
Your reader is correctly detected and used by pcscd. No problem on this side. But pcsc_scan can see it. Start pcscd in debug mode as you did: sudo /usr/sbin/pcscd -f -d and in another windows starts pcsc_scan. Send me the complete output of pcscd_scan and the new logs lines from pcscd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
This is the output from pcscd_scan: $ pcsc_scan PC/SC device scanner V 1.4.18 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr Compiled with PC/SC lite version: 1.7.4 And the new logs lines from pcscd when execute pcscd_scan are: 25562099 winscard_msg_srv.c:202:ProcessEventsServer() Common channel packet arrival 0054 winscard_msg_srv.c:214:ProcessEventsServer() ProcessCommonChannelRequest detects: 9 0019 pcscdaemon.c:91:SVCServiceRunLoop() A new context thread creation is requested: 9 0196 winscard_svc.c:297:ContextThread() Thread is started: dwClientID=9, threadContext @1DE5C00 0039 winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 9 0027 winscard_svc.c:327:ContextThread() Client is protocol version 4:2 0016 winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 9 0157 winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 9 0048 winscard.c:193:SCardEstablishContext() Establishing Context: 0x103160D 0016 winscard_svc.c:408:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 9 0142 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 The C3PO LTC31v2 USB reader have two leds, red and green. When execute the pcscd daemon the leds turn off and when kill the pcscd daemon the leds turn on. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
With a bank card inside de reader this the output from pcscd daemon. I think that detect the bank card. 0016 hotplug_libudev.c:309:HPAddDevice() Adding USB device: C3PO LTC31 0048 readerfactory.c:934:RFInitializeReader() Attempting startup of C3PO LTC31 (00545535) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 0154 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 0035 ifdhandler.c:1781:init_driver() Driver version: 1.4.5 0353 ifdhandler.c:1798:init_driver() LogLevel: 0x0003 0016 ifdhandler.c:1809:init_driver() DriverOptions: 0x 0069 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: usb:0783/0006:libudev:0:/dev/bus/usb/005/003 0287 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rouss...@free.fr) 0016 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID driver 0014 ccid_usb.c:247: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. 00049601 ccid_usb.c:506:OpenUSBByName() Found Vendor/Product: 0783/0006 (C3PO LTC31) 0023 ccid_usb.c:508:OpenUSBByName() Using USB bus/device: 5/3 0798 ccid_usb.c:1026:ControlUSB() control failed (5/3): -9 Success 0014 ccid_usb.c:964:get_data_rates() Wrong GET DATA RATES size: 251 00018994 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFB3, usb:0783/0006:libudev:0:/dev/bus/usb/005/003 (lun: 0) 0033 readerfactory.c:295:RFAddReader() Using the reader polling thread 2069 ifdhandler.c:402:IFDHGetCapabilities() tag: 0xFAE, usb:0783/0006:libudev:0:/dev/bus/usb/005/003 (lun: 0) 0024 ifdhandler.c:490:IFDHGetCapabilities() Reader supports 1 slot(s) 0445 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001 0411 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x08FF, PID: 0x2580, path: /dev/bus/usb/005/002 0424 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001 0416 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001 0446 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 0110 readerfactory.c:1301:RFWaitForReaderInit() Waiting init for reader: C3PO LTC31 (00545535) 00 00 1612 ifdhandler.c:1163:IFDHPowerICC() action: PowerUp, usb:0783/0006:libudev:0:/dev/bus/usb/005/003 (lun: 0) 8556 readerfactory.c:1301:RFWaitForReaderInit() Waiting init for reader: C3PO LTC31 (00545535) 00 00 00010145 readerfactory.c:1301:RFWaitForReaderInit() Waiting init for reader: C3PO LTC31 (00545535) 00 00 00010149 readerfactory.c:1301:RFWaitForReaderInit() Waiting init for reader: C3PO LTC31 (00545535) 00 00 5189 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED 0037 Card ATR: 3B 6E 00 00 00 31 C0 71 C6 65 01 B0 01 03 3A 83 90 00 05005929 ifdhandler.c:1163:IFDHPowerICC() action: PowerDown, usb:0783/0006:libudev:0:/dev/bus/usb/005/003 (lun: 0) 1985 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED With the bank card inside the reader when execute the pcscd daemon only the red led is turn on. And when kill the daemon the two leds turn on. And when execute pcsc_scan the output is the same: $ pcsc_scan PC/SC device scanner V 1.4.18 (c) 2001-2011, Ludovic Rousseau ludovic.rouss...@free.fr Compiled with PC/SC lite version: 1.7.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
what is the exact result of the command: $ apt-cache policy pcsc-tools pcscd libpcsclite1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
This is the exact result: $ apt-cache policy pcsc-tools pcscd libpcsclite1 pcsc-tools: Instalados: 1.4.18-1 Candidato: 1.4.18-1 Tabla de versión: *** 1.4.18-1 0 500 http://es.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages 100 /var/lib/dpkg/status pcscd: Instalados: 1.7.4-2ubuntu2 Candidato: 1.7.4-2ubuntu2 Tabla de versión: *** 1.7.4-2ubuntu2 0 500 http://es.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages 100 /var/lib/dpkg/status libpcsclite1: Instalados: 1.7.4-2ubuntu2 Candidato: 1.7.4-2ubuntu2 Tabla de versión: *** 1.7.4-2ubuntu2 0 500 http://es.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status Thank you for your reply. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
Have you installed a smart card component by hand? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
No. I just created an udev rule in the file '/etc/udev/rules.d/98-pcscd_ccid.rules' with this content: # If not adding the device, go away ACTION!=add, GOTO=pcscd_ccid_rules_end SUBSYSTEM!=usb, GOTO=pcscd_ccid_rules_end ENV{DEVTYPE}!=usb_device, GOTO=pcscd_ccid_rules_end # generic CCID device ATTRS{bInterfaceClass}==0b, RUN+=/bin/chgrp pcscd $root/$parent # C3PO LTC31 USB reader ATTRS{idVendor}==0783, ATTRS{idProduct}==0006, MODE=660 GROUP=pcscd # All done LABEL=pcscd_ccid_rules_end And quit the line 43 'exit 0' in /etc/init.d/pcscd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1254689] Re: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04
When execute the command 'lsusb -v' show this information about the C3PO LTC31 USB reader. Bus 003 Device 004: ID 0783:0006 C3PO LTC31v2 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0783 C3PO idProduct 0x0006 LTC31v2 bcdDevice2.50 iManufacturer 1 iProduct2 iSerial 3 bNumConfigurations 1 Do you think it should show more fields? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1254689 Title: C3PO LTC31v2 smart card reader doesn't work on Ubuntu 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1254689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs