Hi, Okay, just to repeat that from my previous mail: if you build the sound drivers into your kernel, they're not considered modules. This means that anything you'd configure in modprobe.conf, modules.conf, conf.modules etc. won't have _any_ influence. Really. On Mon, May 07, 2007 at 08:07:55 +0000, arnuld wrote:
On 5/7/07, Johannes Winkelmann <jw@smts.ch> wrote:
On Mon, May 07, 2007 at 06:59:58 +0000, arnuld wrote:
i know that and i have loaded the module using that but that does not work.
That's not what I meant. You're looking for a configuration file, and this configuration file is mentioned in the man page of modprobe.
see down here.
that is why i thought i need to to "alias-snd-card-0" kind of thing .
Well, once the module is loaded, the alias has no influence anymore. Thus if you load the proper modules with modprobe, and don't get any sound, the aliases won't help. Again, reading the man pages for modprobe and its configuration would have told you that.
Ok, i got it. it says "modprobe.conf" or all files under "/etc/modprobe.d" directory are a replacement for "/etc/modules.conf".
then i added these to "/etc/modprobe.conf": As mentioned, unless you actually build it as kernel modules, this has no impact. Both howto's you mention before assume that you have build modules.
then i did had a reboot and after that i tried this, as "root": "/etc/rc.d/alsa start". terminal said: "NO state is present for CARD V8237" That's fine, since it'll try to recover a state when it wasn't stored before. This only happens the first time, as you saw yourself.
then i tried to play the song using ogg123 and it HUNG :-(, same problem, it keeps on playing the 1st "1 sec" part of song for unlimited number of times, repeatedly. As Pavel suggested, try more low level stuff first; aplay, or cat some data into your playback device.
The following three steps have worked fine for me: [...] that is for CRUX 2.2. in CRUX 2.3, this just does not work Well, that's at least a starting point. IIRC, neither of the two releases has sound support in the boot kernels, so in any case it was _your_ kernel that supported in on 2.2. Try to remember what you did differently.
In general, there was no difference between 2.2 and 2.3 WRT sound; both work fine for me with the previously steps. Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch