There are two methods:
- Scripted Method
- Boot Overlay Method (also below as "tl;dr")
Add the following to your /boot/config.txt
and reboot:
#!/bin/bash -i | |
#using shebang with -i to enable interactive mode (auto load .bashrc) | |
set -e #stop immediately if any error happens | |
# Install Open SDK | |
apt update | |
apt install openjdk-8-jdk -y | |
update-java-alternatives --set java-1.8.0-openjdk-amd64 | |
java -version |
#!/bin/bash | |
# Set up a Raspberry Pi 4 as a USB-C Ethernet Gadget | |
# Based on: | |
# - https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ | |
# - https://pastebin.com/VtAusEmf | |
if ! $(grep -q dtoverlay=dwc2 /boot/config.txt) ; then | |
echo "Add the line dtoverlay=dwc2 to /boot/config.txt" | |
exit | |
fi |
https://lewisf.com/dactyl-manuform/ hold ; and use hjkl to left,right, up,down
Both part needs to have ProMicro MicroController so It can use the QMK Firmware for controling the keys on keyboard itself
4x6 is the way to go
There’s a strong trend for ergonomic keyboards to reduce the number of keys, mostly becouse of QMK framework that allows layering. People usually prefer less rows.
Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.
Update system packages in Termux:
$ pkg update -y
# copyright Threadsec Inc | |
# This script auto-configure and ssh auto-connect to RPi ZERO Ethernet gadget VID:0x1d6b PID:0x0137 | |
# This script require admin right to access to adapter conf. | |
# https://threadsec.wordpress.com/raspberry-pi-zero-usb-composite-gadget/ | |
# | |
# Edit $user="" | |
# Windows 10 : As Admin, run: | |
# powershell -ep bypass -file Configure-Ethernet-RNDIS-PiZero-connection.ps1 | |
# | |
Clear-Host |
PulseAudio actually has great networking capabilities. Especially when combined with Avahi/Zeroconf it is especially easy to set up, though technically it should also be possible without.
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.254.0/24 auth-anonymous=1
to activate networked audio from 192.168.254.0-255 without needing authentication.PULSE_SERVER=192.168.254.XXX
and have the remote audio working! If not check the firewall settings, PulseAudio seems to open a random port by default.pulseaudio-module-zeroconf
and avahi
, then after installing make sure Avahi always runs by running systemctl enable --now avahi-daemon
# script parameters | |
param( | |
[ValidateSet("Sign", "UntrustCertificates")] | |
[string] $Mode = "Sign", | |
[string] $InfFile, | |
[string] $CommonName = "linux.local", | |
[switch] $Force | |
) |
# /etc/udev/rules.d/99-pico.rules | |
# Make an RP2040 in BOOTSEL mode writable by all users, so you can `picotool` | |
# without `sudo`. | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="0666" | |
# Symlink an RP2040 running MicroPython from /dev/pico. | |
# | |
# Then you can `mpr connect $(realpath /dev/pico)`. | |
SUBSYSTEM=="tty", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0005", SYMLINK+="pico" |