Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Microphone stops working after some time

  1. #11
    Join Date
    Jan 2008
    Beans
    6

    Re: Microphone stops working after some time

    No, it's not related to Skype. It stops working after few minutes after boot even without using any sound apps. I keep open Sound Preferences window to see the input level indicator and it just freezes after some time.

  2. #12
    Join Date
    May 2008
    Location
    Ohio, USA
    Beans
    6,905
    Distro
    Ubuntu Gnome 15.04 Vivid Vervet

    Re: Microphone stops working after some time

    Can you provide this output please:
    Code:
    pkill pulseaudio; sleep 2; pulseaudio -vv

  3. #13
    Join Date
    Jan 2008
    Beans
    6

    Re: Microphone stops working after some time

    here is the output:

    Code:
    :~$ pkill pulseaudio; sleep 2; pulseaudio -vv
    I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
    I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
    D: core-rtclock.c: Timer slack is set to 50 us.
    D: core-util.c: RealtimeKit worked.
    I: core-util.c: Successfully gained nice level -11.
    I: main.c: This is PulseAudio 0.9.21-63-gd3efa-dirty
    D: main.c: Compilation host: i486-pc-linux-gnu
    D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O3 -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
    D: main.c: Running on host: Linux i686 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010
    D: main.c: Found 2 CPUs.
    I: main.c: Page size is 4096 bytes
    D: main.c: Compiled with Valgrind support: no
    D: main.c: Running in valgrind mode: no
    D: main.c: Running in VM: no
    D: main.c: Optimized build: yes
    D: main.c: All asserts enabled.
    I: main.c: Machine ID is e66716ea8bee1e1f3886f5654bed4b67.
    I: main.c: Session ID is e66716ea8bee1e1f3886f5654bed4b67-1283236311.336009-1521717348.
    I: main.c: Using runtime directory /home/aaa/.pulse/e66716ea8bee1e1f3886f5654bed4b67-runtime.
    I: main.c: Using state directory /home/aaa/.pulse.
    I: main.c: Using modules directory /usr/lib/pulse-0.9.21/modules.
    I: main.c: Running in system mode: no
    E: pid.c: Daemon already running.
    E: main.c: pa_pid_file_create() failed.

  4. #14
    Join Date
    Jan 2008
    Beans
    6

    Re: Microphone stops working after some time

    So any ideas? Is it a driver problem or PulseAudio? Is there any way to detect & resolve it?

  5. #15
    Join Date
    May 2008
    Location
    Ohio, USA
    Beans
    6,905
    Distro
    Ubuntu Gnome 15.04 Vivid Vervet

    Re: Microphone stops working after some time

    Kinda at a loss here. I would report a bug. Try running this command in a terminal for 10.04 or later:
    Code:
    ubuntu-bug audio

  6. #16
    Join Date
    Dec 2009
    Beans
    3

    Re: Microphone stops working after some time

    Quote Originally Posted by JoWi View Post
    I'm having the same problem:
    Hardware: Laptop hp 6735s

    Code:
    $ lspci | grep -i audio 
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
    Running Ubuntu Lucid (10.04), PulseAudio. The problem was equally present with 9.10.

    Right after booting, the microphone works nice. I'm usually using it with Skype.

    When making a "Skype Test Call", then Skype asks me to record a message for 10 seconds, afterwards, it plays a "bing", then it plays my message back to me and continues with another "bing".

    After some time skyping, the microphone stops working.

    When the mic does not work, and I make a "Skype Test Call", then Skype asks me to record my message, afterwards I hear the "bing", and instantly afterwards the second "bing" - there is NO 10-seconds-break between the "bing"s. In this state, if opening the "Audio Settings" window from the volume control icon, the "recording level" meter is frozen. Any audio recording software doesn't work neither.

    Most of the times, I can repair the mic by closing all apps and performing
    Code:
    sudo alsa force-reload
    However, after repairing, the first "Skype Test Call" will always end up with the following: After recording my message, I hear the first "bing", then I hear my voice, but totally scrambled, not understandable and reduced to approx 2 seconds, then the second "bing" as normal. The second "Skype Test Call" afterwards then works perfectly and I can use the mic normally.

    Here are some programs which usually make the microphone stop working:
    • Any program causing high cpu usage
    • Thunderbird
    • Firefox, having a site with a Flash animation open
    • Ubuntu update manager

    (90% reproducibility to make the mic stop working. However, if not starting any program during talking, the microphone will work for hours without problems. With Update manager 100% reproducibility.)

    (The procedures I have explained with "Skype Test Call" have been confirmed by talking to real persons, thus this is NOT a "Skype Test Call" specific problem.)

    Can someone out there please give an advice or help fixing this?
    I have working solution:

    loock on: http://ubuntuforums.org/showthread.php?t=1043568

    I have hp nx 6325 and setting describe there for my mic dont work but i check other solution (from this post) and its working!!! I have Ubuntu 10.10

    what I do:
    terminal
    sudo gedit /etc/modprobe.d/alsa-base

    At the end of file I add:
    options snd-hda-intel model=toshiba position_fix=1
    save and reboot.

    After reboot your card could be auto check in alsa (icon in statos bars is inactive)
    go to terminal
    alsamixer
    click F6 mark your device
    and:
    killall pulseaudio

    sudo alsa force-reload


    If used standard don't work for you please chech other lines (for other noteboock).
    Last edited by elzear; November 18th, 2010 at 10:08 PM.

  7. #17
    Join Date
    Apr 2008
    Beans
    20

    Re: Microphone stops working after some time

    Quote Originally Posted by JoWi View Post
    I'm having the same problem:
    Hardware: Laptop hp 6735s

    [CODE]$ lspci | grep -i audio
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) [/CODE
    I've got the exact same problem on HP6735b running 10.10 (Maverick Meerkat).
    Code:
    $ lspci | grep -i audio
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
    
    $ cat /proc/asound/card0/codec#* | grep Codec
    Codec: Analog Devices AD1984A
    Codec: LSI ID 1040
    According to help.ubuntu.com (link), I've added "options snd-hda-intel model=laptop" to alsa-base.conf, but no change. Also tried adding "enable_msi=1" or "enable_msi=0", but neither helped.

    After ~10min since reboot I've noticed mic stopped working again and I've checked syslog. I found about 20 events suppressed by ratelimit.c (see below), and none of them in the next 15min, so it's possibly related to the mic problem.
    Code:
    Nov 20 19:40:32 <reboot>
    Nov 20 19:40:40 mylaptop pulseaudio[2200]: core-util.c: Home directory /etc/timidity not ours.
    Nov 20 19:40:40 mylaptop pulseaudio[2200]: lock-autospawn.c: Cannot access autospawn lock.
    Nov 20 19:40:40 mylaptop pulseaudio[2200]: main.c: Failed to acquire autospawn lock
    Nov 20 19:40:55 <I've logged in>
    Nov 20 19:42:08 mylaptop pulseaudio[2431]: ratelimit.c: 3 events suppressed
    Nov 20 19:42:14 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:42:20 mylaptop pulseaudio[2431]: ratelimit.c: 2 events suppressed
    Nov 20 19:42:26 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:42:32 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:42:56 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:43:26 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:43:32 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:43:38 mylaptop pulseaudio[2431]: ratelimit.c: 2 events suppressed
    Nov 20 19:43:56 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:44:32 mylaptop pulseaudio[2431]: last message repeated 2 times
    Nov 20 19:45:01 mylaptop pulseaudio[2431]: last message repeated 3 times
    Nov 20 19:45:14 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    The only way I can make mic working again is to reboot. Neither killing pulseaudio nor running "alsa force-reload" helps.

    Is there any way to debug pulseaudio to see what the exact problem is?

    Any help would be greatly appreciated...

  8. #18
    Join Date
    May 2008
    Location
    Ohio, USA
    Beans
    6,905
    Distro
    Ubuntu Gnome 15.04 Vivid Vervet

    Re: Microphone stops working after some time

    Quote Originally Posted by misiu369 View Post
    I've got the exact same problem on HP6735b running 10.10 (Maverick Meerkat).
    Code:
    $ lspci | grep -i audio
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
    
    $ cat /proc/asound/card0/codec#* | grep Codec
    Codec: Analog Devices AD1984A
    Codec: LSI ID 1040
    According to help.ubuntu.com (link), I've added "options snd-hda-intel model=laptop" to alsa-base.conf, but no change. Also tried adding "enable_msi=1" or "enable_msi=0", but neither helped.

    After ~10min since reboot I've noticed mic stopped working again and I've checked syslog. I found about 20 events suppressed by ratelimit.c (see below), and none of them in the next 15min, so it's possibly related to the mic problem.
    Code:
    Nov 20 19:40:32 <reboot>
    Nov 20 19:40:40 mylaptop pulseaudio[2200]: core-util.c: Home directory /etc/timidity not ours.
    Nov 20 19:40:40 mylaptop pulseaudio[2200]: lock-autospawn.c: Cannot access autospawn lock.
    Nov 20 19:40:40 mylaptop pulseaudio[2200]: main.c: Failed to acquire autospawn lock
    Nov 20 19:40:55 <I've logged in>
    Nov 20 19:42:08 mylaptop pulseaudio[2431]: ratelimit.c: 3 events suppressed
    Nov 20 19:42:14 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:42:20 mylaptop pulseaudio[2431]: ratelimit.c: 2 events suppressed
    Nov 20 19:42:26 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:42:32 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:42:56 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:43:26 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:43:32 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:43:38 mylaptop pulseaudio[2431]: ratelimit.c: 2 events suppressed
    Nov 20 19:43:56 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    Nov 20 19:44:32 mylaptop pulseaudio[2431]: last message repeated 2 times
    Nov 20 19:45:01 mylaptop pulseaudio[2431]: last message repeated 3 times
    Nov 20 19:45:14 mylaptop pulseaudio[2431]: ratelimit.c: 1 events suppressed
    The only way I can make mic working again is to reboot. Neither killing pulseaudio nor running "alsa force-reload" helps.

    Is there any way to debug pulseaudio to see what the exact problem is?

    Any help would be greatly appreciated...
    Try this.
    Code:
    pkill pulseaudio; sleep 2; pulseaudio -vv

  9. #19
    Join Date
    Apr 2008
    Beans
    20

    Re: Microphone stops working after some time

    Quote Originally Posted by lidex View Post
    Try this.
    Code:
    pkill pulseaudio; sleep 2; pulseaudio -vv
    I'm not pasting the whole result, since I have my system is Polish and itwouldn't tell you much, but "Daemon already running." is the important part, I guess. Pulseaudio autospawns everytime I kill it and I don't know how to stop it.

    I'm running Ubuntu 10.10 x64, if that changes anything..

  10. #20
    Join Date
    May 2008
    Location
    Ohio, USA
    Beans
    6,905
    Distro
    Ubuntu Gnome 15.04 Vivid Vervet

    Re: Microphone stops working after some time

    Quote Originally Posted by misiu369 View Post
    I'm not pasting the whole result, since I have my system is Polish and itwouldn't tell you much, but "Daemon already running." is the important part, I guess. Pulseaudio autospawns everytime I kill it and I don't know how to stop it.

    I'm running Ubuntu 10.10 x64, if that changes anything..
    The whole idea was to restart pulse in the terminal with verbose output so we could see the error messages.

    PA is configured to respawn so that is normal behavior.

    This info would be useful as well.
    Use the alsa-info-script to provide detailed information.
    Run this command in a terminal:
    Code:
    wget http://www.alsa-project.org/alsa-info.sh -O alsa-info.sh && bash alsa-info.sh
    Choose the upload option and provide a link for the output.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •