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

RE: any luck with ES1869 sound card?



Under Kernel 2.2.14 the following is effective:

The critical kernel compile settings are:
grep SOUND config-2.2.14 | grep -v not
CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_YM3812=m
CONFIG_LOWLEVEL

Following advice in:
/usr/src/linux-2.4-test7/Documentation/sound/ESS
/usr/src/linux-2.4-test7/Documentation/sound/ESS1868
the scripts below provide control:


#!/bin/sh
# Copy this file to /usr/local/bin/Soundon  and make executable as Root
with:
#   chmod o+x Soundon
# The modules used below: uart401, sb, sound, soundlow, soundcore
# are contained in kernel-image-version.deb which can be downloaded at:
# http://www.debian.org/Packages/frozen/base/kernel-image-2.2.14.html
#  These are the sufficient module insertion commands:
/sbin/modprobe sound
/sbin/insmod uart401
/sbin/insmod sb io=0x220 irq=5 dma=1 dma16=-1 esstype=1869
/sbin/insmod opl3 io=0x388
# After which the following sound related modules will be displayed by
#  /sbin/lsmod
# Module                  Size  Used by
# opl3                   10728   0  (unused)
# sb                     32724   0  (unused)
# uart401                 5904   0  [sb]
# sound                  56088   0  (autoclean) [opl3 mpu401 sb uart401]
# soundlow                 300   0  (autoclean) [sound]
# soundcore               2340   5  (autoclean) [sb sound]
#
# When compiling a smaller kernel the following choices were used
# in the  -Sound- section under "make xconfig"
# Note that these choices may change content and form with newer kernels

#!/bin/sh
# /usr/local/bin/Soundoff
# and modules unloaded in order
#
rmmod opl3 sb  
rmmod uart401 
rmmod sound 
rmmod soundlow soundcore
echo " "
echo Remaining modules in kernel-`uname -r` are:
lsmod
echo " "

To get sound on boot, put the following in your 
/etc/modutils/aliases

# Sound aliases  
alias char-major-14 sb
post-install sb /sbin/modprobe "-k" "opl3"
options  sb io=0x220 irq=5 dma=1 dma16=-1 esstype=1869 
options opl3 io=0x388     # FM synthesizer

and then:
  update-modules
to tranfer the changes into:
  /etc/modules.conf

MarvS



Reply to: