linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sedji Gaouaou <sedji.gaouaou@atmel.com>
To: Andy Walls <awalls@md.metrocast.net>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	linux-input@vger.kernel.org
Subject: Re: question about v4l2_subdev
Date: Mon, 07 Jun 2010 12:01:24 +0200	[thread overview]
Message-ID: <4C0CC374.5030901@atmel.com> (raw)
In-Reply-To: <1275701258.2247.16.camel@localhost>

Hi,

>
> Look at
>
> 	drivers/media/video/cafe_ccic.c
>
> And examine cafe_pci_probe() and the definition and use of the
> sensor_call() macro.
>
> Also note
>
> $ grep -Ril ov7670 drivers/media/video/*
>
> will show you in what drivers, the ov7670 might be used.
>

I had a look at cafe_ccic.c and also at vpif_capture.c.

I tried to use "v4l2_i2c_new_subdev_board", but at boot time I have the 
following error:
i2c i2c-0: Failed to register i2c client ov2640 at 0x30 (-16)


I don't understand where it could come from, I pass the proper 
i2c_board_info struct, and it seems to check the proper i2c address, 
since it is not working.

Basically I do like cafe_ccic.c execpt that I use the 
v4l2_i2c_new_subdev_board instead of v4l2_i2c_new_subdev...

Any idea why I can't detect the sensor here?

Regards,
Sedji


      reply	other threads:[~2010-06-07 10:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-31 15:38 question about v4l2_subdev Sedji Gaouaou
2010-05-31 18:19 ` Andy Walls
2010-06-01  8:14   ` Sedji Gaouaou
2010-06-01 14:04     ` Sedji Gaouaou
2010-06-01 20:56       ` David Ellingsworth
2010-06-05  1:27     ` Andy Walls
2010-06-07 10:01       ` Sedji Gaouaou [this message]

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=4C0CC374.5030901@atmel.com \
    --to=sedji.gaouaou@atmel.com \
    --cc=awalls@md.metrocast.net \
    --cc=g.liakhovetski@gmx.de \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-media@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).