On 01/15/2012 11:08 PM, Mauro Carvalho Chehab wrote:
There was a bug at the error code handling on dvb-fe-tool: basically, if it can't open
a device, it were using a NULL pointer. It was likely fixed by this commit:
http://git.linuxtv.org/v4l-utils.git/commit/1f669eed5433d17df4d8fb1fa43d2886f99d3991
That bug was fixed as I tested.
But could you tell why dvb-fe-tool --set-delsys=DVBC/ANNEX_A calls
get_frontent() ?
That will cause this kind of calls in demod driver:
init()
get_frontend()
get_frontend()
sleep()
My guess is that it resolves current delivery system. But as demod is
usually sleeping (not tuned) at that phase it does not know frontend
settings asked, like modulation etc. In case of cxd2820r those are
available after set_frontend() call. I think I will add check and return
-EINVAL in that case.
regards
Antti
--
http://palosaari.fi/
--
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