###################################
# /etc/modules.conf for RedHat 7.3 on Gericom 1st Supersonic
# Michael Besteck a.b.c@gmx.net
###################################

###################################
# CD-ROM
# to enable CD-writing
###################################
options ide-cd ignore=hdc 
alias scd0 sr_mod
#pre-install ide-scsi modprobe imm    # uncomment for some ZIP drives only
pre-install sg     modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
pre-install ide-scsi modprobe ide-cd # load ide-cd   before ide-scsi
###################################

###################################
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
alias eth0 pcnet_cs
alias video0 video_capture
###################################

###################################
# IPv6 addresses
###################################
alias net-pf-10 ipv6
###################################


###################################
#    LT-MODEM
###################################
alias /dev/ttyLT0 lt_serial

# from ltmodem-docs:
alias /dev/ppp ppp_generic
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
# not installed:  alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

# lt_drivers: autoloading and insertion parameter usage
alias char-major-62 lt_serial
#alias /dev/ttyLT0 lt_serial
alias /dev/modem lt_serial
# The next two lines are syntax examples, only Rarely Needed, to automate parameter usage during lt_drivers insertion. See documentation for details.
# options lt_modem vendor_id=0x115d device_id=0x0420
# options lt_modem Forced=3,0x130,0x2f8,0
# section for lt_drivers ends
#####################################

#####################################
# IrDA - not working (BIOS?)
#####################################
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
#####################################

#####################################
# RH distro / sndconfig
#alias sound-slot-0 via82cxxx_audio
#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
#options via82cxxx_audio irq=5 dma=1
#alias char-major-14 via82cxxx_audio
#post-install via82cxxx_audio modprobe "-k" "opl3"

#####################################
# alsa sound

alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
	
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

#post-install sound-slot-0 /usr/sbin/alsactl restore
#post-install sound-slot-0 /usr/bin/aplay -q /usr/share/sounds/pop.wav

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

###################################
# eof