pulse audio stops sound capture from working on thinkpad x300 hda-intel on intrepid

Bug #285621 reported by dvstin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ALSA driver
Invalid
Undecided
Unassigned
PulseAudio
Fix Released
Unknown
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Intrepid by dvstin

Bug Description

Binary package hint: linux-image-generic

The x300 has two sound capture interfaces: analog mic jack and built in digital mic.

If I choose the Alsa capture method, there are some problems. The first problem, is that the default gnome volume control tracks do not include anything to do with internal mic. After turning these on and enabling anything to do with the internal mic, unmuting capture, etc, the recording produces really strange behavior. Using sound recorder, a couple seconds after pressing record there is already almost 10 minutes of data captured, and the data is all silence.

The installed kernel is linux-image-2.6.27-4-generic

Tags: pulseaudio
Revision history for this message
dvstin (dustin-in-linux) wrote :

I have the same result with the -server kernel.

Revision history for this message
dvstin (dustin-in-linux) wrote :

This hardware worked flawlessly on 8.04's 2.4.24 with the alsa-driver-hg20080424.tar.bz2 snapshot via ./configure;make;make install;./snddevices
I recall reading that the fixes in this snapshot were supposed to be included with 2.4.26.

Revision history for this message
dvstin (dustin-in-linux) wrote :

Please update the alsa-driver bug number to #4192 / https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4192 as I have reported a new issue. This new issue is related to the old issue #3837

Revision history for this message
dvstin (dustin-in-linux) wrote :
Revision history for this message
dvstin (dustin-in-linux) wrote :

Is this bug maybe related to gnome or pulseaudio?

When I use the right settings in alsamixer -c0 and record with arecord using -Dhw:0,0 (it doesn't work without that), it works. But I can't get gnome sound recorder to work. Any suggestions?

Revision history for this message
dvstin (dustin-in-linux) wrote :

I have confirmed that this issue is related to pulse audio because pkill pulseaudio causes the gnome sound recorder problems to go away.

This issue is not related to ALSA, so can someone please remove the relationships to the ALSA bugs?

description: updated
Changed in pulseaudio:
status: Unknown → New
Revision history for this message
dvstin (dustin-in-linux) wrote :

after following the steps in http://ubuntuforums.org/showthread.php?t=866965 and selecting Pulse Audio as my capture source, I have no more problems.

specifically, I did the following to fix this issue:

1. installed: padevchooser libao-pulse libsdl1.2debian-pulseaudio
2. changed /etc/libao.conf to: default_driver=pulse

as far as I can tell, padevchooser is just a utility and may not be required for the solution to work.

Revision history for this message
dvstin (dustin-in-linux) wrote :

There is some information in the related issues including a fix to the pulse alsa plugin:

http://thread.gmane.org/gmane.linux.alsa.devel/56875

This does not change the fact that libao-pulse (and the appropriate change to libao.conf) should be standard in 8.10 in order to close this issue.

Changed in pulseaudio:
status: New → Fix Released
Revision history for this message
dvstin (dustin-in-linux) wrote :

There are no more sound issues with the thinkpad x300 on jaunty/9.04 alpha 3.

The only issue is that it's not obvious how to turn on the digital microphone, since the volume controls are not showing all the underlying alsa channels. I knew that the command to access these controls is: alsamixer -c0

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

[This is an automated message. Apologies if it has reached you inappropriately.]

This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue. Thanks.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Amit Kucheria (amitk) wrote :
Changed in linux (Ubuntu):
status: New → Fix Released
Changed in alsa-driver:
status: Unknown → New
Revision history for this message
Slingshot (slingshot) wrote :

Ubuntu 10.04 32-bit on Lenovo x300

First the correct settings need to be set in alsamixers capture section.
Internal microphone still not working.
External microphone works.

No hardware failure mic works flawless in Windows 7.

Revision history for this message
Jiehan Zheng (jiehanzheng) wrote :

I am still unable to get microphone work on maverick beta.

Revision history for this message
David Henningsson (diwic) wrote :

@Jiehan, you might be suffering from bug #440251.

Revision history for this message
Jiehan Zheng (jiehanzheng) wrote :

I changed to use the 64-bit version of Ubuntu and everything works well now.

Thanks to Dustin and David :)

Revision history for this message
dvstin (dustin-in-linux) wrote : Re: [Bug 285621] Re: pulse audio stops sound capture from working on thinkpad x300 hda-intel on intrepid

I updated to ubuntu 10.10 and the internal microphone is no longer working.

On Wed, Sep 8, 2010 at 2:33 AM, Jiehan Zheng <email address hidden> wrote:

> I changed to use the 64-bit version of Ubuntu and everything works well
> now.
>
> Thanks to Dustin and David :)
>
> --
> pulse audio stops sound capture from working on thinkpad x300 hda-intel on
> intrepid
> https://bugs.launchpad.net/bugs/285621
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in ALSA driver: New
> Status in PulseAudio sound server: Fix Released
> Status in “linux” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: linux-image-generic
>
> The x300 has two sound capture interfaces: analog mic jack and built in
> digital mic.
>
> If I choose the Alsa capture method, there are some problems. The first
> problem, is that the default gnome volume control tracks do not include
> anything to do with internal mic. After turning these on and enabling
> anything to do with the internal mic, unmuting capture, etc, the recording
> produces really strange behavior. Using sound recorder, a couple seconds
> after pressing record there is already almost 10 minutes of data captured,
> and the data is all silence.
>
> The installed kernel is linux-image-2.6.27-4-generic
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/alsa-driver/+bug/285621/+subscribe
>

--
Dustin Massop
<email address hidden>
http://dvstin.com/

Revision history for this message
Jiehan Zheng (jiehanzheng) wrote :

Oops. Actually it was not working for me. I could only record noise, and the song playing by my own computer. My voice can never be captured.

Revision history for this message
dvstin (dustin-in-linux) wrote :

Recording from the microphone last worked on this hardware in 10.04 amd64, but is broken in the current 11.04 alpha. I'm not sure if the current issue is related to this issue, or a new alsa bug.

Revision history for this message
João Miguel Lopes Moreira (jmlm-1970) wrote :

The only solution to make microphone work is to install linux-backports-modules-alsa-generic...

Just go to:

Menu / System / Administration / Synaptic Package Manager

And search and mark for installation:

linux-backports-modules-alsa-generic

tip: if you have multiple versions click on the first and read the description which should inform what name to install...

If after the reboot and mic mute is off, still does not work, just go to terminal and type:

sudo nano /etc/modprobe.d/alsa-base.conf

and add or change the following:

options snd-hda-intel model=auto enable=yes

Then Ctrl+X, type Y to write and exit, reboot and mic will work.

Bye and have lots of fun with Ubuntu (the best).

Revision history for this message
dino99 (9d9) wrote :

outdated flavor, report about a newer active version if needed

Changed in alsa-driver:
importance: Unknown → Undecided
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.