Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Soundcard detection problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
calhoun
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2003
Posts: 91
Location: Point Pleasant, NJ

PostPosted: Wed Dec 17, 2003 2:53 pm    Post subject: Soundcard detection problem Reply with quote

I still fairly new to Gentoo and setup a Genkernel installation of Vanilla-sources about a month ago. Everything is working great. So now I'm building a dual boot between Vanilla and the Gentoo-r9 sources so I can play with building the kernel from scratch/stage1.

First let me state that I have this working in the Vanilla-sources/Genkernel side of my dual-boot. On my Gentoo-r9/Make side I compiled the kernel with sound card support (M) and when I try to start alsasound it says "No soundcard detected". When I compiled the kernel I followed the Installation documents and everything worked get, so I'm assuming that I'm missing like one kernel option that needs to be turned on. The only other option that was missed by default was the RTC which I recompiled in and now that works.

Help! Thanks in advance.
Back to top
View user's profile Send private message
krinkle
Guru
Guru


Joined: 04 Feb 2003
Posts: 338
Location: Garden Grove, CA

PostPosted: Wed Dec 17, 2003 7:39 pm    Post subject: Re: Soundcard detection problem Reply with quote

calhoun wrote:
I still fairly new to Gentoo and setup a Genkernel installation of Vanilla-sources about a month ago. Everything is working great. So now I'm building a dual boot between Vanilla and the Gentoo-r9 sources so I can play with building the kernel from scratch/stage1.

First let me state that I have this working in the Vanilla-sources/Genkernel side of my dual-boot. On my Gentoo-r9/Make side I compiled the kernel with sound card support (M) and when I try to start alsasound it says "No soundcard detected". When I compiled the kernel I followed the Installation documents and everything worked get, so I'm assuming that I'm missing like one kernel option that needs to be turned on. The only other option that was missed by default was the RTC which I recompiled in and now that works.

Help! Thanks in advance.


maybe a stupid question, but did did you install alsa-driver? also, does lsmod say your sound card driver is loaded?
Back to top
View user's profile Send private message
calhoun
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2003
Posts: 91
Location: Point Pleasant, NJ

PostPosted: Wed Dec 17, 2003 9:37 pm    Post subject: Reply with quote

Yes, I did a:

ALSA_CARDS='emu10k1' emerge alsa-driver

I have to check lsmod though.
Back to top
View user's profile Send private message
calhoun
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2003
Posts: 91
Location: Point Pleasant, NJ

PostPosted: Thu Dec 18, 2003 3:55 am    Post subject: Reply with quote

Here's a better description of my problem.

I have this running flawlessly on a Genkernel created Vanilla-Sources install on this computer.

I made a dual boot configuration with a Make created Gentoo-Sources install on the second half of this computer.

I emerged:

emu10k1
alsa-driver (w/ALSA_CARDS='emu10k1')
alsa-utils
alsa-oss

When I try to start alsasound i get:

root@butters calhoun # /etc/init.d/alsasound start
* Loading ALSA drivers...
* Loading: snd-seq-oss
* Loading: snd-pcm-oss
* Loading: snd-mixer-oss
* Loading: snd-emu10k1
/lib/modules/2.4.20-gentoo-r9/kernel/sound/pci/emu10k1/snd-emu10k1.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-gentoo-r9/kernel/sound/pci/emu10k1/snd-emu10k1.o: insmod /lib/modules/2.4.20-gentoo-r9/kernel/sound/pci/emu10k1/snd-emu10k1.o failed
/lib/modules/2.4.20-gentoo-r9/kernel/sound/pci/emu10k1/snd-emu10k1.o: insmod snd-emu10k1 failed
* Loading: snd-seq-oss
* Running card-dependent scripts
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! [ !! ]
[ ok ]
root@butters calhoun #

When I do a lsmod I get:

root@butters calhoun # lsmod
Module Size Used by Not tainted
snd-pcm-oss 39748 0 (unused)
snd-pcm 68480 0 [snd-pcm-oss]
snd-page-alloc 7028 0 [snd-pcm]
snd-mixer-oss 13840 0 [snd-pcm-oss]
snd-seq-oss 31104 0 (unused)
snd-seq-midi-event 4128 0 [snd-seq-oss]
snd-seq 43248 2 [snd-seq-oss snd-seq-midi-event]
snd-timer 17284 0 [snd-pcm snd-seq]
snd-seq-device 4452 0 [snd-seq-oss snd-seq]
snd 37252 0 [snd-pcm-oss snd-pcm snd-mixer-oss snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
root@butters calhoun #

DMESG put this out:

PCI: Found IRQ 5 for device 00:0f.0
EMU10K1/Audigy soundcard not found or device busy
PCI: Found IRQ 5 for device 00:0f.0
EMU10K1/Audigy soundcard not found or device busy
PCI: Found IRQ 5 for device 00:0f.0
EMU10K1/Audigy soundcard not found or device busy
PCI: Found IRQ 5 for device 00:0f.0
EMU10K1/Audigy soundcard not found or device busy
PCI: Found IRQ 5 for device 00:0f.0
EMU10K1/Audigy soundcard not found or device busy
root@butters calhoun #

I have had sound card support compiled into the kernel as Y and M, and emu10k1 into the kernel as M and N in all different configurations. Help!
Back to top
View user's profile Send private message
maomao0407
n00b
n00b


Joined: 05 Dec 2003
Posts: 65

PostPosted: Thu Dec 18, 2003 4:00 am    Post subject: Reply with quote

why not just emerge emu10k1
Back to top
View user's profile Send private message
krinkle
Guru
Guru


Joined: 04 Feb 2003
Posts: 338
Location: Garden Grove, CA

PostPosted: Thu Dec 18, 2003 6:17 am    Post subject: Reply with quote

isn't the emu10k1 driver in the kernel the OSS driver? Maybe it is different for that driver or they merged alsa into that kernel... (i don't think so). so try not enabling the emu10k1 driver in teh kernel. Also, you need to do an emerge alsa-driver everytime you compile a new kernel.
Back to top
View user's profile Send private message
calhoun
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2003
Posts: 91
Location: Point Pleasant, NJ

PostPosted: Thu Dec 18, 2003 4:17 pm    Post subject: Reply with quote

maomao0407 wrote:
why not just emerge emu10k1


I did, that one of the things I did in step 7 of the installation manual

krinkle wrote:
isn't the emu10k1 driver in the kernel the OSS driver? Maybe it is different for that driver or they merged alsa into that kernel... (i don't think so). so try not enabling the emu10k1 driver in teh kernel. Also, you need to do an emerge alsa-driver everytime you compile a new kernel.


I'll try compiling the sound card support only, without the emu10k1. Should I compile as a Y or M?

Yes, I have been re-emerging alsa-driver after every rebuild.
Back to top
View user's profile Send private message
floffe
Guru
Guru


Joined: 24 Nov 2003
Posts: 414
Location: Linköping, Sweden

PostPosted: Thu Dec 18, 2003 5:04 pm    Post subject: Reply with quote

Wait for a 2.6 stable ebuild, then get native alsa, no more emerge alsa-driver... should be out in not too many hours I think... I run 2.6-test11. It's quite stable :D

You should just have sound support as module in 2.4, and no drivers for alsa to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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