forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V4L/DVB: Support or LME2510(C) DM04/QQBOX USB DVB-S BOXES
DM04/QQBOX DVB-S USB BOX with LME2510C+SHARP:BS2F7HZ7395 or LME2510+LGTDQT-P001F tuner. [[email protected]: Fix merge conflicts/compilation and CodingStyle issues] Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
Malcolm Priestley
authored and
Mauro Carvalho Chehab
committed
Oct 21, 2010
1 parent
9d10f3d
commit d2f918b
Showing
9 changed files
with
1,307 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
To extract firmware for the DM04/QQBOX you need to copy the | ||
following file(s) to this directory. | ||
|
||
for DM04+/QQBOX LME2510C (Sharp 7395 Tuner) | ||
------------------------------------------- | ||
|
||
The Sharp 7395 driver can be found in windows/system32/driver | ||
|
||
US2A0D.sys (dated 17 Mar 2009) | ||
|
||
|
||
and run | ||
./get_dvb_firmware lme2510c_s7395 | ||
|
||
will produce | ||
dvb-usb-lme2510c-s7395.fw | ||
|
||
An alternative but older firmware can be found on the driver | ||
disk DVB-S_EN_3.5A in BDADriver/driver | ||
|
||
LMEBDA_DVBS7395C.sys (dated 18 Jan 2008) | ||
|
||
and run | ||
./get_dvb_firmware lme2510c_s7395_old | ||
|
||
will produce | ||
dvb-usb-lme2510c-s7395.fw | ||
|
||
-------------------------------------------------------------------- | ||
|
||
The LG firmware can be found on the driver | ||
disk DM04+_5.1A[LG] in BDADriver/driver | ||
|
||
for DM04 LME2510 (LG Tuner) | ||
--------------------------- | ||
|
||
LMEBDA_DVBS.sys (dated 13 Nov 2007) | ||
|
||
and run | ||
./get_dvb_firmware lme2510_lg | ||
|
||
will produce | ||
dvb-usb-lme2510-lg.fw | ||
|
||
|
||
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 | ||
|
||
--------------------------------------------------------------------- | ||
|
||
Copy the firmware file(s) to /lib/firmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* LME2510 remote control | ||
* | ||
* | ||
* Copyright (C) 2010 Malcolm Priestley ([email protected]) | ||
* | ||
* 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 Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
#include <media/rc-map.h> | ||
|
||
|
||
static struct ir_scancode lme2510_rc[] = { | ||
{ 0xba45, KEY_0 }, | ||
{ 0xa05f, KEY_1 }, | ||
{ 0xaf50, KEY_2 }, | ||
{ 0xa25d, KEY_3 }, | ||
{ 0xbe41, KEY_4 }, | ||
{ 0xf50a, KEY_5 }, | ||
{ 0xbd42, KEY_6 }, | ||
{ 0xb847, KEY_7 }, | ||
{ 0xb649, KEY_8 }, | ||
{ 0xfa05, KEY_9 }, | ||
{ 0xbc43, KEY_POWER }, | ||
{ 0xb946, KEY_SUBTITLE }, | ||
{ 0xf906, KEY_PAUSE }, | ||
{ 0xfc03, KEY_MEDIA_REPEAT}, | ||
{ 0xfd02, KEY_PAUSE }, | ||
{ 0xa15e, KEY_VOLUMEUP }, | ||
{ 0xa35c, KEY_VOLUMEDOWN }, | ||
{ 0xf609, KEY_CHANNELUP }, | ||
{ 0xe51a, KEY_CHANNELDOWN }, | ||
{ 0xe11e, KEY_PLAY }, | ||
{ 0xe41b, KEY_ZOOM }, | ||
{ 0xa659, KEY_MUTE }, | ||
{ 0xa55a, KEY_TV }, | ||
{ 0xe718, KEY_RECORD }, | ||
{ 0xf807, KEY_EPG }, | ||
{ 0xfe01, KEY_STOP }, | ||
|
||
}; | ||
|
||
static struct rc_keymap lme2510_map = { | ||
.map = { | ||
.scan = lme2510_rc, | ||
.size = ARRAY_SIZE(lme2510_rc), | ||
.ir_type = IR_TYPE_UNKNOWN, | ||
.name = RC_MAP_LME2510, | ||
} | ||
}; | ||
|
||
static int __init init_rc_lme2510_map(void) | ||
{ | ||
return ir_register_map(&lme2510_map); | ||
} | ||
|
||
static void __exit exit_rc_lme2510_map(void) | ||
{ | ||
ir_unregister_map(&lme2510_map); | ||
} | ||
|
||
module_init(init_rc_lme2510_map) | ||
module_exit(exit_rc_lme2510_map) | ||
|
||
MODULE_LICENSE("GPL"); | ||
MODULE_AUTHOR("Malcolm Priestley [email protected]"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.