Page 2 of 2 FirstFirst 12
Results 16 to 30 of 48

Thread: mpd player within Asus WL-500gP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Seems tat soundcard is a bit of a problem; I have it too and the oleg firmware 'dmesg' command says:

    SB device 2 (vend/prod 0xc76/0x1605) is not claimed by any active driver

    On an Ubuntu Linux system this card is detected without any problems however:
    'SSS USB Headphone Set as /devices/pci0000:00/00'..etc...

    The setup of this box has me getting into linux a little bit, but I/m still very novice...I wonder if it's possible to incoorporate these drivers in an oleg wl-system?

  2. #2
    because of no answer probably NOT !

  3. #3

    Cool YEP FINALLY SOUND ON ROUTER

    It says that the search is the mother of understanding (romanians at least). SO I FOUND AN ANSWER FOR MY QUESTION !!!!!

    Premise: I get the next message when i plug my ESS USB Audio from Konig (cmp-soundusb12):

    Code:
    SB device 2 (vend/prod 0xc76/0x1605) is not claimed by any active driver
    SO

    I accidentally stumbled upon my old post about souncard on router , and i decided to be angry and give it a try. After a litle searching in the forums i've saw the solution, too simple to see it then (newbie , lol)

    Step 1: to test if the core is good for my soundcard ... i downloaded oleg's latest modules archive from here, then within windows i extracted the 2 files i neded from it: lib/modules/2.4.20/kernel/drivers/sound - soundcore.o and lib/modules/2.4.20/kernel/drivers/usb - audio.o .
    Step 2: i transfered them somewhere on my router's hdd:
    Ex: /tmp/harddisk/pbfiles, then i created there another directory named scripts (well it was created long ago, for me is an directory where i create scripts and make them executables etc). ALL THE OPERATIONS FOR EASY USE I DID IT WITH MC (midnight commander), read wengi's post about full config and MC here, and files transferred with ftp (i use total commander from my xp).

    STEP 3: I created in my Scripts directory a file nammed audio.start with this content:

    Code:
    sleep 5
    rmmod audio
    insmod /tmp/harddisk/pbfiles/soundcore.o
    insmod /tmp/harddisk/pbfiles/audio.o
    then i made it executable chmod +x audio.start

    Step4: i do not want to modify to many times my post-boot file, so i added just a line to my recently created executable from above.

    Code:
    /tmp/harddisk/scripts/audio.start
    the post boot file is in /usr/local/sbin/post-boot, I edited, after that I saved it, to commit the changes i gived the the router the reboot, flash command
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    .

    And voila my log:

    Code:
    Jan  1 01:00:58 kernel: usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
    Jan  1 01:00:58 kernel: usbaudio: device 2 interface 2 altsetting 1 channels 1 framesize 2 configured
    Jan  1 01:00:58 kernel: usbaudio: valid input sample rate 48000
    Jan  1 01:00:58 kernel: usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 48000 sratehi 48000 attributes 0x00
    Jan  1 01:00:58 kernel: usbaudio: device 2 interface 1 altsetting 0 does not have an endpoint
    Jan  1 01:00:58 kernel: usbaudio: device 2 interface 1 altsetting 1 channels 2 framesize 2 configured
    Jan  1 01:00:58 kernel: usbaudio: valid output sample rate 48000
    Jan  1 01:00:58 kernel: usbaudio: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00
    Jan  1 01:00:58 kernel: usbaudio: registered dsp 14,3
    Jan  1 01:00:58 kernel: usbaudio: registered mixer 14,0
    Jan  1 01:00:58 kernel: usbaudio: registered mixer 14,16
    Jan  1 01:00:58 kernel: audio.c: v1.0.0:USB Audio Class driver

    Of course that it was much simple just to add comands in post-boot file but i'm not an simple person ) .

    Tomorrow i will install an mp3 player on my router to test it ..... best wishes

  4. #4

    FINALLY

    Code:
    # madplay Ben.Mp3
    MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
              Title: Ben
             Artist: Michael Jackson
          Orchestra: Michael Jackson
              Album: Ben
              Track: 01
               Year: 1972
              Genre: Pop
            Encoder: Discography Arranged By Gabi_Bits
            Comment:
    output: sample frequency 44100 Hz not available; using 48000 Hz
    output: resampling 44100 Hz to 48000 Hz
    NO COMMENT

  5. #5

    mpd crash

    Hi,
    mpd version 0.15.13-1 was working on my WL500gpv2 with firmware wl500g-1.9.2.7-d-r2174.
    I have make a "ipkg update" and "ipkg upgrade" yesterday and now mpd give me this error at start up:
    Illegal instruction
    Any help please?

  6. #6
    more informations:
    my USB sound card works with madplay command. MP3 just plays nice.
    dmesg command report nothing special when mpd crashes.

    Do you have a working WL500g with mpd?
    If yes, please tell me your firmware and mpd version.

  7. #7
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by Tebra View Post
    more informations:
    my USB sound card works with madplay command. MP3 just plays nice.
    dmesg command report nothing special when mpd crashes.

    Do you have a working WL500g with mpd?
    If yes, please tell me your firmware and mpd version.
    Probably an error in mpd
    They uploaded a new mpd on "25-Oct-2010 16:17" , so you might want to do another ipkg update and ipkg upgrade
    might fix it...

    unfortunately there are no backups available

  8. #8

    MPD won't play ogg

    Hello together!

    Still on the search for a music streamer/player, I came back to try mpd from opkg.
    Things work fine with MP3s when played with locally attached USB-Soundcard.

    But when it comes to OGG-Files, there is only a once a second short crisp.
    Seems to be a known (and fixed?) problem:
    https://dev.openwrt.org/ticket/9280
    https://forum.openwrt.org/viewtopic.php?id=29475
    https://forum.openwrt.org/viewtopic.php?pid=133669

    However in my case, OGGs are at least indexed. I use the opkg-version (0.16.5), which should have built-in the fix?

    Second problem is the http-streaming. When started (with MP3 ;-) ), CPU load goes up in the sky and I get some milli-seconds of music every minute using VLC on my PC here. This is also documented (http://musicpd.org/mantis/view.php?id=3330 and many more) and reported to be fixed?

    So any ideas, wether the actual wl500g-build may be broken?

    I wanted to compile it on my own, but couldn't find a c-compiler in opkg - any solution to this?

    And last but not least: is there any way, to get the binaries of the older versions to try wether there is some working version?

    Thanks a lot for help,
    pheidrias

  9. #9
    Quote Originally Posted by pheidrias View Post
    I wanted to compile it on my own, but couldn't find a c-compiler in opkg - any solution to this?
    opkg is a small program for managing existing packages, it does not include compiler or something else.

    My mpd Makefile taken from OpenWRT trunk and mpd was built with OGG support. You may try to build your own mpd version, just follow this manual.

  10. #10
    This refers to cross-compiling, then? It's supposed to be done on my linux machine?

    If it could be done on the router, I do miss a svn-package :-(.

    Are there any older mpd-versions from your opkg (remember to have read something on versioning with opkg)?

    Thanks!

  11. #11
    don't compile it on the router - you'll lose many hours/days preparing the system and compiling the openwrt packages
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  12. #12
    Okay...I tried to follow the HowTo (http://code.google.com/p/wl500g-repo.../trunk/INSTALL) by copy/pasting the instructions (took the newest revision instead of r3458).

    Maybe I misunderstood it, but the last step failed
    Code:
    ~/Soft/openwrt/trunk$ make package/compile V=99
    make[1]: Entering directory `/home/guntram/Soft/openwrt/trunk'
    make[2]: Entering directory `/home/guntram/Soft/openwrt/trunk/package/opkg'
    make[2]: Leaving directory `/home/guntram/Soft/openwrt/trunk/package/opkg'
    make[2]: Entering directory `/home/guntram/Soft/openwrt/trunk/package/base-files-network'
    make[2]: Leaving directory `/home/guntram/Soft/openwrt/trunk/package/base-files-network'
    make[2]: Entering directory `/home/guntram/Soft/openwrt/trunk/package/base-files'
    cp -fpR /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libuClibc-*.so /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libcrypt-*.so /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libm-*.so /home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libpthread-*.so /home/guntram/Soft/openwrt/trunk/build_dir/linux-rtn/base-files/
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libuClibc-*.so': No such file or directory
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libcrypt-*.so': No such file or directory
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libm-*.so': No such file or directory
    cp: cannot stat `/home/guntram/Soft/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33/lib/libpthread-*.so': No such file or directory
    make[2]: *** [/home/guntram/Soft/openwrt/trunk/build_dir/linux-rtn/base-files/.built] Error 1
    make[2]: Leaving directory `/home/guntram/Soft/openwrt/trunk/package/base-files'
    make[1]: *** [package/base-files/compile] Error 2
    make[1]: Leaving directory `/home/guntram/Soft/openwrt/trunk'
    make: *** [package/compile] Fehler 2
    If I try make mpd-full/compile instead, it breaks down immediately (No rule to make target `mpd-full/compile')...
    This will be the point where I have to tell him your posted make-file? How?

    Thanks for further support!

    Although I'm learning some things here - could someone of you guys please test, wether MPD on your routers is able to play OGG-files? Maybe its really a package problem and not just my personal fault...thank you!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Asus WL-500gp V1
    By alcalaca in forum Spanish Discussion - Español (ES)
    Replies: 3
    Last Post: 15-02-2011, 16:57
  2. HowTo WL-HDD + USB-Sound-Hub als MP3-Player mit PDA-Fernbedinung
    By WLAN-Fan in forum German Discussion - Deutsch (DE)
    Replies: 58
    Last Post: 17-09-2010, 12:27
  3. îáúåäèíåíèå asus 500gp è asus 520gc
    By shi in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 56
    Last Post: 12-04-2009, 11:17
  4. Streaming Audio -- which Player on Linux?
    By lodp in forum WL-500g Q&A
    Replies: 5
    Last Post: 22-01-2007, 00:38

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •