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:
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.
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
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
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.