Something to try first: Using google or whatever, locate the name of the kernel module(s) needed for your camera. If you find the name, then in a terminal type 'modprobe <the-name-here>'.. If there is no error or reply, then try using your camera. If this doesn't work, see below:
, on Ubuntu, the source code for the kernel modules and kernel itself *may* not be on your system to start with. If it IS there, it is in /usr/src/linux/RIGHT HERE CALLED SOMETHING LIKE 'Linux-2.6.22'/
I assume it is not there...SO:
1 - open a terminal window and type 'uname -a' to identify your kernel.
2 - make note of the part like '184.108.40.206' or whatever it is. this is the release number of your kernel.
3 - go to www. <your country here> .kernel.org and locate the same kernel release as you have.
4 - Download the sourcecode package. It will be a 40 or 50 MB file ending with .tgz or .bz2 or similar. Also download the Checksum MD5 file that goes with it, so you can verify the archive's integrity. Read 'man md5sum' for instructions.
5 - extract this package to /usr/src/<some name you like>/RIGHT HERE
6 - open a terminal. (I su to root here, but you may not need to yet)
7 - type 'make xconfig' or 'make defconfig', and you will be presented with a menu-driven thingy.
8 - Locate a section called either v4l, video-for-linux, or something else where you think camera devices might be located. I can't say for sure, because we very likely have different kernels, and I can't recall right off. But you may be looking for a while, it's a big menu.
9 - When you click on an option in the menu (DON'T select it, just click the text) it will show you a blurb of HELP info in xconfig. If you end up in the other config, there will be an option on teh bottom of the screen for HELP. It will tell you about the option you are looking at, what it does, and what other things might be needed to make it work.
10 - When you find the stuff you need for your camera, select it as MODULE or compile it right into the kernel. (So either a DOT/M for module, or a CHECKMARK for compiled in)
11 - when all done, exit all the way out of the menu-driven thingy. On the console screen you should see a message like "Saved kernel configuration to .config"
12 - now type 'make'
12.5 - If you get a tonne of errors, then su to root now if you haven't, and try 'make' again.
13 - When this is all done scrolling down the screen, type 'make modules_install'
14 - now from the folder where you are, move into /arch/i386/boot and copy the file named bzImage to the folder /boot (your systems actual boot folder). Rename it something like newkernel.
15 - now, by following the instructions in the LILO man page (type 'man lilo') and learning by example by what's in the file /etc/lilo.conf , edit this file to add your new kernel to the lilo.conf file.. Save the file.
16 - in a terminal as root, type 'lilo'.
17 - if all is well, lilo will list two kernels, the original and the new one, one will have a * beside it.
18 - DO NOT REBOOT YET IF YOU GET ERRORS FROM LILO. GET LILO FIXED BEFORE REBOOTING.
19 - when lilo returns two kernels and no errors, you're done