ALT Linux hardware support
 help / color / mirror / Atom feed
From: Michail Yakushin <silicium@altlinux.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] Драйвер для Genius Look 320S
Date: Sun, 05 Apr 2009 22:18:35 +0400
Message-ID: <49D8F5FB.8050805@altlinux.ru> (raw)
In-Reply-To: <4c23cefe0904041255w73d7129fq2099a828cf58b11@mail.gmail.com>

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 .


       reply	other threads:[~2009-04-05 18:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-05 18:18 ` Michail Yakushin [this message]
2009-04-06  5:42     ` Michail Yakushin
2009-04-06  7:18       ` Konstantin A. Lepikhov
2009-04-08  7:55             ` Michail Yakushin
2009-04-08  8:28                 ` Michail Yakushin
2009-04-08  8:47                       ` Michail Yakushin
2009-04-08  9:03                           ` Michail Yakushin
2009-04-08  9:15                               ` Michail Yakushin
2009-04-08 11:21                                     ` Michail Yakushin
2009-04-08 11:51                                         ` Michail Yakushin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49D8F5FB.8050805@altlinux.ru \
    --to=silicium@altlinux.ru \
    --cc=hardware@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git