Thread (12 messages) 12 messages, 6 authors, 2008-02-06

Re: [Bluez-users] How to setup a headset as an audio device? Getting "Device busy" errors

flat view

From: jayjwa <hidden>
Date: 2008-02-06 01:47:54

On Tue, 5 Feb 2008, SA wrote:

-> > > > 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.

It autostarts when hcid and friends start up.


-> > 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:
->

You never need touch the stuff in /usr/lib/bluetooth (to run it).


-> /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
->

Well, there you go. Look in the bluez-utils src and pull out the audio.conf 
and stick it in the /etc/bluetooth dir. Edit the audio.service file:

cat /etc/bluetooth/audio.service

[Bluetooth Service]
Identifier=audio
Name=Audio service
Description=Bluetooth Audio service
Autostart=true



Note most of the services are missing the Autostart line. I add it and set it 
to true, and that at least gets the service running here.




-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help