diff --git a/dial_tone/README.md b/dial_tone/README.md new file mode 100644 index 0000000..863318f --- /dev/null +++ b/dial_tone/README.md @@ -0,0 +1,49 @@ +# dial_tone - USB Audio Player for GL-XE300 + +## ALSA Userland Tools + +These give you the aplay, alsamixer, and basic testing commands. + +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 + +