Re: [pulseaudio-discuss] Conexant CX20585 recording does not work

2011-04-11 Thread Gabriel Schulhof
Hi!

On Sat, April 9, 2011 22:13, Gabriel Schulhof wrote:
 I went over to alsa-devel, and I have found a solution that makes arecord
 work, however, recording continues to block in pulseaudio. Here's what I
 did:

 1. I added options snd-hda-intel model=ideapad to /etc/modprobe.d
 2. I verified that ideapad was set in
 /sys/modules/snd_hda_intel/params/model:
 ideapad,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
 3. I booted to runlevel 3 to avoid pulseaudio from starting, and logged in
 as my mom.
 4. I recorded something using arecord  tmp.wav
 5. I played it back. I heard what I had recorded.
 6. I rebooted to runlevel 5.
 7. I logged in using GNOME, and I looked at the sound preferences menu, in
 input. I found that the level indicator wasn't moving at all.
 8. I tried a skype test call. It looked like it was recording my voice for
 10 seconds, but when it was to play it back, it played back a NULL
 sequence - not 10 seconds of static, but a sequence that was 0 seconds in
 length.

Upon further twiddling with pavucontrol, I was able to get it to work
/sometimes/. I'm noticing that, upon bootup, pavucontrol lists the monitor
and the input of the card among the inputs, but there is no level
indicator next to the input itself. The monitor has a level indicator, but
it always shows 0.

I've twiddled around with killing pulseaudio, plugging in a webcam to get
a second mic, turning the internal card off/on, setting it to analog
output only, and so forth ... sometimes a level indicator appears
underneath the input of the internal card and updates slowly. That is, the
webcam's microphone's level indicator updates all the time and twitches
around 75%, whereas the internal card's input's level indicator updates
only about once per second.

Nevertheless, when the level indicator appears, recording from the
internal mic works perfectly (as tested with skype call testing service).

I have no idea why one would have an input without a level indicator.

I'll try to keep poking around to try and come up with a reliable way of
bringing about an internal input from which I can record.

Please help me if you know a sure-fire way to make this work!

TIA,



Gabriel
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Conexant CX20585 recording does not work

2011-04-09 Thread Gabriel Schulhof
Hi!

On Tue, March 8, 2011 12:01, Colin Guthrie wrote:
 OK, so Gabriel, this sounds like one to take over to alsa-devel mailing
 list (I'd avoid their bug tracker - it's a black hole!). You should
 attach the alsa-info output to that mail.

I went over to alsa-devel, and I have found a solution that makes arecord
work, however, recording continues to block in pulseaudio. Here's what I
did:

1. I added options snd-hda-intel model=ideapad to /etc/modprobe.d
2. I verified that ideapad was set in
/sys/modules/snd_hda_intel/params/model:
ideapad,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
3. I booted to runlevel 3 to avoid pulseaudio from starting, and logged in
as my mom.
4. I recorded something using arecord  tmp.wav
5. I played it back. I heard what I had recorded.
6. I rebooted to runlevel 5.
7. I logged in using GNOME, and I looked at the sound preferences menu, in
input. I found that the level indicator wasn't moving at all.
8. I tried a skype test call. It looked like it was recording my voice for
10 seconds, but when it was to play it back, it played back a NULL
sequence - not 10 seconds of static, but a sequence that was 0 seconds in
length.

Please let me know if there's anything else I can do, especially since
skype no longer supports ALSA!

TIA,



Gabriel



___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Conexant CX20585 recording does not work

2011-03-08 Thread Colin Guthrie
'Twas brillig, and David Henningsson at 08/03/11 02:44 did gyre and gimble:
 This one is one of few that lack an auto-parser of the pin default
 config, so for now - model quirks. Without seeing alsa-info or something
 similar, I can't tell which model would fit.
 
 In the long run we would benefit from an autoparser handling these as well.

OK, so Gabriel, this sounds like one to take over to alsa-devel mailing
list (I'd avoid their bug tracker - it's a black hole!). You should
attach the alsa-info output to that mail.

Feel free to CC me (and maybe David too if he doesn't object!).

David has a good alsa-info.sh howto here:
https://wiki.ubuntu.com/Audio/AlsaInfo

Cheers

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


[pulseaudio-discuss] Conexant CX20585 recording does not work

2011-03-07 Thread Gabriel Schulhof
Hi!

My mom has a laptop with the following sound card:

lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
(rev 40)

driver: snd_hda_intel

alsamixer:
Card: HDA ATI SB
Chip: Conexant CX20585

I can't record from this card no matter what I try. It seems that
alsamixer has a lot more options than pulseaudio:

Mic BCapture switch
Mic CCapture switch
Mic ECapture switch
Mic FCapture switch
Capture  0% -- 100% slider
Analog Mic Boost 0 db -- 40 db slider with 10 db increment

Nevertheless, I will attach the output from pacmd list-sources.

I have tried to record from each mic in turn, I have tried the different
boost levels (0 db - 40 db), but I have had no luck picking up anything. I
have attached an external mic to the line-in, but no difference.

When I say I have tried to record I mean that I logged into her
computer, chose one of the mics from the above list, and then I told my
mom to say something while looking at the input sound level indicator in
the GNOME sound settings panel. On other computers, I have found this a
sufficient indication of whether the mic works.

Is this inability to record a known limitation of this sound card? If not,
is there some special setting I have to modify to make it work?

TIA for your help,



Gabriel




moms-sound-card.list-sources
Description: Binary data
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Conexant CX20585 recording does not work

2011-03-07 Thread Dark Shadow
On Mon, Mar 7, 2011 at 12:56 PM, Gabriel Schulhof n...@go-nix.ca wrote:
 Hi!

 My mom has a laptop with the following sound card:

 lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
 (rev 40)

 driver: snd_hda_intel

 alsamixer:
 Card: HDA ATI SB
 Chip: Conexant CX20585

 I can't record from this card no matter what I try. It seems that
 alsamixer has a lot more options than pulseaudio:

 Mic B            Capture switch
 Mic C            Capture switch
 Mic E            Capture switch
 Mic F            Capture switch
 Capture          0% -- 100% slider
 Analog Mic Boost 0 db -- 40 db slider with 10 db increment

 Nevertheless, I will attach the output from pacmd list-sources.

 I have tried to record from each mic in turn, I have tried the different
 boost levels (0 db - 40 db), but I have had no luck picking up anything. I
 have attached an external mic to the line-in, but no difference.

 When I say I have tried to record I mean that I logged into her
 computer, chose one of the mics from the above list, and then I told my
 mom to say something while looking at the input sound level indicator in
 the GNOME sound settings panel. On other computers, I have found this a
 sufficient indication of whether the mic works.

 Is this inability to record a known limitation of this sound card? If not,
 is there some special setting I have to modify to make it work?

 TIA for your help,



 Gabriel



 ___
 pulseaudio-discuss mailing list
 pulseaudio-discuss@mail.0pointer.de
 https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss



Have you tried loading the module with different model parameters it
can make the difference (for example my laptop by default only shows 2
channel stereo and mics don't work but with the right model I get mics
and all the way up to 5.1ch surround sound)

Run this command to see your options and trial and error them since
some times another is close enough (I have to use one for a different
laptop that happens to have the same sound setup)

zcat /usr/share/doc/alsa-base/driver/HD-Audio-Models.txt.gz
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Conexant CX20585 recording does not work

2011-03-07 Thread Colin Guthrie
'Twas brillig, and Gabriel Schulhof at 07/03/11 19:56 did gyre and gimble:
 Hi!
 
 My mom has a laptop with the following sound card:
 
 lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
 (rev 40)
 
 driver: snd_hda_intel
 
 alsamixer:
 Card: HDA ATI SB
 Chip: Conexant CX20585
 
 I can't record from this card no matter what I try. It seems that
 alsamixer has a lot more options than pulseaudio:
 
 Mic BCapture switch
 Mic CCapture switch
 Mic ECapture switch
 Mic FCapture switch
 Capture  0% -- 100% slider
 Analog Mic Boost 0 db -- 40 db slider with 10 db increment
 
 Nevertheless, I will attach the output from pacmd list-sources.
 
 I have tried to record from each mic in turn, I have tried the different
 boost levels (0 db - 40 db), but I have had no luck picking up anything. I
 have attached an external mic to the line-in, but no difference.
 
 When I say I have tried to record I mean that I logged into her
 computer, chose one of the mics from the above list, and then I told my
 mom to say something while looking at the input sound level indicator in
 the GNOME sound settings panel. On other computers, I have found this a
 sufficient indication of whether the mic works.
 
 Is this inability to record a known limitation of this sound card? If not,
 is there some special setting I have to modify to make it work?
 
 TIA for your help,

Some mics do this weird out-of-phase thing whereby the recording level
is effectively 0 when the stereo volume is synced. If you set left to
say 5% and right to say 95% then it works fine.

This may be the case with your h/w too.

FWIW The extra options you see in ALSA are generally confusing and
useless. PA attempts to consolidate it and make it a lot more user friendly.

Normally you'd get a list of several port selectors in
gnome-volume-control. Sadly as your card uses the incredibly helpful
names of Mic B through Mic F these do not match the various
standard names we probe for.

David, have you come across this model on your travels? Any ideas on how
we could best support it?


Gabriel, if the mono trick does not help (and the model= argument to the
HDA alsa module (as suggested by Dark Shadow) does not yield any results
either) perhaps try using alsamixer -c0 to flip those various Mic B
through F to see if any of them make things work?

Cheers

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Conexant CX20585 recording does not work

2011-03-07 Thread David Henningsson

On 2011-03-08 00:26, Colin Guthrie wrote:

'Twas brillig, and Gabriel Schulhof at 07/03/11 19:56 did gyre and gimble:

Hi!

My mom has a laptop with the following sound card:

lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
(rev 40)

driver: snd_hda_intel

alsamixer:
Card: HDA ATI SB
Chip: Conexant CX20585

I can't record from this card no matter what I try. It seems that
alsamixer has a lot more options than pulseaudio:

Mic BCapture switch
Mic CCapture switch
Mic ECapture switch
Mic FCapture switch
Capture0% -- 100% slider
Analog Mic Boost0 db -- 40 db slider with 10 db increment

Nevertheless, I will attach the output from pacmd list-sources.

I have tried to record from each mic in turn, I have tried the different
boost levels (0 db - 40 db), but I have had no luck picking up anything. I
have attached an external mic to the line-in, but no difference.

When I say I have tried to record I mean that I logged into her
computer, chose one of the mics from the above list, and then I told my
mom to say something while looking at the input sound level indicator in
the GNOME sound settings panel. On other computers, I have found this a
sufficient indication of whether the mic works.

Is this inability to record a known limitation of this sound card? If not,
is there some special setting I have to modify to make it work?

TIA for your help,


Some mics do this weird out-of-phase thing whereby the recording level
is effectively 0 when the stereo volume is synced. If you set left to
say 5% and right to say 95% then it works fine.

This may be the case with your h/w too.

FWIW The extra options you see in ALSA are generally confusing and
useless. PA attempts to consolidate it and make it a lot more user friendly.

Normally you'd get a list of several port selectors in
gnome-volume-control. Sadly as your card uses the incredibly helpful
names of Mic B through Mic F these do not match the various
standard names we probe for.

David, have you come across this model on your travels?


Many times, that's the fallback for many Conexants.


Any ideas on how
we could best support it?


This one is one of few that lack an auto-parser of the pin default 
config, so for now - model quirks. Without seeing alsa-info or something 
similar, I can't tell which model would fit.


In the long run we would benefit from an autoparser handling these as well.

--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss