pscd and usbip

Francesco Malvezzi <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <[email protected]>
Hi all,

I am unable to have a remotized smartcard reader work with GNU/Debian
Linux. I am using usbip to remotize smartcard.

On server (where the smartcard reader actually is):
sudo usbip list -l
Local USB devices
=================
 - busid 2-2 (046d:c016)
   Logitech, Inc. : Optical Wheel Mouse (046d:c016)
         2-2:1.0 -> usbhid

 - busid 4-1 (072f:9000)
   Advanced Card Systems, Ltd : ACR38 AC1038-based Smart Card Reader
(072f:9000)
         4-1:1.0 -> usbip-host

On client:
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 072f:9000 Advanced Card Systems, Ltd ACR38
AC1038-based Smart Card Reader

On client pcscd detects the reader, but when the smartcard insertion
event is not recognized:

[...]
00000006 ifdhandler.c:94:IFDHCreateChannelByName() lun: 0, device:
usb:072f/9000:libudev:0:/dev/bus/usb/001/003
00000005 ccid_usb.c:186:OpenUSBByName() Reader index: 0, Device:
usb:072f/9000:libudev:0:/dev/bus/usb/001/003
00000191 ccid_usb.c:309:OpenUSBByName() Manufacturer: Advanced Card
Systems Ltd.
00000083 ccid_usb.c:319:OpenUSBByName() ProductString: ACS CCID driver
00000081 ccid_usb.c:325:OpenUSBByName() Copyright: This driver is
protected by terms of the GNU Lesser General Public License version 2.1,
or (at your option) any later
00009106 ccid_usb.c:415:OpenUSBByName() Checking device: 001/003
00000006 ccid_usb.c:506:OpenUSBByName() Trying to open USB bus/device:
001/003
00000020 ccid_usb.c:582:OpenUSBByName() Found Vendor/Product: 072F/9000
(ACS ACR38U)
00000002 ccid_usb.c:584:OpenUSBByName() Using USB bus/device: 001/003
00000005 acr38cmd.c:514:ACR38_SetCardVoltage() cardVoltage: 0
00000002 acr38cmd.c:595:ACR38_SetCardType() cardType: 0
00000006 -> 000000 01 01 00 00
05002705 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000087 -> 000000 01 01 00 00
05002843 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000060 -> 000000 01 01 00 00
05002952 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000118 -> 000000 01 01 00 00
05002927 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000109 -> 000000 01 01 00 00
05002913 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000079 -> 000000 01 01 00 00
05003060 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000061 -> 000000 01 01 00 00
05002925 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000096 -> 000000 01 01 00 00
05002967 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000133 -> 000000 01 01 00 00
05002864 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000104 -> 000000 01 01 00 00
05002968 ccid_usb.c:875:WriteUSB() usb_bulk_write(001/003): Resource
temporarily unavailable
00000080 ifdhandler.c:197:IFDHCreateChannelByName() failed
00000024 ccid_usb.c:1044:CloseUSB() Closing USB device: 001/003
00000042 ccid_usb.c:1059:CloseUSB() Last slot closed. Release resources
00000070 readerfactory.c:972:RFInitializeReader() Open Port 0x200000
Failed (usb:072f/9000:libudev:0:/dev/bus/usb/001/003)
[...]

What did I forget?

Should the combo pcscd + usbip work?

thank you,

Francesco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.