Re: [ovirt-users] [Spice-devel] USB redirection

On 06/03/2014 10:33 AM, Jean-Pierre WEISS wrote: =20
Thank you, I have 2 clients, one on fedora 20 with spice-xpi 2.8.90-1.fc20 and one on debian 7.5 with spice-client. The USB Support is set to Native but, on
--=_589b81d213389104cae073894a8784a9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =20 Thank you, it was so simple... I'm confusing, I haven't see the option on the menu on spice-xpi.=20 In fact, it works on my Fedora 20 client. But not on my Debian client for, with spice-client, I d'ont have the menu to had USB devices. Is it a way to automatically mount USB devices ?=20 Thanks,=20 Jean-Pierre WEISS Administrateur Syst=C3=A8mes et R=C3=A9seaux Mairie de Saint-Ouen Le 03/06/2014 10:58, Ren=C3=A9 Koch a =C3=A9crit : the vm, I can't see any USB device that is connected to my clients.
=20
I just tested USB redirection with a Fedora 20 client to a Fedora 20=20
guest (don't have a virtualized Windows 7 vm atm).
=20 It works, but:
- With spice-xpi the automatic USB redirection didn't work. I had to
leave full screen, choose File - USB device selection and manually=20
select the USB device I want to redirect
=20 - With native client USB redirection works out of the box =20 Btw, I also figured out that Fedora 20 (the client) blocks USB=20 redirection if you have SELinux on enforcing - setting it to permissive=20 works. =20 Regards, Ren=C3=A9
Jean-Pierre WEISS Administrateur Syst=C3=A8mes et R=C3=A9seaux Mairie = de Saint-Ouen Tel : 01 49 45 77 18 Le 03/06/2014 01:40, Cody Chan a =C3=A9cr= it :
Hi, you also need usbclerk/zadig in client if your client is windows, and don't forget to choose "Native" for usb-redir in ovirt manager before starting the vm Regards Cody On Tue, Jun 3, 2014 at 4:37 AM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote: On 06/02/2014 03:57 PM, Jean-Pierre WEISS wrote: Hi, I'm trying to redirect USB devices on a Windows 7 vm. But, after searching the web, I didn't find any procedure to do this. Here is my configuration : Host : CentOS 6.5 with ovirt 3.4.0.1-el6 vm : Windows 7 with the virtio drivers (virtio-win- 0.1.74) installed, spice-guest-tools-0.74, and ovirt-guest-agent installed. All is working fine, except that I can see
=20 the USB devices connected to the client. Any clue ? Thanks, Jean-Pierre WEISS Administrateur Syst=C3=A8mes et R=C3=A9seaux Mairie de Saint-Ouen _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users [1] <http://lists.ovirt.org/mailman/listinfo/users> [2] adding spice-devel list _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org <mailto:Spice-devel@lists.freedesktop.org> http://lists.freedesktop.org/mailman/listinfo/spice-devel [3] <http://lists.freedesktop.org/mailman/listinfo/spice-devel> [4]
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [1]
Links: ------ [1] http://lists.ovirt.org/mailman/listinfo/users [2] http://lists.ovirt.org/mailman/listinfo/users> [3] http://lists.freedesktop.org/mailman/listinfo/spice-devel [4] http://lists.freedesktop.org/mailman/listinfo/spice-devel> --=_589b81d213389104cae073894a8784a9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html><body> <p>Thank you, it was so simple... I'm confusing, I haven't see the option o= n the menu on spice-xpi.</p> <p>In fact, it works on my Fedora 20 client. But not on my Debian client fo= r, with spice-client, I d'ont have the menu to had USB devices. Is it a way= to automatically mount USB devices ?</p> <p>Thanks,</p> <p> </p> <div><span style=3D"font-family: trebuchet ms,sans-serif;"><span style=3D"c= olor: #20124d;"><span style=3D"text-decoration: underline;">Jean-Pierre WEI= SS</span><br />Administrateur Systèmes et Réseaux<br />Mairie= de Saint-Ouen<br /></span></span></div> <p>Le 03/06/2014 10:58, René Koch a écrit :</p> <blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p= x solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignore= d --><!-- meta ignored --> <pre>On 06/03/2014 10:33 AM, Jean-Pierre WEISS wrote:</pre> <blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p= x solid; margin-left:5px; width:100%">Thank you, I have 2 clients, one on f= edora 20 with spice-xpi 2.8.90-1.fc20 and one on debian 7.5 with spice-clie= nt. The USB Support is set to Native but, on the vm, I can't see any USB de= vice that is connected to my clients.</blockquote> <pre>I just tested USB redirection with a Fedora 20 client to a Fedora 20= =20 guest (don't have a virtualized Windows 7 vm atm). It works, but: - With spice-xpi the automatic USB redirection didn't work. I had to=20 leave full screen, choose File - USB device selection and manually=20 select the USB device I want to redirect - With native client USB redirection works out of the box Btw, I also figured out that Fedora 20 (the client) blocks USB=20 redirection if you have SELinux on enforcing - setting it to permissive=20 works. Regards, René</pre> <blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p= x solid; margin-left:5px; width:100%">Jean-Pierre WEISS Administrateur Syst= èmes et Réseaux Mairie de Saint-Ouen Tel : 01 49 45 77 18 Le = 03/06/2014 01:40, Cody Chan a écrit : <blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p= x solid; margin-left:5px; width:100%">Hi, you also need usbclerk/zadig in c= lient if your client is windows, and don't forget to choose "Native" for us= b-redir in ovirt manager before starting the vm Regards Cody On Tue, Jun 3,= 2014 at 4:37 AM, Itamar Heim <<a href=3D"mailto:iheim@redhat.com">iheim= @redhat.com</a> <mailto:<a href=3D"mailto:iheim@redhat.com">iheim@redhat= =2Ecom</a>>> wrote: On 06/02/2014 03:57 PM, Jean-Pierre WEISS wrote: = Hi, I'm trying to redirect USB devices on a Windows 7 vm. But, after search= ing the web, I didn't find any procedure to do this. Here is my configurati= on : Host : CentOS 6.5 with ovirt 3.4.0.1-el6 vm : Windows 7 with the virti= o drivers (virtio-win- 0.1.74) installed, spice-guest-tools-0.74, and ovirt= -guest-agent installed. All is working fine, except that I can see the USB = devices connected to the client. Any clue ? Thanks, Jean-Pierre WEISS Admin= istrateur Systèmes et Réseaux Mairie de Saint-Ouen __________= _____________________________________ Users mailing list <a href=3D"mailto:= Users@ovirt.org">Users@ovirt.org</a> <mailto:<a href=3D"mailto:Users@ovi= rt.org">Users@ovirt.org</a>> <a href=3D"http://lists.ovirt.org/mailman/l= istinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> <<a hre= f=3D"http://lists.ovirt.org/mailman/listinfo/users>">http://lists.ovirt= =2Eorg/mailman/listinfo/users></a> adding spice-devel list _____________= __________________________________ Spice-devel mailing list <a href=3D"mail= to:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>= <mailto:<a href=3D"mailto:Spice-devel@lists.freedesktop.org">Spice-deve= l@lists.freedesktop.org</a>> <a href=3D"http://lists.freedesktop.org/mai= lman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/sp= ice-devel</a> <<a href=3D"http://lists.freedesktop.org/mailman/listinfo/= spice-devel>">http://lists.freedesktop.org/mailman/listinfo/spice-devel&= gt;</a></blockquote> _______________________________________________ Users mailing list <a href= =3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <a href=3D"http://lists.ovi= rt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/user= s</a></blockquote> </blockquote> </body></html> --=_589b81d213389104cae073894a8784a9--

On 06/03/2014 11:31 AM, Jean-Pierre WEISS wrote:
Thank you, it was so simple... I'm confusing, I haven't see the option on the menu on spice-xpi.
In fact, it works on my Fedora 20 client. But not on my Debian client for, with spice-client, I d'ont have the menu to had USB devices. Is it a way to automatically mount USB devices ?
Did you try the native client on Debian? Maybe the spice-xpi version is too old - if you don't see the menu it's a quite old spice-xpi version. During my tests it was only possible to automatically mount USB devices with the native client, not with the spice-xpi...
Thanks,
Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen
Le 03/06/2014 10:58, René Koch a écrit :
On 06/03/2014 10:33 AM, Jean-Pierre WEISS wrote:
Thank you, I have 2 clients, one on fedora 20 with spice-xpi 2.8.90-1.fc20 and one on debian 7.5 with spice-client. The USB Support is set to Native but, on the vm, I can't see any USB device that is connected to my clients. I just tested USB redirection with a Fedora 20 client to a Fedora 20 guest (don't have a virtualized Windows 7 vm atm).
It works, but:
- With spice-xpi the automatic USB redirection didn't work. I had to leave full screen, choose File - USB device selection and manually select the USB device I want to redirect
- With native client USB redirection works out of the box
Btw, I also figured out that Fedora 20 (the client) blocks USB redirection if you have SELinux on enforcing - setting it to permissive works.
Regards, René
Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen Tel : 01 49 45 77 18 Le 03/06/2014 01:40, Cody Chan a écrit :
Hi, you also need usbclerk/zadig in client if your client is windows, and don't forget to choose "Native" for usb-redir in ovirt manager before starting the vm Regards Cody On Tue, Jun 3, 2014 at 4:37 AM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com> <mailto:iheim@redhat.com <mailto:iheim@redhat.com>>> wrote: On 06/02/2014 03:57 PM, Jean-Pierre WEISS wrote: Hi, I'm trying to redirect USB devices on a Windows 7 vm. But, after searching the web, I didn't find any procedure to do this. Here is my configuration : Host : CentOS 6.5 with ovirt 3.4.0.1-el6 vm : Windows 7 with the virtio drivers (virtio-win- 0.1.74) installed, spice-guest-tools-0.74, and ovirt-guest-agent installed. All is working fine, except that I can see the USB devices connected to the client. Any clue ? Thanks, Jean-Pierre WEISS Administrateur Systèmes et Réseaux Mairie de Saint-Ouen _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users> adding spice-devel list _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org <mailto:Spice-devel@lists.freedesktop.org> <mailto:Spice-devel@lists.freedesktop.org <mailto:Spice-devel@lists.freedesktop.org>> http://lists.freedesktop.org/mailman/listinfo/spice-devel <http://lists.freedesktop.org/mailman/listinfo/spice-devel> _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users

--AsxXAMtlQ5JHofzM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 03, 2014 at 11:31:08AM +0200, Jean-Pierre WEISS wrote:
=20 =20 Thank you, it was so simple... I'm confusing, I haven't see the option on the menu on spice-xpi.=20 =20 In fact, it works on my Fedora 20 client. But not on my Debian client for, with spice-client, I d'ont have the menu to had USB devices. Is it a way to automatically mount USB devices ?=20
If 'spice-client' is spicec (you can check with ps while it's running for example), then it does not support USB redirection. Did you try using virt-viewer on this debian system? Christophe --AsxXAMtlQ5JHofzM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJTjZvEAAoJEKnYwhQprGyCxnkP/2V6Bc7njTRUmUIKUhHPNJz7 pG1BhQSMjxHqk17QHOB+5Q1yiE84r00HMXMbLE28je+ZZVbK6IuvpqbYOEHcmSTj 9g6ndXVimKiGfehxmwFpoUC+0GJqdPPaa3APPqqEZseYuXf3zRJy5SaJj8F3N/7c fwxW4v3dvPmQ4Yb+WDS6twXEWMZEWCud3cJ6KlAB9FGN63RGn63JzKf5eAUcC6mx 4LYlVtFBVVLgItqTsfbjDAOk5AR1RvF7xR4ukN/adhlzbQTaYKvsXHrFq3iC34+8 bWT5ZEmGbOm/xqE8athBUAgnESuXJNMLSlmKkDTeGUyoD3tiJf784R+PG0qQyNY2 4Y91Yhvn2iTU5zww0UxOq0lLc7rdJ0lf6waibWq5AC4Pt+/u1BcfdRck5XCsZXC2 Hj/oHxzSjltepkNUfcunDrKIXJsnyS3GkhwJLMIGDgcYcCMZPICgMySPrWA5S0vo uaXgp0bohRyVJJQi8hVcJUx4audSnmiiiEYTMs4fbfum9E0F5q45BmqJHJ7yVFYy KGuPpDzdxNIWxjaNoNSl5CvrozGZu4kkN3ML0C6zXr0jk9fpBiSqnYu4DSM1WYJr 6aODa4UwyZa9ti8D+Vkbvvk62s12UnqtrXFgbcoH6Bye3Uj8qtaeIJyWB8en/VUu vf5g+N7dmcLW5POORiSC =Pw19 -----END PGP SIGNATURE----- --AsxXAMtlQ5JHofzM--
participants (3)
-
Christophe Fergeau
-
Jean-Pierre WEISS
-
René Koch