[ltp] again with proper subjetct: audio line-in not working

Richard Neill linux-thinkpad@linux-thinkpad.org
Thu, 06 Apr 2006 04:14:05 +0100


phaidros wrote:
>
>>I'm trying to capture from line-in (t41p), but I get signal with -59db,
>>which is always there :(
>>
>>I'm running ubuntu dapper drake, and built kernel with latest stable
>>alsa, still no line-in.
>>
>>usually as i understood it, capture should be on line-in and mic should
>>be muted, correct? I tried that along all other combinations which
>>looked reasonable anyhow - nothing.

There is an extra "redundant" switch to enable the recording. Try the
following:

amixer sset 'Mic Boost (+20dB)' on      #Enable the Mic boost
amixer sset 'Mic' mute                  #Mute the Mic
amixer sset 'Mic' cap                   #Set the Recording source to Mic
amixer sset 'Capture' cap               #Set the Capture device to
					#record
amixer sset 'ADC' cap                   #Set the ADC to record


Then run 'record', or 'rec', or 'audacity' and check that you can record
from the MIC input.

Then once that works, try gnome-alsamixer to change from Mic to Line-in.


[The reason I am suggesting you do it this way is simply that I wrote
down the commands to make mic-record work properly, but I didn't do it
for line-in. I know that the above works!]

Extra diagnostic: if you unmute the line-in, can you hear it through the
speakers? If not, you may find that the hardware is dodgy, or that you
have got line-in re-configured as the rear-output in 5.1 sound!


Does that help?

Richard