You are not logged in.

#1 2015-07-09 22:07:30

x-yuri
Member
Registered: 2013-01-06
Posts: 161

[SOLVED] Web camera microphone stopped working

Hi,

Today I've found out that people don't hear me over skype. And that's a drag. I can't find anything wrong with the setup. Not that I'm good at it. Here's some info:

$ arecord -l
**** List of CAPTURE Hardware Devices ****
...
card 2: U0x46d0x825 [USB Device 0x46d:0x825], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ pacmd
Welcome to PulseAudio 6.0! Use "help" for usage information.
>>> list-sources
4 source(s) available.
...
  * index: 3
        name: <alsa_input.usb-046d_0825_AF582E10-02.analog-mono>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9049
        volume: mono: 52056 /  79% / -6.00 dB
                balance 0.00
        base volume: 20724 /  32% / -30.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 1ch 48000Hz
        channel map: mono
                     Mono
        used by: 0
        linked by: 0
        fixed latency: 99.94 ms
        card: 2 <alsa_card.usb-046d_0825_AF582E10-02>
        module: 8
        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:0x825"
                alsa.long_card_name = "USB Device 0x46d:0x825 at usb-0000:00:1d.7-3, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1d.7-usb-0:3:1.2"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.2/sound/card2"
                udev.id = "usb-046d_0825_AF582E10-02"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0825"
                device.product.name = "Webcam C270"
                device.serial = "046d_0825_AF582E10"
                device.form_factor = "webcam"
                device.string = "hw:2"
                device.buffering.buffer_size = "9594"
                device.buffering.fragment_size = "2398"
                device.access_mode = "mmap"
                device.profile.name = "analog-mono"
                device.profile.description = "Analog Mono"
                device.description = "Webcam C270 Analog Mono"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB046d:0825"
                module-udev-detect.discovered = "1"
                device.icon_name = "camera-web-usb"
        ports:
                analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
        active port: <analog-input-mic>

Judging from alsamixer and the asterisk next to my microphone in list-sources' output, it must be the default source. But when I try to record my voice, I hear only some uniform noise when playing the result:

$ arecord > out.wav
Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
^CAborted by signal Interrupt...
arecord: pcm_read:2031: read error: Interrupted system call
$ aplay out.wav 
Playing WAVE 'out.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

The microphone works find under windows. What other information can I provide? How do I go about it? Thanks in advance for your replies.

Last edited by x-yuri (2015-07-12 20:24:39)

Offline

#2 2015-07-10 07:08:42

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Web camera microphone stopped working

Use pavucontrol to see if the configuration is correct. Pulseaudio can be a twat sometimes. Also see if it is muted in alsamixer.

Offline

#3 2015-07-10 08:46:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: [SOLVED] Web camera microphone stopped working

From the pacmd output, config looks fine.Try some kernel module vodoo

Last edited by V1del (2015-07-10 14:32:59)

Offline

#4 2015-07-12 20:24:14

x-yuri
Member
Registered: 2013-01-06
Posts: 161

Re: [SOLVED] Web camera microphone stopped working

Well, somehow it's now back to normal (the mic works in skype). Supposedly, after running `alsactl restore`:

$ alsactl restore
alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: File exists
alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: File exists
alsactl: sysfs_init:48: sysfs path '/sys' is invalid

Found hardware: "HDA-Intel" "Realtek ALC888" "HDA:10ec0888,80860024,00100202" "0x8086" "0x0024"
Hardware is initialized using a generic method
alsactl: sysfs_init:48: sysfs path '/sys' is invalid

Found hardware: "HDA-Intel" "Nvidia GPU 0b HDMI/DP" "HDA:10de000b,10de0101,00100200" "0x1043" "0x83f4"
Hardware is initialized using a generic method
alsactl: sysfs_init:48: sysfs path '/sys' is invalid

Found hardware: "USB-Audio" "USB Mixer" "USB046d:0825" "" ""
Hardware is initialized using a generic method
$ sudo !!
sudo alsactl restore
[sudo] password for yuri:

It works without "options snd-usb-audio nrpacks=1", so that wasn't an issue. But I still can't record anything with arecord, which would be nice. Could it possibly be that it's trying to use the wrong input device?

Speaking of pavucontrol it let me see that the microphone is reacting to me touching it, or making sounds. But I can't record for a while after closing pavucontrol:

$ arecord > out.wav 
ALSA lib pcm_dsnoop.c:614:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:722: audio open error: Device or resource busy

Offline

Board footer

Powered by FluxBB