MPD install issues

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
will.brett
Posts: 17
Joined: Sat Oct 15, 2011 4:57 am

MPD install issues

Post by will.brett »

i followed the tut carefully and when i excute the vi /etc/mpd.conf i get this instead of the options described in the tut. any help?



######################## REQUIRED PATHS ########################
music_directory "~/music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
error_file "~/.mpd/mpd.error"
################################################################


######################## OPTIONAL PATHS ########################
#
# If you wish to use mpd --kill to stop MPD, then you must
# specify a file here in which to store MPD's process ID.
#
#pid_file "~/.mpd/mpd.pid"
#
# If specified, MPD will save its current state (playlist,
# current song, playing/paused, etc.) at exit. This will be
# used to restore the session the next time it is run.
#
root@OpenWrt:~# mpd
unable to open db file "/root/.mpd/mpd.db": No such file or directory
current locale is "C"
setting filesystem charset to ISO-8859-1
No "audio_output" defined in config file
Attempt to detect audio output device
Attempting to detect a oss audio device
Error opening OSS device "/dev/dsp": No such file or directory
Error opening OSS device "/dev/sound/dsp": No such file or directory
Unable to detect an audio device
No audio_output specified and unable to detect a default audio output device
root@OpenWrt:~# vi /etc/mpd.conf


# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.

######################## REQUIRED PATHS ########################
music_directory "~/music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
error_file "~/.mpd/mpd.error"
################################################################


######################## OPTIONAL PATHS ########################
#
# If you wish to use mpd --kill to stop MPD, then you must
# specify a file here in which to store MPD's process ID.
#
#pid_file "~/.mpd/mpd.pid"
#
# If specified, MPD will save its current state (playlist,
# current song, playing/paused, etc.) at exit. This will be
# used to restore the session the next time it is run.
#
- /etc/mpd.conf 1/276 0%
will.brett
Posts: 17
Joined: Sat Oct 15, 2011 4:57 am

Re: MPD install issues

Post by will.brett »

is it because of the sound card i have used? If it helps here is a link to it

http://www.amazon.co.uk/gp/product/B003UR9B8M
will.brett
Posts: 17
Joined: Sat Oct 15, 2011 4:57 am

Re: MPD install issues

Post by will.brett »

I also notice when i reboot i dont get all the messages for the usb that are shown in the tut. here is a list of what i get bellow


Please press Enter to activate this console. jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI/DMA
wl0: wlc_attach: chiprev 3 coreunit 0 corerev 13 cccap 0x104007ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 344 bytes per conntrack
SB USB20H init
SB COREREV: 2
SB USB20H resetting
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
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
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: MPD install issues

Post by mightyohm »

Your usb-audio adapter is not supported. You will save yourself a lot of time and frustration by using the SYBA CM-UAUD or another adapter listed as working in this thread:

viewtopic.php?p=1007#p1007
will.brett
Posts: 17
Joined: Sat Oct 15, 2011 4:57 am

Re: MPD install issues

Post by will.brett »

Thanks for the reply Jeff.

I thought that would be the case.

I can not find the usb audio adapter described in the tut anywhere in england. How ever i have found one that uses the same chipset and apparently will work as 1.1 usb as well as 2.0.

http://www.amazon.co.uk/gp/product/B003ZM0XIY

hopefully this one should work.

PS thank you for writing this tutorial. I am a product designer and I think it is really important for companies to design their products to be able to be adapted with open source softwares and firmware. Not just so that the product is more user friendly but so that it is more versatile and can be made into something new instead of thrown into landfill, and it's people like you that enable people like me with very little electronic knowledge to do this. So thank you so much

will
Post Reply