[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian & sound



On Thu, Sep 05, 2002 at 08:34:09AM +0300, Jani Tiainen wrote:
> I tried to setup linux running on my Chembook 9870M.
> 
> It has OPL-3SAx non-pnp soundchip and I couldn't get it working. I tried
> using OSS/Lite OPL-3SA2 driver without success. I tried same thing on ALSA
> drivers without success.
> 
> I read on some page that OSS drivers could solve my problem. But there is
> also reports that people has succeeded with RH-dristribution so I assume
> that this soundchip should work in Debian also..?
> 

I use the standard kernel drivers, which I think are OSS.

My /usr/src/linux/.config (2.4.19) looks like:
CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_DMAP=y
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_OPL3SA2=m

I use modules, since if the drivers are compiled straight in the kernel, I
find they don't restart after a suspend/resume cycle.

I also define /etc/modutils/sound as:

post-install opl3sa2 modprobe "-k" "opl3"
alias sound-slot-0 opl3sa2
alias synth0 opl3
options opl3 io=0x388
options -k opl3sa2 isapnp=0 io=0x538 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0 ymode=1 loopback=0
post-install opl3 /usr/bin/aumix -L
options sound dmabuf=1

See kernel/Documentation/sound/README.modules and elsewhere for more
documentation.

The "post-install opl3 /usr/bin/aumix -L" line sets the mixing levels using
aumix.  You may find there are other ways of setting these lines, these
settings Work For Me.

Run update-modules after defining /etc/modutils/sound, so /etc/modules.conf
is updated.

Drew

-- 
PGP public key available at http://people.debian.org/~dparsons/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A



Reply to: