Logitech Webcam 300

Hi!

Just purchased a license to run on a Raspberry Pi 2 to connect USB och vSphere guests. Seems to work awesomely so far! Great work.

I have some issues with an old Logitech Webcam 300 that runs fine on Debian 8 x64 natively, runs great with VirtualHere to a Windows 10 guest, but fails over VirtualHere on that previously mentioned Debian 8 x64 with the following dmesg:
-----
[12511.862005] vhci_hcd vhci_hcd: rhport(1) sockfd(7) devid(5) speed(3) speed_str(high-speed)
[12512.100481] usb 3-2: new high-speed USB device number 13 using vhci_hcd
[12512.328387] usb 3-2: new high-speed USB device number 14 using vhci_hcd
[12512.556335] usb 3-2: new high-speed USB device number 15 using vhci_hcd
[12512.556342] usb 3-2: SetAddress Request (15) to port 1
[12512.753138] usb 3-2: New USB device found, idVendor=046d, idProduct=0805
[12512.753141] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[12512.753142] usb 3-2: SerialNumber: 2880D560
[12512.754528] uvcvideo: Found UVC 1.00 device (046d:0805)
[12512.772969] input: UVC Camera (046d:0805) as /devices/platform/vhci_hcd/usb3/3-2/3-2:1.0/input/input8
[12512.825315] usb 3-2: Warning! Unlikely big volume range (=6144), cval->res is probably wrong.
[12512.825318] usb 3-2: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1
[12512.829095] vhci_hcd: dequeue a urb ffff88001ae90700
[12512.829098] vhci_hcd: device ffff88001f681370 seems to be still connected
[12512.829995] vhci_hcd: unlink->seqnum 11528
[12512.829996] vhci_hcd: cannot find the pending unlink 0
[12518.798498] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12519.670257] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12520.541980] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12521.413748] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12521.413944] usb 3-2: USB disconnect, device number 15
[12522.309492] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12523.181243] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12524.053010] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12524.924729] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[12524.924943] usb usb3-port2: unable to enumerate USB device
-----

Any thoughts or ideas on this?
I tried the onReset.$VENDOR_ID$.$PRODUCT_ID$= trick.
No difference.

No biggie, but thought I could ask in case someone might have an idea. :)

Cheers,
Tony

#4

I tried 3.5.1 and the output is a bit different. Unfortunately still no device shows up.

---
[ 6.752956] usb 3-2: New USB device found, idVendor=046d, idProduct=0805
[ 6.752959] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[ 6.752961] usb 3-2: SerialNumber: 2880D560
[ 6.883674] media: Linux media interface: v0.10
[ 6.903536] Linux video capture interface: v2.00
[ 6.928500] usb 3-2: Warning! Unlikely big volume range (=6144), cval->res is probably wrong.
[ 6.928504] usb 3-2: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1
[ 6.928723] uvcvideo: Found UVC 1.00 device (046d:0805)
[ 6.928849] usbcore: registered new interface driver snd-usb-audio
[ 6.950790] input: UVC Camera (046d:0805) as /devices/platform/vhci_hcd/usb3/3-2/3-2:1.0/input/input6
[ 6.952285] usbcore: registered new interface driver uvcvideo
[ 6.952287] USB Video Class driver (1.1.1)
[ 6.956268] vhci_hcd: dequeue a urb ffff88001a292700
[ 6.956271] vhci_hcd: device ffff88001c162370 seems to be still connected
[ 6.956285] vhci_hcd: unlink->seqnum 51
[ 6.956286] vhci_hcd: the urb (seqnum 51) was already given back
[ 8.818050] vhci_hcd: dequeue a urb ffff880000415580
[ 8.818054] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.818077] vhci_hcd: unlink->seqnum 73
[ 8.818079] vhci_hcd: the urb (seqnum 73) was already given back
[ 8.818091] vhci_hcd: dequeue a urb ffff880000415340
[ 8.818093] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.818179] vhci_hcd: unlink->seqnum 74
[ 8.818181] vhci_hcd: the urb (seqnum 74) was already given back
[ 8.818192] vhci_hcd: dequeue a urb ffff880000415280
[ 8.818194] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.818346] vhci_hcd: unlink->seqnum 75
[ 8.818348] vhci_hcd: the urb (seqnum 75) was already given back
[ 8.818359] vhci_hcd: dequeue a urb ffff8800004151c0
[ 8.818360] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.818638] vhci_hcd: unlink->seqnum 76
[ 8.818639] vhci_hcd: the urb (seqnum 76) was already given back
[ 8.818652] vhci_hcd: dequeue a urb ffff880000415100
[ 8.818653] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.818889] vhci_hcd: unlink->seqnum 77
[ 8.818891] vhci_hcd: the urb (seqnum 77) was already given back
[ 8.819175] vhci_hcd: dequeue a urb ffff880000415040
[ 8.819176] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.819434] vhci_hcd: unlink->seqnum 78
[ 8.819435] vhci_hcd: the urb (seqnum 78) was already given back
[ 8.819448] vhci_hcd: dequeue a urb ffff88001c251f40
[ 8.819450] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.819955] vhci_hcd: unlink->seqnum 79
[ 8.819957] vhci_hcd: the urb (seqnum 79) was already given back
[ 8.819975] vhci_hcd: dequeue a urb ffff88001c251e80
[ 8.819977] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.820298] vhci_hcd: dequeue a urb ffff88001c251a00
[ 8.820299] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.820508] vhci_hcd: unlink->seqnum 80
[ 8.820510] vhci_hcd: the urb (seqnum 80) was already given back
[ 8.820592] vhci_hcd: unlink->seqnum 81
[ 8.820593] vhci_hcd: the urb (seqnum 81) was already given back
[ 8.820682] vhci_hcd: dequeue a urb ffff88001c251940
[ 8.820684] vhci_hcd: device ffff88001c162290 seems to be still connected
[ 8.821614] vhci_hcd: unlink->seqnum 82
[ 8.821617] vhci_hcd: the urb (seqnum 82) was already given back
[ 12.985505] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 13.857230] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 14.728984] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 15.600765] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 15.600835] usb 3-2: USB disconnect, device number 5
[ 16.496498] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 17.368210] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 18.239959] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 19.111703] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 19.111757] usb usb3-port2: unable to enumerate USB device
---
STOP USING, followed by USE DEVICE again...
---
[ 1240.162516] vhci_hcd: connection closed
[ 1240.162586] vhci_hcd: stop threads
[ 1240.162589] vhci_hcd: release socket
[ 1240.162593] vhci_hcd: disconnect device
[ 1245.289369] vhci_hcd vhci_hcd: rhport(1) sockfd(7) devid(5) speed(3) speed_str(high-speed)
[ 1245.526971] usb 3-2: new high-speed USB device number 10 using vhci_hcd
[ 1245.754900] usb 3-2: new high-speed USB device number 11 using vhci_hcd
[ 1245.982833] usb 3-2: new high-speed USB device number 12 using vhci_hcd
[ 1245.982840] usb 3-2: SetAddress Request (12) to port 1
[ 1246.172975] usb 3-2: New USB device found, idVendor=046d, idProduct=0805
[ 1246.172978] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[ 1246.172979] usb 3-2: SerialNumber: 2880D560
[ 1246.174799] uvcvideo: Found UVC 1.00 device (046d:0805)
[ 1246.192767] input: UVC Camera (046d:0805) as /devices/platform/vhci_hcd/usb3/3-2/3-2:1.0/input/input7
[ 1246.242759] usb 3-2: Warning! Unlikely big volume range (=6144), cval->res is probably wrong.
[ 1246.242762] usb 3-2: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1
[ 1246.247275] vhci_hcd: dequeue a urb ffff88001b0eca00
[ 1246.247278] vhci_hcd: device ffff88001c162370 seems to be still connected
[ 1246.247298] vhci_hcd: unlink->seqnum 1265
[ 1246.247300] vhci_hcd: the urb (seqnum 1265) was already given back
[ 1252.612890] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1253.484658] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1254.356401] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1255.228140] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1255.228403] usb 3-2: USB disconnect, device number 12
[ 1256.127883] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1256.999617] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1257.871384] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1258.743129] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 1258.743184] usb usb3-port2: unable to enumerate USB device
---

I hope the info is useful for you to make improvements.
Let me know if you want me to try anything else.
I have a completely acceptable workaround for now, involving my eyes, my feet and a perfectly fine staircase. :P

#5

I found another bug and fixed it in 3.5.2. However i dont think this will fix your issue because i think the webcam is trying to synchronize itself which is not possible in linux via virtualhere. (It needs an accurate "usb frame number")

But give 3.5.2 a try anyway. It didnt work on my logitech C270 but might on your C300.

(3.5.2 linux client works with my speakers whereas 3.5.1 didnt work with my speakers. So its an improvement anyway)

In reply to by Michael

#6

I tried 3.5.2 and the result is as you predicted, no success.
We can put this one in the low priority bucket.
I was planning to convince my wife I "need" a network camera. ;)
I'll post the dmesg for reference.

Many thanks again! I appreciate the effort.

[ 128.398743] vhci_hcd vhci_hcd: rhport(1) sockfd(5) devid(5) speed(3) speed_str(high-speed)
[ 128.635272] usb 3-2: new high-speed USB device number 10 using vhci_hcd
[ 128.863162] usb 3-2: new high-speed USB device number 11 using vhci_hcd
[ 129.091124] usb 3-2: new high-speed USB device number 12 using vhci_hcd
[ 129.091131] usb 3-2: SetAddress Request (12) to port 1
[ 129.288153] usb 3-2: New USB device found, idVendor=046d, idProduct=0805
[ 129.288156] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[ 129.288157] usb 3-2: SerialNumber: 2880D560
[ 129.290534] uvcvideo: Found UVC 1.00 device (046d:0805)
[ 129.310901] input: UVC Camera (046d:0805) as /devices/platform/vhci_hcd/usb3/3-2/3-2:1.0/input/input7
[ 129.373533] usb 3-2: Warning! Unlikely big volume range (=6144), cval->res is probably wrong.
[ 129.373537] usb 3-2: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1
[ 129.378910] vhci_hcd: dequeue a urb ffff88001f7a1340
[ 129.378913] vhci_hcd: device ffff88001c2df370 seems to be still connected
[ 129.378949] vhci_hcd: unlink->seqnum 87
[ 129.378951] vhci_hcd: the urb (seqnum 87) was already given back
[ 137.964556] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 138.836308] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 139.708060] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 140.579791] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 140.579907] usb 3-2: USB disconnect, device number 12
[ 141.487524] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 142.359274] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 143.231243] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 144.102738] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 144.102786] usb usb3-port2: unable to enumerate USB device

In reply to by epideme

#7

Ok, yeah i think its the frame number sync issue which i dont think is fixable at the moment, anyway i think just stick to windows and it should be fine regarding the webcam..