[Spice-devel] [PATCH usbredir] usbredirtestclient: fix a wrong comment

2017-11-20 Thread Chen Hanxiao
From: Chen Hanxiao usbredirparser_info is 3. Signed-off-by: Chen Hanxiao --- usbredirtestclient/usbredirtestclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbredirtestclient/usbredirtestclient.c b/usbredirtestclient/usbredirtestclient.c index 2437a1f..3e63909 100

Re: [Spice-devel] [PATCH usbredir] usbredirserver: show bus:device of the chosen USB device if specifying vid:pid

2017-11-20 Thread Chen Hanxiao
At 2017-11-20 22:01:26, "Frediano Ziglio" wrote: >> >> From: Chen Hanxiao >> >> We use libusb_open_device_with_vid_pid. >> If multiple devices have the same vid:pid, >> it will only return the first one. >> >> This patch will show the bus:device of the chosen one. >> >> Signed-off-by: Chen H

Re: [Spice-devel] usbdk lead to usb unusable on Win7

2017-11-20 Thread 王杰东
Thank you for help ! and i resolve it with installing Win7 patch KB3033929 . -- Original -- From: "Sameeh Jubran"; Date: Mon, Nov 20, 2017 04:15 PM To: "王杰东"; Cc: "spice-devel"; Subject: Re: [Spice-devel] usbdk lead to usb unusable on Win7 Hi, This is

Re: [Spice-devel] [PATCH spice-server 1/2] Rename Stream to VideoStream

2017-11-20 Thread Frediano Ziglio
> > To prevent confusion between Stream (a video stream) and RedStream (a > generic data stream between client and server), change the name to > VideoStream to be more explicit about what it is. > > Signed-off-by: Jonathon Jongsma > --- > server/Makefile.am | 4 +- > server/d

[Spice-devel] [PATCH spice-server] Remove common/mem.h includes

2017-11-20 Thread Frediano Ziglio
common/mem.h contains mainly memory allocation functions. As we decided to move to Glib calls directly avoid to include function declaration we should not use anymore. Signed-off-by: Frediano Ziglio --- server/dispatcher.c | 1 - server/red-channel-capabilities.c | 1 - server/red-

[Spice-devel] [PATCH spice-server v2] Send real time to client

2017-11-20 Thread Frediano Ziglio
Do not offset the time attempting to fix client latency. Client should handle it by itself. This remove entirely the delay introduced by the server. This avoids surely possible time drifts in the client. The server just sends it's concept of time without trying to force any delay. Only one end sho

[Spice-devel] [PATCH spice-server] Reuse SPICE_DECLARE_TYPE macro

2017-11-20 Thread Frediano Ziglio
Signed-off-by: Frediano Ziglio --- server/red-channel-client.h | 17 +--- server/red-channel.h| 19 ++--- server/red-client.h | 13 +- server/reds.c | 12 +- server/smartcard.c | 17 +--- server/smartcard.h | 12 +- server/sp

[Spice-devel] [PATCH spice-streaming-agent] Remove X11 dependency from send_cursor

2017-11-20 Thread Frediano Ziglio
Allows a better encapsulation in the future Signed-off-by: Frediano Ziglio --- src/spice-streaming-agent.cpp | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp index 23b9768..53ffbf0 100

Re: [Spice-devel] [PATCH usbredir] usbredirserver: show bus:device of the chosen USB device if specifying vid:pid

2017-11-20 Thread Frediano Ziglio
> > From: Chen Hanxiao > > We use libusb_open_device_with_vid_pid. > If multiple devices have the same vid:pid, > it will only return the first one. > > This patch will show the bus:device of the chosen one. > > Signed-off-by: Chen Hanxiao > --- > usbredirserver/usbredirserver.c | 7 +++ >

Re: [Spice-devel] [PATCH v2] usbredirserver: add support for bind specific address

2017-11-20 Thread Frediano Ziglio
> > At 2017-11-17 19:23:30, "Frediano Ziglio" wrote: > >> > >> From: Chen Hanxiao > >> > >> We bind our listen address to in6addr_any, which may be > >> unsecure with multi network cards that belong to > >> internal or external networks. > >> > >> This patch introduces option -4 and -6 to bin

[Spice-devel] [PATCH spice-server v2] tests: Add a test for streaming devices

2017-11-20 Thread Frediano Ziglio
Currently create device, open it and pass some messages checking they are handled. Signed-off-by: Frediano Ziglio --- server/tests/Makefile.am | 1 + server/tests/test-stream-device.c | 182 ++ 2 files changed, 183 insertions(+) create mode 100644

Re: [Spice-devel] usbdk lead to usb unusable on Win7

2017-11-20 Thread Sameeh Jubran
Hi, This is a known issue when driver signature enforcement is enabled, is this the case for you? Please confirm/deny. This issue was solved in this commit (check the commit message for more info): https://github.com/daynix/UsbDk/commit/5dda7555c5d0eb0ad302407f41bd83f8286c32fc However this commi