From 30f72a524e31b425bd2397c9dddea25bec14d1e5 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 6 Jan 2010 12:06:59 +0100 Subject: fix bug #223 by adding a command line option to enable automatic fw loading By default the vdr-dxr3-plugin does not load the fw automatically any more, as on recent linux systems the fw gets loaded when the em8300 driver module gets loaded. So we dont need to load the fw. But for older systems there is the command option -f/--firmware-loading to tell the plugin to load the firmware at startup. --- dxr3interface.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dxr3interface.c') diff --git a/dxr3interface.c b/dxr3interface.c index f5563cb..8f8f77f 100644 --- a/dxr3interface.c +++ b/dxr3interface.c @@ -431,6 +431,11 @@ void cDxr3Interface::PlayBlackFrame() //! uploadroutine for microcode void cDxr3Interface::UploadMicroCode() { + if (!cSettings::instance()->loadFirmware()) { + return; + } + + dsyslog("[dxr3-interface] loading firmware"); em8300_microcode_t em8300_microcode; struct stat s; -- cgit v1.2.3