Problem with headphones, Intel ICH7 sound

Hello,

I’m a new user of openSUSE, and I used to have Fedora 8 installed on my laptop. I had the same problem with my headphones… when I plugged, the sound kept working on the speakers. Could anyone help me? This is my hardware configuration:

suse:/home/otaviozm/mldonkey-2.9.6 # rpm -qa | grep alsa
alsa-utils-1.0.18-6.4
alsa-1.0.18-8.7
alsa-plugins-pulse-1.0.18-6.12
alsa-oss-1.0.17-1.37
alsa-plugins-1.0.18-6.12
suse:/home/otaviozm/mldonkey-2.9.6 # rpm -qa | grep pulse
pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
pulseaudio-module-lirc-0.9.12-9.6
libpulse0-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
pulseaudio-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-jack-0.9.12-9.6
suse:/home/otaviozm/mldonkey-2.9.6 # rpm -q libasound2
libasound2-1.0.18-8.7
suse:/home/otaviozm/mldonkey-2.9.6 # uname -a
Linux suse 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
suse:/home/otaviozm/mldonkey-2.9.6 # cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.PQjIfGGRrAD:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

Sorry for my poor english, I’m from Brazil!

No worries. Your English is much better than my Portuguese.

Please, can you provide one more piece of information?

Open a gnome-terminal or kde konsole, and type “su” (no quotes, enter root password) to get root permissions, then with your PC connected to the internet type twice:
/usr/sbin/alsa-info.sh
the first time will update the script, and the second time it will post your hardware/software audio configuration to the internet. Please post the URL provided by that script, here in this thread. Just post the URL.

Hopefully with that information, and with the information you already provided, I can come up with a good recommendation.

here it is:

http://www.alsa-project.org/db/?f=8e8ff3cbff5058b5dc12fbc453a1fb254a726cfb

thanks for the attention! I can teach you some Portuguese words if you want :slight_smile:

OK, thankyou.

I see your PC (running openSUSE-11.1) has an ALC883 hardware audio codec. The first thing I recommend you do is confirm your mixer settings are ok. I note the following:

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 ‘Intel’/‘HDA Intel at 0xf0000000 irq 22’
Mixer name : ‘Realtek ALC883’
Simple mixer control ‘Master’,0
Mono: Playback 21 68%] -15.00dB] [on]
Simple mixer control ‘Headphone’,0
Front Left: Playback 21 68%] -15.00dB] [on]
Front Right: Playback 21 68%] -15.00dB] [on]
Simple mixer control ‘Front’,0
Front Left: Playback 21 68%] -15.00dB] [on]
Front Right: Playback 21 68%] -15.00dB] [on]
Simple mixer control ‘IEC958’,0
Mono: Playback [off]
Simple mixer control ‘IEC958 Default PCM’,0
Mono: Playback on]I highlighted in red some settings that I think you should reconsider. The volume controls are often not linear under alsa, and you may need to move your headphone controls higher than 68%. Also, if digital audio (IEC958) is disabled, I believe there is no need to have digital PCM switched ON.

Reference the ALC883 in your PC, I note the following in searching alsa …
Search results - AlsaProject ie there have been various updates to the ALC883 in alsa since the 1.0.17/1.0.18 of alsa in openSUSE. Hence you could try updating alsa to see if that helps.

To do so, open a gnome terminal or kde konsole and with your PC connected to the internet, type “su” (no quotes - enter root password when prompted) and copy and paste the following 6 zypper commands, in sequence, executing each one at a time:

 zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia 
zypper install alsa alsa-oss alsa-plugins alsa-plugins-pulse alsa-utils alsa-tools alsa-firmware libasound2 
 zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1/ multimedia 
 zypper install alsa-driver-kmp-pae
zypper rr multimedia 

and restart your PC and test your sound and headphone.

If that does not work, we can recommend some custom settings to your /etc/modprobe.d/sound file to work with that updated alsa version.

the update doesn’t work :frowning:

is there anything else I could do?

Doesn’t work? Just your headphones? Or all sound ?

So that we can do a quality check on what you did for the update, please open a gnome-terminal or kde konsole, and type “su” (no quotes, enter root password) to get root permissions, then with your PC connected to the internet type (to run the diagnostic script again):
/usr/sbin/alsa-info.sh it will post your hardware/software audio configuration to the internet. Please post the URL provided by that script, here in this thread. Just post the URL.

Please also provide the output of:
rpm -qa | grep alsa
rpm -q libasound2

the sound on the speakers still works when I plug the earphone

http://www.alsa-project.org/db/?f=14ff1e734f2729fa48086fc97910f4367b372baf

linux-0ll9:/home/otaviozm # rpm -qa | grep alsa
alsa-utils-1.0.19.git20090206-1.2
alsa-plugins-pulse-1.0.19.git20090123-1.8
alsa-firmware-1.0.19.git20090120-1.1
alsa-tools-1.0.19.git20090120-1.9
alsa-driver-kmp-pae-1.0.19.20090213_2.6.27.7_9.1-1.1
alsa-plugins-1.0.19.git20090123-1.8
alsa-1.0.19.git20090212-1.1
alsa-oss-1.0.17.git20080715-2.18

linux-0ll9:/home/otaviozm # rpm -q libasound2
libasound2-1.0.19.git20090212-1.1

thank you for the attention!

Ok, then you need to try a model option for the ALC883, to see if you can select one that works better than what you get from the alsa autoprobe.

The HD-Audio-Models.txt file for 1.0.19 of alsa provides this list of model options for the ALC883 (which is the hardware audio codec in your PC). You need to try each of those model options, one at a time, restarting your sound between each attempt:

ALC883/888
==========
  3stack-dig	3-jack with SPDIF I/O
  6stack-dig	6-jack digital with SPDIF I/O
  3stack-6ch    3-jack 6-channel
  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
  6stack-dig-demo  6-jack digital for Intel demo board
  acer		Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
  acer-aspire	Acer Aspire 9810
  acer-aspire-4930g Acer Aspire 4930G
  medion	Medion Laptops
  medion-md2	Medion MD2
  targa-dig	Targa/MSI
  targa-2ch-dig	Targs/MSI with 2-channel
  laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
  lenovo-101e	Lenovo 101E
  lenovo-nb0763	Lenovo NB0763
  lenovo-ms7195-dig Lenovo MS7195
  lenovo-sky	Lenovo Sky
  haier-w66	Haier W66
  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
  6stack-dell	Dell machines with 6stack (Inspiron 530)
  mitac		Mitac 8252D
  clevo-m720	Clevo M720 laptop series
  fujitsu-pi2515 Fujitsu AMILO Pi2515
  fujitsu-xa3530 Fujitsu AMILO XA3530
  3stack-6ch-intel Intel DG33* boards
  auto		auto-config reading BIOS (default)

So, lets say you start with the option “auto” from the above list. Then edit your /etc/modprobe.d/sound file, such that it now looks like:

options snd-hda-intel model=auto
options snd slots=snd-hda-intel
# u1Nb.PQjIfGGRrAD:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel

then restart your alsa sound driver by typing into a gnome terminal or kde konsole su -c ‘rcalsasound restart’ and restart your mixer and test your sound/headphones.

If that does not work, then replace “auto” with another item from list (say you try “3stack-dig” next. Restart alsa as per above method, restart mixer, and test your sound/headphones.

Do that for each model option until you (hopefully) have success.

By the way, what model laptop do you have?

Ok, I’ll try that!

my laptop is a CCE Info, a Brazilian mark: www.cceinfo.com.br, but the parts must be all imported from USA or China

the manual:

http://download.cceinfo.com.br/manuais/MPLD10H120.pdf

6stack-dig worked!! thanks a lot!!

I’m really satisfied with opensuse 11.1, and this forum is great :slight_smile:

Fantastic! Congratulations!!

Thanks for sharing your solution.