On 28 Mar 2002 01:48:38 -0500
Tom McLaughlin <[EMAIL PROTECTED]> wrote:

> I have a C-Media 8738 and I am having problems getting my 5.1 surround
> sound to work fully.  I've tried different options for the module
> compile and as far as I can tell, it is not going to work correctly for
> my setup.  I would therfore like to swith from using OSS to Alsa to see
> if this will solve my problem.  What do I need to do in order to go
> about having the alsa module loaded instead of the OSS one?
> 
> Thanks,
> Tom

I suggest you remove, as root, the driver from the kernel with 
'modprobe -r cmpci'. Note: the module may be used by a program ->
exit that program. Check with '/sbin/lsmod' if all sound related modules
are gone (if soundcore stays that's no problem).

An excerpt from /usr/src/linux-2.4.18-6mdk/alsa-driver-0.5.12a/INSTALL
(it's in the kernel-source .rpm package):

  Module snd-card-cmipci.o
  ------------------------

    Module for C-Media CMI8338 and 8738 PCI soundcards.

    snd_dac_frame_size  - max playback frame size in kB (4-128kB)
    snd_adc_frame_size  - max capture frame size in kB (4-128kB)
    snd_enable_midi     - 1 = enable, 0 = disable (default)
    snd_enable_fm       - 1 = enable, 0 = disable (default)
    snd_mpu_port        - 0x300 (default),0x310,0x320,0x330
    snd_fm_port         - 0x388 (default)
    snd_max_channels    - Maximum number of playback channels (0-6)

    Module supports autoprobe and multiple chips (max 8).

So I think you should load your driver with 
'modprobe snd-card-cmipci snd_max_channels=6' or something. Then modprobe
the OSS emulation modules snd-pcm-oss and snd-mixer-oss. See the INSTALL
file mentioned above on how to setup ALSA properly, but I think the above
should work for testing purposes.

There is another thing: ALSA 0.5 is 'dead'. Current development is done
in the 0.9beta series. It's integrated in recent 2.5 development kernels.
Mandrake 8.2 uses ALSA 0.5, AFAIK 0.5.12a. It might well be that the
functionality you want is only available in the ALSA 0.9 series. Unfortunedly
I read last thursday on alsa-user that there are still some problems compiling
ALSA 0.9 on Mandrake 8.2 (but the poster was working on it and the email was 
Cc'd to the cooker list). Have fun!

    -Frans

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to