Page 1 of 2

Continuous beep from mpd

Posted: Wed Jun 02, 2010 5:08 am
by stewpert
Hey all,

So I've gotten as far as installing mpd and connecting to the slayradio stream using mpc. Unfortunately all that comes out of my usbb audio adaptor is a continuous beep. I've followed the instructions posted by Stig Hess in the comments section of part 5, but after executing -
opkg install kmod-alsa

I get an error -
* Packages were found, but none compatible with the architectures configured

Has anyone else encountered this problem? Any advise?

Thanks in advance,
Stew

Ps. Can I just add that the this project has provided much excitement thus far =)

Re: Continuous beep from mpd

Posted: Wed Jun 02, 2010 10:38 am
by mightyohm
Are you using a WL-520gU router? What USB-audio adapter? Are you using a hub to connect it or connecting it directly to the router?

What version of the firmware are you using? The one that I use in the tutorial, or a custom build from somewhere else?

What does your opkg.conf look like?

I don't recall needing kmod-alsa to get mpd working, but you're right, it appears that some audio adapters need it.

Re: Continuous beep from mpd

Posted: Wed Jun 02, 2010 2:58 pm
by stewpert
Yes I'm usng a WL-520gU. I followed the instructions exactly and used the firmware you provided.
No hub, connecting directly, but it is a cheap ebay usb adaptor.

opkg.conf looks like -
src/gz snapshots http://downloads.openwrt.org/snapshots/ ... 4/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists

Re: Continuous beep from mpd

Posted: Wed Jun 02, 2010 5:25 pm
by stewpert
After installing kmod-usb-audio and kmod-usb-ohci, I get the following output on reboot....

usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:03.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x1130/0xf211) is not claimed by any active driver

I've just noticed that this is different than the output you got! My audio usb adaptor also has a microphone line in connection. Perhaps this explains the '2 ports detected'? Worst case I can just buy an adaptor that works but it would cool to get this one going!

Chrs

Re: Continuous beep from mpd

Posted: Wed Jun 02, 2010 9:18 pm
by mightyohm
You need to modify opkg to point to the package repository on mightyohm.com - the instructions are in the tutorial. This is why you are getting the architecture error when you try to install kmod-alsa.

It seems like your USB audio device might not be supported by the kernel, based on the error "USB device 2 (vend/prod 0x1130/0xf211) is not claimed by any active driver".

Re: Continuous beep from mpd

Posted: Sat Jul 03, 2010 10:17 am
by ilinux
Try wrtradio firmware here:

viewtopic.php?f=2&t=141

Re: Continuous beep from mpd

Posted: Wed Sep 15, 2010 5:21 am
by nagyg
I have the same problem. How did you resolve this?

Re: Continuous beep from mpd

Posted: Fri Sep 24, 2010 10:26 am
by mightyohm
I believe the fix is to load the kmod-alsa kernel module and edit mpd.conf to enable ALSA (instead of OSS) for sound output.

Re: Continuous beep from mpd

Posted: Fri Sep 24, 2010 11:17 am
by middelbh
mightyohm,
thanks so far! It seems to be difficult to find the right usb sound adapter in Holland. I think I have the ALSA one, but I am complete newby on linux. Could you explain what to do to load the kmod-alsa kernel module in stead of OSS?
I would be very happy! Thanks, Hans

Re: Continuous beep from mpd

Posted: Fri Sep 24, 2010 11:45 am
by mightyohm
From Stig Hess' comment in response to part 5 of the tutorial:
Comment out “audio” in the file /etc/modules.d/60-usb-audio

Change repository in /etc/opkg.conf to

src/gz snapshots http://downloads.openwrt.org/snapshots/ ... 4/packages /

I also had to change dest to “dest root /jffs”

opkg update
opkg install kmod-alsa

Reboot. That’s it!!
The edits to mpd.conf should hopefully be self explanatory.

The bad news is that it seems like many USB-audio adapters have problems. If you can find one that uses the CM119 chip then there is much higher likelihood that it will work with this project.