Keyboard laggy on Linux?

If your keyboard seems to take a keystroke to “wake up” on Linux it could be USB power-saving. If the output of cat /sys/module/usbcore/parameters/autosuspend is not -1, you can disable this by adding the kernel parameter usbcore.autosuspend=-1 and rebooting.

Migrating from SmartThings to Zigbee2MQTT with Home Assistant

Sadly, Samsung seem to be winding down their SmartThings Zigbee/ZWave home automation setup and it has always been quite painful using devices that weren’t officially supported. I’ve recently migrated my non-SmartThings native devices to Zigbee2MQTT, here’s how I did it: Purchase a SBC, in my case an OrangePi 4 running Armbian/Ubuntu – but a Raspberry …

Continue reading ‘Migrating from SmartThings to Zigbee2MQTT with Home Assistant’ »

Alpine Linux default gateway on different subnet

As Alpine Linux uses busybox for a lot of its system tools it won’t set up the necessary routing if you have a default gateway on a non-local subnet to the IP. You want /etc/network/interfaces to look something like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address IP.ADDR.ADDR.ADDR netmask …

Continue reading ‘Alpine Linux default gateway on different subnet’ »

Compiling newsboat 2.18 on (Armbian) Ubuntu 18.04

It has some weird build dependencies like xsltproc, asciidoc & gettext to build docs & cargo (seems to be built in a mix of c++ & rust). Others include: libcurl4-openssl-dev, pkg-config, libkrb5-dev (needed for curl-config), libstfl-dev, libjson-c, libsqlite3-dev. Then the xmllint check run by a2x fails as it won’t download the DTD, so replace all …

Continue reading ‘Compiling newsboat 2.18 on (Armbian) Ubuntu 18.04’ »