the sound card works only when there are speakers plugged in, (I cant work out how to make it use the internal speakers, as well as not being able to re-configure the ports like I can in Vista to allow 5.1 channel sound unless i use the SPDIF.
Now the general advice I give for sound problems is to start trying to work your way through the openSUSE audio troubleshooting guide: SDB:AudioTroubleshooting - openSUSE .
Do NOT use the startup system sound as your criteria for stating sound does not work. Also be certain to check your mixer. Its not uncommon for a mixer setting (master, pcm or speaker) to be muted upon boot. In KDE your mixer is “kmix” (the small speaker in right hand corner). In Gnome your mixer is “alsamixer”.
Note, when testing if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole:
speaker-test -Dplug:front -c2 -l5 -twav
Note Linux is case sensitive, and “D” is not the same as “d”. To stop the above test, while the konsole/xterm has the mouse focus, press <CTRL><C> on the keyboard. Note you should check your mixer settings (kmix if using KDE, and alsamixer if using Gnome) to ensure that PCM and Master Volume are set around 95%. Once you have basic sound established you can back off to lower volume levels. Note the test for surround sound is different.
If that test yields errors (and its not uncommon to get errors there), try instead this more simple test: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. Its quite common that one of those speaker tests will work and one will NOT work, so don’t be distressed if that is the case. IF that test gives sound, stop now, post that the sound test gives sound, and we will look at other possible causes for your applications not giving you the sound you want (such as missing codecs, using the wrong packaged version … etc … ).
Or alternatively, for testing the simple playback, use aplay program. Prepare a WAV file and simply run like:
aplay -vv somefile.wav
With the option -vv, aplay shows the verbose information of the PCM device, and a VU-peak meter during playing the file.
Try those speaker-tests as both a regular user, and also with root permissions. If you have a headset, try with your headset plugged in, and also with your headset not plugged in (for speakers).
Assuming no sound, can you provide more very detailed information so a good recommendation can be given? For openSUSE-11.1, you can do that, with your laptop connected to the internet, by opening a gnome-terminal or a kde konsole and twice copy and paste the following into that terminal/konsole
Run it the 1st time with root permissions. It will ask if you wish to do an update of the script. Select YES.
Then run it again (as either a regular user or as root). This time it will diagnose your PC’s hardware and software configuration for audio, and it will post its output on the Internet/web. It will give you the URL of the web site. Please post that URL here. JUST the URL.
Also, please copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output: rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
cat /etc/modprobe.d/sound… with that information I may be able to make a recommendation.
Also, do NOT waste too much time on this. Simply post on our forum if you get stumped, and continue to look for help that way.
Note I am currently out of town on business with very limited Internet access, so my replies may be days apart.
I’ve followed your advice. Here are the results:
vagabond:/home/vagabon # rpm -qa | grep alsa
vagabond:/home/vagabon # rpm -qa | grep pulse
vagabond:/home/vagabon # rpm -q libasound2
vagabond:/home/vagabon # uname -a
Linux vagabond 22.214.171.124-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
vagabond:/home/vagabon # cat /etc/modprobe.d/sound
options snd-hda-intel model=lg
options snd slots=snd-hda-intel
alias snd-card-0 snd-hda-intel
Testing: No sound from internal speakers
From the diagnostic script I note an hardware audio Codec: Realtek ALC883 on your PC (which the script indicates is an LG Electronics P1-KP45R1 ). Your LG P1 is running a 32-bit openSUSE-11.1 with the 126.96.36.199 kernel, and a 1.0.17/1.0.18 alsa mix.
I note you applied model “lg” in your /etc/modprobe.d/sound:
Are you certain “lg” is the correct model option?
The alsa-configuration.txt file has “lg” as a model option for the ALC880. But the script identifies your codec as an ALC883 and NOT as an ALC880. Which suggests ALC880 is wrong and applying “LG” could break your sound. Do you believe the diagnostic misidentified your codec? Did you try any of the options for the ALC883 ?
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 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 3stack-6ch-intel Intel DG33* boards auto auto-config reading BIOS (default)
Just because an option does not say “lg” does not mean it is not suited for the LG P1. My recommendation is to go thru each of those model options above, one by one, trying each. Restart alsa sound driver after each (with **su -c ‘rcalsasound restart’ **- enter root password and restart mixer) and see if any of those give you better sound than the possibly “lg” option that is possibly inappropriately applied on your PC.
Posted model laptop-eapd and sound to work! All thanks for help.
strange why the model 3stack-dig was not working.
Glad to read its working now. Congratulations on getting sound to function.