You are not logged in.

#1 2009-08-24 21:20:24

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Audio problem

Hello im having problem with my audio, I can´t get it to work, it feels like it should work out of the box.
This is the audio device:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

Here is a screenshot from alsamixer:
tMjdsYQ

It´s probably not that hard to fix this problem but I can´t come up with the problem.
I have runned alsaconf and the program found the audio device and configured it automatic but something is wrong somewhere, I have tried if it was muted on the keyboard but nothing.

/Neuwerld

Last edited by neuwerld (2009-08-24 21:55:13)

Offline

#2 2009-08-25 11:06:12

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Audio problem

anybody?

Offline

#3 2009-08-25 11:25:08

arunix
Member
From: /home/kurali
Registered: 2009-04-08
Posts: 93

Re: Audio problem

did u configure alsa?
or try this

http://wiki.archlinux.org/index.php/ALSA


Minds are like parachutes. They only function when they are open.

Offline

#4 2009-08-25 13:10:45

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Audio problem

arunix wrote:

did u configure alsa?
or try this

http://wiki.archlinux.org/index.php/ALSA

Yes of course I did smile

Offline

#5 2009-08-25 14:00:53

arunix
Member
From: /home/kurali
Registered: 2009-04-08
Posts: 93

Re: Audio problem

neuwerld wrote:
arunix wrote:

did u configure alsa?
or try this

http://wiki.archlinux.org/index.php/ALSA

Yes of course I did smile

what about pcm ?
is it on or off.....


Minds are like parachutes. They only function when they are open.

Offline

#6 2009-08-25 14:01:16

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Audio problem

Laptop? If so you might need a module option.
Also, unmute the Headphone channel.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-08-25 14:13:17

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Audio problem

Some users have reported that sound automagically started working after using alsaconf I believe.
If not you may need to add some options in modprobe.conf, lately hdaudio codecs such as yours seem to need such options before there is sound, do a search here in the forums and check what other users have tried until they solved the problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2009-08-25 14:29:05

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Audio problem

I know got the sound working when using headphones plugged in but not from the speakers ?
I have checked and as you can see on the screenshot in my first post I have the controls unmuted, hmmm...

/Neuwerld

Offline

#9 2009-08-25 16:07:29

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Audio problem

Since this is a laptop, you probably need a module option to make it behave as it should. Software switching on the headphone jack failing is a common problem.

Edit: if you are lucky, there is a switch you can toggle on one of the other pages in alsamixer to send the sound out on the speakers, but don't count on it.

Last edited by Mr.Elendig (2009-08-25 16:08:17)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#10 2009-08-25 21:59:12

l33tunderground
Banned
Registered: 2007-05-09
Posts: 103

Re: Audio problem

First of all, I notice that your "Speaker" channel is muted. Try unmuting that (m). If that doesn't work, try the following command to initialize your PCM channel.

aplay /usr/share/sounds/alsa/Front_Center.wav

Whenever I install alsa, I usually need to try to play one file to make PCM show up. Then, make sure you run

alsactl store

as root and add alsa to the DAEMONS line in /etc/rc.conf

Offline

#11 2009-08-26 08:53:30

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Audio problem

l33tunderground wrote:

First of all, I notice that your "Speaker" channel is muted. Try unmuting that (m). If that doesn't work, try the following command to initialize your PCM channel.

aplay /usr/share/sounds/alsa/Front_Center.wav

Whenever I install alsa, I usually need to try to play one file to make PCM show up. Then, make sure you run

alsactl store

as root and add alsa to the DAEMONS line in /etc/rc.conf

I have done the things you mentioned and nothing hmm

Offline

#12 2009-08-26 19:20:06

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Audio problem

Mr.Elendig wrote:

Since this is a laptop, you probably need a module option to make it behave as it should.

What do you mean with that, how can I do that exactly :S

/Neuwerld

Offline

#13 2009-08-26 20:26:03

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Audio problem


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#14 2009-08-27 03:34:09

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Audio problem

Mr.Elendig wrote:

Laptop? If so you might need a module option.
Also, unmute the Headphone channel.

Ya it sounds like you need to add a module. I have too on both my laptops with intel cards.

I just add this line to /etc/modprob.conf

#
# /etc/modprobe.conf (for v2.6 kernels)
#

options snd-hda-intel model=laptop

Also, do you have a nVidea graphics card? On my laptop I have an ATI card. When I ran alsaconfig it found 2 audio cards the Intel one and an ATI one. I am assuming the ATI graphics card has a audio card built in. I set up the Intel card.

In your pic it shows you using a nVidia Audio card not your intel card. So, you mite want to make sure I am wrong or right about that.

One more thing on my new laptop some times the audio driver will get messed up if I have my head phones plugged in on bootup.

Last edited by hunterthomson (2009-08-27 03:35:36)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#15 2009-08-27 06:29:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: Audio problem

What brand and model laptop are you using?

My HP DV4 has the Intel HD chip and it works great - now.

It turns out that HP uses message signaled interrupts on the PCIe bus.  Out of the box, this resulted in the sound "stuttering" and missed noticing when audio jacks were inserted and removed -- sometimes.  This created all kinds of havoc with the audio output switching.

It might be that  you have a laptop that uses MSI as well, try adding the following incantation to modprobe.conf:

options snd-hda-intel enable_msi=1

It might help, it won't do any damage.  If it does not help, be sure to take it back out.

Last edited by ewaller (2009-08-27 06:31:06)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#16 2009-08-27 12:49:04

lararefaeli
Member
Registered: 2009-08-27
Posts: 3

Re: Audio problem

Hi...

I think it would be better if you have posted some information about your configuration so I can be specific about the system you are using.I am asking you for it because if i can get the details then I can give you proper diagnostic guide with steps to follow.

Offline

#17 2009-08-27 20:07:05

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Audio problem

ewaller wrote:

What brand and model laptop are you using?

My HP DV4 has the Intel HD chip and it works great - now.

It turns out that HP uses message signaled interrupts on the PCIe bus.  Out of the box, this resulted in the sound "stuttering" and missed noticing when audio jacks were inserted and removed -- sometimes.  This created all kinds of havoc with the audio output switching.

It might be that  you have a laptop that uses MSI as well, try adding the following incantation to modprobe.conf:

options snd-hda-intel enable_msi=1

It might help, it won't do any damage.  If it does not help, be sure to take it back out.

I tried the option but it didn´t help, thanks anyway thou!

Hunterthompson:
Im not really sure, when i run alsaconf it only finds the Intel card, but in alsamixer it says intel hda and something lite Nvidia ID 3.

When i run aplay -l it gives me:

card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lspci gives me this info:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

lspci -nv:

00:1b.0 0403: 8086:293e (rev 03)
    Subsystem: 103c:306a
    Flags: bus master, fast devsel, latency 0, IRQ 29
    Memory at d7000000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel

And the computer is a Compaq CQ-61-225eo
/Neuwerld

Last edited by neuwerld (2009-08-27 21:08:36)

Offline

#18 2009-08-27 20:37:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Audio problem

Your output of aplay -l and lspci are perfectly normal smile
To put it simply, the controller chip that does the math (if any) is the intel one and thats what is connected to the bus, so thats what lspci shows.
What you see with aplay is what will translate digital to analog signals (and analog to digital) the STAC92xx codec.

Having an hdaudio controller and codec always makes things difficult for us linux users because each connection in the codec can be either an input or output and manufacturers can connect them as they see fit. Then manufacturers released their proprietary drivers and things sort of work well ... in another OS tongue but leaves the linux users scratching their heads and doing some trial and error until what connects where is figured out.

That's why there are so many model (and other) options for the hdaudio controllers/codecs.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#19 2009-08-27 21:27:20

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Audio problem

Hum ya I have the same audio card...

[xxxx@Linux-Box ~]$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
01:00.1 Audio device: ATI Technologies Inc RV635 Audio device [Radeon HD 3600 Series]

Have you tryed to add the model option line to modprobe.conf ? I really think that is all that you need to do. Try the "laptop" option it is a generic one that should work but possibly not as well as it could.


p.s. Boy I find it vary strange that my Graphics HD3650 card has an Audio device?

Last edited by hunterthomson (2009-08-27 21:32:43)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#20 2009-08-30 12:12:21

ewigkeit
Member
Registered: 2009-01-06
Posts: 53

Re: Audio problem

Hi there,

I have / had exactly the same problem with the same card. Well, not exactly the same, because the subwoofer of my new notebook worked, but the other speakers didn't.

But I got it figured out with the help of http://www.kernel.org/doc/Documentation … Models.txt and some ideas in this thread. (Thanks for your input, everybody!)

Added in /etc/modprobe.d/modprobe.conf

options snd-hda-intel model=hp-dv5

because I have a HP DV7 notebook (hp-dv5 works with the DV-Series generally, it seems).

You really have to try different model-settings, check the posted link / file for a matching model.
Just my headphone jacks are still dead. If anyone has a clue, how to enable the headphone jack, I'll appreciate that.


@hunterthomson

Nope, that's absolutley normal, because Radeon HD Cards have a separate audio chip onboard for enabling audio easily on a HDMI-Connection (PC connected to HDTV-TV). And it's pretty useful (for my purposes ;-)).

Offline

#21 2009-09-01 00:46:23

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Audio problem

ewigkeit wrote:

@hunterthomson

Nope, that's absolutley normal, because Radeon HD Cards have a separate audio chip onboard for enabling audio easily on a HDMI-Connection (PC connected to HDTV-TV). And it's pretty useful (for my purposes ;-)).

Hum, well that is cool. I have an HDMI port too.


Ya, that list you linked too. Thats the one. You just find the model in there and all is well. Good one, I could not find that list again for some reason.

Last edited by hunterthomson (2009-09-01 00:48:06)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#22 2009-10-26 23:28:09

ybotspawn
Member
From: Oz
Registered: 2008-04-06
Posts: 140

Re: Audio problem

I know this doesn't help but +1 ewaller, I have an hp dv4 and have been struggling through the weekend to figure out this stuttering problem! I'm curious where you found that the dv4 uses msi?


"As long as people are going to call you a lunatic anyway,
why not get the benefit of it? It liberates you from convention. "

Offline

Board footer

Powered by FluxBB