Hi,
First of all, thanks a lot for the work you are doing. You are solving a lot of people's pain points!
I'd like to ask you for a support to get my setup up and running. It is pretty basic one, but I got some troubles.
I have a virtualhere server running on Raspberry Pi 3 (all configs are default)
sudo ./vhusbdarm -h
vhusbdarm v4.0.8
VirtualHere USB Server for Raspberry Pi
Share USB Devices over the network
I attached Logitech C270 WebCam to it and it is detected properly.
I have virtualhere client set up on Debian 10
uname -a
Linux homedebian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
sudo ./vhclientx86_64 -h
VirtualHere Client 4.9.6, Use USB devices over a network
From the client I can see required device
Raspberry Hub (osmc:7575)
--> USB Receiver (osmc.114)
--> 0x0825 (osmc.113)
(osmc:7575)
As well as attach it
sudo ./vhclientx86_64 -t "USE,osmc.113"
OK
But there is no new video device added, and I can see a lot of USB related warnings/errors.
See the full log below. Important note - GUI Client on Windows works well, I can attach WebCam and receive data from it.
Am I doing something wrong?
Jan 04 10:34:09 homedebian vhclientx86_64[15754]: VirtualHere Client: VirtualHere Client 4.9.6 starting (Compiled: Jan 3 2020 15:23:54)
Jan 04 10:34:09 homedebian vhclientx86_64[15754]: VirtualHere Client: Client OS is Linux 4.19.0-6-amd64 x86_64
Jan 04 10:34:09 homedebian vhclientx86_64[15754]: VirtualHere Client: Using config at /root/.vhui
Jan 04 10:34:09 homedebian vhclientx86_64[15754]: VirtualHere Client: IPC available at /tmp/vhclient
Jan 04 10:34:09 homedebian vhclientx86_64[15754]: VirtualHere Client: Auto-find using Bonjour - on
Jan 04 10:34:09 homedebian vhclientx86_64[15754]: VirtualHere Client: Auto-find using Bonjour SSL - on
Jan 04 10:34:09 homedebian vhclientx86_64[15754]: VirtualHere Client: VirtualHere USB Server Trial Edition (192.168.0.219:7575)
Jan 04 10:34:10 homedebian vhclientx86_64[15754]: VirtualHere Client: VirtualHere USB Server Trial Edition (osmc:7575)
Jan 04 10:34:37 homedebian sudo[15796]: andrey : TTY=pts/1 ; PWD=/home/andrey ; USER=root ; COMMAND=./vhclientx86_64 -t USE,osmc.113
Jan 04 10:34:37 homedebian sudo[15796]: pam_unix(sudo:session): session opened for user root by andrey(uid=0)
Jan 04 10:34:37 homedebian sudo[15796]: pam_unix(sudo:session): session closed for user root
Jan 04 10:34:37 homedebian kernel: vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(9)
Jan 04 10:34:37 homedebian kernel: vhci_hcd vhci_hcd.0: devid(4) speed(3) speed_str(high-speed)
Jan 04 10:34:37 homedebian kernel: usb 5-1: new high-speed USB device number 12 using vhci_hcd
Jan 04 10:34:38 homedebian kernel: usb 5-1: SetAddress Request (12) to port 0
Jan 04 10:34:38 homedebian kernel: usb 5-1: New USB device found, idVendor=046d, idProduct=0825, bcdDevice= 0.10
Jan 04 10:34:38 homedebian kernel: usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
Jan 04 10:34:38 homedebian kernel: usb 5-1: SerialNumber: E0E5D0D0
Jan 04 10:34:38 homedebian kernel: uvcvideo: Found UVC 1.00 device (046d:0825)
Jan 04 10:34:38 homedebian kernel: uvcvideo 5-1:1.0: Entity type for entity Extension 4 was not initialized!
Jan 04 10:34:38 homedebian kernel: uvcvideo 5-1:1.0: Entity type for entity Extension 6 was not initialized!
Jan 04 10:34:38 homedebian kernel: uvcvideo 5-1:1.0: Entity type for entity Extension 7 was not initialized!
Jan 04 10:34:38 homedebian kernel: uvcvideo 5-1:1.0: Entity type for entity Processing 2 was not initialized!
Jan 04 10:34:38 homedebian kernel: uvcvideo 5-1:1.0: Entity type for entity Extension 3 was not initialized!
Jan 04 10:34:38 homedebian kernel: uvcvideo 5-1:1.0: Entity type for entity Camera 1 was not initialized!
Jan 04 10:34:38 homedebian kernel: input: UVC Camera (046d:0825) as /devices/platform/vhci_hcd.0/usb5/5-1/5-1:1.0/input/input36
Jan 04 10:34:38 homedebian kernel: usb 5-1: set resolution quirk: cval->res = 384
Jan 04 10:34:38 homedebian mtp-probe[15805]: checking bus 5, device 12: "/sys/devices/platform/vhci_hcd.0/usb5/5-1"
Jan 04 10:34:38 homedebian mtp-probe[15805]: bus: 5, device: 12 was not an MTP device
Jan 04 10:34:38 homedebian kernel: vhci_hcd: unlink->seqnum 10196
Jan 04 10:34:38 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:38 homedebian systemd-udevd[15820]: Process '/usr/sbin/alsactl -E HOME=/run/alsa restore 2' failed with exit code 99.
Jan 04 10:34:38 homedebian mtp-probe[15827]: checking bus 5, device 12: "/sys/devices/platform/vhci_hcd.0/usb5/5-1"
Jan 04 10:34:38 homedebian mtp-probe[15827]: bus: 5, device: 12 was not an MTP device
Jan 04 10:34:38 homedebian rtkit-daemon[726]: Supervising 2 threads of 1 processes of 1 users.
Jan 04 10:34:38 homedebian rtkit-daemon[726]: Successfully made thread 15828 of process 1600 (n/a) owned by '1000' RT at priority 5.
Jan 04 10:34:38 homedebian rtkit-daemon[726]: Supervising 3 threads of 1 processes of 1 users.
Jan 04 10:34:38 homedebian kernel: vhci_get_frame_number: 4986 callbacks suppressed
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:38 homedebian kernel: usb usb5: Not yet implemented
Jan 04 10:34:42 homedebian kernel: vhci_hcd: unlink->seqnum 14015
Jan 04 10:34:42 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15213
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15214
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15215
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15216
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15217
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15218
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15219
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15220
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15221
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15222
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15223
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:43 homedebian kernel: vhci_hcd: unlink->seqnum 15224
Jan 04 10:34:43 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 10:34:47 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:48 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:49 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:50 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:50 homedebian kernel: usb 5-1: USB disconnect, device number 12
Jan 04 10:34:51 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:52 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:52 homedebian kernel: usb usb5-port1: attempt power cycle
Jan 04 10:34:53 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:54 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 10:34:54 homedebian kernel: usb usb5-port1: unable to enumerate USB device
Oh. is it duplicated post
Oh. is it duplicated post with this one?
https://www.virtualhere.com/node/973
Made a change on a Server
Made a change on a Server side to increase USB Buffer
echo 128 > /sys/module/usbcore/parameters/usbfs_memory_mb
Client started to recognize device (both Mic and Camera are detected), but once I try to read from it (with cheese for example) I got device disconnected immediately. Logs below
vhci_get_frame_number: 4989 callbacks suppressed
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:10 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: vhci_get_frame_number: 4992 callbacks suppressed
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:15 homedebian kernel: usb usb5: Not yet implemented
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108290
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108291
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108292
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108293
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108294
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108295
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108294
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108296
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108294
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108297
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108294
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108298
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108294
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108299
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108294
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108300
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108294
Jan 04 21:54:18 homedebian kernel: vhci_hcd: unlink->seqnum 108301
Jan 04 21:54:18 homedebian kernel: vhci_hcd: urb->status -104
Jan 04 21:54:30 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:31 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:32 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:33 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:33 homedebian kernel: usb 5-1: USB disconnect, device number 44
Jan 04 21:54:34 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:35 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:35 homedebian kernel: usb usb5-port1: attempt power cycle
Jan 04 21:54:36 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:37 homedebian kernel: usb usb5-port1: Cannot enable. Maybe the USB cable is bad?
Jan 04 21:54:37 homedebian kernel: usb usb5-port1: unable to enumerate USB device
.
OK it looks like debian is not fully supporting that mode of device.
Not really. Attached directly
Not really. Attached directly to the debian host camera works like a charm..
.
This is the issue "homedebian kernel: usb usb5: Not yet implemented"
It is related to the usbip module in debian which works differently to when you plug the camera directly in.