[Hardware] Драйвер для Genius Look 320S

egorov_stas realsystem на gmail.com
Пн Апр 6 00:53:57 MSD 2009


Попробовал откатится до М41.1, теперь другая ошибка:

In file included from /home/rs/src/microdia/sn9c20x-sysfs.c:39:
/home/rs/src/microdia/sn9c20x.h:57:1: warning: "V4L2_CID_EXPOSURE_AUTO"
redefined
In file included from include/media/v4l2-dev.h:29,
                 from include/media/v4l2-common.h:29,
                 from /home/rs/src/microdia/sn9c20x-sysfs.c:37:
include/linux/videodev2.h:1077:1: warning: this is the location of the
previous definition
/home/rs/src/microdia/sn9c20x-sysfs.c: In function
'sn9c20x_create_sysfs_files':
/home/rs/src/microdia/sn9c20x-sysfs.c:947: error: implicit declaration of
function 'video_device_create_file'
/home/rs/src/microdia/sn9c20x-sysfs.c: In function
'sn9c20x_remove_sysfs_files':
/home/rs/src/microdia/sn9c20x-sysfs.c:1014: error: implicit declaration of
function 'video_device_remove_file'
make[2]: *** [/home/rs/src/microdia/sn9c20x-sysfs.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.1'
make: *** [driver] Error 2

Кто сможет нормально собрать драйвер под какую-нибудь версию?

2009/4/5 Michail Yakushin <silicium на altlinux.ru>

> egorov_stas wrote:
> > Приветствую,
> >
> > Хотел завести сам эту камеру, но не могу собрать драйвер от
> > 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. А тут что-то
> > не получается.
> Возможно это из-за нового V4L в нашем ядре. А поробуйте откопать в
> архивах версию M41.1 .
> _______________________________________________
> Hardware mailing list
> Hardware на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/hardware




-- 
Stanislav Egorov
Cisco Systems, Inc.
Cell: +79276230169
ICQ: 270805968
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/hardware/attachments/20090406/f2fb2102/attachment.html>


Подробная информация о списке рассылки Hardware