[cpia] How to automate the module loading?
Sang Y. Yum
tdat@yahoo.com
Thu, 13 Jul 2000 08:35:25 -0700 (PDT)
--- sbertin@mindspring.com wrote:
[snip]
> I haven't tried it, but if your camera is you only v4l
> device, you can probably alias char-major-81 to cpia and have
> everything
Well, I also have a TV tuner card, which I think is one of the v4l
devices. char-major-81 is already aliased to the driver for it.
> happen automatically. To summarize:
>
> alias parport_lowlevel parport_pc
> alias char-major-81 cpia
> post-install cpia_pp echo "compression_mode:none" >>
> /proc/cpia/video0
Here is my /etc/conf.modules in its entirety:
alias eth0 3c59x
alias char-major-81 bttv
alias sound emu10k1
options char-major-81 vidmem=0xe20
pre-install bttv modprobe tuner
options ide-cd ignore=hdd # tell the ide-cd module to ignore
hdb
alias scd0 sr_mod # load sr_mod upon access of scd0
pre-install sg modprobe ide-scsi # before sg, load ide-scsi
pre-install sr_mod modprobe ide-scsi # before sr_mod, load ide-scsi
pre-install parport_pc modprobe parport
pre-install videodev modprobe parport_pc
pre-install cpia modprobe videodev
pre-install cpia_pp modprobe cpia
post-install cpia_pp echo "compression_mode:none" >> /proc/cpia/video0
Thanks.
Sang
=====
Sang Y. Yum http://www.yumnet.dyndns.org/~sang
San Diego, CA mailto:tdat@yahoo.com
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/