Re: CX24116 i2c patch

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

 



to 5.5.2011 19:55 Mauro Carvalho Chehab kirjoitti:
> Em 05-05-2011 12:25, Devin Heitmueller escreveu:
>> Do we know this to be the case with the anysee bridge?  Is this a
>> reverse engineered device?  Is there documentation/datasheets to
>> reference?
>
>>
>> Do we know if this is an issue with the i2c master driver not being
>> fully baked, or if it's a hardware limitation?
>
> I can't tell you how Antti is working, but, since this is a USB device,
> and cx24116 is trying to send a 32KB message via one single I2C transfer,
> I can tell you for sure that that this won't work.
>
> USB control messages can have, at maximum, 80 bytes of data on it. So,
> the message needs to be broken into 80-byte payloads (assuming that
> Anysee accepts the maximum size).

Anysee have Cypress 'FX2' -bridge running their own custom firmware. It
uses BULK messages for data transfer - so there is no such small limit as
control messages have.

But the API FW implements limits that size, it is just max I configured to
DVB-S/S2 driver in question. Thats since there is static meaning bytes
before and after I2C data. Something like (as example near real, I cannot
check now easily since I am on weekend trip):

~bytes:
1-10 len, I2C addr, command, etc...
11-58 I2C data
59 packet sequence number
60 some other value
61 some other value

Whole message size is around 60 bytes.

Anyhow, the point is that used message size is static and there is static
bytes at the end of each message which does have some meaning.

Antti

--
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