Skip to content

Instantly share code, notes, and snippets.

@natxopedreira
Last active September 20, 2017 09:48
Show Gist options
  • Save natxopedreira/13b19458fc844137ce7fce427d4393ff to your computer and use it in GitHub Desktop.
Save natxopedreira/13b19458fc844137ce7fce427d4393ff to your computer and use it in GitHub Desktop.
rpi watchdog
From this: https://github.com/raspberrypi/linux/issues/1285#issuecomment-182264729
That is, add:
dtparam=watchdog=on
to the end of /boot/config.txt
$ ls -l /dev/wat*
crw------- 1 root root 10, 130 May 20 01:28 /dev/watchdog
crw------- 1 root root 253, 0 May 20 01:28 /dev/watchdog0
hay que agregar sudo a la llamada a la app porque sino no hay permisos para escribit el watchdog
sudo nano /etc/profile
@natxopedreira
Copy link
Author

también subir el volumen [comprobar]

amixer set PCM -- 100%

@natxopedreira
Copy link
Author

For more options and information see

http://rpf.io/configtxtreadme

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default "safe" mode

#hdmi_safe=1

uncomment this if your display has a black border of unused pixels visible

and your display can output without overscan

#disable_overscan=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

uncomment to force a console size. By default it will be display's size minus

overscan.

#framebuffer_width=1280
#framebuffer_height=720

uncomment if hdmi display is not detected and composite is being output

hdmi_force_hotplug=1

uncomment to force a specific HDMI mode (this will force VGA)

#####hdmi_group=1
#####hdmi_mode=4

uncomment to force a HDMI mode rather than DVI. This can make audio work in

DMT (computer monitor) modes

#hdmi_drive=2

uncomment to increase signal to HDMI, if you have interference, blanking, or

no display

config_hdmi_boost=4

uncomment for composite PAL

#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=1000

Uncomment some or all of these to enable the optional hardware interfaces

dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

Uncomment this to enable the lirc-rpi module

#dtoverlay=lirc-rpi

Additional overlays and parameters are documented /boot/overlays/README

Enable audio (loads snd_bcm2835)

dtparam=audio=on
start_x=1
gpu_mem=768
#core_freq=500
#sdram_freq=500
#over_voltage=2
consoleblank=0
dtoverlay=pi3-disable-bt
enable_uart=1

dtparam=watchdog=on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment