Linux Media Controller development
 help / color / mirror / Atom feed
From: Simon Gustafsson <simong@simong.se>
To: linux-media@vger.kernel.org
Subject: How fix driver for this USB camera (MT9T031 sensor and Cypress FX2LP USB bridge)
Date: Wed, 16 May 2012 22:14:48 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120517T001241-393@post.gmane.org> (raw)

Bought a rare webcam, which doesn't work in Linux, and would appreciate some
pointers of how to fix that.

1) Is someone already working on this (camera information at the bottom)

2) Where should I begin? My gut feeling is to go for media/video/gspca/ov519.c,
since it has the code for talking to the USB bridge chip (BRIDGE_OVFX2), and
since that code is so neat. If the patches needed to get it working turns out to
be non-estetic, one would have to consider alternatives. I also noticed that
there is some code at media/video/mt9t031.c for talking with my sensor (but it
suggests it can't be used outside of the soc-camera framework (I've never heard
of it before), and I don't know if those parts of the source would be relevant
anyway.

3) Is there a recommended distribution (or kernel revision) when working against
the latest driver sources, or can I just pull the latest sources from git and
expect it to play nicely with something like ubuntu in my case.


----[Hardware information]----
* 3.0MP USB2.0 Digital USB c-mount Camera for Microscopes
* VID:PID 1578:0076
* USB bridge CY7C68013A (aka Cypress FX2LP)
* Sensor: most probably an MT9T031. It responds to the same I2C address, and
when I injected I2C reads to the sensors register 0x00 and 0xFF, I get the
0x1621 response which matches “chip version” according to the datasheet.

BR
/Simon 


             reply	other threads:[~2012-05-16 22:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 22:14 Simon Gustafsson [this message]
2012-05-17  6:07 ` How fix driver for this USB camera (MT9T031 sensor and Cypress FX2LP USB bridge) Jean-Francois Moine
2012-05-18 13:22   ` Simon Gustafsson

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=loom.20120517T001241-393@post.gmane.org \
    --to=simong@simong.se \
    --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