On 07/29/2011 02:15 PM, Eddi De Pieri wrote:
> 2011/7/28 Benjamin Larsson <benja...@southpole.se>:
>> 0x82 is the address of the chip handling the analog signals(?) Micronas
>> AVF 4910BA1 maybe.
> 
> I don't have the schematic of hauppauge card, so I can't say you if
> 082 is the AVF 4910

Rather few Linux devels have those but generally it is rather easy to guess. 
Just look addresses from sniff, then you have driver working you can read and 
write to chip and try to see what happens.

>> I'm not sure I understand the I2C addressing but my tuner is at 0xc2 and
>> the demod at 0x52.
> 
> I hate binary operation however if you shift the address you should
> get same value...
> 0x52 = 0x29 << 1
> 0x29 = 0x52 >> 1

I2C uses 7 bit addressing and thus 0x29 is correct. Many times address like 
0x52 is called as 8 bit I2C address even in chip documents. Anyhow, 0x29 is 
correct, also (0x52 >> 1) can be used.

I encourage to use

.i2c_addr = 0x29; /* 0x52 >> 1 */

to make clear which is 8 bit since 8bit is almost always seen in usb logs.

regards
Antti

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

Reply via email to