Client disconnects

Hi,

I installed VirtualHere on Windows and love it. Thank you for making it.

I can share my Samsung USB Scanner via VirtualHere server and have clients scan with it. A while after a client connects, it disconnects. This is undesirable for me. I assume this is the "2016-11-23 15:00:06 INFO :Connection 1 successfully removed (reason:timeout)" line in the server log. I want the client to stay connected permanently.

We seem to have a lot of errors in our server log, not just this one. Can you please inspect the below log and suggest what I might do to resolve the errors?

Thank you.

2016-11-23 11:52:15 INFO :>>> Starting VirtualHere USB Server v3.1.9 (Built: Nov 22 2016, 14:27:29)<<<
2016-11-23 11:52:15 INFO :Using configuration config.ini
2016-11-23 11:52:15 INFO :Server licensed to=unlicensed max_devices=1
2016-11-23 11:52:16 INFO :TCPServer starting...
2016-11-23 11:52:16 INFO :Listening on all network interfaces at port 7575 (IPv6 dual-stack)
2016-11-23 11:52:16 INFO :Registration called
2016-11-23 11:52:18 WARNING :Loading string descriptor for device on port 2 failed, A device attached to the system is not functioning. (0x0000001f)
2016-11-23 11:52:18 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:18 INFO :Found High speed device [04e8:3440] "Samsung Electronics Co., Ltd., SCX-4623FW Series" at address 1
2016-11-23 11:52:18 INFO :Found Low speed device [0b38:0010] "0x0b38, 0x0010" at address 2
2016-11-23 11:52:18 INFO :Found Low speed device [093a:2510] "PixArtg, USB Optical Mouse" at address 3
2016-11-23 11:52:18 INFO :Found High speed device [1bcf:2c17] "SunplusIT INC.F, HD WebCam" at address 4

<--------->
logs cleared
<--------->

2016-11-23 11:52:20 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:21 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:21 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:34 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:34 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:34 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:35 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:36 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:54 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:54 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:54 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:55 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:55 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:55 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:52:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:53:24 INFO :fe80::d9e4:7802:a087:60f4 connected
2016-11-23 11:53:52 INFO :Installing driver for class USB {36FC9E60-C465-11CF-8056-444553540000}
2016-11-23 11:54:03 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:54:07 INFO :OK driver installed try again...
2016-11-23 11:54:15 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:54:15 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:54:15 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 11:54:15 INFO :Device 1 [04e8:3440] BOUND to connection 1
2016-11-23 12:42:36 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:05 INFO :Device 1 [04e8:3440] UNBOUND from connection 1
2016-11-23 15:00:05 ERROR :Calling CM_Get_DevNode_PropertyW (Address) failed for USB\VID_04E8&PID_3440\Z4YLB8KC4F007NF, error 26
2016-11-23 15:00:05 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:06 INFO :Unmanaging device 1 [04e8:3440]
2016-11-23 15:00:06 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:06 INFO :Found High speed device [04e8:3440] "Samsung Electronics Co., Ltd., SCX-4623FW Series" at address 1
2016-11-23 15:00:06 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:06 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:06 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:06 INFO :Connection 1 successfully removed (reason:timeout)
2016-11-23 15:00:06 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:06 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:06 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:00:14 INFO :fe80::d9e4:7802:a087:60f4 connected
2016-11-23 15:31:38 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:31:38 INFO :Unmanaging device 1 [04e8:3440]
2016-11-23 15:32:10 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:32:11 INFO :Found High speed device [04e8:3440] "Samsung Electronics Co., Ltd.n, SCX-4623FW Series" at address 1
2016-11-23 15:32:11 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:32:11 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:32:16 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:32:16 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 15:50:37 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 16:44:08 INFO :Connection 3 successfully removed (reason:timeout)
2016-11-23 16:44:33 INFO :fe80::d9e4:7802:a087:60f4 connected
2016-11-23 18:39:54 ERROR :Calling CM_Get_DevNode_PropertyW (Address) failed for USB\VID_04E8&PID_3440\Z4YLB8KC4F007NF, error 26
2016-11-23 18:39:54 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:54 INFO :Device 1 [04e8:3440] BOUND to connection 4
2016-11-23 18:39:56 INFO :Device 1 [04e8:3440] SURPRISE UNBOUND from connection 4
2016-11-23 18:39:56 INFO :Unmanaging device 1 [04e8:3440]
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:56 INFO :Found High speed device [04e8:3440] "Samsung Electronics Co., Ltd., SCX-4623FW Series" at address 1
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:56 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:58 ERROR :Calling CM_Get_DevNode_PropertyW (Address) failed for USB\VID_04E8&PID_3440\Z4YLB8KC4F007NF, error 26
2016-11-23 18:39:58 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:58 INFO :Unmanaging device 1 [04e8:3440]
2016-11-23 18:39:58 INFO :Device 1 [04e8:3440] BOUND to connection 4
2016-11-23 18:39:58 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:58 INFO :Found High speed device [04e8:3440] "Samsung Electronics Co., Ltd., SCX-4623FW Series" at address 1
2016-11-23 18:39:58 ERROR :Error A device attached to the system is not functioning. (0x0000001f) getting basic config 1 descriptor from hub node (maybe device is stuck, try replugging device on port 5)
2016-11-23 18:39:58 ERROR :Error getting queued completion from port for IUSB3\ROOT_HUB30\4&D690273&0,USB\VID_04E8&PID_3440\Z4YLB8KC4F007NF,1, The handle is invalid. (0x00000006)

#2

The client is disconnecting because your network connection is dropping. You need to have a solid network connection. When the network connection drops, its the same as if the usb plug was plugged from the device.

I think you can ignore that repeating error, it might be an internal USB device inside your pc that is not responding to standard USB requests. I tried to find that vendor id 0b38 here http://www.linux-usb.org/usb.ids but there is nothing listed so im not sure what that device is.