Re: [PATCH 2/2] ts2020: Provide DVBv5 API signal strength

From: Antti Palosaari
Date: Wed Jun 03 2015 - 07:13:41 EST


On 05/28/2015 11:07 PM, Malcolm Priestley wrote:
On 28/05/15 11:08, David Howells wrote:
Malcolm Priestley <tvboxspy@xxxxxxxxx> wrote:

Statistics polling can not be done by lmedm04 driver's implementation of
M88RS2000/TS2020 because I2C messages stop the devices demuxer.

I did make tests (using that same lme2510 + rs2000 device) and didn't saw the issue TS was lost. Could test and and tell me how to reproduce it?
Signal strength returned was quite boring though, about same value all the time, but it is different issue...


So any polling must be a config option for this driver.

Ummm... I presume a runtime config option is okay.

Yes, also, the workqueue appears not to be initialized when using the
dvb attached method.


Also, does that mean that the lmedm04 driver can't be made compatible
with the
DVBv5 API?

No, the driver will have to implement its own version. It doesn't need a
polling thread it simply gets it directly from its interrupt urb buffer.

I assume lme2510 firmware will read signal strength from rs2000 and it is returned then directly by USB interface.

regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/