<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I tried a USB thumb drive, it can be redirected successfully. The
device (SanDisk) is marked in blue below.<br>
<br>
# lsusb<br>
<br>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate
Matching Hub<br>
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate
Matching Hub<br>
<font color="#000099">Bus 001 Device 007: ID 0781:5567 SanDisk Corp.
Cruzer Blade</font><br>
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. Bluetooth Controller<br>
Bus 001 Device 005: ID 04f2:b221 Chicony Electronics Co., Ltd
integrated camera<br>
Bus 002 Device 003: ID 17ef:1003 Lenovo Integrated Smart Card Reader<br>
<font color="#ff0000">Bus 002 Device 004: ID 1483:c007 </font><br>
<br>
The device failed to be redirected (ID 1483:c007) is in red above.
This device is USB key containing a bank certificate. But it's can
be attached as a device to guest on my host machine.<br>
<br>
And attached is the output of "lsusb -v"<br>
<br>
Thanks,<br>
<br>
<br>
<div class="moz-cite-prefix">On 01/29/2013 07:35 PM, Hans de Goede
wrote:<br>
</div>
<blockquote cite="mid:5107B400.5060807@redhat.com" type="cite">Hi,
<br>
<br>
On 01/29/2013 10:26 AM, javaon wrote:
<br>
<blockquote type="cite">My environment:
<br>
<br>
* Ubuntu 12.04 64bit
<br>
* qemu 1.3.0
<br>
* libvirt 1.0.1
<br>
* spice 0.12.2
<br>
* spice-gtk 0.15
<br>
* virt-viewer 0.5.4
<br>
<br>
<br>
When I connected to the VM (a windows 7) as a normal user, I
received an error - access denied. (See the attached screenshot)
Below is the screen message on client end:
<br>
<br>
$ remote-viewer <a class="moz-txt-link-freetext" href="spice://192.168.7.4:5901">spice://192.168.7.4:5901</a>
<br>
<br>
(remote-viewer:7597): GSpice-WARNING **: Warning no
automount-inhibiting implementation available
<br>
libusb: 0.000000 error [op_open] libusb couldn't open USB device
/dev/bus/usb/001/006: Permission denied.
<br>
libusb: 0.000179 error [op_open] libusb requires write access to
USB device nodes.
<br>
<br>
<br>
Then I changed to root user, I received an error -
libusb_error_io. (See the attached screenshot) Below is the
screen message on client end:
<br>
<br>
# remote-viewer <a class="moz-txt-link-freetext" href="spice://192.168.7.4:5901">spice://192.168.7.4:5901</a>
<br>
<br>
(remote-viewer:7836): GSpice-WARNING **: Warning no
automount-inhibiting implementation available
<br>
libusb: 0.000000 error [sysfs_get_active_config_descriptor]
short read 21/28
<br>
</blockquote>
<br>
Hmm, it seems that this is something specific to the device you're
trying to use, can you please:
<br>
1) do "lsusb -v > lsusb.log" with the device plugged into a
linux machine, and send me the lsusb.log file generated
<br>
2) try with another device, ie a simple usb thumb drive ?
<br>
<br>
Thanks,
<br>
<br>
Hans
<br>
</blockquote>
<br>
</body>
</html>