Firebird News

Thursday, July 15, 2004

Dude where is my kernel?

Just trying to compile this module for (Mustek webcam cam300)

And the problem is in Makefile (it doesn't find right path to kernel)

KERNEL_SOURCE ?= /lib/modules/`uname -r`/build

obj-m := nw8xx.o usbvideo.o
nw8xx-objs := nw8xx_jpgl.o nw802.o

ln -sf ${KERNEL_SOURCE}/drivers/usb/media/usbvideo.h .
ln -sf ${KERNEL_SOURCE}/drivers/usb/media/usbvideo.c .
make -C ${KERNEL_SOURCE} SUBDIRS=`pwd` modules

rm -f usbvideo.h usbvideo.c *.o *.ko *~ *.mod.c

next time i will not buyan Divio based product

" divio doesn't think like you.
Many people (including me) contacted Divio to disclose for example the NW-802 technical details to migrate it to linux, but they didn't answer.
Munaut Sylvain is doing a big effort on his NW802 Linux Driver for some webcams. But Divio deserves some kind of boycott because some customers who spend money on their products are forgotten."

Post a Comment