Internet Radio (USB Audio) on Belkin ShareMax N300 (F7D7301) running TomatoUSB.
This project was inspired by the internet radio project based on the ASUS WL-520GU on Mightyohm.com.
I will continue to edit/update to flush this out, but wanted to capture the details while I have it fresh in my mind.
Hardware Specifications for F7D7301 v1 (similar to Asus RT-16N):
Broadcom BCM4716 Rev1
453 MHz CPU
8 MB Flash
64 MB RAM
2x USB 2.0
WPS Button (to be used to switch channels)
What you need:
USB Audio adapter - I'm using is the cheapy "3D Sound" ones you find on ebay for under $2 shipped. However, it should work with other usb audio adapters and usb speakers.
USB Hard Drive or Flash Drive.
Firmware I running: Shibby's Big-VPN - specifically "tomato-K26USB-1.28.RT-MIPSR2-101-Big-VPN.trx"
Get it here: http://tomato.groov.pl/download/K26/build5x-101-EN/
-Enable USB 2.0 and 1.1 support within the GUI under USB and NAS
Not sure if UHCI is needed, but OHCI is for sure.
-Plug in your USB HD/Flash drive and USB Audio Adapter.
-Setup Optware
I recommend this tutorial - http://uk.nyclee.net/2012/04/28/installing-optware-in-tomato-usb-shibby/
-Download the optional kernel modules "extras-mips2.tar.gz" from the same folder as you got the firmware.
cd /tmp
wget http://tomato.groov.pl/download/K26/build5x-101-EN/extras-mips2.tar.gz
mkdir /opt/extras
cd /opt/extras
tar xvzf /tmp/extras-mips2.tar.gz
load the extra modules
insmod/opt/extras/soundcore
insmod /opt/extras/snd
insmod /opt/extras/snd-hwdep
insmod /opt/extras/snd-page-alloc
insmod /opt/extras/snd-timer
insmod /opt/extras/snd-pcm
insmod /opt/extras/snd-seq-device
insmod /opt/extras/snd-seq
insmod /opt/extras/snd-rawmidi
insmod /opt/extras/snd-seq-midi-event
insmod /opt/extras/snd-seq-midi
insmod /opt/extras/snd-mixer-oss
insmod /opt/extras/snd-pcm-oss
insmod /opt/extras/snd-usb-lib
insmod /opt/extras/snd-usb-audio
#insmod /opt/extras/input-core
#insmod /opt/extras/hid
#insmod /opt/extras/usbhid
To autoload the extra modules during boot up, add all the "insmod /opt/extra/xxx" commands in the 'Run after mounting" box under USB Support in the GUI.
Run dmesg and check if usb audio card got detected. You should see something like this.
[code]
input: Generic USB Audio Device as /class/input/input1
input: USB HID v1.00 Device [Generic USB Audio Device ] on usb-0000:00:04.0-1
[/code]
Do a quick test to confirm usb audio is working correctly.
ipkg install madplay
wget -O - http://ca.ah.fm:9000 | madplay -
Did you hear some music? I hope so.
Install MPD from Shibby's repo - http://tomato.groov.pl/repo/
[code]
ipkg install http://tomato.groov.pl/repo/mpd_0.16.2-2_mipsel.ipk
[/code]
Configure mpd.conf (use many of the pre-existing ones for now).
More to come.