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

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

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

#1 Post 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?

Guest

#2 Post by Guest »

redo the image.gz if you want it so, then remaster the cd

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#3 Post 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.

Guest

#4 Post 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

Post Reply