LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   sound problems 64bits intel HDA azalia (http://www.linuxquestions.org/questions/slackware-14/sound-problems-64bits-intel-hda-azalia-793035/)

blacksky2 03-03-2010 10:33 PM

sound problems 64bits intel HDA azalia
 
i tried slackware64 a while ago and i managed to get the sound to work, it implied to edit a conf file, ive search for the answer again and, couldnt find it, ive tried alsaconf, alsa snapshot and, mobprobe.conf , no luck, its an HP pav* dv4-1212la

# lspci|grep Audio

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller

$ uname -*
2.6.29.6 #3 SMP Mon Dec 7 15:01:06 CST 2009 x86_64 AMD Athlon(tm) X2 Dual-Core QL-62 AuthenticAMD GNU/Linux

it works fine with auriculars, but its rather anoying,
thanks in avance.

doomey 03-04-2010 04:19 PM

i have another craptop from hp, probook 4515s, it has an ITE (Sigmatel - STAC) codec (with the same integrated soundcard as yours) and i needed to install alsa-driver to make the speakers work.
i downloaded the driver from alsa's homepage, then src2pkg'ed it, then installed it.
i'm on slackware64 13.0 vanilla edition.

blacksky2 03-05-2010 12:31 PM

havent tried that, lest see, thanks

kukibl 03-05-2010 06:25 PM

But it should work... Exactly same sound card on my laptop (HP Pavillion dv7) and it worked out of the box on Slackware64 13.0 and now on Gentoo.

Code:

#lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller

Please use stock Slackware alsa* packages and reconfigure with alsaconf. Then check with alsamixer volume levels and if any channel is muted (MM) - unmute it. In case it still doesn't work, post here your /etc/modprobe.d/alsa.conf.

Edit:

Also, when you set volume levels with alsamixer, don't forget to run alsactl store as root.

blacksky2 03-06-2010 10:47 PM

@kukibl i tried alsaconf and alsamixer unmutting, modprobe.d/alsa.conf, various models and nothing, the alsa driver sugested by doomey sends some message, on startup about alsactl, not working but is unabiable, on dmesg, sorry for any errors, right now i have no alsa.conf any sugestions on how to make/config, last time there where some great errors, that forced me reinstall, any new aproach is welcome

vik 03-06-2010 11:05 PM

It works fine for me with no modifications (Slackware 13 64-bit). This might be obvious, but is the sound muted in kmix? What happens if you do modprobe snd_hda_intel?

blacksky2 03-08-2010 12:03 PM

no it isnt, its the fist thing ive checked, nothing happens when i # modprobe snd_hda_intel but im going to reinstall the stock slackware package

vik 03-09-2010 10:56 PM

If modprobe doesn't return anything, that means your driver is loading fine. Odd that you had to tweak configuration files to get sound working the first time; that implies that you are doing something different. Are you trying to get sound through the default HP speakers?

Please post the output of "aplay -L", "aplay -l", and try running "mplayer /usr/share/sounds/k3b_success1.wav".

blacksky2 03-27-2010 02:46 PM

#first comand
default:CARD=SB
HDA ATI SB, STAC92xx Analog
Default Audio Device
front:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=HDMI
Default Audio Device
#second comand
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
#third comand
mplayer work but only on earphones

botnet 03-27-2010 03:43 PM

Code:

grep Codec /proc/asound/card0/codec#1
then find the corresponding section to that codec in: /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt

select one of the models that corresponds to your laptop, and add the following into /etc/modprobe.d/alsa-base.conf (create the file if it does not exist):

options snd-hda-intel model=$MODEL

replace $MODEL with the model you selected from HD-Audio-Models.txt that matches your laptop and is under the section for your codec

then modprobe -r snd_hda_intel ; modprobe snd_hda_intel


you might have to try more than one model before it works correctly

Linux.tar.gz 03-29-2010 08:57 AM

The hda module is broken in 2.6.33.
You must take /usr/src/linux/sound/pci/hda/* from 2.6.32.x

botnet 03-29-2010 09:22 AM

the hda module is not broken in 2.6.33

Linux.tar.gz 03-29-2010 12:18 PM

Quote:

Originally Posted by botnet (Post 3916687)
the hda module is not broken in 2.6.33

It is, on certain platforms like two of mine. Nforce 4 and MCP51 to be exact.
This regression was listed on kernel lists.

blacksky2 03-30-2010 12:14 AM

Quote:

Originally Posted by botnet (Post 3914671)
Code:

grep Codec /proc/asound/card0/codec#1
then find the corresponding section to that codec in: /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt

select one of the models that corresponds to your laptop, and add the following into /etc/modprobe.d/alsa-base.conf (create the file if it does not exist):

options snd-hda-intel model=$MODEL

replace $MODEL with the model you selected from HD-Audio-Models.txt that matches your laptop and is under the section for your codec

then modprobe -r snd_hda_intel ; modprobe snd_hda_intel


you might have to try more than one model before it works correctly

result "Codec: LSI ID 1040" searched for it on the file couldnt find any thing like that

ponce 03-30-2010 01:04 AM

maybe what alien bob's writes about debugging hda audio for his eeepc can help.

Code:

$ grep -i "hp dv" /usr/src/linux-2.6.29.6/Documentation/sound/alsa/HD-Audio-Models.txt
  hp-m4        HP dv laptops



All times are GMT -5. The time now is 10:06 AM.