Re: [PATCH] saa7164: convert to the control framework

Hans Verkuil
2015-08-28T13:24:36Z

On 08/28/2015 02:44 PM, Steven Toth wrote:
>>> Send me your shipping address _privately_, I talk to Hauppauge about a
>>> replacement.
>>>
>>
>> No need, I managed to get it working if I use a PCI-to-PCIe adapter card. Very
>> strange, it won't work in the PCIe slot of my motherboard, but using the PCI slot
>> and that adapter it works fine.
>
> Excellent.
>
>>
>> It's good that it was tested since the menu control creation code was wrong.
>
> Ahh.
>
>>
>> One thing that is very confusing to me: I have this board:
>>
>> [ 1878.280918] CORE saa7164[0]: subsystem: 0070:8900, board: Hauppauge WinTV-HVR2200 [card=5,autodetected]
>> [ 1878.280928] saa7164[0]/0: found at 0000:09:00.0, rev: 129, irq: 18, latency: 0, mmio: 0xfb800000
>> [ 1878.327399] tveeprom 14-0000: Hauppauge model 89519, rev B2F2, serial# 4029789519
>> [ 1878.327405] tveeprom 14-0000: MAC address is 00:0d:fe:31:b5:4f
>> [ 1878.327409] tveeprom 14-0000: tuner model is NXP 18271C2_716x (idx 152, type 4)
>> [ 1878.327413] tveeprom 14-0000: TV standards PAL(B/G) NTSC(M) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xfc)
>> [ 1878.327416] tveeprom 14-0000: audio processor is SAA7164 (idx 43)
>> [ 1878.327418] tveeprom 14-0000: decoder processor is CX23887A (idx 39)
>> [ 1878.327420] tveeprom 14-0000: has radio
>> [ 1878.327423] saa7164[0]: Hauppauge eeprom: model=89519
>>
>> but the default firmware with size 4919072 fails to work (image corrupt), instead
>> I need to use the firmware with size 4038864 (v4l-saa7164-1.0.3-3.fw).
>>
>> For that I have to patch the driver.
>
> Take a look at your board, on the main large PCIe IC, its probably
> marked as either a REV2 or a REV3, or a -02 or -03, what do you have?
>
> I suspect you have a rev-02 chip. Not many of them go out into
> production. (A few thousand, compared to significantly more -03
> chips).

The text on the chip is:

SAA7164E/2
P60962.00 10
ESG07271Y

I suspect the /2 means REV2.

Regards,

Hans