hey all.. i quickly hacked bemused server together, so it should works nicely with mpd. i search some beta testers, the make file can be found here: http://www.neophob.com/files/owrt/Makefile.bemused
there a quite some deps, and you need to configure the bluetooth stuff:
1) get the bluetooth serial channel:
# root@OpenWrt:~# sdptool browse
# Inquiring ...
# <...>
# Service Name: COM 1
# Service RecHandle: 0x10005
# Service Class ID List:
# "Serial Port" (0x1101)
# Protocol Descriptor List:
# "L2CAP" (0x0100)
# "RFCOMM" (0x0003)
# Channel: 3 <<<
# Language Base Attr List:
# code_ISO639: 0x656e
# encoding: 0x6a
# base_offset: 0x100
my phone use channel=3 as the serial channel...
2) edit bemused.conf (xmms = mpd!)
# Path to mpd (if mpd is in path only mpd) (default is mpd)
xmmsdir=/usr/bin/mpd
channel=3
# directorys where the mp3s are. If more than one seperate them by a m semicolon (must be set)
mp3dir=/YOUR/PATH/HERE
3) edit rfcomm file
root@OpenWrt:~# cat /etc/bluetooth/rfcomm.conf
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 77:66:55:44:33:22;
#
# # RFCOMM channel for the connection
channel 3;
#
# # Description of the connection
comment "your device";
}
i use jamse as a client, you can fint it here: http://jamse.sourceforge.net/
now start bemused:
root@OpenWrt:~# bemusedlinuxserver
Welcome to Bemused 1.73
Copyright Ashley Montanaro 2003
Linux port from Daniel Winter
ini file looks good..
Serial Port service registered
registered SP for channel 3
Bluetooth is connected to socket..
ERROR: MPD is NOT running...
Waiting for connection over bluetooth
info: this message: "ERROR: MPD is NOT running..." is normal, as bemused will only connect to mpd if needed...
cheers
michu