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


default:
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

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



ps:
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."


2 comments:

Marek Belisko said...

Hi, I'm wondering if you have still NW 802 webcam from Divio. We try to pull new patches to main kernel, but we can't test because we don't have any camera with NW chipset. Thanks in advance.

Marek

Popa Adrian Marius said...

i don't have it anymore but i will ask if someone has one