[Hardware] Драйвер для Genius Look 320S
egorov_stas
realsystem на gmail.com
Сб Апр 4 23:55:34 MSD 2009
Приветствую,
Хотел завести сам эту камеру, но не могу собрать драйвер от
Microdia(sn9c20x) под ядро 2.6.25(сама система: ALT Linux Desktop 4.0+ядро и
gcc из 4.1 Desktop). Кто сможет помочь с решением данной проблемы?
Привожу логи:
/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
Этот драйвер нормально собрался под Федорой с ядром 2.6.25. А тут что-то не
получается.
--
Stanislav Egorov
Cisco Systems, Inc.
Cell: +79276230169
ICQ: 270805968
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/hardware/attachments/20090404/07b48fab/attachment-0001.html>
Подробная информация о списке рассылки Hardware