Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old April 22nd, 2007   #1
jjalocha
Gee! These Aren't Roasted!
 
jjalocha's Avatar
 
Join Date: Feb 2007
Location: Chile
My beans are hidden!
Xubuntu 9.04 Jaunty Jackalope
Smile Microphone Input Solution

This is my experience with microphone input problems, and how I solved them. Many people are having different problems with microphone input in Ubuntu, so I hope this post is helpful for some of them.

Both, with Edgy and Feisty, my hardware gets detected correctly out of the box, but I was unable to record anything, using a microphone plugged into the jack.

This is my soundcard:

Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lspci gives different output in Edgy and Feisty:

Edgy:

Code:
$ lspci
[...]
00:14.2 Audio device: ATI Technologies Inc Unknown device 4383
[...]
Feisty:

Code:
$ lspci
[...]
00:14.2 Audio device: ATI Technologies Inc SB600 Azalia
[...]
The solution needs the alsamixer and amixer command line tools. If they aren't installed already, you need to install the 'alsa-utils' package (using for example Synaptic).

From the command line, you can use alsamixer. Use TAB for selecting the 'Playback', 'Capture' or 'All' window, and use LEFT/RIGHT to select the desired control. You have to make sure you get the following settings right (all of them):
  • All channels must be non-zero (use UP/DOWN).
  • 'Capture' must be enabled (use SPACE).
  • Select the correct 'Input Source' if you have more than one. (I only have 'Mic'.)

In my case, i had to enable 'Capture'. This is how it looked before the change (not-working). Note dashed line above 'Capture':



And this is how it looked after getting it right. Note red 'CAPTUR' tag above 'Capture':



Activating capture can be done easier with the amixer tool:

Code:
$ amixer set 'Capture' cap
If the configuration gets lost after each reboot, then you can make the cnahge permanent adding this line to '/etc/rc.local' file, before 'exit 0'.

Simply typing amixer in the terminal puts out your current settings. In my case, when 'Capture' was disabled, both channels were '[off]':

Code:
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 9 [60%] [13.50dB] [off]
  Front Right: Capture 9 [60%] [13.50dB] [off]
After enabling it:

Code:
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 9 [60%] [13.50dB] [on]
  Front Right: Capture 9 [60%] [13.50dB] [on]
[2007-04-22 EDIT: Added /etc/rc.local fix.]
[2007-04-23 EDIT: Better explained.]
Attached Thumbnails
Click image for larger version

Name:	nocap.png
Views:	2560
Size:	27.2 KB
ID:	30447   Click image for larger version

Name:	cap.png
Views:	2578
Size:	27.9 KB
ID:	30446  

Last edited by jjalocha; April 23rd, 2007 at 10:08 AM.. Reason: more precise wording
jjalocha is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:40 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry