Saturday, 13 October 2012 22:51
USB Audio Adapter work with OpenWRT
This article shows you how to play audio from a USB audio device which is connecting to a TL-LINK TL-WR1043ND wireless router.
Prerequisite
- Wireless router flashed with OpenWRT. This project based on TP-LINK TL-WR1043ND wireless router.
- USB audio adapter which supported by Linux. As shown in figure below is the USB sound audio that I'm using.
Installation
opkg update
opkg install kmod-sound-core
opkg install kmod-usb-audio
opkg install madplay
|
Copying MP3 files
Using WinSCPto copy MP3 files to folder of router. Eg. /mntPlaying MP3 file
Playing MP3 files
madplay /mnt/song.MP3
|
It should look like this:
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al. Title: Track 13 Artist: artist Album: title Track: 13 Genre: genre Comment: www.musicsky.net |