Last active
August 29, 2015 14:19
-
-
Save apetrone/9bce68d702a11f9ed79c to your computer and use it in GitHub Desktop.
raspberry pi configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/fstab | |
# Force raspberry pi to use tmpfs for these mounts | |
tmpfs /tmp tmpfs defaults,noatime,nosuid,size=100m 0 0 | |
tmpfs /var/tmp tmpfs defaults,noatime,nosuid,size=30m 0 0 | |
tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=100m 0 0 | |
/boot/config.txt | |
# Dell U2410f, 1900x1200 @ 60Hz | |
hdmi_group=2 | |
hdmi_mode=69 | |
# Adafruit 5" HDMI Backpack (no touch) | |
# this sets a custom mode (87) | |
# This uses coordinated video timings: | |
# hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace> <rb> | |
# width width in pixels | |
# height height in pixels | |
# framerate framerate in Hz | |
# aspect aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9 | |
# margins 0=margins disabled, 1=margins enabled | |
# interlace 0=progressive, 1=interlaced | |
# rb 0=normal, 1=reduced blanking | |
hdmi_group=2 | |
hdmi_mode=87 | |
hdmi_force_hotplug=1 | |
hdmi_cvt 800 480 60 6 0 0 0 | |
/boot/cmdline.txt | |
# add this to skip auto-detection of raid devices if you don't need RAID | |
raid=noautodetect | |
ALSA -> OSS | |
1. install alsa-oss | |
2. edit /etc/libao.conf | |
a. change default_driver=alsa to default_driver=oss | |
b. comment out dev=default | |
3. run aoss <binary> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment