On 06/01/2011 04:27 PM, Mauro Carvalho Chehab wrote:
Em 25-05-2011 17:42, Antti Palosaari escreveu:
Antti Palosaari (7):
em28xx-dvb: add module param "options" and use it for LNA
That patch is ugly, for several reasons:
1) we don't want a generic "options" parameter, whose meaning changes from
device to devices;
I agree it is not proper solution, but in my mind it is better to offer
some solution than no solution at all.
2) what happens if someone has two em28xx devices plugged?
It depends depends devices, currently only nanoStick T2 only looks that
param, other just ignore. If there is two nanoStics then both have same
LNA settings.
That's just like same behaviour as for example remote controller
polling. Or for example DiBcom driver LNA, since it does have similar
module param already. Will you you commit it if I rename it similarly as
DiBcom?
3) the better would be to detect if LNA is needed, or to add a DVBS2API
call to enable/disable LNA.
True, but it needs some research. There is many hardware which gets
signal input from demod or tuner and makes some fine tune according to
that. We need to define some new callbacks for demod and tuner in order
to do this kind of actions.
Or just add new LNA param to API use it manually.
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