Ядро обновил, но драйвер не хочет собираться. В Федоре с той же версией ядра что и тут - собрался сразу. В мануале к драйверу сказано что нужно ядро 2.6.22 или новее. Что делать? Надо камеру завести.
/home/rs/src/microdia/sn9c20x.h:57:1: warning: "V4L2_CID_EXPOSURE_AUTO" redefined
In file included from include/media/v4l2-dev.h:17,
from include/media/v4l2-common.h:29,
from /home/rs/src/microdia/sn9c20x.h:33,
from /home/rs/src/microdia/sn9c20x-v4l2.c:38:
include/linux/videodev2.h:1091:1: warning: this is the location of the previous definition
/home/rs/src/microdia/sn9c20x-v4l2.c: In function ‘v4l_sn9c20x_ioctl’:
/home/rs/src/microdia/sn9c20x-v4l2.c:1350: error: implicit declaration of function ‘video_ioctl2’
/home/rs/src/microdia/sn9c20x-v4l2.c: In function ‘v4l_sn9c20x_register_video_device’:
/home/rs/src/microdia/sn9c20x-v4l2.c:1399: error: incompatible types in assignment
/home/rs/src/microdia/sn9c20x-v4l2.c:1400: error: ‘struct video_device’ has no member named ‘owner’
/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: ‘struct video_device’ has no member named ‘type’
/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: ‘VID_TYPE_CAPTURE’ undeclared (first use in this function)
/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: (Each undeclared identifier is reported only once
/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: for each function it appears in.)
/home/rs/src/microdia/sn9c20x-v4l2.c:1412: error: ‘V4L2_DEBUG_IOCTL_ARG’ undeclared (first use in this function)
/home/rs/src/microdia/sn9c20x-v4l2.c:1415: error: ‘struct video_device’ has no member named ‘vidioc_querycap’
/home/rs/src/microdia/sn9c20x-v4l2.c:1416: error: ‘struct video_device’ has no member named ‘vidioc_enum_fmt_cap’
/home/rs/src/microdia/sn9c20x-v4l2.c:1417: error: ‘struct video_device’ has no member named ‘vidioc_try_fmt_cap’
/home/rs/src/microdia/sn9c20x-v4l2.c:1418: error: ‘struct video_device’ has no member named ‘vidioc_s_fmt_cap’
/home/rs/src/microdia/sn9c20x-v4l2.c:1419: error: ‘struct video_device’ has no member named ‘vidioc_g_fmt_cap’
/home/rs/src/microdia/sn9c20x-v4l2.c:1420: error: ‘struct video_device’ has no member named ‘vidioc_enum_input’
/home/rs/src/microdia/sn9c20x-v4l2.c:1421: error: ‘struct video_device’ has no member named ‘vidioc_g_input’
/home/rs/src/microdia/sn9c20x-v4l2.c:1422: error: ‘struct video_device’ has no member named ‘vidioc_s_input’
/home/rs/src/microdia/sn9c20x-v4l2.c:1423: error: ‘struct video_device’ has no member named ‘vidioc_streamon’
/home/rs/src/microdia/sn9c20x-v4l2.c:1424: error: ‘struct video_device’ has no member named ‘vidioc_streamoff’
/home/rs/src/microdia/sn9c20x-v4l2.c:1425: error: ‘struct video_device’ has no member named ‘vidioc_queryctrl’
/home/rs/src/microdia/sn9c20x-v4l2.c:1426: error: ‘struct video_device’ has no member named ‘vidioc_g_ctrl’
/home/rs/src/microdia/sn9c20x-v4l2.c:1427: error: ‘struct video_device’ has no member named ‘vidioc_s_ctrl’
/home/rs/src/microdia/sn9c20x-v4l2.c:1428: error: ‘struct video_device’ has no member named ‘vidioc_g_parm’
/home/rs/src/microdia/sn9c20x-v4l2.c:1429: error: ‘struct video_device’ has no member named ‘vidioc_s_parm’
/home/rs/src/microdia/sn9c20x-v4l2.c:1430: error: ‘struct video_device’ has no member named ‘vidioc_reqbufs’
/home/rs/src/microdia/sn9c20x-v4l2.c:1431: error: ‘struct video_device’ has no member named ‘vidioc_qbuf’
/home/rs/src/microdia/sn9c20x-v4l2.c:1432: error: ‘struct video_device’ has no member named ‘vidioc_dqbuf’
/home/rs/src/microdia/sn9c20x-v4l2.c:1433: error: ‘struct video_device’ has no member named ‘vidioc_querybuf’
make[2]: *** [/home/rs/src/microdia/sn9c20x-v4l2.o] Error 1
make[1]: *** [_module_/home/rs/src/microdia] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-std-def-alt8.M41.4'
make: *** [driver] Error 2
uname -a
Linux localhost.localdomain 2.6.25-std-def-alt8.M41.4 #1 SMP Sat Dec 6 14:42:12 MSK 2008 i686 GNU/Linux