-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Grant Byrne edited this page Oct 27, 2021
·
12 revisions
This page is a work in progress. Don't expect complete or correct information for getting started
- Install a fresh instance of the "Raspberry Pi OS Lite" image to an SD card which can be found here here
- Set up SSH on the PI
- Set up WIFI on the PI
- Install lirc through the apt-get package manager
sudo apt-get update
sudo apt-get install lirc
- Update the boot config to associate LIRC with the correct GPIO pins
Command to Edit the File
sudo nano /boot/config.txt
Add the following lines to the file
dtoverlay=gpio-ir,gpio_pin=18
dtoverlay=gpio-ir-tx,gpio_pin=17
- Create or Update the hardware.config file for LIRC
Command to Create/Edit the File
sudo nano /etc/lirc/hardware.config
Set the file's contents to this
LIRCD_ARGS=”-–uinput -–listen”
LOAD_MODULES=true
DRIVER=”default”
DEVICE=”/dev/lirc0″
MODULES=”lirc_rpi”
- Update the configuration file for LIRC
Command to update the file
/etc/lirc/lirc_options.conf
Update the following lines to these values:
driver = default
device = /dev/lirc0
- Reboot the Pi
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel Current
echo 'export DOTNET_ROOT=$HOME/.dotnet' >> ~/.bashrc
echo 'export PATH=$PATH:$HOME/.dotnet' >> ~/.bashrc
source ~/.bashrc
Verify this went as expected with the following command
dotnet --version