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
Old October 23rd, 2007   #1
hazica
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 20
[SOLVED] Intel hda soundcard; speakers won't mute when headphones are plugged in

Problem description:

My Intel hda sound card works just fine under normal circumstances, but when I plug the headphones in, the speakers aren't automatically muted.

I remember reading somewhere that updating the alsa driver to version 1.0.15 would solve the problem. I did and it didn't.

Needless to say that playing around with the volume sliders in various sound mixers didn't do the trick either.

I can definitely rule out any hardware problems since the system works perfectly under Vista - an OS which I passionately dislike.

I'm using Kubuntu Gutsy (I upgraded from Feisty).

I'd really appreciate your help.

Thanks.


EDIT: this info might be useful:

Code:
$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfc400000 irq 22

Last edited by hazica; October 23rd, 2007 at 09:26 AM.. Reason: some code added
hazica is offline  
Old October 23rd, 2007   #2
brk3
Gee! These Aren't Roasted!
 
Join Date: Jan 2005
Beans: 198
Re: Intel hda soundcard; speakers won't mute when headphones are plugged in

I also have a similar problem with this card since I upgraded to Gutsy in that the volume slider in the volume applet/alsamixer appears to have no effect on the volume.. very annoying
brk3 is offline  
Old October 23rd, 2007   #3
thegr8brian
5 Cups of Ubuntu
 
Join Date: Oct 2007
Location: Boston
Beans: 25
Ubuntu 9.04 Jaunty Jackalope
Re: Intel hda soundcard; speakers won't mute when headphones are plugged in

I had the same problem try adjusting the surround volume, for some reason my laptop speakers are labelled as surround and my headphone is labelled as front.
thegr8brian is offline  
Old October 23rd, 2007   #4
hazica
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 20
Re: Intel hda soundcard; speakers won't mute when headphones are plugged in

Thanks thegr8brian for the suggestion but i don't have any surround settings sliders.

I only have 3 output setting sliders: Master, PCM, and Digital. I have no idea what "digital" stands for but it doesn't appear to have any effect on the sound output. Master and PCM, both adjust the sound volume.

Any other suggestions?

EDIT: here is another bit of info straight from the horse's mouth:
Code:
$ cat /proc/asound/*

cat: /proc/asound/card0: Is a directory
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfc400000 irq 22
  0: [ 0]   : control
  1:        : sequencer
  4: [ 0- 0]: hardware dependent
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 24: [ 0- 0]: digital audio capture
 33:        : timer
00-00: HDA Codec 0
cat: /proc/asound/Intel: Is a directory
 0 snd_hda_intel
cat: /proc/asound/oss: Is a directory
00-01: Conexant Digital : Conexant Digital : playback 1
00-00: CONEXANT Analog : CONEXANT Analog : playback 1 : capture 1
cat: /proc/asound/seq: Is a directory
G0: system timer : 4000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
Advanced Linux Sound Architecture Driver Version 1.0.15.
Compiled on Oct 23 2007 for kernel 2.6.22-14-generic (SMP).

Last edited by hazica; October 23rd, 2007 at 03:44 PM..
hazica is offline  
Old October 23rd, 2007   #5
palintheus
Way Too Much Ubuntu
 
Join Date: Jun 2006
Location: Norman, OK
Beans: 282
Ubuntu 8.04 Hardy Heron
Send a message via AIM to palintheus
Re: Intel hda soundcard; speakers won't mute when headphones are plugged in

This is marked solved, but I don't see a solution, unless I'm missing something
palintheus is offline  
Old October 23rd, 2007   #6
hazica
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 20
Re: [SOLVED] Intel hda soundcard; speakers won't mute when headphones are plugged in

Ok. Finally managed to get the damn thing working! I can finally listen to music in the library!

Should anyone be interested in how I managed to do it, well... here is the solution.

Assuming you already have alsa up and running, you can jump straight to the section called Manually Specify Module Parameters

Here's what I've done to fix my problem:

Basically you tell alsa which driver to use for your hda intel sound card. You do this by first looking at the output of
Code:
head -n 1 /proc/asound/card0/codec*
In my case it was
Code:
Codec: Conexant CX20549 (Venice)
Then you issue the command:
Code:
zless /usr/share/doc/alsa-base/driver/ALSA-Configuration.txt.gz
Look for the subtitle "Module snd-hda-intel". In this subsection look for the name of codec (in my case the Conexant CX20549 was renamed to Conexant 5045). Then go through the list of possible options for this codec and choose the one that suits you best. I had the choice between laptop and test.

The next thing to do is edit the /etc/modprobe.d/alsa-base file as root.
Code:
sudo kate /etc/modprobe.d/alsa-base
Replace kate with your preferred editor (gedit, vim).
Add the line options snd-hda-intel model=OPTION_YOU_CHOSE to the file.
In my case, the line looked like this options snd-hda-intel model=laptop.
Save and reboot.

That should do the trick.

PS: The same howto in german: link
hazica is offline  
Old October 24th, 2007   #7
tanas
5 Cups of Ubuntu
 
tanas's Avatar
 
Join Date: Jan 2007
Location: Portugal
Beans: 22
Ubuntu 8.10 Intrepid Ibex
Re: [SOLVED] Intel hda soundcard; speakers won't mute when headphones are plugged in

Thanks hazica!!! It worked!
I followed your instructions in German, and just had to try two different options.

For those who don't read German and have a ALC883 as I do, there's an extra step that hazica didn't wiote here (because the thread was related to another card). Add the same line

snd-hda-intel model=OPTION_YOU_CHOSE
in the end of file /etc/modules without the "options".

tanas is offline  
Old October 25th, 2007   #8
hazica
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 20
Re: [SOLVED] Intel hda soundcard; speakers won't mute when headphones are plugged in

Quote:
Originally Posted by tanas View Post
For those who don't read German and have a ALC883 as I do, there's an extra step that hazica didn't wiote here (because the thread was related to another card). Add the same line

snd-hda-intel model=OPTION_YOU_CHOSE
in the end of file /etc/modules without the "options".
Sorry about the omission. As you said, it wasn't relevant to me so i kind of overlooked it.
hazica is offline  
Old October 28th, 2007   #9
labord
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 1
Re: [SOLVED] Intel hda soundcard; speakers won't mute when headphones are plugged in

I too have an ALC883 and I followed all the suggested steps but none of the options offered in alsa-config solved my problem. I tried "laptop-eapd" but then only headphones worked (after rebooting), speakers were mute. Then I tried "acer" with the same result, and "medion" did not work at all (my laptop is neither acer nor medion, its a cheap no-name from pc-world). Any suggestions?
labord is offline  
Old March 19th, 2008   #10
Scarabomb
5 Cups of Ubuntu
 
Scarabomb's Avatar
 
Join Date: May 2006
Location: Florida
Beans: 19
Ubuntu 7.10 Gutsy Gibbon
Re: [SOLVED] Intel hda soundcard; speakers won't mute when headphones are plugged in

Quote:
Originally Posted by tanas View Post
Thanks hazica!!! It worked!
I followed your instructions in German, and just had to try two different options.

For those who don't read German and have a ALC883 as I do, there's an extra step that hazica didn't wiote here (because the thread was related to another card). Add the same line

snd-hda-intel model=OPTION_YOU_CHOSE
in the end of file /etc/modules without the "options".

OMG THANK YOU SO MUCH!! I've broken my system about 10 times now trying to find different fixes but this and

Quote:
Originally Posted by hazica View Post
Ok. Finally managed to get the damn thing working! I can finally listen to music in the library!

Should anyone be interested in how I managed to do it, well... here is the solution.

Assuming you already have alsa up and running, you can jump straight to the section called Manually Specify Module Parameters

Here's what I've done to fix my problem:

Basically you tell alsa which driver to use for your hda intel sound card. You do this by first looking at the output of
Code:
head -n 1 /proc/asound/card0/codec*
In my case it was
Code:
Codec: Conexant CX20549 (Venice)
Then you issue the command:
Code:
zless /usr/share/doc/alsa-base/driver/ALSA-Configuration.txt.gz
Look for the subtitle "Module snd-hda-intel". In this subsection look for the name of codec (in my case the Conexant CX20549 was renamed to Conexant 5045). Then go through the list of possible options for this codec and choose the one that suits you best. I had the choice between laptop and test.

The next thing to do is edit the /etc/modprobe.d/alsa-base file as root.
Code:
sudo kate /etc/modprobe.d/alsa-base
Replace kate with your preferred editor (gedit, vim).
Add the line options snd-hda-intel model=OPTION_YOU_CHOSE to the file.
In my case, the line looked like this options snd-hda-intel model=laptop.
Save and reboot.

That should do the trick.

PS: The same howto in german: link
Worked for me.

It took me awhile to get my speakers back up after I messed them up. Next task, transferring my iTunes playlists and getting WoW to play faster than 20 fps.
Scarabomb 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 03:25 AM.


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