View previous topic :: View next topic |
Author |
Message |
al Guru
Joined: 26 Dec 2002 Posts: 304 Location: Scotland
|
Posted: Tue Jan 21, 2003 9:54 pm Post subject: Onboard sound probs |
|
|
I've got an onboard Sound chip which i cant get to work.
If i "modprobe snd-intel8x0" then the driver appears to load.If i do an "lsmod" then the module shows up as "Module snd-intel8x0 Size 23648 Used 0 by (unused).
If i then startkde,kde then complains that there is an error initializing the sound driver device /dev/dsp cant be opened.
If i throw a Soundblaster Live PCI card in my box then "modprobe emu10k1" then kde finds the sound card and initializes it.I can play mp3s or play UT2003 with sound fine.
Also i prefer to use Fluxbox as my window manager but if i want sound(with the Soundblaster) i have to load kde to initialize the sound server,then logout of kde,then log into Fluxbox before sound will work.
Is there any way to initialize sound logging straight into Fluxbox?
I tried to install alsa to see if it would help but it wont install(either with the snd-intel8x0, or the emu10k1)
What am i doing wrong? |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Tue Jan 21, 2003 10:54 pm Post subject: |
|
|
You have two different things there: sound drivers starting with snd- are from ALSA, the other are from OSS/Free (kernel drivers).
If you are using ALSA, you must load some modules in order to get /dev/dsp, /dev/mixer
This is from my /etc/modules.d/alsa
Code: |
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0
# OSS/Free portion - card #1
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 /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
|
Then, if you start your ALSA sound using "/etc/init.d/alsasound start", it should load the correct modules. (snd-mixer-oss, snd-pcm-oss,snd-seq-oss).
You may have to reboot to get the contents from /etc/modules.d/alsa added to your /etc/modules.conf _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
al Guru
Joined: 26 Dec 2002 Posts: 304 Location: Scotland
|
Posted: Tue Jan 21, 2003 11:30 pm Post subject: |
|
|
I don't have a file "alsa" in my etc/modules.d folder-presumably because i couldn't get alsa installed.
If i do "env ALSA_CARDS="snd- intel8x0" emerge alsa-driver" it starts the configure then bails out complaining "unknown soundcard snd-intel8x0, exiting"
If i do the same with the "emu10k1" it configures okay but goes belly up running make.
So what your saying is that i need alsa to run the "snd-intel8x0" driver but i can't get it installed.
Is there another OSS/Free (kernel drivers) i could use instead?
If so, whats the module name? |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Tue Jan 21, 2003 11:45 pm Post subject: |
|
|
The correct line is
env ALSA_CARDS="intel8x0" emerge alsa-driver
But the kernel has also a i810 driver. It is "i810_audio"
al wrote: | I don't have a file "alsa" in my etc/modules.d folder-presumably because i couldn't get alsa installed.
If i do "env ALSA_CARDS="snd- intel8x0" emerge alsa-driver" it starts the configure then bails out complaining "unknown soundcard snd-intel8x0, exiting"
If i do the same with the "emu10k1" it configures okay but goes belly up running make.
So what your saying is that i need alsa to run the "snd-intel8x0" driver but i can't get it installed.
Is there another OSS/Free (kernel drivers) i could use instead?
If so, whats the module name? |
_________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
al Guru
Joined: 26 Dec 2002 Posts: 304 Location: Scotland
|
Posted: Wed Jan 22, 2003 8:03 pm Post subject: |
|
|
Well,I tried to modprobe "i810_audio" but gentoo couldn't find the module so i'm guessing i haven't configured the kernel properly.
I also tried "env ALSA_CARDS="intel8x0" emerge alsa-driver" but it wouldnt compile-something to do with "no such file or directorys"
Would it be because i'm using kernel 2.5.47 ?
I'll run a "make menuconfig" at the weekend when i've more time and see if i can load the correct module.
In the mean time thanks for your help Bloody Bastard (nice name!) |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Jan 22, 2003 8:33 pm Post subject: |
|
|
Maybe it is because of your kernel version.
And to get the i810_audio kernel driver, you need to enable its option in the kernel configuration menu, compile a new kernel and boot with it. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
al Guru
Joined: 26 Dec 2002 Posts: 304 Location: Scotland
|
Posted: Sat Jan 25, 2003 3:02 pm Post subject: |
|
|
Right i re-compiled my Kernel.
When i modprobe i810_audio the module now loads and also loads ac97_codec [i810_audio] so sound should be working fine but for some reason KDE cant find the sound server!
How do i fix this?
Also is there a config file somewhere that i can add modprobe i810_audio to,so that it will load automatically when Gentoo boots up? |
|
Back to top |
|
|
|