initscripts/olpc-setolpckeys.patch
C. Scott Ananian abf189152c Unfreeze DCON after failed X start, and fail more quickly when there are
problems.
Change default runlevel to 5 (replacing an uglier patch to do this in our
    image creation tool).
Remove a redundant udev console initialization which causes the screen to
    flash during prettyboot (dlo trac #3569). This replaces an uglier patch
    to do this in our image creation tool.
Set up keymap when hal sees an OLPC keyboard. This replaces an uglier patch
    in our image creation tool.
2008-07-24 16:59:03 +00:00

5 lines
458 B
Diff

diff -ruHpN initscripts-8.76.2.orig/udev/rules.d/96-olpc-keyboard.rules initscripts-8.76.2/udev/rules.d/96-olpc-keyboard.rules
--- initscripts-8.76.2.orig/udev/rules.d/96-olpc-keyboard.rules 1969-12-31 19:00:00.000000000 -0500
+++ initscripts-8.76.2/udev/rules.d/96-olpc-keyboard.rules 2008-07-24 12:44:36.000000000 -0400
@@ -0,0 +1 @@
+ACTION=="add", SYSFS{name}=="AT Translated Set 2 keyboard", KERNEL=="event*", RUN+="/usr/sbin/setolpckeys /dev/input/%k"