[RFC] add i2c_gate_ctrl to mb86a20s.c

2011-05-19 Thread Manoel PN
The register 0xfe controls the i2c-bus from the mb86a20s to tuner. Signed-off-by: Manoel Pinheiro diff --git a/drivers/media/dvb/frontends/mb86a20s.c b/drivers/media/dvb/frontends/mb86a20s.c index 0f867a5..f3c4013 100644 --- a/drivers/media/dvb/frontends/mb86a20s.c +++ b/drivers/media/dvb/fro

[PATCH] saa7134-dvb.c kworld_sbtvd

2011-05-19 Thread Manoel PN
The correct place to put i2c_gate_ctrl is before calling tda18271_attach, because the driver tda18271 will use it to enable or disable the i2c-bus from the demodulator to the tuner. And thus eliminate the error message: "Unknown device (255) detected @ 1-00c0, device not supported" in the driver t

[RFC]Add i2c_gate_ctrl do mb86a20s

2011-05-13 Thread Manoel PN
This function enables and disables the i2c bus of the mb86a20s to tuner. -- 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/majordom

[PATCH 4/4] Modifications to the driver mb86a20s‏‏

2011-05-12 Thread Manoel PN
This patch implement changes to the function mb86a20s_read_signal_strength. The original function, binary search, does not work with device dtb08. I would like to know if this function works. Signed-off-by: Manoel Pinheiro signal_strength.patch D

[PATCH 3/4] Modifications to the driver mb86a20s‏

2011-05-12 Thread Manoel PN
This patch implements some modifications in the function This patch implements some modifications in the initialization function of the mb86a20s. Explanation: Several registers of mb86a20s can be programmed and to simplify this task and due to lack of technical literature to elaborate the nec

[PATCH 2/4] Modifications to the driver mb86a20s

2011-05-12 Thread Manoel PN
This patch implements mb86a20s_read_snr and adds mb86a20s_read_ber and mb86a20s_read_ucblocks both without practical utility but that programs as dvbsnoop need. Signed-off-by: Manoel Pinheiro read_snr.patch Description: Binary data

[PATCH 2/4] Modifications to the driver mb86a20s

2011-05-12 Thread Manoel PN
This patch implements mb86a20s_read_snr and adds mb86a20s_read_ber and mb86a20s_read_ucblocks both without practical utility but that programs as dvbsnoop need. Signed-off-by: Manoel Pinheiro -- To unsubscribe from this list: send the line "unsubscr

[PATCH 1/4] Modifications to the driver mb86a20s

2011-05-12 Thread Manoel PN
Hi to all, I added some modifications to the driver mb86a20s and would appreciate your comments. > > File: drivers/media/dvb/frontends/mb86a20s.c > > -static int debug = 1; > +static int debug = 0; > module_param(debug, int, 0644); > MODULE_PARM_DESC(debug, "Activates frontend debugging (defaul

[PATCH] dvb-usb.h function rc5_scan‏

2011-05-06 Thread Manoel PN
Hi, The function "rc5_scan" in "dvb_usb.h" is returning invalid value. The value should be returned "u16" but is returning "u8". See example below in "drivers/media/dvb/dvb-usb/opera1.c". /*--*/ drivers/media/dvb/dvb-usb/opera1.c static in