Files
GL-XE300/audio_drivers/README.md
2025-11-24 02:42:33 -08:00

50 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# USB Audio Drivers for GL-XE300 with OpenWRT 24.10.0
## ALSA Userland Tools
These give you the aplay, alsamixer, and basic testing commands. USB audio support was confirmed with a C-Media USB DAC (class-compliant).
opkg install alsa-utils
aplay play WAV files
alsamixer mixer for volume control (if supported)
speaker-test generate test tones
## Kernel Modules for Audio Support
These allow the kernel to actually see and use the USB audio device:
opkg install kmod-sound-core
opkg install kmod-usb-audio
Make sure both were installed — they enable:
ALSA sound subsystem (snd)
USB audio class driver (snd-usb-audio)
Check module status:
lsmod | grep snd
## Other Notes
opkg install usbutils
lsusb
lsusb -v
Assuming your files live in /root/wav/:
WAV (Raw PCM):
aplay --buffer-time=200000 --period-time=10000 -D plughw:0,0 /root/wav/test.wav
MP3:
mpg123 -a plughw:0,0 /root/wav/test.mp3
## Install Commands
```bash
opkg update && opkg install alsa-utils kmod-sound-core kmod-usb-audio mpg123 madplay timidity usbutils