This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Mic not working after resuming from hibernation

Tags: None
(comma "," separated)
User avatar
google01103
Manager
Posts
6668
Karma
25
Mic (a Logitech usb webcam) is not working after resuming from hibernation but does from suspend,
- it is grayed out in systemsettings
- no idea if it ever worked properly as the webcam is new

this is the dmesg when plugging in
[29168.436677] usb 2-1.8: new full-speed USB device number 5 using ehci-pci
[29168.522884] usb 2-1.8: New USB device found, idVendor=046d, idProduct=08ad
[29168.522889] usb 2-1.8: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[29168.523188] gspca_main: gspca_zc3xx-2.14.0 probing 046d:08ad
[29169.392983] input: gspca_zc3xx as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/input/input28


there were some error messages in dmesg:
[29163.561950] gspca_zc3xx 2-1.8:1.0: URB error -71, resubmitting
[29163.585926] gspca_zc3xx 2-1.8:1.0: URB error -71, resubmitting


removing and re-loading the gspca kernel module doesn't fix it, nor did restarting pulseaudio

restarting KDE (instead of rebooting) fixes it

thanks,


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does the appropriate device appear under /dev/snd/ and are the ownership / permissions correct?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
device appears and is same permissions as all other /dev/snd

from dmesg [29168.523188] gspca_main: gspca_zc3xx-2.14.0 probing 046d:08ad
# ls -l /dev/snd/by-id/usb-046d_08ad-01
lrwxrwxrwx 1 root root 12 Dec 13 17:32 /dev/snd/by-id/usb-046d_08ad-01 -> ../controlC2
# ls -l /dev/snd/controlC2
crw-rw----+ 1 root audio 116, 12 Dec 13 17:32 /dev/snd/controlC2


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
only thing I found relevant Google'ing was to use: /sbin/alsa force-reload, but there is no alsa command


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you check the output of "pactl list" from a session where it isn't working, and a session from when it is?
It sounds like Pulseaudio needs a full/proper restart to detect the device...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
I did a diff of the 2 pactl --list outputs and the difference appears to be that when working the following section is present:
Code: Select all
Source #1
   State: SUSPENDED
   Name: alsa_input.usb-046d_08ad-01-U0x46d0x8ad.analog-mono
   Description: QuickCam Communicate STX Analog Mono
   Driver: module-alsa-card.c
   Sample Specification: s16le 1ch 8000Hz
   Channel Map: mono
   Owner Module: 8
   Mute: no
   Volume: mono: 20726 /  32% / -30.00 dB
           balance 0.00
   Base Volume: 6554 /  10% / -60.00 dB
   Monitor of Sink: n/a
   Latency: 0 usec, configured 0 usec
   Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
   Properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "USB Audio"
      alsa.id = "USB Audio"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "2"
      alsa.card_name = "USB Device 0x46d:0x8ad"
      alsa.long_card_name = "USB Device 0x46d:0x8ad at usb-0000:00:1d.0-1.8, full speed"
      alsa.driver_name = "snd_usb_audio"
      device.bus_path = "pci-0000:00:1d.0-usb-0:1.8:1.1"
      sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.1/sound/card2"
      udev.id = "usb-046d_08ad-01-U0x46d0x8ad"
      device.bus = "usb"
      device.vendor.id = "046d"
      device.vendor.name = "Logitech, Inc."
      device.product.id = "08ad"
      device.product.name = "QuickCam Communicate STX"
      device.serial = "046d_08ad"
      device.string = "hw:2"
      device.buffering.buffer_size = "32000"
      device.buffering.fragment_size = "16000"
      device.access_mode = "mmap+timer"
      device.profile.name = "analog-mono"
      device.profile.description = "Analog Mono"
      device.description = "QuickCam Communicate STX Analog Mono"
      alsa.mixer_name = "USB Mixer"
      alsa.components = "USB046d:08ad"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-usb"
   Ports:
      analog-input-mic: Microphone (priority: 8700)
   Active Port: analog-input-mic
   Formats:
      pcm


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Interesting. After logging out can you check to see if any "pulseaudio" processes are running on your system?
Also, does disconnecting and reconnecting the webcam result in Pulseaudio detecting it?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
update: the mic is now available and working after hibernation, it could have been due to an upgrade but there wasn't anything obvious upgraded.


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If the issue has not since recurred and everything is fixed, can you mark the topic as solved?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]