View previous topic :: View next topic |
Author |
Message |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Mon Aug 23, 2004 3:52 am Post subject: ALSA 2.6 kernel no device |
|
|
I have followed the gentoo alsa guide with no luck. I have emerged alsa-util and alsa-oss. I have enabled sound in the kernel and built the neomagic module for my soundcard (snd_nm256) and I ran alsaconf and set up /etc/modules.d/alsa. When I start alsa I get: Code: | # /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd_nm256
* Loading: snd-seq
FATAL: Module snd_seq not found.
* Running card-dependent scripts
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! [ ok ]
| lsmod shows that it loads the snd_nm256 driver when alsa starts.
If I run amixer i get Code: | # amixer
amixer: Mixer attach default error: No such device | also if I look in /dev ther are no dsp devices. Can anyone help me out? |
|
Back to top |
|
 |
Tuna Guru


Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Mon Aug 23, 2004 9:33 am Post subject: |
|
|
it clearly states it cant find the snd-seq module. you have to compile it into the kernel or as module. |
|
Back to top |
|
 |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Tue Aug 24, 2004 5:44 pm Post subject: |
|
|
I had it in the kernel, but I recompiled the kernel to use it as a module. That gets rid of that error: Code: | # /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* 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 ] | but it didnt change anything.
here are the modules that are running on my system: Code: | Module Size Used by
snd_seq_oss 31904 0
snd_seq_midi_event 6080 1 snd_seq_oss
snd_seq 50000 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 6664 2 snd_seq_oss,snd_seq
sg 29856 0
ohci_hcd 19012 0
ehci_hcd 26340 0
uhci_hcd 29264 0
xircom_tulip_cb 15952 0
ds 13988 4
yenta_socket 18240 1
snd_nm256 67080 0
visor 15568 0
usbserial 22756 1 visor
pcmcia_core 55460 2 ds,yenta_socket
|
|
|
Back to top |
|
 |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Tue Aug 24, 2004 8:54 pm Post subject: |
|
|
I found this using dmesg: Code: | nm256: no ac97 is found!
force the driver to load by passing in the module parameter
force_ac97=1
or try sb16 or cs423x drivers instead.
NeoMagic 256: probe of 0000:01:00.1 failed with error -6
| Is there a module that needs building to handle the ac97? I haven't been able to find anything in the kernel to enable  |
|
Back to top |
|
 |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Tue Aug 24, 2004 10:46 pm Post subject: |
|
|
Well I built every module I could find and I have the snd-ac97-codec loaded and fixed that error message, but amixer still reports no device  |
|
Back to top |
|
 |
Tuna Guru


Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Wed Aug 25, 2004 9:20 am Post subject: |
|
|
try Code: | modprobe snd-nm256 force_ac97=1 | are you sure you a re using a neomagic soundcard? are you using 2.4 or 2.6 kernel? on the 2.6 did you compile it as modules or build in? |
|
Back to top |
|
 |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Wed Aug 25, 2004 6:09 pm Post subject: |
|
|
I am running 2.6.7 and alsaconf reports the neomagic. When I used the force option, it locked up the computer. Everything is compiled as a module. This is the contents of my /dev/snd directory: Code: | dir /dev/snd/
controlC0 seq timer
|
|
|
Back to top |
|
 |
QuaffAPint Tux's lil' helper


Joined: 29 Jan 2003 Posts: 82 Location: Downingtown, PA
|
Posted: Wed Aug 25, 2004 7:44 pm Post subject: |
|
|
I'm by no means an expert - but did you emerge the alsa-driver (I see you did a couple of them, but maybe not the driver) - I don't know if that's needed, but it's working fine on my system (though I have a diff sound card and am using 2.6.8-r1 kernel (so I really don't know how pertinent this whole post is )). There are also new alsa pieces to emerge (1.0.6 or something like that). |
|
Back to top |
|
 |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Wed Aug 25, 2004 8:04 pm Post subject: |
|
|
did you build the alsa drivers? The info I saw said that all the drivers were in the kernel and you did not need to build the alsa drivers for 2.6 kernels |
|
Back to top |
|
 |
QuaffAPint Tux's lil' helper


Joined: 29 Jan 2003 Posts: 82 Location: Downingtown, PA
|
Posted: Wed Aug 25, 2004 8:51 pm Post subject: |
|
|
870Fragmaster wrote: | did you build the alsa drivers? The info I saw said that all the drivers were in the kernel and you did not need to build the alsa drivers for 2.6 kernels | I believe they are, since when you type in 'emerge alsa' it emerge's the kernel. I did emerge the driver (as stated in the gentoo alsa docs I believe) - I don't know if it is needed or not (didn't seem to hurt anything anyway).
I had the same problem w/ device not found. I then upgraded to 2.6.8-r1, went through and made sure my sound card and dependents (nforce2) were moduled everywhere they needed to be. Made sure my alsa.conf looked like that on the alsa project page. Rebuilt the new kernel version and booted into that - then it worked. |
|
Back to top |
|
 |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Wed Sep 01, 2004 12:28 am Post subject: |
|
|
Well I got my sound going. I abandoned alsa and went to OSS. I needed the ad1848 module to make the card work. That is the Microsoft Sound Support in the OSS section. I don't know that ALSA supports this setup. |
|
Back to top |
|
 |
latiffs n00b

Joined: 31 Aug 2004 Posts: 11 Location: USA
|
Posted: Thu Sep 02, 2004 2:44 am Post subject: |
|
|
How did you switch to OSS? Did you have to remove all the Alsa stuff? My sound isn't working either. ANd worse news is that no one is helping. I have an ad1816 card. Does OSS support those? I really need to get this sound going. And BTW what did you emerge in order to get OSS on? _________________ A Coder is a coder because he knows what he is coding |
|
Back to top |
|
 |
870Fragmaster Tux's lil' helper


Joined: 01 Jul 2002 Posts: 92 Location: Gulfport, Ms
|
Posted: Thu Sep 02, 2004 2:49 pm Post subject: |
|
|
All the OSS stuff is in the kernel. I had to recompile w/ no ALSA modules though because I could not figure out how to keep them from loading.
There is an ad1816 driver in the kernel (I'm looking at 2.6.7, its probably in 2.4 also). You have to enable OSS Sound Modules to make them available. I built everything as modules. Make a file in
/etc/modules.d/ and call it ad1816. Inside the file put
Code: | ad1816=<io>,<irq>,<dma>,<dma2> | and then run to update your config. You should be able to get these values (irq,dma,dma2,io) from your bios. This is an onboard sound is it not? Is it in a laptop? Now when you load the module, it should know what options to pass.
It is also possible that it will emulate something else. I have a neomagic card but it has Microsoft Sound System Support (ad1848) so that is the module I have to run. I had to set it up like I showed you above to get it to work. |
|
Back to top |
|
 |
|