Sound problem with HDA Intel (STAC92XX Analog) on Compaq nt

Hello guys, I installed new opensuse with KDE 4.1, I can’t get any solution for my Compaq laptop(CQ40 312TU) based on ICH9 family with Celeron.

Everything goes well, but only sound card doesn’t. So I added opensuse ‘multimedia’ sources in my YasT, and installed all kinda ‘alsa’ related things decribed in this thread.

After this, sounds work ‘ANYWAY’ but sound repeated like ‘Hell, hell, hello, m my na na name is…’ in amarok and it was same in Utube, and all kind of ‘sound things’.

What I have to do? Now I’m writing this thread on Kubuntu Interpid, and I got same problem on Kubuntu but solved with adding “options snd-hda-intel enable_msi=1” in /etc/modprobe.d/alsa-base, It works but not in opensuse.

Try adding that line “options snd-hda-intel enable_msi=1” to the opensuse file /etc/modprobe.d/sound

Then restart your PC and test your sound.

I did. but same problem goes on my laptop. It seems that opensuse can’t load valid options for this ICH9.

So, wait for 11.2 or opensuse linux god in my country(because of language) are the best way for me. But Korean opensuse users are so limited… I hope I can meet any GOD for me.

Thx for your advice. Even It doesn’t work at all. I need to study about linux more than now.

We could go back to the beginning and try to analyze your computer hardware and software, to see what a solution might be. But in order for us to do that, we need a lot more information about your computer.

Note, when testing your sound, ensure you moved both master and PCM volume controls up in your mixer to 95% when testing sound. After you have confirmed basic sound you can move those down to a lower level to remove distortion.

Please note that to determine if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. If you hear that voice, then you likely have an application or a codec problem. Post if that is the case, and the advice then will be different.

Assuming the above did not help, can you provide more very detailed information so a good recommendation can be given? You can do that, with your PC connected to the internet, by opening a gnome-terminal or a kde konsole and typing with root permissions, the following twice:
/usr/sbin/alsa-info.shthe first time it will update the diagnostic script, and the second time the diagnostic script will post the output (of your PCs hardware/software audio config) to a web site on the Internet. 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
uname -a
cat /etc/modprobe.d/soundWe also need that output.

I’m having the same issues with the same card posted above I ran the script you suggested and here is the output URL http://www.alsa-project.org/db/?f=f6ade69dee66f9f731398823576786956b744e05 I hope this helps you figure out whats wrong :slight_smile:

I note the script indicates you have an IDT 92HD73C1X5. There are many different STAC92XX implementations, and since user cymacyma did not run the script, I have no idea as to which STAC92xx implementation they have, and hence your solution and their solution could be completely different.

Hence trying to help two of you on the same thread is likely counter productive and could end up in me giving the wrong advice to the wrong person. Can you start a new thread, and in the new thread:
a. provide the URL with the script output (like you did above), and
b. also provide the output of running in a terminal or a konsole:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

I have got a same problem as the above person. and the audio is not working in compaq laptop.
Plz find the details here after running the alsa-info.sh.

http://www.alsa-project.org/db/?f=03987750b68d53c071b255601c62f644a6bac8c0

Plz help.
Thanks,
Sendillinux

PLz find more details regarding audio not working on compaq laptop

*linux-6qfw:/home # rpm -qa | grep alsa
alsa-1.0.18-8.9
alsa-oss-32bit-1.0.17-1.37
alsa-utils-1.0.18-6.4
alsa-devel-1.0.18-8.9
alsa-plugins-pulse-1.0.18-6.13
alsa-oss-1.0.17-1.43
alsa-plugins-1.0.18-6.13
linux-6qfw:/home # rpm -qa | grep pulse
libpulse-mainloop-glib0-0.9.12-9.5
pulseaudio-module-bluetooth-0.9.12-9.5
pulseaudio-utils-0.9.12-9.5
libpulse0-0.9.12-9.5
libpulse-browse0-0.9.12-9.5
pulseaudio-0.9.12-9.5
pulseaudio-module-x11-0.9.12-9.5
pulseaudio-esound-compat-0.9.12-9.5
libpulse0-32bit-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.13
pulseaudio-module-gconf-0.9.12-9.5
pulseaudio-module-lirc-0.9.12-9.5
libpulsecore4-0.9.12-9.5
pulseaudio-module-zeroconf-0.9.12-9.5
linux-6qfw:/home # rpm -q libasound2
libasound2-1.0.18-8.9
linux-6qfw:/home # uname -a
Linux linux-6qfw 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux
linux-6qfw:/home # cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.ymTDDUiFrW9:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel
linux-6qfw:/home #
*

Thanks in advance,
Sendillinux

According to the script, your laptop has an IDT 92HD71B7X hardware audio codec.

My experience with helping users with that Hardware audio codec is typically one needs to do at least one, and possibly two things, to get sound working:

  • update to 1.0.19 of alsa (consistent with your kernel version) and
  • in addition to the alsa update, possibly implement a hand edit to the /etc/modprobe.d/sound file

We can start with trying an update to alsa to see if that helps, and if not , then with the alsa update in place try some changes to the /etc/modprobe.d/sound file.

To update alsa, I will follow the guide here in my recommendations: Alsa-update - openSUSE

So please open a konsole or a terminal, type “su” (no quotes - enter root password when prompted) and then with your laptop connected to the Internet, copy and paste and execute in sequence, one at a time, the following six zypper commands, which I specifically constructed (based on the guide I noted) for your configuration:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia
zypper install alsa alsa-devel 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-default
zypper rr multimedia

then restart your PC and test your sound. Please test your sound using the two different speaker tests noted here: SDB:AudioTroubleshooting - speaker-test - openSUSE trying both as a regular user and with root permissions, with headset and without headset.

If that does not work, then advise, and some edits to your /etc/modprobe.d/sound file can be attempted.

What Compaq model laptop do you have?

Sound audible both with and without headset.
Thank you so much.
I am using compaq cq40-144tu laptop model.
Now i am tring to install mplayer and other audio codecs.
Thanks again,
-Sendillinux

Great ! Congratulations on sorting this.

OK, what I do in order to sort codecs and mplayer is to set up my software repositories with 4 and only 4 repositories (no others). Specifically OSS, Non-OSS, Update and Packman. Guidance here: Repositories/11.1 - openSUSE-Community

Then I go to YaST > Software > Software Management and change ‘filter’ to “search” and search for smplayer and mplayerplug-in and install those. That will pickup mplayer as a dependency. To get further codecs I install libffmpeg0, w32codec-all, xvidcore, libxvidcore4, and libquicktime0. I use Packman packaged versions (you can tell packman versions by the “pm” in the version number).

I could not find smplayer, mplayerplug-in, libffmpeg0, w32codec-all, xvidcore, libxvidcore4 in the search option.
so i could not able to install those.
plz suggest more.

That means you have not setup your software repositories with OSS, Non-OSS, Update, and Packman.

Please re-read this post:

You can easily tell what repositories are setup, by typing in a terminal or konsole:
zypper lr

I have added the same way as specified by adding community repository
Repositories/11.1 - openSUSE-Community.
But yast could not able to update the repository.

Now i tried a different way.
To add packman, i did this.
YaST → Software → Software Repositories. Then, in the menu: Configured Software Repositories-> Repositories… Now hit the Add → Community Repositories.
Note(copy) the community URL for packman. Finish.
Then go back to :
Add → Specify URL
Paste the URL of packman.

Now the repository is updated. and i could able to see smplayer and all remaining codecs.

Now sound is not working.
While running xmms, it complains of to check

  1. whether sound card is configured properly
  2. correct output plug in is selected
  3. no other program is blocking.

MPlayer, VLC are able to play videos but sound not working.

I think, the cause of the problem is "alsa player settings are reset to new values.

After running alsa-info.sh, this is the output.

http://www.alsa-project.org/db/?f=65852b63a354218a17c641fd12665a238baafe5b

Plz suggest more.

Sound is not working? Did you try the speaker-tests? SDB:AudioTroubleshooting - openSUSE - how to test your sound

I need more information to give you a recommendation. A LOT more information. So please provide output of copying and pasting and executing the following, one line at a time, into a konsole / terminal:
rpm -qa | grep alsa
uname -a
rpm -q libasound2
rpm -qa | grep layer
rpm -qa | grep xmms
rpm -qa | grep xine
rpm -qa | grep ffmpeg
rpm -qa | grep vlc
zypper -lr

That last command should read:
zypper lr

Typing these command from memory (into a forum post) from a Windoze PC is always a bit trickier.

Following error while running speaker test :

*linux-6qfw:/home/sai # speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.0.19

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
Playback open error: -2,No such file or directory
*

After running the commands, following is the output:
*
linux-6qfw:/home/sai # rpm -qa | grep alsa
alsa-utils-1.0.19.git20090319-1.2
alsa-oss-32bit-1.0.17-1.37
alsa-plugins-1.0.19.git20090303-1.10
alsa-driver-kmp-default-1.0.19.20090330_2.6.27.7_9.1-1.1
alsa-oss-1.0.17.git20080715-2.24
alsa-plugins-pulse-1.0.19.git20090303-1.10
alsa-driver-unstable-kmp-default-1.0.19.20090324_2.6.27.7_9.1-2.1
alsa-devel-1.0.19.git20090304-3.1
alsa-firmware-1.0.19.git20090317-1.1
alsa-1.0.19.git20090304-3.1
alsa-tools-1.0.19.git20090320-1.2

linux-6qfw:/home/sai # uname -a
Linux linux-6qfw 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

linux-6qfw:/home/sai # rpm -q libasound2
libasound2-1.0.19.git20090304-3.1

linux-6qfw:/home/sai # rpm -qa | grep layer
flash-player-10.0.22.87-0.1.1
pullin-flash-player-11.1-1.1
MPlayer-1.0rc2_r27637-3.pm.3
smplayer-0.6.7-0.pm.1
linux-6qfw:/home/sai # rpm -qa | grep xmms
xmms-1.2.11-1.pm.1
xmms-lib-1.2.11-1.pm.1

linux-6qfw:/home/sai # rpm -qa | grep xine
xinetd-2.3.14-129.35
libxine1-gnome-vfs-1.1.15-20.8
xine-ui-0.99.5-221.38
libxine1-1.1.15-20.8
libxine1-pulse-1.1.15-20.8

linux-6qfw:/home/sai # rpm -qa | grep ffmpeg

linux-6qfw:/home/sai # rpm -qa | grep vlc
vlc-gnome-0.9.9-1.1
libvlc2-0.9.9-1.1
vlc-noX-0.9.9-1.1
vlc-qt-0.9.9-1.1
libvlccore0-0.9.9-1.1
vlc-0.9.9-1.1
vlc-aout-pulse-0.9.9-1.1

linux-6qfw:/home/sai # zypper -lr
Unknown option ‘l’

linux-6qfw:/home/sai # zypper lr

| Alias | Name | Enabled | Refresh

—±----------------±----------------------±--------±-------
1 | games | games | Yes | Yes
2 | multime | multime | Yes | No
3 | openSUSE 11.1-0 | openSUSE 11.1-0 | Yes | No
4 | packman | packman | Yes | Yes
5 | repo-debug | openSUSE-11.1-Debug | No | Yes
6 | repo-non-oss | openSUSE-11.1-Non-Oss | Yes | Yes
7 | repo-oss | openSUSE-11.1-Oss | Yes | Yes
8 | repo-source | openSUSE-11.1-Source | No | Yes
9 | repo-update | openSUSE-11.1-Update | Yes | Yes
10 | videolan | videolan | Yes | Yes
linux-6qfw:/home/sai #

There is a problem there. The rpm I highlighted in RED shold NOT be on your system at the same time as the one in green. Your PC has both alsa-driver-kmp-default and alsa-driver-unstable-kmp-default. You need to remove alsa-driver-unstable-kmp-default. Then restart and test your sound.

You may have more problems, but in itself is enough to cause problems.

I have highlighted in red repos you have enabled that you should NOT have enabled. At least you should not have those enabled as a NEW user, who from what I have read (and please accept my apologies if this reads harsh) you don’t know your way around the repos well enough to add those extra repos. Stick with OSS, Non-OSS, Update and Packman. No others. NONE. ONLY after you know enough to resolve problems that come up with having too many should you add more. Again, I don’t believe you are at that stage and this will cause you problems.