http://crysol.esi.uclm.es/es/node/1103 (Svenska med Google translate) http://translate.google.com/translate?j ... ry_state0=
Självklart stöter jag på en massa problem.
Jag vet inte om jag har linux-image-2.6.28 och linux-headers-2.6.28, men jag antar det eftersom det är den kernelversionen jag har nu. Problemen börjar vid patchen, som säger följande:
Jag fortsätter ändå:~/syntekdriver$ patch -i stk0408-1.patch
patching file stk11xx-dev.c
patching file stk11xx-dev.h
patching file stk11xx-usb.c
Hunk #1 succeeded at 104 (offset -2 lines).
Hunk #2 succeeded at 363 (offset -6 lines).
Hunk #3 succeeded at 385 (offset -6 lines).
Hunk #4 succeeded at 407 (offset -6 lines).
Hunk #5 succeeded at 619 (offset -6 lines).
Hunk #6 succeeded at 789 (offset -6 lines).
Hunk #7 succeeded at 841 (offset -5 lines).
patching file stk11xx-v4l.c
Hunk #1 FAILED at 48.
Hunk #2 succeeded at 66 (offset -2 lines).
Hunk #3 succeeded at 114 (offset -2 lines).
Hunk #4 succeeded at 142 (offset -2 lines).
Hunk #5 succeeded at 163 (offset -2 lines).
Hunk #6 succeeded at 186 (offset -2 lines).
Hunk #8 succeeded at 667 (offset 16 lines).
Hunk #9 succeeded at 923 (offset 16 lines).
Hunk #10 succeeded at 1013 (offset 16 lines).
Hunk #11 succeeded at 1051 (offset 16 lines).
Hunk #12 succeeded at 1061 (offset 16 lines).
Hunk #13 succeeded at 1108 (offset 16 lines).
Hunk #14 succeeded at 1137 (offset 16 lines).
Hunk #15 succeeded at 1164 (offset 16 lines).
Hunk #16 succeeded at 1234 (offset 16 lines).
Hunk #17 succeeded at 1310 (offset 16 lines).
Hunk #18 succeeded at 1470 (offset 16 lines).
1 out of 18 hunks FAILED -- saving rejects to file stk11xx-v4l.c.rej
patching file stk11xx-sysfs.c
Hunk #1 succeeded at 156 (offset -14 lines).
patching file stk11xx.h
Hunk #8 succeeded at 413 (offset -3 lines).
patching file stk11xx-dev-0408.c
patching file Kbuild
patching file Makefile
patching file stk11xx-buf.c
Hunk #1 succeeded at 43 (offset -2 lines).
Hunk #2 succeeded at 430 (offset -2 lines).
Enligt guiden ska man strunta i ett av felmeddelandena:~/syntekdriver$ make -f Makefile.standalone
make -C /lib/modules/2.6.28-11-generic/build SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [driver] Error 2
Till sist ska man modprobea:ctags: no input files specified.
Try `ctags --help' for a complete list of options.
make: *** [driver] Error 1
Vad tusan är usbcore, och vilket paket innehåller insmode?~/syntekdriver$ sudo modprobe videodev
~/syntekdriver$ sudo modprobe usbcore
FATAL: Module usbcore not found.
~/syntekdriver$ sudo insmode stk11xx.ko
sudo: insmode: command not found