Re: [Spice-devel] [spice-xpi 1/4] Add 'Usb" property to the browser plugin

2012-04-03 Thread Christophe Fergeau
Hey, On Tue, Apr 03, 2012 at 07:44:51PM +0200, Hans de Goede wrote: > Eh, my idea wrt sending usbredir enable / disable to the spice-client was to > base > it on the usb_listen_port setting, if usb_listen_port is set we are using old > usb, > so disable the new usb (thus send disabled to the cli

Re: [Spice-devel] [spice-xpi 1/4] Add 'Usb" property to the browser plugin

2012-04-03 Thread Hans de Goede
Hi, Eh, my idea wrt sending usbredir enable / disable to the spice-client was to base it on the usb_listen_port setting, if usb_listen_port is set we are using old usb, so disable the new usb (thus send disabled to the client over the controller). If usb_listen_port is not set then the idea is

[Spice-devel] [spice-xpi 1/4] Add 'Usb" property to the browser plugin

2012-04-03 Thread Christophe Fergeau
This is a boolean property that enables/disables USB redirection. --- SpiceXPI/src/plugin/nsISpicec.idl|1 + SpiceXPI/src/plugin/nsScriptablePeer.cpp |7 +++ SpiceXPI/src/plugin/nsScriptablePeer.h |1 + SpiceXPI/src/plugin/plugin.cpp | 12 SpiceXP