Problem with webcam

7 posts / 0 new
Last post
tralek
Problem with webcam

I installed yesterday VirtualHere on my Synology NAS DS112+ (without any problems). Than I downloaded and installed VirtualHere USB client for x64 version for my Windows 8. I connected to NAS Creative WebCam Live! and USB pendrive. USB pendrive was working fine and I could use it without any problems. The problem was with the webcam, when I choose "Use" VirtualHere USB client it connects webcam and after around one second disconnect it. When I choose to connect automatically it does exactly the same but in a loop (connects, disconnects), like someone plug in and plug out device from USB port of the laptop.

Camera works properly connected directly to laptop with Windows 8 x64. I am using following driver for webcam:
http://support.creative.com/downloads/download.aspx?nDownloadId=924 (Creative WebCam Live! x64 driver 2.00.06.0000)

I was rebooting both NAS and laptop few times, installing and uninstalling webcam drivers and VirtualHere USB client, rung VirtualHere USB client with administrative rights still no luck.

PS: I checked this webcam with other laptop with Windows 7 x64 and it workproperly when connected directly , but through VirtualHere USB client for x64 same problem as mentioned above.

What could be the reason of this problem? I can provide you adress to my NAS, so you can verify problem directly.

Michael
Hi Tralek,

Hi Tralek,

Could do try the following:

1. Download http://www.bustatech.com/webcamviewer-a-simple-viewer-for-webcam/ (the download is towards the middle of the page)
2. Unzip the file and run WebCamViewer_V1.0.exe
3. In VirtualHere Click Use to start the device sharing
4. You will see the device appear in the dropdown in WebcamViewer, set the resolution to 320x240 or 160x120 and see if it works.

Michael

tralek
I will try today in the

I will try today in the evening, but I don think that will help. After I click "Use" to start device sharing, it appears only for a second or less in Windows Device Manager and disappear. Same happen in VirtualHere client, after I click "Use" device disappear from the list and than appear again. So I will not have even enough time to switch to WebCam Viewer application.

When I used pendrive and I click "Use" I saw text right next to pednrive in VirtualHere device is in use and I could watch HDTV movie from pendrive without any problems (pendrive is USB 2.0). When I click "Use" on webcam I do not even see that text that it is in use. Device disappears almost immediately from list and appear again.

Michael
Actually yes sorry, because

Actually yes sorry, because it disappears so quickly running the viewer will likely not work. I tested with my webcam Logitech C250 and didnt have any issues but perhaps your model is not compatible.

Could you do the following:
1. ssh to your NAS
2. email me the /var/log/messages file. That will contain error messages when trying to share the webcam.

Thanks,

Michael

tralek
Thanks for your help.

Thanks for your help. Messages from /var/log/message below.

1. Plug-in of webcamera to USB port of NAS:

Aug 21 16:57:09 kernel: [71337.860000] Got empty serial number. Generate serial number from product.
Aug 21 16:57:11 hotplugd: ##### ACTION:add
Aug 21 16:57:11 hotplugd: DEVICE:/proc/bus/usb/002/088
Aug 21 16:57:11 hotplugd: DEVPATH:2-3
Aug 21 16:57:11 hotplugd: SUBSYSTEM:usb

2. Switch on VirtualHere on laptop with "Auto-connect" option on webcam enabled:
Aug 21 16:59:54 kernel: [71503.060000] usb 2-3: lock for hub EH
Aug 21 16:59:55 kernel: [71504.180000] usb 2-3: unlock for hub EH
Aug 21 16:59:55 vhusbd: Failed to reap URB, No such device
Aug 21 16:59:57 hotplugd: ##### ACTION:remove
Aug 21 16:59:57 hotplugd: DEVICE:/proc/bus/usb/002/088
Aug 21 16:59:57 hotplugd: DEVPATH:2-3
Aug 21 16:59:57 hotplugd: SUBSYSTEM:usb
Aug 21 16:59:57 kernel: [71506.340000] Got empty serial number. Generate serial number from product.
Aug 21 16:59:57 kernel: [71506.350000] usb 2-3: lock for hub EH
Aug 21 16:59:58 kernel: [71507.470000] usb 2-3: unlock for hub EH
Aug 21 16:59:59 vhusbd: Failed to reap URB, No such device
Aug 21 17:00:00 hotplugd: ##### ACTION:add
Aug 21 17:00:00 hotplugd: DEVICE:/proc/bus/usb/002/089
Aug 21 17:00:00 hotplugd: DEVPATH:2-3
Aug 21 17:00:00 hotplugd: SUBSYSTEM:usb
Aug 21 17:00:01 kernel: [71509.630000] Got empty serial number. Generate serial number from product.
Aug 21 17:00:01 hotplugd: usb_get_device_id.c:49 Get usb info failed, DEVICE=/proc/bus/usb/002/089
Aug 21 17:00:01 hotplugd: hotplugd.c:785 Get usb id failed, DEVICE=/proc/bus/usb/002/089, error=Interrupted system call
Aug 21 17:00:01 hotplugd: hotplugd.c:1409 failed to setup usb config, (DEVPATH, DEVICE, ACTION, DEVNAME, INTERFACE)=(2-3, /proc/bus/usb/002/089, add, , )
Aug 21 17:00:01 hotplugd: ##### ACTION:remove
Aug 21 17:00:01 hotplugd: DEVICE:/proc/bus/usb/002/089
Aug 21 17:00:01 hotplugd: DEVPATH:2-3
Aug 21 17:00:01 hotplugd: SUBSYSTEM:usb
Aug 21 17:00:01 kernel: [71509.640000] usb 2-3: lock for hub EH
Aug 21 17:00:02 kernel: [71510.780000] usb 2-3: unlock for hub EH
Aug 21 17:00:02 vhusbd: Failed to reap URB, No such device
Aug 21 17:00:02 vhusbd: Cancelling urb ioctl failed, No such device (19)
Aug 21 17:00:03 hotplugd: ##### ACTION:add
Aug 21 17:00:03 hotplugd: DEVICE:/proc/bus/usb/002/090
Aug 21 17:00:03 hotplugd: DEVPATH:2-3
Aug 21 17:00:03 hotplugd: SUBSYSTEM:usb
Aug 21 17:00:04 kernel: [71512.940000] Got empty serial number. Generate serial number from product.
Aug 21 17:00:04 vhusbd: Unbinding /devices/pci0000:01/0000:01:01.0/usb2/2-3, 1 outstanding in-flight URBs!
Aug 21 17:00:04 hotplugd: usb_get_device_id.c:49 Get usb info failed, DEVICE=/proc/bus/usb/002/090
Aug 21 17:00:04 hotplugd: hotplugd.c:785 Get usb id failed, DEVICE=/proc/bus/usb/002/090, error=Interrupted system call
Aug 21 17:00:04 hotplugd: hotplugd.c:1409 failed to setup usb config, (DEVPATH, DEVICE, ACTION, DEVNAME, INTERFACE)=(2-3, /proc/bus/usb/002/090, add, , )
Aug 21 17:00:04 hotplugd: ##### ACTION:remove
Aug 21 17:00:04 hotplugd: DEVICE:/proc/bus/usb/002/090
Aug 21 17:00:04 hotplugd: DEVPATH:2-3
Aug 21 17:00:04 hotplugd: SUBSYSTEM:usb
Aug 21 17:00:04 kernel: [71512.950000] usb 2-3: lock for hub EH
Aug 21 17:00:05 kernel: [71514.090000] usb 2-3: unlock for hub EH
Aug 21 17:00:06 vhusbd: Failed to reap URB, No such device

etc.

Michael
That strange, when

That strange, when virtualhere asks the kernel for the webcam the kernel disconnects the webcam instead of passing it to virtualhere. I think this webcam is not compatible at the moment with virtualhere on the DS112+.

Michael
I found the issue and fixed

I found the issue and fixed it. (On synology nas's sometimes when a device is reset the synology nas will mistakenly disconnect it)

Please download version 1.6.3 of the server and version 1.7.9 of the client.

In the client right click on the Synology Hub -> Webcam -> Custom Event Handler

Paste the following line in there:

onReset.$VENDOR_ID$.$PRODUCT_ID$=

then click OK.

Now try to use your webcam. The DS112 is not very powerful so you need to have the webcam on the lower resolution possible i.e 160x120 or similar.

Log in or register to post comments