Commit ab599a6d authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Mauro Carvalho Chehab

[media] lmedm04: driver for DM04/QQBOX updated to version 1.60

These include
-later kill of usb_buffer to avoid kernel crash on hot unplugging.
-DiSEqC functions.
-LNB Power switch
-Faster channel change.
-support for LG tuner on LME2510C.
-firmware switching for LG tuner.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent dda7ae78
......@@ -45,10 +45,13 @@ and run
Other LG firmware can be extracted manually from US280D.sys
only found in windows/system32/driver.
However, this firmware does not run very well under Windows
or with the Linux driver.
dd if=US280D.sys ibs=1 skip=36856 count=3976 of=dvb-usb-lme2510-lg.fw
dd if=US280D.sys ibs=1 skip=42616 count=3668 of=dvb-usb-lme2510-lg.fw
for DM04 LME2510C (LG Tuner)
---------------------------
dd if=US280D.sys ibs=1 skip=35200 count=3850 of=dvb-usb-lme2510c-lg.fw
---------------------------------------------------------------------
......
......@@ -356,6 +356,5 @@ config DVB_USB_LME2510
select DVB_TDA826X if !DVB_FE_CUSTOMISE
select DVB_STV0288 if !DVB_FE_CUSTOMISE
select DVB_IX2505V if !DVB_FE_CUSTOMISE
depends on IR_CORE
help
Say Y here to support the LME DM04/QQBOX DVB-S USB2.0 .
This diff is collapsed.
/* DVB USB compliant linux driver for
*
* DM04/QQBOX DVB-S USB BOX LME2510C + SHARP:BS2F7HZ7395
* LME2510C + LGTDQT-P001F
* LME2510C + LG TDQY-P001F
* LME2510 + LG TDQY-P001F
*
* MVB7395 (LME2510C+SHARP:BS2F7HZ7395)
* SHARP:BS2F7HZ7395 = (STV0288+Sharp IX2505V)
*
* MVB0001F (LME2510C+LGTDQT-P001F)
* MVB001F (LME2510+LGTDQT-P001F)
* LG TDQY - P001F =(TDA8263 + TDA10086H)
*
* MVB0001F (LME2510C+LGTDQT-P001F)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
......@@ -35,35 +37,33 @@
* end byte -1 = 20
* end byte = clear pid always a0, other wise 9c, 9a ??
*
* RESET (also clears PID filter)
* 3a 01 00
*/
#define LME_ST_ON_W {0x06, 0x00}
#define LME_RESET {0x3a, 0x01, 0x00}
#define LME_CLEAR_PID {0x03, 0x02, 0x20, 0xa0}
/* LME Power Control
/* LNB Voltage
* 07 XX XX
* offset 1 = 01 Power? my device cannot be powered down
* offset 1 = 01
* offset 2 = 00=Voltage low 01=Voltage high
*
* LNB Power
* 03 01 XX
* offset 2 = 00=ON 01=OFF
*/
#define LME_VOLTAGE_L {0x07, 0x01, 0x00}
#define LME_VOLTAGE_H {0x07, 0x01, 0x01}
#define LNB_ON {0x3a, 0x01, 0x00}
#define LNB_OFF {0x3a, 0x01, 0x01}
/* Initial stv0288 settings for 7395 Frontend */
static u8 s7395_inittab[] = {
0x00, 0x11,
0x01, 0x15,
0x02, 0x20,
0x03, 0x8e,
0x04, 0x8e,
0x03, 0xa0,
0x04, 0xa0,
0x05, 0x12,
0x06, 0xff,
0x07, 0x20,
0x08, 0x00,
0x06, 0x00,
0x09, 0x00,
0x0a, 0x04,
0x0b, 0x00,
......@@ -71,7 +71,6 @@ static u8 s7395_inittab[] = {
0x0d, 0x00,
0x0e, 0xc1,
0x0f, 0x54,
0x10, 0x40,
0x11, 0x7a,
0x12, 0x03,
0x13, 0x48,
......@@ -84,23 +83,15 @@ static u8 s7395_inittab[] = {
0x1a, 0x88,
0x1b, 0x8f,
0x1c, 0xf0,
0x1e, 0x80,
0x20, 0x0b,
0x21, 0x54,
0x22, 0xff,
0x23, 0x01,
0x24, 0x9a,
0x25, 0x7f,
0x26, 0x00,
0x27, 0x00,
0x28, 0x46,
0x29, 0x66,
0x2a, 0x90,
0x2b, 0xfa,
0x2c, 0xd9,
0x2d, 0x02,
0x2e, 0xb1,
0x2f, 0x00,
0x30, 0x0,
0x31, 0x1e,
0x32, 0x14,
......@@ -115,8 +106,6 @@ static u8 s7395_inittab[] = {
0x3b, 0x13,
0x3c, 0x11,
0x3d, 0x30,
0x3e, 0x00,
0x3f, 0x00,
0x40, 0x63,
0x41, 0x04,
0x42, 0x60,
......@@ -126,8 +115,6 @@ static u8 s7395_inittab[] = {
0x46, 0x00,
0x47, 0x00,
0x4a, 0x00,
0x4b, 0xd1,
0x4c, 0x33,
0x50, 0x12,
0x51, 0x36,
0x52, 0x21,
......@@ -183,5 +170,4 @@ static u8 s7395_inittab[] = {
0xf2, 0xc0,
0xff, 0xff,
};
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment