Re: Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 11/28/2012 12:45 PM, Sigbjorn Lie wrote:
Hi,

I receive the following errors when I attempt to use native USB redirection in RHEV 3.1 beta. It's
a smart card reader I am attempting to redirect into a virtual Windows 7 x64 machine.

Is this a known error?

It seems that pcscd is using the reader from userspace just like spice is, and the pcscd
driver is not properly claiming the interface, and therefor both are trying to talk to
the device at the same time!

What might help here is to try and disable the pcscd service.

Regards,

Hans





Rgds,
Siggi



Nov 28 12:16:31 workstation kernel: usb 3-2: new full speed USB device number 4
using ohci_hcd
Nov 28 12:16:31 workstation kernel: usb 3-2: New USB device found, idVendor=076b,
idProduct=3021
Nov 28 12:16:31 workstation kernel: usb 3-2: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
Nov 28 12:16:31 workstation kernel: usb 3-2: Product: Smart Card Reader USB
Nov 28 12:16:31 workstation kernel: usb 3-2: Manufacturer: OMNIKEY AG
Nov 28 12:16:31 workstation kernel: usb 3-2: configuration #1 chosen from 1 choice
Nov 28 12:16:31 workstation pcscd: hotplug_libhal.c:342:HPAddDevice() Adding USB
device: usb_device_76b_3021_noserial_if0
Nov 28 12:16:32 workstation pcscd: readerfactory.c:1024:RFInitializeReader()
Attempting startup of Generic CCID Reader 00 00 using
/usr/lib64/pcsc/drivers/openct-ifd.bundle/Contents/Linux/openct-ifd.so
Nov 28 12:16:32 workstation pcscd: readerfactory.c:846:RFBindFunctions() Loading IFD
Handler 2.0
Nov 28 12:16:32 workstation pcscd: readerfactory.c:249:RFAddReader() Using the pcscd
polling thread
Nov 28 12:16:42 workstation kernel: usb 3-2: reset full speed USB device number 4
using ohci_hcd
Nov 28 12:16:42 workstation spice: libusb:warning [op_reset_device] failed to
re-claim interface 0 after reset
Nov 28 12:16:42 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:16:43 workstation kernel: usb 3-2: reset full speed USB device number 4
using ohci_hcd
Nov 28 12:16:43 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:16:44 workstation spice: libusb:error [submit_bulk_transfer] submiturb
failed error -1 errno=16
Nov 28 12:16:44 workstation spice:
Nov 28 12:16:44 workstation spice: (remote-viewer:5630): GSpice-CRITICAL **:
usbredirhost error: submitting bulk transfer on ep 05: -1
Nov 28 12:16:44 workstation kernel: usb 3-2: usbfs: process 5630 (remote-viewer) did
not claim interface 0 before use
Nov 28 12:16:44 workstation spice: libusb:error [submit_bulk_transfer] submiturb
failed error -1 errno=16
Nov 28 12:16:44 workstation spice:
Nov 28 12:16:44 workstation spice: (remote-viewer:5630): GSpice-CRITICAL **:
usbredirhost error: submitting bulk transfer on ep 05: -1
Nov 28 12:16:44 workstation kernel: usb 3-2: usbfs: process 5630 (remote-viewer) did
not claim interface 0 before use
Nov 28 12:16:44 workstation spice: libusb:error [submit_bulk_transfer] submiturb
failed error -1 errno=16
Nov 28 12:16:44 workstation spice:
Nov 28 12:16:44 workstation spice: (remote-viewer:5630): GSpice-CRITICAL **:
usbredirhost error: submitting bulk transfer on ep 05: -1
Nov 28 12:16:44 workstation kernel: usb 3-2: usbfs: process 5630 (remote-viewer) did
not claim interface 0 before use
Nov 28 12:16:48 workstation kernel: usb 3-2: reset full speed USB device number 4
using ohci_hcd
Nov 28 12:16:48 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:16:48 workstation kernel: usb 3-2: reset full speed USB device number 4
using ohci_hcd
Nov 28 12:16:48 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:16:55 workstation pcscd: eventhandler.c:429:EHStatusHandlerThread() Card
inserted into Generic CCID Reader 00 00
Nov 28 12:16:55 workstation pcscd: eventhandler.c:443:EHStatusHandlerThread() Error
powering up card.
Nov 28 12:16:57 workstation spice:
Nov 28 12:16:57 workstation spice: (remote-viewer:5630): GSpice-CRITICAL **:
usbredirhost error: could not set active configuration to 0: -6
Nov 28 12:16:57 workstation kernel: usb 3-2: usbfs: interface 0 claimed by usbfs
while 'remote-viewer' sets config #0
Nov 28 12:16:57 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:16:57 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:16:57 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:16:58 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:16:58 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:16:58 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:16:59 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:16:59 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:16:59 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:00 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:00 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:00 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:01 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:01 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:01 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:02 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:02 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:02 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:03 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:03 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:03 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:04 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:04 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:04 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:05 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:05 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:05 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:06 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:06 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:06 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:07 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:07 workstation ifdhandler[5789]: ccid: begin capture: -5
Nov 28 12:17:07 workstation kernel: usb 3-2: usbfs: process 5789 (ifdhandler) did
not claim interface 0 before use
Nov 28 12:17:08 workstation ifdhandler[5789]: usb_submiturb failed: Device or
resource busy
Nov 28 12:17:08 workstation ifdhandler[5789]: ccid: begin capture: -5


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]