Re: eMPIA Silvercrest 2710

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Fri, 03 Jul 2009 11:05:29 +0200
Hans de Goede <hdegoede@xxxxxxxxxx> escreveu:

> My that webcam has done some interesting travelling (me -> Dough -> you), I'm glad
> it finally ended at someone who has managed to get it to produce a picture under Linux.

Yes. Thank you for borrow it!

> Hmm, having to specify the card=71 parameter, sucks, that makes this a very non plug
> and play / not just working experience for end users. Question would it be possible to
> modify the em28xx driver to, when it sees the generic usb-id, setup the i2c controller
> approriately and then check:
> 1) If there is anything at the i2c address of the mt9v011 sensor
> 2) Read a couple of identification registers (often sensors have special non changing
>     registers for this)
> 3) If both the 1 and 2 test succeed set card to 71 itself ?

The mt9v011 sensor has an unique ID, that can be read via register 0. One of the
issues is that it is using the same address as tvp5150 (that can also be
probed, since it also provides an unique ID via some register).

> This is how we handle the problem of having one generic usb-id for a certain bridge, with
> various different sensors used in different cams, I know the em28xx is a lot more complicated
> as it does a lot more, but this may still work ?

Yes, it may work. with the new i2c binding method, it would not be that hard to
do such method, but it would require some rework at em28xx-cards, since some
boards require a pre-i2c binding initialization, so board detection happens too
early inside the driver.



Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux