Page 1 of 1

Making Mercury dotpup. Where do I install a kernel module?

Posted: Tue 30 Aug 2005, 03:56
by rarsa
I am preparing a DotPup to install Mercury, a MSN mesenger with videoconference capabilities.

To allow the videoconference I am also preparint a DotPup to install the spca5xx kernel drivers.

I have it all working in my computer loading the spca5xx drivers at boot. I added the following lines to the rc.local

Code: Select all

if [ ! -f /lib/modules/`uname -r`/kernel/drivers/usb/spca5xx.o ] ; then
  mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb
  cp /root/spca5xx.o /lib/modules/`uname -r`/kernel/drivers/usb/spca5xx.o
fi
depmod
modprobe videodev
modprobe spca5xx
I am doing the mkdir and cp because with a liveCD the /lib/modules/... is lost after each reboot, so for now I just left the spca5xx.o in /root.

Is there another standard location in Puppy where depmod should be looking at?
Is there a way to make modules.dep permanent?

Posted: Tue 30 Aug 2005, 04:04
by Guest
redo the image.gz if you want it so, then remaster the cd

Posted: Tue 30 Aug 2005, 04:08
by rarsa
hehe, I meant "without remastering the CD"

I am trying to make a DotPup that anyone can install.

Thanks for the prompt response anyway.

Posted: Tue 30 Aug 2005, 05:52
by Guest
Yeah well what ya doing is really the only solution...unless barry was to include a link in /lib to someother location, maybe /root/modules, tho we'd still have the depmod problem...unless the dep files were links to /root/modules