After resuming from sleep, Pipewire causes Insta360 Link camera to continuously disconnect and reconnect
- PipeWire version (
pipewire --version
): 1.0.0-2 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: KDE Plasma 5.27.10, Frameworks 5.113.0
- Kernel version (
uname -r
): 6.6.7-arch1-1
Description of Problem:
I just bought a Insta360 Link webcam. I noticed that my webcam's status light begins to flash periodically after resuming from sleep. Checking the journalctl logs, I realize that its actually disconnecting and reconnecting repeatedly and spamming the following logs every single time:
Dec 23 09:00:06 kernel: usb 1-6: USB disconnect, device number 79
Dec 23 09:00:06 wireplumber[377170]: [61:43:53.540998785] [377177] WARN DeviceEnumerator device_enumerator.cpp:282 Media device for node /dev/media0 not found
Dec 23 09:00:08 kernel: usb 1-6: new high-speed USB device number 80 using xhci_hcd
Dec 23 09:00:08 kernel: usb 1-6: New USB device found, idVendor=2e1a, idProduct=4c01, bcdDevice= 2.00
Dec 23 09:00:08 kernel: usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 23 09:00:08 kernel: usb 1-6: Product: Insta360 Link
Dec 23 09:00:08 kernel: usb 1-6: Manufacturer: Amba
Dec 23 09:00:08 kernel: usb 1-6: Found UVC 1.10 device Insta360 Link (2e1a:4c01)
Dec 23 09:00:08 kernel: usb 1-6: Warning! Unlikely big volume range (=32767), cval->res is probably wrong.
Dec 23 09:00:08 kernel: usb 1-6: [9] FU [Mic Capture Volume] ch = 1, val = -32768/-1/1
Dec 23 09:00:08 mtp-probe[402931]: checking bus 1, device 80: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:09:00.1/usb1/1-6"
Dec 23 09:00:08 mtp-probe[402931]: bus: 1, device: 80 was not an MTP device
Dec 23 09:00:08 wireplumber[377170]: [61:43:55.159383222] [377177] ERROR MediaDevice media_object.cpp:370 Device node /dev/video0 can't be accessed: Permission denied
Dec 23 09:00:08 wireplumber[377170]: [61:43:55.159401962] [377177] WARN DeviceEnumerator device_enumerator_udev.cpp:88 Failed to populate media device /dev/media0 (uvcvideo), skipping
Dec 23 09:00:08 mtp-probe[402935]: checking bus 1, device 80: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:09:00.1/usb1/1-6"
Dec 23 09:00:08 mtp-probe[402935]: bus: 1, device: 80 was not an MTP device
Dec 23 09:00:08 pipewire[377168]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Dec 23 09:00:08 pipewire[377168]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Dec 23 09:00:08 wireplumber[377170]: <WpPortalPermissionStorePlugin:0x55a94f981020> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Doing a systemctl --user restart pipewire
temporarily fixes this until the next time I suspend to ram.
How Reproducible:
Every time
Steps to Reproduce:
- Connect a Insta360 Link camera to your system
- Suspend to RAM
- Resume
Actual Results:
Webcam starts to disconnect / reconnect repeatedly until Pipewire is restarted.
Expected Results:
Webcam does not disconnect / reconnect after resuming from sleep and works properly
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log