Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Sound not working - snd_hda_intel on Inspiron 9400
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
elitecodex
n00b
n00b


Joined: 15 Mar 2005
Posts: 30
Location: MD

PostPosted: Mon May 28, 2007 6:10 pm    Post subject: [SOLVED] Sound not working - snd_hda_intel on Inspiron 9400 Reply with quote

Hello everyone.

I have Gentoo up and running on my Dell Inspiron 9400 and all is well for the exception of my sound card. I have tried using ALSA that was built into the kernel as well as alsa-drivers package (which is currently installed). I've tried everything I can think of and am totally stomped.

Here is my lspci output:

Code:

...
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
...


and here is lsmod

Code:

Module                  Size  Used by
vmnet                  32036  15
vmmon                 167244  0
snd_seq                45232  0
ipw3945               187940  1
snd_hda_intel          19224  0
snd_hda_codec         185856  1 snd_hda_intel
snd_pcm                64132  2 snd_hda_intel,snd_hda_codec
snd_timer              20100  2 snd_seq,snd_pcm
snd                    39032  5 snd_seq,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc         11144  2 snd_hda_intel,snd_pcm


I did run alsaconf and it appeared to have showed up ok, the script did its thing and said that everything went ok. I do have alsasound starting up in the boot runlevel. alsamixer shows my card to be "HDA Intel" and the chip says "SigmaTel STAC9200". However, the only controls I have are "Master", "Capture" and "Input So". I tried running KMix (since im in kde) and nothing shows up at all.

Im at a loss... can someone point me in the right direction? Thanks alot!


Last edited by elitecodex on Sat Jun 02, 2007 12:51 am; edited 1 time in total
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Mon May 28, 2007 6:45 pm    Post subject: Reply with quote

More often than not, snd_hda_intel seems to need a "kick in the right direction". The kernel documentation has a list of possible "module" parameters in "Documentation/sound/alsa/ALSA-Configuration.txt". Look up which best fits yours and try to load the snd-hda-intel module with that as parameter.

FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
elitecodex
n00b
n00b


Joined: 15 Mar 2005
Posts: 30
Location: MD

PostPosted: Mon May 28, 2007 7:30 pm    Post subject: Reply with quote

Ok, I looked at the documentation and the parameters did not help. I tried to "rmmod" and modprobe the module with many different parameters, including position_fix=1 and position_fix=2, and single_cmd=1, none of which worked. Didnt appear that anything changed after re-loading the module.

Any other ideas?
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Mon May 28, 2007 10:04 pm    Post subject: Reply with quote

From the text, it should need "model=ref". Some people say it may need "position_fix=1" (but you might want to wait with that) -> https://forums.gentoo.org/viewtopic-t-436869.html

I don't have an Inspiron, so I can't test 8)

FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
shazza
n00b
n00b


Joined: 18 Oct 2003
Posts: 71
Location: Marburg, Germany

PostPosted: Mon May 28, 2007 10:10 pm    Post subject: Reply with quote

I put my Inspiron 9400 on Ebay last month, so I'm not 100% sure how many and what controls I did have. I am sure however, that 1) I had sound with snd_hda_intel out of the box and 2) I needed position_fix (1, I think) to get rid of some sound distortions and to fix headphone detection.

You did unmute the all channels with alsamixer and then tried to play a soundfile?

Sounds more like a problem with KMix (and the whole circus related with it) to me.

Also there's a whole thread about this specific notebook!
Back to top
View user's profile Send private message
elitecodex
n00b
n00b


Joined: 15 Mar 2005
Posts: 30
Location: MD

PostPosted: Tue May 29, 2007 1:21 am    Post subject: Reply with quote

Yeah, I found that thread this morning and did try it per his exact instructions... no luck. Thats how I ended up here. Although I am farther than I was before.

I'll try the model thing and see how it works... when I open alsamixer I can only change "Master" and "Capture" both of which are maxed out.

And yes, I have some mp3's that I tried to play with no luck (and a few movies also).

Any other ideas? I'll investigate the model parameter to see if that helps.. Thanks for the help!!
Back to top
View user's profile Send private message
cool_smile
n00b
n00b


Joined: 29 May 2007
Posts: 11

PostPosted: Tue May 29, 2007 10:53 pm    Post subject: Reply with quote

I have an Inspiron 1300. Here comes some information:

Code:
paranano nils # lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
paranano nils # grep -i snd /usr/src/linux/.config
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_SOC is not set
paranano nils #


I'm running kernel 2.6.21-gentoo. And I had some sound trouble with 2.6.20 (no sound, or 50% cpu usage). A kernel update may help.
_________________
cool_smile

https://team-emphasis.org/
Back to top
View user's profile Send private message
elitecodex
n00b
n00b


Joined: 15 Mar 2005
Posts: 30
Location: MD

PostPosted: Thu May 31, 2007 5:18 pm    Post subject: Reply with quote

Thanks for the reply cool_smile. Regretfully nothing has worked as of yet... I did try passing the model parameter per the ALSA-Configuration.txt.

I also tried upgrading to 2.6.21-gentoo.r2 with the new alsa-driver also (the one I had installed would not work with the new kernel... got some compiler errors). In any event, Im right back to where I was in the old kernel. The modules are loaded, udev appears to pick up the sound card and loads the module... alsaconf picks up the sound card and says it appears to be there... Im at a loss.

Any other ideas? Im about ready to try anything at this point :) Any kind of debugging info I can enable to help pin-point why this is going on? Never had so many sound probs before...
Back to top
View user's profile Send private message
Dale_the_Titled
n00b
n00b


Joined: 16 Jan 2004
Posts: 26

PostPosted: Thu May 31, 2007 9:32 pm    Post subject: Reply with quote

I've got the same problem with a System76 Darter. I can't get Intel HDA modules to work with gentoo-sources higher than 2.6.20 for some reason. Sucks because I'm wanting to try out the suspend2 sources. I've tried putting model=laptop in the modules.d, but I'm not sure if that's the 'correct' model. I still haven't figured it out, but thought I'd chime in.
Back to top
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Fri Jun 01, 2007 8:21 am    Post subject: Reply with quote

For me it works with this /etc/modules.d/alsa and alsa-driver from portage (not the in-kernel ones):

Code:

alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio

alias sound-slot-0 snd-hda-intel
alias sound-slot-1 snd-usb-audio


alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss #test
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss #test
alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd-hda-intel position_fix=1 model=ref index=0
options snd-usb-audio index=1


alias /dev/dsp1 snd-pcm-oss
options snd cards_limit=2

i have a second usb-soundcard connected. works, too...
_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
Back to top
View user's profile Send private message
MoridinBG
n00b
n00b


Joined: 24 May 2007
Posts: 13

PostPosted: Fri Jun 01, 2007 12:40 pm    Post subject: Reply with quote

Does snd-hda_intel support 5.1? When I enable Surround control and/or 6ch mode I got terrible high frequency noise and when I change the sound level either from alsamixer or KMix the sound mutes until I do "alsasound restart".
Back to top
View user's profile Send private message
elitecodex
n00b
n00b


Joined: 15 Mar 2005
Posts: 30
Location: MD

PostPosted: Sat Jun 02, 2007 12:50 am    Post subject: Reply with quote

Well, for some reason unknown to me, my sound started working... it was apparently something in relation to KDE.

I stumbled upon a website in Firefox that was playing some sound... and surprisingly it came through. Although mplayer or anything else would play sound. I re-emerged mplayer with alsa support and voila! However, mplayer and alsaplayer seems to be the only thing that is playing sound... mp3blaster says it cannot open the sound device, along with juk and amarok... so I suppose its partially cured. Just have to find out how to get all these other apps to see the sound device. I am re-emerging kdebase-meta at the moment without arts support and alsa enabled globally. Maybe something will work?

Thanks for all that helped.... I just wish that I could pinpoint what exactly made it work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum