From: Chen Hanxiao
Vendor ID is not a valid ID [1]
But we could pass it from cmd:
usbredirserver :abcd
Which will get a vendor ID.
or
usbredirserver :87abcd
will get an ID > 0x
This patch will check this senario.
[1]: http://www.linux-usb.org/usb.ids
Signed-off
At 2017-11-28 21:16:15, "Frediano Ziglio" wrote:
>>
>> From: Chen Hanxiao
>>
>> Vendor ID is not a valid ID [1]
>> But we could pass it from cmd:
>> usbredirserver :abcd
>> Which will cause a vendor id.
>>
>>
From: Chen Hanxiao
Vendor ID is not a valid ID [1]
But we could pass it from cmd:
usbredirserver :abcd
Which will cause a vendor id.
This patch will check this senario.
[1]: http://www.linux-usb.org/usb.ids
Signed-off-by: Chen Hanxiao
---
v2.1:
fix a copy-paste error
v2:
add
At 2017-11-28 19:38:10, "Frediano Ziglio" wrote:
>>
>> From: Chen Hanxiao
>>
>> Vendor ID is not a valid ID [1]
>> But we could pass it from cmd:
>> usbredirserver :abcd
>> Which will cause a vendor id.
>> Also check th
From: Chen Hanxiao
Vendor ID is not a valid ID [1]
But we could pass it from cmd:
usbredirserver :abcd
Which will cause a vendor id.
Also check the range of them.
This patch will check this senario.
[1]: http://www.linux-usb.org/usb.ids
Signed-off-by: Chen Hanxiao
---
v2:
add
At 2017-11-28 19:11:23, "Frediano Ziglio" wrote:
>>
>> At 2017-11-28 18:49:54, "Frediano Ziglio" wrote:
>> >>
>> >> At 2017-11-28 18:27:54, "Frediano Ziglio" wrote:
>> >> >>
>> >> >> Fro
At 2017-11-28 18:49:54, "Frediano Ziglio" wrote:
>>
>> At 2017-11-28 18:27:54, "Frediano Ziglio" wrote:
>> >>
>> >> From: Chen Hanxiao
>> >>
>> >> Vendor ID is not a valid ID [1]
>> >> But we
At 2017-11-28 18:27:54, "Frediano Ziglio" wrote:
>>
>> From: Chen Hanxiao
>>
>> Vendor ID is not a valid ID [1]
>> But we could pass it from cmd:
>> usbredirserver :abcd
>>or
>> usbredirserver :abcd
>>
>>
From: Chen Hanxiao
Vendor ID is not a valid ID [1]
But we could pass it from cmd:
usbredirserver :abcd
or
usbredirserver :abcd
Which will pass a vendor id to usbredirserver.
This patch will check this senario.
[1]: http://www.linux-usb.org/usb.ids
Signed-off-by: Chen
From: Chen Hanxiao
If we did't open a USB device successfully,
don't try to show that USB device info logs.
Signed-off-by: Chen Hanxiao
---
v2: modified the wrong title
usbredirserver/usbredirserver.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/usbr
At 2017-11-28 15:10:10, "Chen Hanxiao" wrote:
>From: Chen Hanxiao
>
>If we don't open a USB device successfully,
>don't try to show device info logs.
>
>Signed-off-by: Chen Hanxiao
>---
> usbredirserver/usbredirserver.c | 3 +--
> 1 file changed,
From: Chen Hanxiao
If we don't open a USB device successfully,
don't try to show device info logs.
Signed-off-by: Chen Hanxiao
---
usbredirserver/usbredirserver.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/usbredirserver/usbredirserver.c b/usbr
From: Chen Hanxiao
We use libusb_open_device_with_vid_pid, if multiple devices
have the same vid:pid, it will only the first one.
This patch will show the bus:device of the chosen one.
Signed-off-by: Chen Hanxiao
---
v3: move dev declaration inside if
v2: control output messages by verbose
At 2017-11-23 19:28:42, "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 the first one.
>>
>> This patch will show the bus:device o
From: Chen Hanxiao
We use libusb_open_device_with_vid_pid, if multiple devices
have the same vid:pid, it will only the first one.
This patch will show the bus:device of the chosen one.
Signed-off-by: Chen Hanxiao
---
v2: control output messages by verbose
usbredirserver/usbredirserver.c | 9
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
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 th
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 +++
1 file changed, 7
From: Chen Hanxiao
s/deamon/daemon
s/respone/response
Signed-off-by: Chen Hanxiao
---
usb-redirection-protocol.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usb-redirection-protocol.txt b/usb-redirection-protocol.txt
index 1022dc8..ff94f0f 100644
--- a/usb
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 bind a specific
address.
Reviewed-by: Marc-André Lureau
Signed-off-by: Chen Hanxiao
---
v3
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.
>>
>>
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 bind a specific
address.
Signed-off-by: Chen Hanxiao
---
v2:
replace strerror with perror
At 2017-11-17 16:06:13, "Marc-André Lureau" wrote:
>Hi
>
>- Original Message -
>> From: Chen Hanxiao
>>
>> We bind our listen address to in6addr_any, which may be
>> unsecure with multi network cards that belong to
>> internal or exter
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 bind a specific
address.
Signed-off-by: Chen Hanxiao
---
usbredirserver/usbredirserver.1 | 3
From: Chen Hanxiao
Usually we use busnum:devnum for a usb device.
Tools such as lsusb, udev did that.
Our original naming is a little confued.
Signed-off-by: Chen Hanxiao
---
usbredirserver/usbredirserver.1 | 2 +-
usbredirserver/usbredirserver.c | 6 +++---
2 files changed, 4
25 matches
Mail list logo