docs: document ALSA audio error fix for cron and update agent instructions

This commit is contained in:
Markus Graf
2026-05-01 07:33:25 +02:00
parent dd4b3367b0
commit 0c9108686b
2 changed files with 26 additions and 2 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
# System Context
This project runs on a **Raspberry Pi 4 Model B (2018)**.
Please take this into account for all code changes, dependencies (e.g., ARM architecture), and performance optimizations.
Please take this into account for all code changes, dependencies (e.g., ARM architecture), and performance optimizations.
## Audio Output Note
When configuring audio or running tasks on this device, **always use the 3.5mm headphone jack (Audio Jack)** as the explicit audio output unless requested otherwise. The system might have HDMI devices as lower-index cards, which can cause headless/cron background scripts to fail with ALSA errors. Ensure tools and scripts explicitly target the correct audio card (usually `hw:2,0` or via a user-wide `~/.asoundrc` config).