Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USBIP Webcam disconnect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ScootNBagNz
n00b
n00b


Joined: 13 Oct 2019
Posts: 17
Location: Iowa

PostPosted: Mon Jun 01, 2020 1:32 am    Post subject: USBIP Webcam disconnect Reply with quote

Hello,

So i have successfully connected my usb device over my network, but it disconnects the moment an application (zoom or web browser) "scans the usb bus list" or something, if that makes sense. i don't really know what is happening. Any help is appreciated!

Context:
XDCMP from my laptop to server, laptop has usbip server with webcam, xdmcp host is usbip client. I don't have a different usb device to try.... My usb mic isn't an option for i have a networked pulse audio sink and I am not sure how that will fit with usbip 8O

usbip list -l #laptop
Code:
 - busid 3-3 (046d:081b)
   Logitech, Inc. : Webcam C310 (046d:081b)

usbip bind --busid=3-3 #laptop
Code:
usbip: info: bind device on busid 3-3: complete


usbip attach -r IP -b 3-3 #xmdcp host
usbip port
Code:
Imported USB devices
====================
Port 00: <Port in Use> at High Speed(480Mbps)
       Logitech, Inc. : Webcam C310 (046d:081b)
       7-1 -> usbip://IP:3240/3-3
           -> remote bus/dev 003/009
42 /home/yams #

lsusb
Code:
Bus 007 Device 042: ID 046d:081b Logitech, Inc. Webcam C310


Working, yes?

K but i launch zoom...
vglrun ./ZoomLauncher

And...

usbip port
Code:
usbip: error: open vhci_driver
usbip: error: list imported devices



tail -f /var/log/messages #xdmcp host
Code:
May 31 20:26:37 42 kernel: [ 5854.616202] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3)
May 31 20:26:37 42 kernel: [ 5854.616207] vhci_hcd vhci_hcd.0: devid(196617) speed(3) speed_str(high-speed)
May 31 20:26:37 42 kernel: [ 5854.846804] usb 7-1: new high-speed USB device number 52 using vhci_hcd
May 31 20:26:37 42 kernel: [ 5854.976797] usb 7-1: SetAddress Request (52) to port 0
May 31 20:26:37 42 kernel: [ 5855.212120] usb 7-1: New USB device found, idVendor=046d, idProduct=081b, bcdDevice= 0.10
May 31 20:26:37 42 kernel: [ 5855.212125] usb 7-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
May 31 20:26:37 42 kernel: [ 5855.212128] usb 7-1: SerialNumber: 44EA87A0
May 31 20:26:37 42 kernel: [ 5855.213927] uvcvideo: Found UVC 1.00 device <unnamed> (046d:081b)
May 31 20:26:37 42 kernel: [ 5855.256847] uvcvideo 7-1:1.0: Entity type for entity Extension 4 was not initialized!
May 31 20:26:37 42 kernel: [ 5855.256851] uvcvideo 7-1:1.0: Entity type for entity Extension 6 was not initialized!
May 31 20:26:37 42 kernel: [ 5855.256854] uvcvideo 7-1:1.0: Entity type for entity Extension 7 was not initialized!
May 31 20:26:37 42 kernel: [ 5855.256856] uvcvideo 7-1:1.0: Entity type for entity Processing 2 was not initialized!
May 31 20:26:37 42 kernel: [ 5855.256858] uvcvideo 7-1:1.0: Entity type for entity Extension 3 was not initialized!
May 31 20:26:37 42 kernel: [ 5855.256861] uvcvideo 7-1:1.0: Entity type for entity Camera 1 was not initialized!
May 31 20:26:37 42 kernel: [ 5855.257133] input: UVC Camera (046d:081b) as /devices/platform/vhci_hcd.0/usb7/7-1/7-1:1.0/input/input27
May 31 20:26:38 42 kernel: [ 5856.429812] usb 7-1: set resolution quirk: cval->res = 384
May 31 20:26:38 42 kernel: [ 5856.435693] vhci_hcd: unlink->seqnum 501
May 31 20:26:38 42 kernel: [ 5856.435697] vhci_hcd: urb->status -104
May 31 20:26:38 42 kernel: [ 5856.454975] vhci_hcd: unlink->seqnum 503
May 31 20:26:38 42 kernel: [ 5856.454975] vhci_hcd: urb->status -104
May 31 20:26:38 42 kernel: [ 5856.455481] vhci_hcd: unlink->seqnum 505
May 31 20:26:38 42 kernel: [ 5856.455482] vhci_hcd: urb->status -104
May 31 20:26:38 42 kernel: [ 5856.456388] vhci_hcd: unlink->seqnum 507
May 31 20:26:38 42 kernel: [ 5856.456388] vhci_hcd: urb->status -104
May 31 20:26:45 42 kernel: [ 5862.767303] usb 7-1: USB disconnect, device number 52
May 31 20:26:47 42 kernel: [ 5864.593728] usb usb7-port1: attempt power cycle


tail -f /var/log/messages #laptop
Code:
Jun  1 01:26:05 localhost kernel: [529895.249864] usb 3-3: set resolution quirk: cval->res = 384
Jun  1 01:26:21 localhost kernel: [529911.387640] usbip-host 3-3: usbip-host: register new device (bus 3 dev 9)
Jun  1 01:26:26 localhost usbipd: usbipd: info: connection from IP:39448
Jun  1 01:26:26 localhost usbipd: usbipd: info: received request: 0x8003(6)
Jun  1 01:26:26 localhost usbipd: usbipd: info: found requested device: 3-3
Jun  1 01:26:26 localhost kernel: [529916.697177] usbip-host 3-3: stub up
Jun  1 01:26:26 localhost usbipd: usbip: info: connect: 3-3
Jun  1 01:26:26 localhost usbipd: usbipd: info: request 0x8003(6): complete
Jun  1 01:26:27 localhost kernel: [529917.322180] usbip-host 3-3: usb_set_interface done: inf 1 alt 0
Jun  1 01:26:27 localhost kernel: [529917.339945] usbip-host 3-3: usb_set_interface done: inf 3 alt 1
Jun  1 01:26:28 localhost kernel: [529918.475731] usbip-host 3-3: usb_set_interface done: inf 3 alt 2
Jun  1 01:26:28 localhost kernel: [529918.481577] usbip-host 3-3: usb_set_interface done: inf 3 alt 3
Jun  1 01:26:28 localhost kernel: [529918.487455] usbip-host 3-3: usb_set_interface done: inf 3 alt 4
Jun  1 01:26:28 localhost kernel: [529918.493162] usbip-host 3-3: usb_set_interface done: inf 3 alt 0
Jun  1 01:26:28 localhost kernel: [529918.517342] usbip-host 3-3: unlinked by a call to usb_unlink_urb()
Jun  1 01:26:28 localhost kernel: [529918.536615] usbip-host 3-3: unlinked by a call to usb_unlink_urb()
Jun  1 01:26:28 localhost kernel: [529918.537163] usbip-host 3-3: unlinked by a call to usb_unlink_urb()
Jun  1 01:26:28 localhost kernel: [529918.538072] usbip-host 3-3: unlinked by a call to usb_unlink_urb()
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 01, 2020 2:43 am    Post subject: Reply with quote

Will this camera work locally? Is there something else connected to this USB hub?
Code:
lsusb -tv

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ScootNBagNz
n00b
n00b


Joined: 13 Oct 2019
Posts: 17
Location: Iowa

PostPosted: Mon Jun 01, 2020 2:52 am    Post subject: Reply with quote

Yeah it had been working locally. It is a webcam/mic combo. Part of the problem?

lsusb -tv
Code:

/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 3: Dev 9, If 0, Class=Video, Driver=, 480M
    |__ Port 3: Dev 9, If 3, Class=Audio, Driver=, 480M
    |__ Port 3: Dev 9, If 1, Class=Video, Driver=, 480M
    |__ Port 3: Dev 9, If 2, Class=Audio, Driver=, 480M


Oops I misread and truncated output. Bus 3 with port 1 and port 2 have HID for my keyboard and mouse. These 3 ports are the interfaces exposed on the laptop.
Back to top
View user's profile Send private message
ScootNBagNz
n00b
n00b


Joined: 13 Oct 2019
Posts: 17
Location: Iowa

PostPosted: Mon Jun 01, 2020 11:30 pm    Post subject: Reply with quote

I am able to mount a drive over usbip, but not my webcam, incase there is curiosity. Will continue to tinker.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum