Skip to content

Instantly share code, notes, and snippets.

@knedlyk
knedlyk / gist:800f1a55540a79f6f1830132fcea8cd0
Created April 17, 2019 23:28 — forked from azbesthu/gist:4457423
raspbmc rc5 hack for lirc and hid-aureal 0755:2626 w-01rn
some manual trial:
sudo lircd --driver=devinput --device=/dev/input/by-id/usb-www.irfmedia.com_W-01RN_USB_V3.1-event-kbd --output=/var/run/lirc/lircd1 --pidfile=/var/run/lirc/lircd1.pid --listen
sudo lircd --driver=devinput --device=/dev/input/by-id/usb-www.irfmedia.com_W-01RN_USB_V3.1-event-mouse --output=/var/run/lirc/lircd2 --pidfile=/var/run/lirc/lircd2.pid --connect=localhost:8765
=============================
keymap: /etc/lirc/lircd.conf
http://club.dx.com/forums/forums.dx/threadid.756584
# brand: dxremote
@knedlyk
knedlyk / update_motd.service
Created January 23, 2019 17:24 — forked from nyanshell/update_motd.service
archlinux update /etc/motd with systemd
[Unit]
Description=Update motd
After=sshdgenkeys.service
[Service]
ExecStart=
ExecStart=/usr/local/bin/update_motd.sh
Restart=always
[Install]