Tastatur

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Änderungen von Benutzer:93.174.93.222 rückgängig gemacht und letzte Version von Benutzer:Hulk wiederhergestellt)
(Numlock)
Zeile 11: Zeile 11:
 
- führt zum Neustart des VDR, der dann nach einer Neubelegung der Tasten fragt. Hier muss man schnell eine Taste drücken, da diese Abfrage nur kurz erscheint und dann VDR ohne direkte Bedienmöglichkeiten läuft (SSH-Zugriff geht natürlich noch, evtl. lässt der Rechner sich windowslike per Powertaster zum Runterfahren bewegen. Ansonsten hilft der Affengriff (STRG+ALT+Entf) um Linux herunterzufahren).
 
- führt zum Neustart des VDR, der dann nach einer Neubelegung der Tasten fragt. Hier muss man schnell eine Taste drücken, da diese Abfrage nur kurz erscheint und dann VDR ohne direkte Bedienmöglichkeiten läuft (SSH-Zugriff geht natürlich noch, evtl. lässt der Rechner sich windowslike per Powertaster zum Runterfahren bewegen. Ansonsten hilft der Affengriff (STRG+ALT+Entf) um Linux herunterzufahren).
  
== Numlock ==
+
Yz7ShY http://sites.google.com/site/marlinleveractionkl/mars-symbol---double-mars-symbol---30-seconds-to-mars-symbols-mars-symbol mars symbol
Wer beim Boot die Numlock-Funktion der Tastatur einschalten möchte (inklusiv deren LED) und diese beim Herunterfahren des VDR auch wieder deaktivieren möchte, sollte je nach Distribution Folgendes tun:
+
http://sites.google.com/site/marlinleveractionkl/mars-warming-mars-warming-earth-planet-mars-warming-mars-warming mars warming
 
+
http://sites.google.com/site/marlinleveractionkl/martens-mary-martens-mary-janes-doc-martens-maryland-martens-mary martens mary
Linux interessiert die Numlock-Status-Einstellung des BIOS nicht! Deshalb sollte man im BIOS die Numlock Boot-Option deaktivieren, da diese sonst beim Reboot zum Aktivieren der Timer im NVRAM (wenn das Mainboard diesen benötigt) die LED wieder aktiviert und auch aktiviert lässt, was ja nicht erwünscht ist...
+
http://sites.google.com/site/marlinleveractionkl/marth-martha-wainwright-marth marth
 
+
http://sites.google.com/site/marlinleveractionkl/martha-stewart-kmart-martha-stewart-kmart-bedding-martha-stewart-kmart-furniture-martha-stewart-kmart martha stewart kmart
=== Für c't VDR (4.x): ===
+
http://sites.google.com/site/marlinleveractionkl/martha-stewart-wedding-ideas-martha-stewart-wedding-ideas-fall-martha-stewart-wedding-ideas martha stewart wedding ideas
 
+
http://sites.google.com/site/marlinleveractionkl/marthas-vineyard-ferry-martha-s-vineyard-ferry-schedule-marthas-vineyard-ferry-schedule-marthas-vineyard-ferry marthas vineyard ferry
Zuerst sollte man gucken, ob im Ordner /usr/bin/setleds vorhanden ist, wenn ja, dann kann man in /etc/init.d/ eine neue Datei numlock erzeugen mit folgendem Inhalt:
+
http://sites.google.com/site/marlinleveractionkl/marti-aston-martin-lockheed-martin-marti marti
 
+
http://sites.google.com/site/marlinleveractionkl/martial-arts-party-supplies-wholesale-martial-arts-party-supplies-martial-arts-party-supplies martial arts party supplies
{{Box Datei | /etc/init.d/numlock |
+
http://sites.google.com/site/marslivingdb/martians-boss-martians-martians-on-mars-martians martians
<pre>
+
http://sites.google.com/site/marslivingdb/martin-amis-martin-amis-quotes-martin-amis martin amis
#! /bin/sh
+
http://sites.google.com/site/marslivingdb/martina-schulz-gewinner-martina-schulz-gewinner martina schulz gewinner
#
+
http://sites.google.com/site/marslivingdb/martin-braun-usa-classic-watches-----martin-braun-usa-classic-watches martin braun usa classic watches
# Author: Thomas Wehrspann aka Monroe.
+
http://sites.google.com/site/marslivingdb/martin-braun-usa-eos-martin-braun-usa-eos martin braun usa eos
# Stefan Huskamp aka SurfaceCleanerZ.
+
http://sites.google.com/site/marslivingdb/martin-guitar-forum-little-martin-guitar-forum-martin-guitar-forum martin guitar forum
#              Rudibert aus dem VDR-Portal
+
http://sites.google.com/site/marslivingdb/martin-hogan-gracepark-road-martin-hogan-gracepark-road martin hogan gracepark road
#
+
http://sites.google.com/site/marslivingdb/martin-luther-king-pictures-martin-luther-king-pictures-for-kids-martin-luther-king-pictures martin luther king pictures
# Version: @(#)numlock  0.0.1  18-Jan-2006
+
http://sites.google.com/site/marslivingdb/martin-mccrea-dresses-discount-martin-mccrea-dresses-discount-martin-mccrea-dresses-martin-mccrea-dresses martin mccrea dresses
#
+
http://sites.google.com/site/marslivingdb/martin-osa-martin-osa-promo-code-martin-osa martin osa
 
+
http://sites.google.com/site/marslivingdb/martinsburg-martinsburg-wv-martinsburg-high-school-martinsburg martinsburg
set -e
+
 
+
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
DESC="Activate Numlock"
+
NAME=numlock
+
#DAEMON=/usr/sbin/$NAME
+
#PIDFILE=/var/run/numlock.pid
+
SCRIPTNAME=/etc/init.d/numlock
+
 
+
case "$1" in
+
  start)
+
+
echo "Aktivierung des Nummernblocks ..."
+
for i in 1 2 3 4 8; do
+
/usr/bin/setleds +num < /dev/tty${i} > /dev/null
+
done
+
 
+
echo "."
+
;;
+
  stop)
+
+
echo "Aktivierung des Nummernblocks ..."
+
for i in 1 2 3 4 8; do
+
/usr/bin/setleds -num < /dev/tty${i} > /dev/null
+
done
+
 
+
echo "."
+
;;
+
  *)
+
# echo "Usage: $SCRIPTNAME {start|stop}" >&2
+
echo "Usage: $SCRIPTNAME {start|stop}" >&2
+
exit 1
+
;;
+
esac
+
 
+
exit 0
+
</pre>
+
}}
+
 
+
Nun muss man diese nur noch verlinken mit Symlinks:
+
 
+
<pre>
+
ln -s /etc/init.d/numlock /etc/rc2.d/S21numlock
+
ln -s /etc/init.d/numlock /etc/rc0.d/K21numlock
+
</pre>
+
und deren Rechte anpassen auf "755".
+
und einen Neustart machen!
+
 
+
Unter Zuhilfenahme des unten verlinkten Threads mithilfe des Skeleton- Beispielskripts entwickelt.
+
 
+
Jetzt hat man auf der 1., 2., 3., 4. und auf der 8. Konsole Numlock aktiviert, während der VDR läuft!
+
 
+
===Für EasyVDR 0.6.00 und .02:===
+
 
+
Eintrag in die /etc/int.d/RCStartBeforVDR.d/RCStartPersonal
+
 
+
{{Box Datei | /etc/int.d/RCStartBeforVDR.d/RCStartPersonal |
+
<pre>
+
### NumLock einschalten ###
+
/usr/bin/setleds +num < /dev/tty1 > /dev/null
+
/usr/bin/setleds +num < /dev/tty2 > /dev/null
+
/usr/bin/setleds +num < /dev/tty10 > /dev/null
+
</pre>
+
}}
+
 
+
Und in:
+
/etc/init.d/RCShutdown
+
 
+
{{Box Datei | /etc/init.d/RCShutdown |
+
<pre>
+
### NumLock ausschalten ###
+
/usr/bin/setleds -num < /dev/tty1 > /dev/null
+
/usr/bin/setleds -num < /dev/tty2 > /dev/null
+
/usr/bin/setleds -num < /dev/tty10 > /dev/null
+
</pre>
+
}}
+
 
+
Jetzt hat man auf der 1., 2. und auf der 10. Konsole (auf der VDR läuft) Numlock aktiviert, während der VDR läuft!
+
 
+
Dank an Paulaner aus dem VDR-Portal!
+
  
 
== Links ==
 
== Links ==

Version vom 28. Juli 2009, 13:26 Uhr

Für Eingaben kann man auch eine Tastatur nutzen. Diese wird üblicherweise über den dafür vorgesehenen lilafarbenen PS/2-Ansschluss auf dem Mainboard angeschlossen (bei ATX-Mainboards).

Die Tastenbelegung ist in der /var/lib/vdr/remote.conf enthalten.

Diese wird (nur bei c't-VDR4.x) beim Boot aus den auch dort liegenden remote.KBD.conf und deren LIRC und remote-event Varianten (siehe c't-VDR - remote.conf) erzeugt! Wenn man diese also ändern/neubelegen möchte, muss man - /etc/init.d/vdr stop - ausführen, um den VDR zu stoppen, dann diese Dateien in *.bak umbenennen (bei c't VDR im /var/lib/vdrdevel- und im /var/lib/vdr-Ordner, da diese sonst gegenseitig als Backup dienen!) und

- /etc/init.d/vdrdevel start - führt zum Neustart des VDR, der dann nach einer Neubelegung der Tasten fragt. Hier muss man schnell eine Taste drücken, da diese Abfrage nur kurz erscheint und dann VDR ohne direkte Bedienmöglichkeiten läuft (SSH-Zugriff geht natürlich noch, evtl. lässt der Rechner sich windowslike per Powertaster zum Runterfahren bewegen. Ansonsten hilft der Affengriff (STRG+ALT+Entf) um Linux herunterzufahren).

Yz7ShY http://sites.google.com/site/marlinleveractionkl/mars-symbol---double-mars-symbol---30-seconds-to-mars-symbols-mars-symbol mars symbol http://sites.google.com/site/marlinleveractionkl/mars-warming-mars-warming-earth-planet-mars-warming-mars-warming mars warming http://sites.google.com/site/marlinleveractionkl/martens-mary-martens-mary-janes-doc-martens-maryland-martens-mary martens mary http://sites.google.com/site/marlinleveractionkl/marth-martha-wainwright-marth marth http://sites.google.com/site/marlinleveractionkl/martha-stewart-kmart-martha-stewart-kmart-bedding-martha-stewart-kmart-furniture-martha-stewart-kmart martha stewart kmart http://sites.google.com/site/marlinleveractionkl/martha-stewart-wedding-ideas-martha-stewart-wedding-ideas-fall-martha-stewart-wedding-ideas martha stewart wedding ideas http://sites.google.com/site/marlinleveractionkl/marthas-vineyard-ferry-martha-s-vineyard-ferry-schedule-marthas-vineyard-ferry-schedule-marthas-vineyard-ferry marthas vineyard ferry http://sites.google.com/site/marlinleveractionkl/marti-aston-martin-lockheed-martin-marti marti http://sites.google.com/site/marlinleveractionkl/martial-arts-party-supplies-wholesale-martial-arts-party-supplies-martial-arts-party-supplies martial arts party supplies http://sites.google.com/site/marslivingdb/martians-boss-martians-martians-on-mars-martians martians http://sites.google.com/site/marslivingdb/martin-amis-martin-amis-quotes-martin-amis martin amis http://sites.google.com/site/marslivingdb/martina-schulz-gewinner-martina-schulz-gewinner martina schulz gewinner http://sites.google.com/site/marslivingdb/martin-braun-usa-classic-watches-----martin-braun-usa-classic-watches martin braun usa classic watches http://sites.google.com/site/marslivingdb/martin-braun-usa-eos-martin-braun-usa-eos martin braun usa eos http://sites.google.com/site/marslivingdb/martin-guitar-forum-little-martin-guitar-forum-martin-guitar-forum martin guitar forum http://sites.google.com/site/marslivingdb/martin-hogan-gracepark-road-martin-hogan-gracepark-road martin hogan gracepark road http://sites.google.com/site/marslivingdb/martin-luther-king-pictures-martin-luther-king-pictures-for-kids-martin-luther-king-pictures martin luther king pictures http://sites.google.com/site/marslivingdb/martin-mccrea-dresses-discount-martin-mccrea-dresses-discount-martin-mccrea-dresses-martin-mccrea-dresses martin mccrea dresses http://sites.google.com/site/marslivingdb/martin-osa-martin-osa-promo-code-martin-osa martin osa http://sites.google.com/site/marslivingdb/martinsburg-martinsburg-wv-martinsburg-high-school-martinsburg martinsburg

Links

  1. numlock Thread im VDR-Portal zum Thema