You are not logged in.
Hi,
I'm trying to configure my Motorola H500 headset to work with my Arch install. I'm acting accordingly to this wiki: http://gentoo-wiki.com/HOWTO_use_a_blue … _and_newer
My bluetooth works well, I can pair with my phone, use HID device (again, phone with remote control), but I can't get the headset to work
I can detect the device using both kbluetooth and hcitool:
Scanning ...
00:19:1F:05:1A:3F Motorola H500
I can even connect to it:
hcitool cc 00:19:1F:05:1A:3F
hcitool con
Connections:
< ACL 00:19:1F:05:1A:3F handle 43 state 1 lm MASTER
I've modified files pointed in the wiki:
cat /etc/bluetooth/audio.service
[Bluetooth Service]
Identifier=audio
Name=Audio service
Description=Bluetooth Audio service
Autostart=true
cat /home/neuro/.asoundrc
pcm.bluetooth {
type bluetooth
device 00:19:1F:05:1A:3F
profile auto
}
But when I try to play a file I get:
mplayer -ao alsa:device=bluetooth filemp3
MPlayer dev-SVN-r24986-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (Family: 6, Model: 14, Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
116 audio & 237 video codecs
Playing filemp3.
Audio file file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
bt_audio_service_open: connect() failed: Connection refused (111)
[AO_ALSA] Playback open error: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
video: no video
Exiting... (End of file)
I don't know, but I thought that should do it and it shoudl work. Any ideas? Could someone tell me how to debug the thing?
Offline
*bump*
Has anyone tried using bluetooth audio service?
Offline
Ok, something moved on after the recent update of bluez.
The headset now pairs when I try to play something back on it, connects, however there is no sound and mplayer says:
[AO_ALSA] alsa-lib: pcm_bluetooth.c:460:(bluetooth_hsp_hw_params) BT_SETCONFIGURATION failed : Input/output error(5)
[AO_ALSA] Unable to set hw-parameters: Input/output error
Could not open/initialize audio device -> no sound.
In this thread (http://ubuntuforums.org/showthread.php?p=4637238) I've seen someone talking about a patch for the kernel (http://lkml.org/lkml/diff/2008/2/25/530/1). Is this patch already applied in 2.6.24?
EDIT:
I've just seen in message.log that something gets logged:
May 18 20:58:06 deck hcid[13943]: Audio API: received BT_GETCAPABILITIES_REQ
May 18 20:58:06 deck hcid[13943]: Audio API: sending BT_GETCAPABILITIES_RSP
May 18 20:58:06 deck hcid[13943]: Audio API: received BT_SETCONFIGURATION_REQ
May 18 20:58:06 deck hcid[13943]: config sco - device = 00:19:1F:05:1A:3F access_mode = 2
May 18 20:58:07 deck hcid[13943]: link_key_request (sba=00:17:31:0A:A6:62, dba=00:19:1F:05:1A:3F)
May 18 20:58:10 deck hcid[13943]: SCO fd=29
May 18 20:58:10 deck hcid[13943]: Audio API: sending BT_SETCONFIGURATION_RSP
Any idea why sending sound fails after this?
Last edited by Neuro (2008-05-18 18:59:52)
Offline
Interesting if you got it solved in the end. So far bt audio in ArchLinux seems completely broken.
keep in touch.
Offline