


| The Following User Says Thank You to pichlo For This Useful Post: | ||
# Recovery shell
printf "Press any key to get a shell.../n"
for q in 0
do
printf "$q"
if (read -n 1 -t 1)
then
printf "\b\b"
insmod $MODULE_PATH/led-class.ko
insmod $MODULE_PATH/leds-lp5523.ko
insmod $MODULE_PATH/omap_wdt.ko
insmod $MODULE_PATH/twl4030_wdt.ko
sleep 1
for p in /sys/bus/platform/devices/*_wdt/misc:*; do
n=`basename $p | sed "s/.*://"`
rm -f /dev/$n
mknod /dev/$n c `cat $p/dev | sed "s/:/ /g"`
done
for i in 1 2 3 4 5 6; do
echo 25 > /sys/class/leds/lp5523\:kb$i/brightness
done
watchdog -t 20 /dev/watchdog
watchdog -t 20 /dev/twl4030_wdt
loadkmap < /etc/nokia-n900.kmap
sh
killall watchdog
break
fi
printf "\b"
done
mkdir /tmp/dev
). Keyboard mapping works thanks to file from this attachement (keyboard is mapped exactly as in backupmenu's recovery shell, so shift+space = tab, etc)./udev-start.sh

| The Following 6 Users Say Thank You to Estel For This Useful Post: | ||

)
| The Following 5 Users Say Thank You to pichlo For This Useful Post: | ||