Files
GL-XE300/audio/README.md
2025-11-24 02:38:39 -08:00

1.0 KiB
Raw Blame History

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

opkg update && opkg install alsa-utils kmod-sound-core kmod-usb-audio mpg123 madplay timidity usbutils