Hi,

On 8/7/02 1:14 AM, "Kjetil Tjensvold" <[EMAIL PROTECTED]> wrote:

> Its snd-cs46xx in 0.9beta12 and not snd-card.
> Well you have run into that sort of problem that alsa
> dont like.Start from scratch.Remove all alsa driver
> dirs.Also /lib/modules/<your kernel version>/misc
> Use rm -rf <dir>
> Rename your kernel source to only linux and put the
> source in /usr/src/linux
> Compile the driver with these options
> --with-kernel=/usr/src/linux
> --with-moddir=/lib/modules/<your kernel version>/misc
> --with-cards=csxxx your card
> Also compile ./snddevices while you are in thatdir.
> If this doesnt workdo thefollowing.
> normaly /usr/src/linux is one link, so make sure that
> link,links to your kernel source code in
> /usr/src/linux-2.4.18-5
> 
> next in /usr/src/linux do:
> ln -s /boot/System.map-2.4.18-3 System.map
> 
> or edit Makefile and where you find one line with
> /sbin/depmod 
> change to /sbin/depmod -a -F /boot/System.map-2.4.18-3
> 2.4.18-3
> 
> you just have to make sure when you are useing depmod
> your are 
> pointed to the correct System.map
> 
> after this 
> run make install again
> 
> Replace the kernel version and Systemmap with yours.
> 

I rebuilt the kernel and did '--with-moddir=/lib/modules/2.4.17/misc', and
now it seems to load the modules fine. When doing /etc/init.d/alsa start I
get this:

root@simba:/etc/alsa/modutils# /etc/init.d/alsa start
Starting ALSA sound driver (version 0.9.0beta12): cs46xx.
Restoring ALSA mixer settings...done.

And 'lsmod' gives this:

root@simba:/etc/alsa/modutils# lsmod
Module                  Size  Used by    Not tainted
snd-seq-midi            3232   0  (autoclean) (unused)
snd-seq-oss            24608   0  (unused)
snd-seq-midi-event      2920   0  [snd-seq-midi snd-seq-oss]
snd-seq                37452   2  [snd-seq-midi snd-seq-oss
snd-seq-midi-event]
snd-pcm-oss            36000   0  (unused)
snd-mixer-oss           9152   0  [snd-pcm-oss]
snd-cs46xx             69024   0
snd-rawmidi            12768   0  [snd-seq-midi snd-cs46xx]
snd-seq-device          4112   0  [snd-seq-midi snd-seq-oss snd-seq
snd-rawmidi]
snd-pcm                47808   0  [snd-pcm-oss snd-cs46xx]
snd-timer              10528   0  [snd-seq snd-pcm]
snd-ac97-codec         22304   0  [snd-cs46xx]
snd                    25256   0  [snd-seq-midi snd-seq-oss
snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cs46xx snd-rawmidi
snd-seq-device snd-pcm snd-timer snd-ac97-codec]
serial                 44064   1  (autoclean)

Having a look in /proc/asound I can see:

root@simba:/proc/asound# cat sndstat
Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta12 emulation code)
Kernel: Linux simba 2.4.17 #1 Mon Jul 8 20:22:48 EST 2002 i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
Sound Fusion CS46xx at 0xefffd000/0xefe00000, irq 9

Audio devices:
0: CS46xx (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: CS46XX

Timers:
7: system timer

Mixers:
0: mixer00

---

But... When I try and play music through XMMS, it still crashes. Are there
any special permissions in /dev that should be set? I ran ./snddevices after
starting ALSA, but that didn't do anything...

Any ideas?

Thanks a lot!



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to