Ubuntu HD VDR mittels Xine und VDPAU - PowerOff Kernel

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „==Prüfen der Grafikkarte== lspci -v 03:00.0 VGA compatible controller: nVidia Corporation ION VGA (rev b1) Subsystem: ASUSTeK Computer Inc. Device 83e2 F…“)
 
Zeile 1: Zeile 1:
==Prüfen der Grafikkarte==
+
==40_custom anpassen==
  lspci -v
+
  cd /etc/grub.d/
   
+
sudo vi 40_custom
  03:00.0 VGA compatible controller: nVidia Corporation ION VGA (rev b1)
+
 
Subsystem: ASUSTeK Computer Inc. Device 83e2
+
#!/bin/sh
Flags: bus master, fast devsel, latency 0, IRQ 23
+
exec tail -n +3 $0
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
+
  # This file provides an easy way to add custom menu entries.  Simply type the
Memory at e0000000 (64-bit, prefetchable) [size=256M]
+
  # menu entries you want to add after this comment. Be careful not to change
Memory at f6000000 (64-bit, prefetchable) [size=32M]
+
# the 'exec tail' line above.
I/O ports at dc00 [size=128]
+
menuentry "PowerOff" {
[virtual] Expansion ROM at fbee0000 [disabled] [size=128K]
+
saved_entry=0
Capabilities: <access denied>
+
save_env saved_entry
Kernel driver in use: nvidia
+
halt
Kernel modules: nvidia-current, nvidiafb, nouveau
+
}
 +
 
 +
==grub anpassen==
 +
cd /etc/default/
 +
sudo vi grub
 +
 
 +
#GRUB_DEFAULT=0
 +
GRUB_DEFAULT=saved
 +
GRUB_HIDDEN_TIMEOUT=0
 +
GRUB_HIDDEN_TIMEOUT_QUIET=true
 +
GRUB_TIMEOUT=10
 +
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
 +
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
 +
GRUB_CMDLINE_LINUX=""
 +
 
 +
sudo update-grub
 +
 
 +
==vdrpoweroff.sh Skript anpassen==
 +
cd /usr/local/bin/
 +
vi vdrpoweroff.sh
 +
 
 +
#!/bin/bash
 +
sudo /usr/sbin/grub-reboot PowerOff
 +
sudo /sbin/reboot
 +
 
 +
==visudo anpassen==
 +
sudo visudo
 +
vdruser ALL=(ALL) NOPASSWD: /usr/local/bin/vdrpoweroff.sh,/sbin/poweroff,/usr/sbin/grub-reboot,/sbin/reboot
  
==Installation NVIDIA Grafikkarten Treiber==
 
sudo apt-get install nvidia-current
 
sudo nvidia-xconfig
 
  
 
[[Kategorie:Ubuntu]]
 
[[Kategorie:Ubuntu]]
 
[[Kategorie:Installationsanleitungen]]
 
[[Kategorie:Installationsanleitungen]]
 
[[Kategorie:HDTV]]
 
[[Kategorie:HDTV]]

Version vom 28. Juni 2010, 22:49 Uhr

Inhaltsverzeichnis

40_custom anpassen

cd /etc/grub.d/
sudo vi 40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "PowerOff" {
saved_entry=0
save_env saved_entry
halt
}

grub anpassen

cd /etc/default/
sudo vi grub
#GRUB_DEFAULT=0
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
sudo update-grub

vdrpoweroff.sh Skript anpassen

cd /usr/local/bin/
vi vdrpoweroff.sh
#!/bin/bash
sudo /usr/sbin/grub-reboot PowerOff
sudo /sbin/reboot

visudo anpassen

sudo visudo
vdruser ALL=(ALL) NOPASSWD: /usr/local/bin/vdrpoweroff.sh,/sbin/poweroff,/usr/sbin/grub-reboot,/sbin/reboot