Editing User:Jebba/Fedora
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 417: |
Line 417: |
| cp -p /mnt/initfs/usr/lib/hal/hald-addon-bme /usr/libexec/hald-addon-bme | | cp -p /mnt/initfs/usr/lib/hal/hald-addon-bme /usr/libexec/hald-addon-bme |
| cp -p /mnt/initfs/usr/share/hal/fdi/policy/10osvendor/10-bme.fdi /etc/hal/fdi/policy/10osvendor/ | | cp -p /mnt/initfs/usr/share/hal/fdi/policy/10osvendor/10-bme.fdi /etc/hal/fdi/policy/10osvendor/ |
- |
| |
- | ==watchdog other==
| |
- | Here's some scripts that I got from somewhere, i think another fedora/n900 user. :) It is another way to disable the watchdog without having to enter R&D mode.
| |
- |
| |
- | ===n900_wd===
| |
- | #!/bin/sh
| |
- | #
| |
- | # chkconfig: 12345 01 99
| |
- | # description: N900 watchdog kicker
| |
- | #
| |
- |
| |
- | # Source function library.
| |
- | . /etc/rc.d/init.d/functions
| |
- |
| |
- | [ -x /usr/sbin/wd_keepalive ] || exit 0
| |
- |
| |
- | RETVAL=0
| |
- | prog=wd_keepalive
| |
- | pidfile=/var/run/wd_keepalive.pid
| |
- | lockfile=/var/lock/subsys/n900_wd
| |
- |
| |
- | start() {
| |
- | echo -n $"Starting $prog: "
| |
- | /usr/sbin/${prog} -c /etc/watchdog-omap.conf
| |
- | RETVAL=$?
| |
- | [ $RETVAL -ne 0 ] && (echo_failure; echo; return $RETVAL)
| |
- | /usr/sbin/${prog} -c /etc/watchdog-twl4030.conf
| |
- | RETVAL=$?
| |
- | [ $RETVAL -eq 0 ] && touch $lockfile
| |
- | [ $RETVAL -eq 0 ] && echo_success
| |
- | [ $RETVAL -ne 0 ] && echo_failure
| |
- | echo
| |
- | return $RETVAL
| |
- | }
| |
- |
| |
- | stop() {
| |
- | rm -f $lockfile $pidfile
| |
- | }
| |
- |
| |
- | case "$1" in
| |
- | start)
| |
- | start
| |
- | ;;
| |
- | stop)
| |
- | stop
| |
- | ;;
| |
- | status)
| |
- | status $prog
| |
- | RETVAL=$?
| |
- | ;;
| |
- | *)
| |
- | echo $"Usage: $0 {start|status}"
| |
- | exit 1
| |
- | esac
| |
- |
| |
- | ===watchdog-twl4030.conf===
| |
- |
| |
- | watchdog-device = /dev/twl4030_wdt
| |
- | interval = 10
| |
- | realtime = yes
| |
- | priority = 1
| |
- |
| |
- | ===watchdog-omap.conf===
| |
- |
| |
- | watchdog-device = /dev/watchdog
| |
- | interval = 10
| |
- | realtime = yes
| |
- | priority = 1
| |
| | | |
| =See also= | | =See also= |
Learn more about Contributing to the wiki.