[Bug 2624] Add spca5xx usb camera driver to the ubuntu kernel
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Sat Apr 16 13:19:05 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=2624
Ubuntu | linux
------- Additional Comments From pander at users.sourceforge.net 2005-04-16 14:19 UTC -------
To get it working do this (for kernel 2.6.10-5-386, please amend for your system):
apt-get install linux-headers-2.6.10-5-386 linux-tree-2.6.10 linux-source-2.6.10
cd /usr/src
bunzip linux-source-2.6.10.tar.bz2
tar xf linux-source-2.6.10.tar
ln -s linux-source-2.6.10 linux
cd linux
cp ../linux-headers-2.6.10-5-386/.config .
(here I tested with make or make modules but that resulted in "internal compiler
error: Segmentation fault", no worries, this doesn't effect the building of the
webcam module)
if no /dev/video exists, do this
cd /dev
mknod /dev/video0 c 81 0
ln -s video0 video
get the latest version of http://mxhaard.free.fr/download.html
cd /tmp
tar zxf spca5xx-20050328.tar.gz
cd spca5xx-20050328
change in Makefile this line
KERNELDIR := /lib/modules/$(KERNEL_VERSION)/build
into this line
KERNELDIR := /usr/src/linux
make clean
make
make install
now it should work and you can test with gqcam
you might want to keep a copy of the spca5xx-20050328 directory for make uninstall
clean up the mess:
dpkg -P install linux-headers-2.6.10-5-386 linux-tree-2.6.10 linux-source-2.6.10
rm -rf /usr/src/linux /usr/src/linux-source-2.6.10 /tmp/spca5xx-20050328*
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the kernel-bugs
mailing list