Infared Reciever w/ Alpine on the Bulldozer Datto
Had some issues with the bootloader after installing alpine originally, ended up using ventoy's "Local Boot" option to get into my alpine install and then manually installed grub using:
grub-install
Now we need to get wifi working: [1]
vim /etc/apk/repositories
and uncomment the community repo
We'll be needing these packages:
apk add networkmanager networkmanager-wifi wpa_supplicant networkmanager-tui networkmanager-cli
Networkmanager needs udev to work for wifi:
setup-devd udev
Getting infared working:
Looks like alpine has some infared tools in a package called:
v4l-utils
and ir_keytable
ir-ctl -d /dev/lirc0 -r
running this gets me data when i click ir buttons on some remotes
Figured out LIRC, on alpine the config is in /usr/etc/lirc/
lirc_options.conf:
# These are the default options to lircd, if installed as # /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8) # manpages for info on the different options. # # Some tools including mode2 and irw uses values such as # driver, device, plugindir and loglevel as fallback values # in not defined elsewhere. [lircd] nodaemon = True driver = default device = auto output = /var/run/lirc/lircd pidfile = /var/run/lirc/lircd.pid plugindir = /usr/lib/lirc/plugins permission = 666 allow-simulate = No repeat-max = 600 #effective-user = #listen = [address:]port #connect = host[:port] #loglevel = 6 #release = true #release_suffix = _EVUP #logfile = ... #driver-options = ... [lircmd] uinput = False nodaemon = False # [modinit] # code = /usr/sbin/modprobe lirc_serial # code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput # code2 = ... # [lircd-uinput] # add-release-events = False # release-timeout = 200 # release-suffix = _EVUP