2012/9/30 Diego Bravo Estrada <[email protected]>: > Hello,
Hello, > Hope this is the right place to request help. > > I'm trying to setup an SCM SCR 3310 V2 on a Ubuntu Linux 12.04: > > # uname -a > Linux inspiron 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 > x86_64 x86_64 x86_64 GNU/Linux > # dpkg -l libccid pcscd > ... > +++-==============-==============-============================================ > ii libccid 1.4.5-1 PC/SC driver for USB CCID smart card > readers > ii pcscd 1.7.4-2ubuntu2 Middleware to access a smart card using > PC/S > > I installed the driver as indicated in the vendor's readme: > > $ ls -l /usr/lib/pcsc/drivers/ > total 12 > drwxr-xr-x 3 root root 4096 Sep 29 16:01 ifd-ccid.bundle > drwxr-xr-x 3 root root 4096 Sep 29 19:27 scmccid.bundle > drwxr-xr-x 2 root root 4096 Sep 29 16:01 serial > > $ ls -l /usr/lib/pcsc/drivers/scmccid.bundle/Contents/Linux/ > total 180 > -rwxr-xr-x 1 root root 180724 Sep 29 19:27 libscmccid.so.5.0.21 This driver is not provided by the libccid package. I guess you installed a driver from SCM. > after plugging the reader I get the following messages: > > 09230273 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: > 0x04E6, PID: 0x5116, path: /dev/bus/usb/007/010 > 00000030 hotplug_libudev.c:309:HPAddDevice() Adding USB device: SCR3310 > Smart Card Reader > 00000093 readerfactory.c:934:RFInitializeReader() Attempting startup of > SCR3310 Smart Card Reader [CCID Interface] 00 00 using > /usr/lib/pcsc/drivers/scmccid.bundle/Contents/Linux/libscmccid.so.5.0.21 > 00000350 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 > Loading scmccid 5.0.21 > 00280532 readerfactory.c:965:RFInitializeReader() Open Port 0x200000 Failed > (usb:04e6/5116:libudev:0:/dev/bus/usb/007/010) > 00000057 readerfactory.c:275:RFAddReader() SCR3310 Smart Card Reader [CCID > Interface] init failed. The SCM driver failed. Maybe you can report the bug to SCM. > 00000029 readerfactory.c:985:RFUnInitializeReader() Attempting shutdown of > SCR3310 Smart Card Reader [CCID Interface] 00 00. > 00000022 readerfactory.c:861:RFUnloadReader() Unloading reader driver. > 00000142 winscard_svc.c:731:MSGSignalClient() Signal client: 6 > 00000027 winscard_svc.c:734:MSGSignalClient() SIGNAL rv=0x0 for client 6 > 00000076 hotplug_libudev.c:377:HPAddDevice() Failed adding USB device: > SCR3310 Smart Card Reader > 00000037 winscard_svc.c:315:ContextThread() Received command: > CMD_GET_READERS_STATE from client 6 > found one > Scanning present readers... > 00000042 readerfactory.c:934:RFInitializeReader() Attempting startup of > SCR3310 Smart Card Reader [CCID Interface] 00 00 using > /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so > 00000110 winscard_svc.c:315:ContextThread() Received command: > CMD_GET_READERS_STATE from client 6 > 00000286 readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 > 00000082 ifdhandler.c:1781:init_driver() Driver version: 1.4.5 > 00000744 ifdhandler.c:1798:init_driver() LogLevel: 0x0003 > 00000038 ifdhandler.c:1809:init_driver() DriverOptions: 0x0000 > 00000210 ifdhandler.c:80:IFDHCreateChannelByName() lun: 0, device: > usb:04e6/5116:libudev:0:/dev/bus/usb/007/010 > 00000693 ccid_usb.c:245:OpenUSBByName() ifdManufacturerString: Ludovic > Rousseau ([email protected]) > 00000036 ccid_usb.c:246:OpenUSBByName() ifdProductString: Generic CCID > driver > 00000031 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. > 00000315 winscard_svc.c:315:ContextThread() Received command: > CMD_GET_READERS_STATE from client 6 > 00003027 readerfactory.c:1301:RFWaitForReaderInit() Waiting init for reader: > SCR3310 Smart Card Reader [CCID Interface] 00 00 > 00000776 ccid_usb.c:424:OpenUSBByName() Can't libusb_open(7/10): -3 -3 is LIBUSB_ERROR_ACCESS /** Access denied (insufficient permissions) */ After the installation of libccid you need to reboot (or restart udev) so that the access rights are set correctly. Bye PS: you should remove openct now. -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
