Bug 558638 - [mixer-coverage] Mixer elements "Shared Mic/Line in" and "Analog Source" need to be covered by PA
Summary: [mixer-coverage] Mixer elements "Shared Mic/Line in" and "Analog Source" need...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-25 21:19 UTC by Marcin
Modified: 2010-03-06 03:42 UTC (History)
2 users (show)

Fixed In Version: pulseaudio-0.9.21-5.fc12
Clone Of:
Environment:
Last Closed: 2010-02-23 23:20:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
how i tried configure sound (382.29 KB, image/png)
2010-01-25 21:19 UTC, Marcin
no flags Details
alsamixer settings (3.69 KB, application/octet-stream)
2010-02-02 23:58 UTC, Marcin
no flags Details
what options i had after patch got applied (52.22 KB, image/png)
2010-02-17 19:03 UTC, Marcin
no flags Details

Description Marcin 2010-01-25 21:19:19 UTC
Created attachment 386706 [details]
how i tried configure sound

Description of problem:

I cannot configure microphone to work via sound preferences gui.
In old gnome audio gui i had the option to select shared microphone device.
I have a sound blaster card (CA0106), in alsamixer from commandline i can go to capture devices and change analog source to "mic" and shared source to "mic in".

There is no way i can do that in gui right now. I do have a setting "connector" , i can select "analog microphone" or "analog input" - yet no sound can be recorded - only positive result i got via changing settings of alsamixer.


How reproducible:


Steps to Reproduce:
1. open sound prefereces
2. set analog microphone as sound input
3. try to record something
  
Actual results:

nothing gets recorded

Expected results:

sound is recorded

Additional info:

I was able to record sound when i changed alsamixer settings.

Comment 1 Lennart Poettering 2010-01-28 03:06:09 UTC
Please run "amixer -c0" and attach the output here, then tell me exactly which element in that output is the one that is apparently not covered but should be covered by gnome-volume-control.

Comment 2 Marcin 2010-02-02 23:58:51 UTC
Created attachment 388405 [details]
alsamixer settings

Comment 3 Marcin 2010-02-03 00:08:19 UTC
I'm using Ubuntu 9.10 now because I was testing other distros to see if the problem is there too. Unfortunately it is. My attachement comes from Ubuntu, but I hope this still helps - the steps i had to do to be able to record audio were EXACTLY the same in both distros - here is what i had to do to make it work:

i had to change those settings in alsamixer :

Simple mixer control 'Analog Source',0
  Capabilities: cenum
  Items: 'Phone' 'Mic' 'Line in' 'Aux'
  Item0: 'Mic'

Was before: Item0: 'Line in'

Simple mixer control 'Shared Mic/Line in',0
  Capabilities: cenum
  Items: 'Line in' 'Mic in'
  Item0: 'Mic in'

Was before: Item0: 'Line in'

Comment 4 Lennart Poettering 2010-02-04 23:06:09 UTC
OK, this is very helpful and should be enough information to allow me to fix this.

Comment 5 Lennart Poettering 2010-02-15 22:43:59 UTC
This is now fixed in git upstream. I'll eventually upload a new version to F12

In the meantime you can apply this patch:

http://git.0pointer.de/?p=pulseaudio.git;a=patch;h=7d6bab0d003386baba3ff3fad4cc3caa5839b361

to /usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common.

That will give you the same effect without having to wait for my update. (restart pa with pulseaudio -k)

(if you try this, would be good to report back. While the change is pretty straightforward it's still good to have feedback.)

Comment 6 Marcin 2010-02-17 19:03:56 UTC
Created attachment 394797 [details]
what options i had after patch got applied

Comment 7 Marcin 2010-02-17 19:05:47 UTC
Hai Lennart,

I can confirm that after I applied that patch (again - on ubuntu 9.10). I was able to make the sound work nicely, I had ton of options where at least few of those worked well.

I'm just not convinced if this should look like this ?

https://bugzilla.redhat.com/attachment.cgi?id=394797

This is how it looks right now, and it works well for me. Thanks for fixing this!

Comment 8 Lennart Poettering 2010-02-18 03:55:23 UTC
Yepp, this list is indeed crap, we probably need to be a bit smarter about merging entries here...

Comment 9 Fedora Update System 2010-02-23 23:12:53 UTC
pulseaudio-0.9.21-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/pulseaudio-0.9.21-6.fc13

Comment 10 Fedora Update System 2010-02-23 23:13:20 UTC
pulseaudio-0.9.21-5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/pulseaudio-0.9.21-5.fc12

Comment 11 Fedora Update System 2010-03-05 03:41:04 UTC
pulseaudio-0.9.21-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2010-03-06 03:41:52 UTC
pulseaudio-0.9.21-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.