Webcam briefly available, then disconnected

I’m having trouble with using two different webcams: Logitech C270 and Azurewave Integrated Camera (Thinkpad T14s)

I’m aware of other threads on the topic and have already increased memory for sys-usb to 1024MB (which was the solution in Unable to connect my Webcam to any AppVM; connects and then fails).

The behavior is different than described in the other threads:

  1. Webcam gets connected to AppVM
  2. Webcam briefly shows up in settings (MS Teams or Jitsi)
  3. Webcam disappears again

The behavior is identical for both webcams and across different AppVMs.

Logitech C270:

[28668.934752] audit: type=1100 audit(1618852609.122:219): pid=7866 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_rootok acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28668.934979] audit: type=1103 audit(1618852609.122:220): pid=7866 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_rootok acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28668.950923] audit: type=1130 audit(1618852609.138:221): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28668.956710] audit: type=1101 audit(1618852609.144:222): pid=7868 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_unix acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28668.956746] audit: type=1103 audit(1618852609.144:223): pid=7868 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[28668.956962] audit: type=1006 audit(1618852609.144:224): pid=7868 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=12 res=1
[28668.958943] audit: type=1105 audit(1618852609.145:225): pid=7868 uid=0 auid=0 ses=12 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28669.048829] audit: type=1130 audit(1618852609.236:226): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28669.055098] audit: type=1105 audit(1618852609.241:227): pid=7866 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_umask,pam_lastlog acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28669.565896] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(0)
[28669.565916] vhci_hcd vhci_hcd.0: devid(131086) speed(3) speed_str(high-speed)
[28669.788574] usb 1-1: new high-speed USB device number 18 using vhci_hcd
[28669.915577] usb 1-1: SetAddress Request (18) to port 0
[28670.203429] usb 1-1: New USB device found, idVendor=046d, idProduct=0825, bcdDevice= 0.12
[28670.203444] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[28670.203455] usb 1-1: SerialNumber: E45E6690
[28670.209298] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
[28670.255891] input: UVC Camera (046d:0825) as /devices/platform/vhci_hcd.0/usb1/1-1/1-1:1.0/input/input13
[28670.325622] usb 1-1: set resolution quirk: cval->res = 384
[28670.385681] vhci_hcd: unlink->seqnum 40407
[28670.385692] vhci_hcd: urb->status -104
[28670.400157] vhci_hcd: unlink->seqnum 40409
[28670.400168] vhci_hcd: urb->status -104
[28670.401677] vhci_hcd: unlink->seqnum 40411
[28670.401686] vhci_hcd: urb->status -104
[28670.403089] vhci_hcd: unlink->seqnum 40413
[28670.403099] vhci_hcd: urb->status -104
[28670.419733] audit: type=1106 audit(1618852610.606:228): pid=7866 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_umask,pam_lastlog acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28670.443975] vhci_hcd: unlink->seqnum 40419
[28670.443988] vhci_hcd: urb->status -104
[28670.445089] vhci_hcd: unlink->seqnum 40421
[28670.445098] vhci_hcd: urb->status -104
[28670.448078] vhci_hcd: unlink->seqnum 40424
[28670.448089] vhci_hcd: urb->status -104
[28670.506682] vhci_get_frame_number: 2440 callbacks suppressed
[28670.506685] usb usb1: Not yet implemented
[28670.507600] usb usb1: Not yet implemented
[28670.508585] usb usb1: Not yet implemented
[28670.509592] usb usb1: Not yet implemented
[28670.510508] usb usb1: Not yet implemented
[28670.511531] usb usb1: Not yet implemented
[28670.512512] usb usb1: Not yet implemented
[28670.513589] usb usb1: Not yet implemented
[28670.514593] usb usb1: Not yet implemented
[28670.515589] usb usb1: Not yet implemented
[28671.756545] vhci_hcd: unlink->seqnum 41706
[28671.756556] vhci_hcd: urb->status -104
[28672.757286] vhci_hcd: unlink->seqnum 42709
[28672.757296] vhci_hcd: urb->status -104
[28672.761141] vhci_hcd: unlink->seqnum 42714
[28672.761150] vhci_hcd: urb->status -104
[28673.443811] vhci_hcd: connection closed
[28673.443840] vhci_hcd: stop threads
[28673.443856] vhci_hcd: release socket
[28673.443866] vhci_hcd: disconnect device
[28673.443896] usb 1-1: USB disconnect, device number 18
[28674.454573] usb 1-1: timeout: still 12 active urbs on EP #86
[28685.607277] kauditd_printk_skb: 1 callbacks suppressed
[28685.607277] audit: type=1131 audit(1618852625.793:230): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28685.615434] audit: type=1131 audit(1618852625.802:231): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Azurewave:

[28875.648893] audit: type=1100 audit(1618852815.836:252): pid=8370 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_rootok acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28875.649111] audit: type=1103 audit(1618852815.836:253): pid=8370 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_rootok acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28875.663580] audit: type=1130 audit(1618852815.850:254): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28875.667995] audit: type=1101 audit(1618852815.855:255): pid=8372 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_unix acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28875.668088] audit: type=1103 audit(1618852815.855:256): pid=8372 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[28875.668187] audit: type=1006 audit(1618852815.855:257): pid=8372 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=14 res=1
[28875.669324] audit: type=1105 audit(1618852815.856:258): pid=8372 uid=0 auid=0 ses=14 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28875.742969] audit: type=1130 audit(1618852815.929:259): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28875.746859] audit: type=1105 audit(1618852815.934:260): pid=8370 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_umask,pam_lastlog acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28876.287067] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(0)
[28876.287096] vhci_hcd vhci_hcd.0: devid(131076) speed(3) speed_str(high-speed)
[28876.508579] usb 1-1: new high-speed USB device number 20 using vhci_hcd
[28876.622635] usb 1-1: SetAddress Request (20) to port 0
[28876.639124] usb 1-1: New USB device found, idVendor=13d3, idProduct=5405, bcdDevice=60.01
[28876.639141] usb 1-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[28876.639154] usb 1-1: Product: Integrated Camera
[28876.639162] usb 1-1: Manufacturer: Azurewave
[28876.639171] usb 1-1: SerialNumber: 0000
[28876.644955] uvcvideo: Found UVC 1.10 device Integrated Camera (13d3:5405)
[28876.651948] input: Integrated Camera: Integrated C as /devices/platform/vhci_hcd.0/usb1/1-1/1-1:1.0/input/input15
[28876.654383] uvcvideo: Found UVC 1.50 device Integrated Camera (13d3:5405)
[28876.657353] input: Integrated Camera: Integrated I as /devices/platform/vhci_hcd.0/usb1/1-1/1-1:1.2/input/input16
[28876.736466] vhci_hcd: unlink->seqnum 46513
[28876.736478] vhci_hcd: urb->status -104
[28876.738562] vhci_hcd: unlink->seqnum 46514
[28876.738572] vhci_hcd: urb->status -104
[28876.749185] vhci_hcd: unlink->seqnum 46516
[28876.749196] vhci_hcd: urb->status -104
[28876.750012] vhci_hcd: unlink->seqnum 46518
[28876.750021] vhci_hcd: urb->status -104
[28876.750790] vhci_hcd: unlink->seqnum 46520
[28876.750799] vhci_hcd: urb->status -104
[28876.758792] vhci_hcd: unlink->seqnum 46522
[28876.758804] vhci_hcd: urb->status -104
[28876.760312] vhci_hcd: unlink->seqnum 46524
[28876.760321] vhci_hcd: urb->status -104
[28876.760836] vhci_hcd: unlink->seqnum 46526
[28876.760844] vhci_hcd: urb->status -104
[28876.772959] audit: type=1106 audit(1618852816.959:261): pid=8370 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_umask,pam_lastlog acct="root" exe="/usr/lib/qubes/qrexec-agent" hostname=? addr=? terminal=? res=success'
[28876.787873] vhci_hcd: unlink->seqnum 46528
[28876.787884] vhci_hcd: urb->status -104
[28876.788593] vhci_hcd: unlink->seqnum 46530
[28876.788603] vhci_hcd: urb->status -104
[28876.789411] vhci_hcd: unlink->seqnum 46532
[28876.789420] vhci_hcd: urb->status -104
[28876.790845] vhci_hcd: unlink->seqnum 46534
[28876.790856] vhci_hcd: urb->status -104
[28876.791350] vhci_hcd: unlink->seqnum 46536
[28876.791361] vhci_hcd: urb->status -104
[28877.652423] vhci_hcd: unlink->seqnum 46538
[28877.652435] vhci_hcd: urb->status -104
[28878.653561] vhci_hcd: unlink->seqnum 46540
[28878.653573] vhci_hcd: urb->status -104
[28879.654221] vhci_hcd: unlink->seqnum 46542
[28879.654232] vhci_hcd: urb->status -104
[28879.657588] vhci_hcd: unlink->seqnum 46544
[28879.657603] vhci_hcd: urb->status -104
[28879.658060] vhci_hcd: unlink->seqnum 46546
[28879.658068] vhci_hcd: urb->status -104
[28880.267454] vhci_hcd: connection closed
[28880.267561] vhci_hcd: stop threads
[28880.267578] vhci_hcd: release socket
[28880.267586] vhci_hcd: disconnect device
[28880.267617] usb 1-1: USB disconnect, device number 20
[28890.855871] kauditd_printk_skb: 1 callbacks suppressed
[28890.855872] audit: type=1131 audit(1618852831.042:263): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[28890.864650] audit: type=1131 audit(1618852831.052:264): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

The symptoms could be different but try increasing the RAM of the sys-usb to 1024 (that’s what solved most of the other issues).

1 Like

That’s what I already did (without success).

I missed that. Apologies.

I just recognized that the problem described by pietrushnic in another thread appears to be the same like mine: I cannot use my (good) Logitech 922 USB Webcam

What’s the “forum policy”? Better close this thread as duplicate or simply add the link (above)?

After trying to turn it off and on again, both webcams work.

1 Like

I switched mine to 400 MB and it worked. Looking at the memory consumption it required 320 MB so the default 300 MB was not enough. I propose a change of the default value from 300 to 400 MB to help others avoiding the struggle with this.