VirtualBox

Ticket #10486 (new defect)

Opened 2 years ago

Last modified 8 months ago

CCID USB card reader within an XP guest fails to start

Reported by: rnaufal Owned by:
Priority: major Component: USB
Version: VirtualBox 4.1.12 Keywords: usb card reader
Cc: Guest type: Windows
Host type: Linux

Description

I have a USB card reader as specified on the picture and it doesn't work on Windows XP as guest. I'm running Ubuntu 11.04 as host.

When I plug in into my Win XP guest, it fails to start the device.

Some comments:

1) I'm already member of the vboxusers and plugdev groups;

2) My WinXP is totally updated with Service Pack 3 and some hotfixes are already installed (particulary this one KB968730, as recommended from the manufacturer's  website);

3) The device drivers on WinXP are installed and updated;

4) I've created a USB filter for the device and indeed it doesn't work either;

There are some pictures attached that show the problem. It fails with an error code 10 saying that the device driver cannot start.

Attachments

error-1.jpeg Download (146.7 KB) - added by rnaufal 2 years ago.
error-2.jpeg Download (158.3 KB) - added by rnaufal 2 years ago.
error-3.jpeg Download (154.1 KB) - added by rnaufal 2 years ago.
ccid_usb_smart_reader.jpg Download (12.1 KB) - added by rnaufal 2 years ago.
The USB reader device

Change History

Changed 2 years ago by rnaufal

Changed 2 years ago by rnaufal

Changed 2 years ago by rnaufal

Changed 2 years ago by rnaufal

The USB reader device

comment:1 Changed 2 years ago by Hachiman

Could you please attach the log to the defect? Is pcscd running on your host? note, it automatically grab all readers attached to host.

comment:2 follow-up: ↓ 3 Changed 2 years ago by rnaufal

Yes, pcscd is running on my Ubuntu host. Here is the output of pcsc_scan:

PC/SC device scanner
V 1.4.17 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.5
Scanning present readers...
0: ACS ACR 38U-CCID 00 00

Tue May  1 15:57:45 2012
 Reader 0: ACS ACR 38U-CCID 00 00
  Card state: Card inserted, 
  ATR: 3B FD 18 00 FF 80 B1 FE 45 1F 07 80 73 00 21 13 57 4A 54 48 61 31 4A 00 52

ATR: 3B FD 18 00 FF 80 B1 FE 45 1F 07 80 73 00 21 13 57 4A 54 48 61 31 4A 00 52
+ TS = 3B --> Direct Convention
+ T0 = FD, Y(1): 1111, K: 13 (historical bytes)
  TA(1) = 18 --> Fi=372, Di=12, 31 cycles/ETU
    129032 bits/s at 4 MHz, fMax for Fi = 5 MHz => 161290 bits/s
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = FF --> Extra guard time: 255 (special value)
  TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0 
-----
  TD(2) = B1 --> Y(i+1) = 1011, Protocol T = 1 
-----
  TA(3) = FE --> IFSC: 254
  TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5
  TD(3) = 1F --> Y(i+1) = 0001, Protocol T = 15 - Global interface bytes following 
-----
  TA(4) = 07 --> Clock stop: not supported - Class accepted by the card: (3G) A 5V B 3V C 1.8V 
+ Historical bytes: 80 73 00 21 13 57 4A 54 48 61 31 4A 00
  Category indicator byte: 80 (compact TLV data object)
    Tag: 7, len: 3 (card capabilities)
      Selection methods: 00
      Data coding byte: 21
        - Behaviour of write functions: proprietary
        - Value 'FF' for the first byte of BER-TLV tag fields: invalid
        - Data unit in quartets: 2
      Command chaining, length fields and logical channels: 13
        - Logical channel number assignment: by the card
        - Maximum number of logical channels: 4
    Tag: 5, len: 7 (card issuer's data)
      Card issuer data: 4A 54 48 61 31 4A 00
+ TCK = 52 (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B FD 18 00 FF 80 B1 FE 45 1F 07 80 73 00 21 13 57 4A 54 48 61 31 4A 00 52
	e-CPF issued by AASP (Lawyers Association of São Paulo, Brazil)

I've searched for Win logs at Event Viewer > System and Application logs and nothing is logged when I attach the device. I thought it was because the .NET runtime framework was not installed on the guest but after installing it the problem still remains.

comment:3 in reply to: ↑ 2 Changed 2 years ago by Hachiman

so please stop pcscd

# sudo service pcscd stop 

and retry to grab card reader with your VM.

comment:4 Changed 2 years ago by rnaufal

I've already stopped pcscd with your command and nothing happened, the problem still continues with the same cause (error code 10: the device driver cannot start). Last Friday I've tested it on Windows XP not virtualized and it worked perfectly. Have you checked the screenshots I added on the defect?

comment:5 Changed 8 months ago by fareivas

I solved a similar issue just by disabling ehci support to guest machine.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use