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

Re: Getting modules.conf to load sound at startup



basically run /sbin/modconf whatever modules you add here will load at
bootup -- the straightforward way is to add your modules to /etc/modules
(but i'm not sure about options here)

hth,

vester



On Sun, 3 Jun 2001, Chris Kenrick wrote:

> I've managed to get sound working on an SB16 sound card (manually modprobing
> from the command line works), but I'm having trouble trying to get it to
> load at bootup.  Yes, I did run update-modules after each change...  but
> after reboot no sound drivers are present according to lsmod, and dmesg
> shows no sound-related messages.  Must be some nuance I'm missing here...
> 
> /etc/modutils/sb looks as follows...
> options sb io=0x220 irq=5 dma=1
> alias sound sb
> 
> 
> /etc/modules.conf is:
> ### This file is automatically generated by update-modules
> #
> # Please do not edit this file directly. If you want to change or add
> # anything please take a look at the files in /etc/modutils and read
> # the manpage for update-modules.
> #
> ### update-modules: start processing /etc/modutils/0keep
> # DO NOT MODIFY THIS FILE!
> # This file is not marked as conffile to make sure if you upgrade modutils
> # it will be restored in case some modifications have been made.
> #
> # The keep command is necessary to prevent insmod and friends from ignoring
> # the builtin defaults of a path-statement is encountered. Until all other
> # packages use the new `add path'-statement this keep-statement is essential
> # to keep your system working
> keep
> 
> ### update-modules: end processing /etc/modutils/0keep
> 
> ### update-modules: start processing /etc/modutils/aliases
> # Aliases to tell insmod/modprobe which modules to use
> 
> # Uncomment the network protocols you don't want loaded:
> # alias net-pf-1 off            # Unix
> # alias net-pf-2 off            # IPv4
> # alias net-pf-3 off            # Amateur Radio AX.25
> # alias net-pf-4 off            # IPX
> # alias net-pf-5 off            # DDP / appletalk
> # alias net-pf-6 off            # Amateur Radio NET/ROM
> # alias net-pf-9 off            # X.25
> # alias net-pf-10 off           # IPv6
> # alias net-pf-11 off           # ROSE / Amateur Radio X.25 PLP
> # alias net-pf-19 off           # Acorn Econet
> 
> alias char-major-10-130 softdog
> alias char-major-10-175 agpgart
> alias char-major-81     bttv
> alias char-major-108    ppp_generic
> alias /dev/ppp          ppp_generic
> alias tty-ldisc-3       ppp_async
> alias tty-ldisc-14      ppp_synctty
> alias ppp-compress-21   bsd_comp
> alias ppp-compress-24   ppp_deflate
> alias ppp-compress-26   ppp_deflate
> 
> # Crypto modules (see http://www.kerneli.org/)
> alias loop-xfer-gen-0 loop_gen
> alias loop-xfer-3 loop_fish2
> alias loop-xfer-gen-10 loop_gen
> alias cipher-2 des
> alias cipher-3 fish2
> alias cipher-4 blowfish
> alias cipher-6 idea
> alias cipher-7 serp6f
> alias cipher-8 mars6
> alias cipher-11 rc62
> alias cipher-15 dfc2
> alias cipher-16 rijndael
> alias cipher-17 rc5
> 
> 
> ### update-modules: end processing /etc/modutils/aliases
> 
> ### update-modules: start processing /etc/modutils/eepro
> options eepro io=0x210 irq=10
> 
> ### update-modules: end processing /etc/modutils/eepro
> 
> ### update-modules: start processing /etc/modutils/paths
> # This file contains a list of paths that modprobe should scan,
> # beside the once that are compiled into the modutils tools
> # themselves.
> 
> # This used to be quite a list, but upstream merged some Debian patches
> # so we currently don't need to do anything here
> 
> ### update-modules: end processing /etc/modutils/paths
> 
> ### update-modules: start processing /etc/modutils/sb
> options sb io=0x220 irq=5 dma=1
> alias sound sb
> 
> ### update-modules: end processing /etc/modutils/sb
> 
> ### update-modules: start processing /etc/modutils/setserial
> #
> # This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
> # when the module is first loaded into the kernel at boot time!
> #
> #post-install serial /etc/init.d/setserial start | logger -p daemon.info -t
> "set
> serial-module reload"
> #pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t
> "setser
> ial-module uload"
> post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
> pre-remove serial /etc/init.d/setserial modsave  > /dev/null 2> /dev/null
> 
> ### update-modules: end processing /etc/modutils/setserial
> 
> ### update-modules: start processing /etc/modutils/arch/i386
> alias parport_lowlevel parport_pc
> alias char-major-10-144 nvram
> alias binfmt-0064 binfmt_aout
> alias char-major-10-135 rtc
> 
> ### update-modules: end processing /etc/modutils/arch/i386
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 



Reply to: