PDA

Bekijk de volledige versie : plug USB speaker or sound card on WL-700gE



jeromv
28-10-2006, 01:35
Hello
I want to know if somebody have already plug some usb speakers or a sound card to the WL-700gE and if it work ? :rolleyes:
Contrary to the WL-500g, the WL-700gE doesn't have usb speakers configurations in the setting ! :confused:
( I want to try with this reference : Audigy 2 NX - sound card 5.1 )
Thanks

leonsio
28-10-2006, 09:54
just download audio.o from wl500 and upload it to any folder on your wl700

login as root go to this folder and type: insmod audio.o

thats all

the kernel version of the wl500 and wl700 are the same, so that you can use any modules from wl500
but you must load this himself after reboot

BBA
04-11-2006, 21:17
OK, I did an insmod audio.o and my soundcard is shown as /dev/sound/dsp :)

now I want to stream audio with esound, so I did the trick found on the forum http://wl500g.info/showthread.php?t=4150 :
- telnet into router
- 'cp esd' to the device, the esound server binary compiled for the wl-500g
- chown 0:42000 esd
- chmod a+x esd
- run 'killall waveservermain' to stop the Asus soundserver
- run '/tmp/esd -d /dev/sound/dsp -tcp -public &'

But now I get an error:
/tmp/esd: file not found
What's wrong? Has someone a better way to stream audio?

- Bart

jeromv
04-11-2006, 21:37
BBA can you say me how do you do because i can't manage to plus usb speaker or sound card.
I totaly don't know how do a insmod audio.o.... :(
If you can, it would need to post in the thread a tutorial with images step by step :confused: it will help many users...
Thanks

fireflash
05-11-2006, 03:29
OK, I did an insmod audio.o and my soundcard is shown as /dev/sound/dsp :)

now I want to stream audio with esound, so I did the trick found on the forum http://wl500g.info/showthread.php?t=4150 :
- telnet into router
- 'cp esd' to the device, the esound server binary compiled for the wl-500g
- chown 0:42000 esd
- chmod a+x esd
- run 'killall waveservermain' to stop the Asus soundserver
- run '/tmp/esd -d /dev/sound/dsp -tcp -public &'

But now I get an error:
/tmp/esd: file not found
What's wrong? Has someone a better way to stream audio?

- Bart

This sounds like the same problem I'm having when I try to run enhanced-ctorrent, which was compiled to run on the WL-500. I don't think the WL700g likes anything compiled for the 500g. Sounds like we need to figure out how to re-compile this stuff for the WL700g's hardware. I'm thinking the 500g is different enough in hardware and software that anything compiled for it won't work.

BBA
05-11-2006, 11:12
Yeah, could be, but running twonkymusic shoul be no problem....

you can read it in this tread: http://wl500g.info/showthread.php?t=6577

Maybe mipsel binaries just run without problems....

fireflash
06-11-2006, 01:34
Yeah, could be, but running twonkymusic shoul be no problem....

you can read it in this tread: http://wl500g.info/showthread.php?t=6577

Maybe mipsel binaries just run without problems....

I did get the Maxtor Storage version of Twonky to work for the most part, although I have no use for it personally so I ditched it. But it did run.

Martijn
05-04-2007, 14:59
Hi,

I had some time yesterday to try to use a usb-audio/sound dongle and mpd (music player daemon) on my Asus WL700-ge.

I'm not very experienced with Linux and stuff, but I managed to get it working; all my music is on the router's HDD, mpd is running and I'm using the Theremin client (Mac OSX) on my PowerBook to control the playback wherever I am in my home.

This is what I did:
0) I bought a USB audio/sound dongle with some CMedia chipset, for about 10 euros.

1) Flashed the router to kfurge's firmware using these instructions ("Installing the new firmware image, steps #1 to #5"):
http://home.comcast.net/~kfurge/
(BTW, big thanks kfurge for the effort!)

2) Don't forget #5 of step #3 (adding the src optware line to Oleg's rep.)
2a) I also installed bash, sudo, dropbear, etc. using ipkg install ..... (I did everything that kfurge is suggesting on his page.)

2) Added kfurge's "Emergency suggestion" to the rc.local script, so you can always turn telnet on again, if you mess up the rc.local. (see this post: http://wl500g.info/showthread.php?t=8520&highlight=emergency)

3) Installed necessary packages using "ipkg install mpd"

4) Download audio.o to some place on your router. I downloaded the file to /shares/MYVOLUME1/ by doing: wget http://home.in.tum.de/%7Epustka/mipsel/audio.o
I also put the file here in case that link dies: http://www.martijnthe.nl/audio.o

5) Make a mpd.conf file (I put mine into /opt/etc/mpd.conf). Mine looks like this: http://www.martijnthe.nl/mpd.conf

6) Pimp your rc.local in such a way that the audio.o is automatically inserted/loaded (using "insmod", see other places on this forum) and mpd is automatically loaded at reboot. For example, by adding a few lines like in this shell script to your rc.local: http://www.martijnthe.nl/mpdstart.sh (Don't use it just like that, you need to change things to suit your own paths and so.)
About this script: a) it's doing "insmod audio." b) I needed to chown and chmod the /dev/sound in order to make the device accessible c) it starts the mpdaemon.


Good Luck!
martijn

iczfirz
28-06-2007, 14:14
Hi buddies,

I follow the above instruction to insmod audio.o. But when I madplay a mp3 file it always give steady beep sound only. Seems it was due to only 48kHz availabe inside audio.o. Any clues?

~May



# madplay /opt/2.mp3 -v
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
Title: Tron
Artist: NN
Genre:
output: sample frequency 44100 Hz not available; using 48000 Hz
output: resampling 44100 Hz to 48000 Hz




usbaudio: registered dsp 14,3
usbaudio: constructing mixer for Terminal 3 type 0x0301
usbaudio: registered mixer 14,0
usbaudio: constructing mixer for Terminal 6 type 0x0101
usbaudio: registered mixer 14,16
usb_audio_parsecontrol: usb_audio_state at 835abbc0
audio.c: v1.0.0:USB Audio Class driver
usb.c: deregistering driver audio
usbaudio: unregister dsp 14,3
usbaudio: unregister mixer 14,0
usbaudio: unregister mixer 14,16
usb.c: registered new driver audio
usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
usbaudio: device 2 interface 2 altsetting 1 channels 1 framesize 2 configured
usbaudio: valid input sample rate 24000
usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 24000 sratehi 24000 attributes 0x00
usbaudio: device 2 interface 1 altsetting 0 does not have an endpoint
usbaudio: device 2 interface 1 altsetting 1 channels 2 framesize 2 configured
usbaudio: valid output sample rate 48000
usbaudio: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00
usbaudio: registered dsp 14,3
usbaudio: constructing mixer for Terminal 3 type 0x0301
usbaudio: registered mixer 14,0
usbaudio: constructing mixer for Terminal 6 type 0x0101
usbaudio: registered mixer 14,16
usb_audio_parsecontrol: usb_audio_state at 80db43e0
audio.c: v1.0.0:USB Audio Class driver