Re: [PATCH 5/6] [media] gspca/sonixj: Fix support for sn9c105+0v7660

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

 



On Thu, 9 Dec 2010 18:42:38 -0200
Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> wrote:

> This bug were very tricky to discover. Basically, replying the webcam
> initialization sequence, after the capture is running make it works.
> After several researches, I discovered that the sensor were in
> powerdown mode, when the init sequence was sent. As result, the
> sensor were never initialized.
> 
> The right fix would be to map the cases where the powerdown logic is
> inverted, and add it at some per-device init table. While we don't
> have it at sonixj, just add a variable to the bridge_init (where the
> sensor is also initialized), properly handling the case where the
> logic is not inverted for this specific device.

Hi Mauro,

I looked again at the USB traces I have with this sensor, and a
problem was raised every time I found a webcam with the opposite
setting of the powerdown mode. The last webcams I fixed were the
Microsoft's VX1000 and VX3000 were the power mode is inverted. Indeed,
this change broke most of the other ov7660 based webcams.

So, the correct patch is to define the power mode in the device table.

Cheers.

-- 
Ken ar c'hentaÃ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
--
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