From ed95ff51b55c84ce94f4e1202cff67e2a7d5b28b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 6 May 2012 15:44:31 +0200 Subject: [PATCH] bcm2835-driver: start vcfiled service via init script and set vll dir Signed-off-by: Stephan Raue --- .../graphics/bcm2835-driver/init.d/81_vllinit | 28 +++++++++++++++++++ .../bcm2835-driver/profile.d/display.conf | 1 - 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 packages/graphics/bcm2835-driver/init.d/81_vllinit diff --git a/packages/graphics/bcm2835-driver/init.d/81_vllinit b/packages/graphics/bcm2835-driver/init.d/81_vllinit new file mode 100644 index 0000000000..30e2e07f39 --- /dev/null +++ b/packages/graphics/bcm2835-driver/init.d/81_vllinit @@ -0,0 +1,28 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# 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, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ +# +# set vll dir and run vcfiled service +# +# runlevels: openelec, textmode + +progress "set vll dir and run vcfiled service" + + /usr/sbin/vcfiled + /usr/bin/vcgencmd set_vll_dir /storage/.config/vlls \ No newline at end of file diff --git a/packages/graphics/bcm2835-driver/profile.d/display.conf b/packages/graphics/bcm2835-driver/profile.d/display.conf index eff69b12ad..0d191f8594 100644 --- a/packages/graphics/bcm2835-driver/profile.d/display.conf +++ b/packages/graphics/bcm2835-driver/profile.d/display.conf @@ -27,7 +27,6 @@ # stub function wait_for_xorg () { - /usr/sbin/vcfiled echo 0 > /sys/class/vtconsole/vtcon1/bind fbset -xres 1 -yres 1 -vxres 1 -vyres 1 }