Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arch Linux on Raspberry Pi
- -- Screen Settings --
- # nano /boot/config.txt
- edit the following;
- hdmi_group=2
- hdmi_mode=58
- (for 1680x105@60Hz - see http://elinux.org/RPi_Configuration)
- -- Update / sync the repos --
- # pacman -Syu
- -- Set UK Time --
- # timedatectl set-timezone Europe/London
- (see https://wiki.archlinux.org/index.php/Time)
- -- Set UK keyboard --
- # touch /etc/vconsole.conf
- # nano /etc/vconsole.conf
- KEYMAP=uk
- -- Setting UK Language --
- # nano /etc/locale.gen
- (unrem following line)
- en_GB.UTF-8 UTF-8
- # locale-gen
- # nano /etc/locale.conf
- LANG=en_GB.UTF-8
- LC_COLLATE=C
- # shutdown -r now
- (see http://qdosmsq.dunbar-it.co.uk/blog/2013/06/beginners-guide-to-arch-linux-on-the-raspberry-pi/)
- -- Mouse in console --
- # pacman -S gpm
- # -m /dev/input/mice -t imps2
- Persistence?
- # touch /etc/gpm.conf
- # nano /etc/gpm.conf
- GPM_ARGS="-m /dev/input/mice -t imps2"
- # systemctl start gpm.service
- # systemctl enable gpm.service
- (see https://wiki.archlinux.org/index.php/Console_Mouse_Support)
- -- Static IP --
- # cp /etc/netctl/examples/ethernet-static /etc/netctl/ethernet-static
- # nano /etc/netctl/ethernet-static
- # rm /etc/netctl/ethernet-dhcp
- # systemctl reenable netctl-ifplugd@eth0
- -- Sound --
- # sudo pacman -S alsa-firmware alsa-lib alsa-plugins alsa-utils
- check for sound module beinbg loaded
- # lsmod
- or load it...
- # sudo modprobe snd-bcm2835
- create /etc/modules-load.d/snd-bcm2835.conf [will prolly be done]
- # sudo echo "snd-bcm2835" >> /etc/modules-load.d/snd-bcm2835.conf
- You might need to set sound (0 = auto, 1 = analogue, 2 = hdmi)
- # amixer cset numid=3 1
- adjust volume
- # sudo alsamixer
- test
- # speaker-test -c 2
- save settings
- # sudo alsactl store
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement