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 Sunday 27 January 2008 18:16:59 Eugene wrote:
> Hello,
> try to
> aplay -v -D bluetooth './your-sound.wav'
> and send its output. Else, did you started bluetooth audio service?
> To check, use:
> ps ax | grep bluetoothd-service-audio
BTW I started off using KDE and the bluetooth applet to pair the device. It is
now listed in the "Paired/Trusted Devices" screen. It it also listed in
the "Configured Input Devices" section of "Input Devices".
I'm a little suspicious of the KDE applets, does anyone know what tools to use
on the commandline to make sure that the connection/pairing is good? It shows
up with hcitool scan:
citrine:~ # hcitool scan
Scanning ...
00:0D:3C:6F:0E:89 Jawbone
#
Output of trying to play:
:~> aplay -v -D bluetooth /work/tmp/Audio-tmp/11\ -\ How\ Can\ I\ Keep\ From\
Singing-.wav
ALSA lib pcm_bluetooth.c:1189:(bluetooth_init) Connection fail
aplay: main:546: audio open error: Connection refused
I don't see anything useful in /var/log/messages
I tried deleting the pairing, re-pairing and immediately doing the "aplay"
test and still I get the same error.
As far as the bluetooth audio service, I'm not sure. As I mentioend, I'm on
SuSE 10.3. It only has /etc/init.d/bluetooth which I think is supposed to
handle all types of bluetooth connections - like a wrapper or something.
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
# cat /etc/bluetooth/audio.service
[Bluetooth Service]
Identifier=audio
Name=Audio service
Description=Bluetooth Audio service
My bluetooth adapter is the good old USB D-Link DBT 120 that works on
everything (Mac, Linux etc).
hcitool con shows:
# hcitool con
Connections:
hcitool rssi 00:0D:3C:6F:0E:89
Not connected.
I'm not sure what that means. I wonder if it means it's not really connected?
JW
--
----------------------
System Administrator - Cedar Creek Software http://www.cedarcreeksoftware.com
http://jwadmin.blogspot.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/