Re: How to setup a headset as an audio device? Getting "Device busy" errors

SA <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
On Tuesday 05 February 2008 12:29:18 you wrote:
> On Monday 04 February 2008 20:04:31 Leszek Koltunski wrote:
> > > On Sunday 27 January 2008 18:16:59 Eugene wrote:
> > >> and send its output. Else, did you started bluetooth audio service?
> > >> To check, use:
> > >> ps ax | grep bluetoothd-service-audio
> > >
> > > ps ax |grep blue
> > > 27467 ?        Ss     0:00 /usr/sbin/hcid -s -f
> > > /etc/bluetooth/hcid.conf 27472 ?        S      0:00
> > > /usr/lib/bluetooth/bluetoothd-service-input
> >
> > ^^^^^ Obviously you're not running the audio service.
>
> I thought the bluetooth service /etc/init.d/bluetooth started all the
> services but I guess it's not working.
>
> There is a file, /usr/lib/bluetooth/bluetoothd-service-audio which belongs
> to the package bluez-utils. Should I just run it from the terminal? How is
> it *supposed* to be configured?
>
> 	JW

I tried running it from the terminal and I got this:


/usr/lib/bluetooth/bluetoothd-service-audio
audio[2248]: Bluetooth Audio daemon
audio[2248]: /etc/bluetooth/audio.conf: /etc/bluetooth/audio.conf: No such 
file or directory
audio[2248]: /etc/bluetooth/audio.conf: /etc/bluetooth/audio.conf: No such 
file or directory
audio[2248]: /etc/bluetooth/audio.conf: /etc/bluetooth/audio.conf: No such 
file or directory
audio[2248]: /etc/bluetooth/audio.conf: /etc/bluetooth/audio.conf: No such 
file or directory
audio[2248]: Config options: DisableHFP=true, SCORouting=HCI, SourceCount=1
audio[2248]: Unix socket created: 5
audio[2248]: add_service_record: got record id 0x10001
audio[2248]: add_service_record: got record id 0x10002
audio[2248]: Registered manager path:/org/bluez/audio



When I tried running aplay -v -D bluetooth /work/tmp/hcikfs.wav I got the 
following print out in the other terminal:


audio[2248]: Accepted new client connection on unix socket (fd=8)
audio[2248]: Package PKT_TYPE_CFG_REQ:0
audio[2248]: Got path /org/bluez/hci0 for adapter with address 
00:0D:88:9E:DF:D6
audio[2248]: Audio service discovery completed with success
audio[2248]: Selecting default device
audio[2248]: No known services for device
audio[2248]: Unix client disconnected (fd=8)


audio[2248]: Accepted new client connection on unix socket (fd=8)
audio[2248]: Package PKT_TYPE_CFG_REQ:0
audio[2248]: No known services for device
audio[2248]: Unix client disconnected (fd=8)


audio[2248]: Accepted new client connection on unix socket (fd=8)
audio[2248]: Package PKT_TYPE_CFG_REQ:0
audio[2248]: No known services for device
audio[2248]: Unix client disconnected (fd=8)


What now?

	JW
-- 

----------------------
System Administrator - Cedar Creek Software
http://www.cedarcreeksoftware.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.