Webcam and microphone disappear after sleep when NoiseTorch is loaded
Describe the bug The microphone I am using NoiseTorch is part of my external webcam. If I have NoiseTorch loaded and the computer goes to sleep, either automatically or I manually put it to sleep, when I "wake-up" the computer and work again, my microphone and webcam disappear from the system. Restarting the computer does not cause the system to recognize the webcam again. The only remedy is to unplug the usb cable of the webcam and plug it back in. This works every time.
If NoiseTorch is not loaded, the computer does not lose the webcam and microphone after going to sleep.
To Reproduce Steps to reproduce the behavior:
- Use an external webcam with microphone
- Load NoiseTorch
- Allow computer to go to sleep, for at least 3 minutes.
- Wake-up computer and try to use the microphone or webcam
Expected behavior I expect that the computer would still be able to access the webcam and microphone after going to sleep, even if NoiseTorch is loaded.
Screenshots Audio control, before sleep:
Audio control, after sleep:
NoiseTorch window, after sleep:
Logs N/A
Desktop (please complete the following information): System: Kernel: 5.15.0-119-generic x86_64 bits: 64 compiler: N/A Desktop: KDE Plasma 5.25.5 tk: Qt 5.15.6 wm: kwin_x11 dm: LightDM Distro: Feren OS 20.04 2023.04 Machine: Type: Desktop System: Dell product: OptiPlex 9010 v: 01 serial: Chassis: type: 6 serial: Mobo: Dell model: 00F82W v: A00 serial: BIOS: Dell v: A13 date: 03/27/2013 CPU: Topology: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 L2 cache: 8192 KiB flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54273 Speed: 3761 MHz min/max: 1600/3900 MHz Core speeds (MHz): 1: 3811 2: 3825 3: 3794 4: 3782 5: 3811 6: 3867 7: 3754 8: 3854 Graphics: Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0162 Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa compositor: kwin_x11 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 21.2.6 compat-v: 3.0 direct render: Yes Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 Device-2: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo bus ID: 3-4:7 chip ID: 046d:08e5 Sound Server: ALSA v: k5.15.0-119-generic Network: Device-1: Intel 82579LM Gigabit Network vendor: Dell driver: e1000e v: kernel port: f080 bus ID: 00:19.0 chip ID: 8086:1502 IF: eno1 state: down mac: Device-2: Realtek RTL8169 PCI Gigabit Ethernet driver: r8169 v: kernel port: e000 bus ID: 01:02.0 chip ID: 10ec:8169 IF: enp1s2 state: up speed: 1000 Mbps duplex: full mac: Drives: Local Storage: total: 689.33 GiB used: 310.24 GiB (45.0%) ID-1: /dev/sda vendor: Seagate model: ST500VM000-1SD101 size: 465.76 GiB speed: 6.0 Gb/s serial: ID-2: /dev/sdb vendor: A-Data model: SU630 size: 223.57 GiB speed: 3.0 Gb/s serial: RAID: Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 bus ID: 00:1f.2 chip ID: 8086.2822 Partition: ID-1: / size: 210.14 GiB used: 92.19 GiB (43.9%) fs: ext4 dev: /dev/sdb2 USB: Hub: 1-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 chip ID: 1d6b:0002 Hub: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 chip ID: 8087:0024 Device-1: 1-1.1:6 info: N/A type: Keyboard,HID driver: hid-generic,usbhid rev: 1.1 chip ID: 2a7a:6a18 Device-2: 1-1.2:5 info: N/A type: Mouse driver: hid-generic,usbhid rev: 1.1 chip ID: 30fa:0302 Hub: 2-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 chip ID: 1d6b:0002 Hub: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 chip ID: 8087:0024 Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002 Device-3: 3-3:2 info: Logitech M105 Optical Mouse type: Mouse driver: hid-generic,usbhid rev: 2.0 chip ID: 046d:c077 Device-4: 3-4:7 info: Logitech HD Pro Webcam C920 type: Video,Audio driver: snd-usb-audio,uvcvideo rev: 2.1 chip ID: 046d:08e5 Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 chip ID: 1d6b:0003 Sensors: System Temperatures: cpu: 42.0 C mobo: N/A Fan Speeds (RPM): N/A Repos: Active apt repos in: /etc/apt/sources.list 1: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse 2: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse 3: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse 4: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 5: deb http: //archive.canonical.com/ubuntu/ focal partner Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 1: deb https: //dl.winehq.org/wine-builds/ubuntu/ focal main Active apt repos in: /etc/apt/sources.list.d/audio-recorder-ppa-focal.list 1: deb http: //ppa.launchpad.net/audio-recorder/ppa/ubuntu focal main Active apt repos in: /etc/apt/sources.list.d/feren-os-neon.list 1: deb https: //gitlab.com/feren-os/feren-repositories-neon-focal/raw/master stable neon-focal Active apt repos in: /etc/apt/sources.list.d/feren-os.list 1: deb https: //gitlab.com/feren-os/feren-repositories-focal/raw/master stable main software Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main No active apt repos in: /etc/apt/sources.list.d/graphics-drivers-ppa-focal.list Active apt repos in: /etc/apt/sources.list.d/packages-sil-org.list 1: deb http: //packages.sil.org/ubuntu focal main Active apt repos in: /etc/apt/sources.list.d/rvm-smplayer-focal.list 1: deb http: //ppa.launchpad.net/rvm/smplayer/ubuntu focal main Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 1: deb [arch=amd64] https: //repo.vivaldi.com/stable/deb/ stable main No active apt repos in: /etc/apt/sources.list.d/wine.list Info: Processes: 269 Uptime: 4h 10m Memory: 15.50 GiB used: 2.25 GiB (14.5%) Init: systemd v: 245 runlevel: 5 target: graphical.target Compilers: gcc: 9.4.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38
Pulseaudio/Pipewire Version: pulseaudio 13.99.1
NoiseTorch-ng Version: v0.12.2 (official)
Additional context I'm not completely sure on how long the computer has to be asleep for this to happen. It didn't always happen if I woke the computer immediately after sleeping, or after 1 minute.
Source: noisetorch/NoiseTorch