You are not logged in.

#1 2010-10-24 15:59:23

s@ndro
Member
From: Milano - Italy
Registered: 2010-05-11
Posts: 10

Bluethoot headset and pulseaudio

Hi all,

I installed bluez + blueman and when I connect my BT headset, it is shown up in the pulseaudio input/output list; but if it goes out of range of the laptop (or if I explicitely disconnect it using the icon in the notification area), when I try to reconnect it doesn't show up again in the sound preferences (even if Blueman says it is reconnected, in fact).

I found a similar issue here:

http://www.pubbs.net/200904/fedora/2819 … whide.html

but I'm not observing any kernel oops (2.6.35-ARCH).

This is the relevant part of "pulseaudio -vvvv" output:

[...]
I: source.c: Created source 2 "bluez_sink.00_13_70_4F_4B_89.monitor" with sample spec s16le 1ch 8000Hz and channel map mono
I: source.c:     device.description = "Monitor of Nokia HS-26W"
I: source.c:     device.class = "monitor"
I: source.c:     device.string = "00:13:70:4F:4B:89"
I: source.c:     device.api = "bluez"
I: source.c:     device.bus = "bluetooth"
I: source.c:     device.form_factor = "headset"
I: source.c:     bluez.path = "/org/bluez/3992/hci0/dev_00_13_70_4F_4B_89"
I: source.c:     bluez.class = "0x200404"
I: source.c:     bluez.name = "Nokia HS-26W"
I: source.c:     device.icon_name = "audio-headset-bluetooth"
I: module-device-restore.c: Restoring volume for source bluez_source.00_13_70_4F_4B_89.
I: source.c: Created source 3 "bluez_source.00_13_70_4F_4B_89" with sample spec s16le 1ch 8000Hz and channel map mono
I: source.c:     bluetooth.protocol = "hsp"
I: source.c:     device.intended_roles = "phone"
I: source.c:     device.description = "Nokia HS-26W"
I: source.c:     device.string = "00:13:70:4F:4B:89"
I: source.c:     device.api = "bluez"
I: source.c:     device.class = "sound"
I: source.c:     device.bus = "bluetooth"
I: source.c:     device.form_factor = "headset"
I: source.c:     bluez.path = "/org/bluez/3992/hci0/dev_00_13_70_4F_4B_89"
I: source.c:     bluez.class = "0x200404"
I: source.c:     bluez.name = "Nokia HS-26W"
I: source.c:     device.icon_name = "audio-headset-bluetooth"
D: module-bluetooth-device.c: IO Thread starting up
D: core-util.c: SCHED_RR|SCHED_RESET_ON_FORK worked.
I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_START_STREAM
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_ERROR <- BT_START_STREAM
E: module-bluetooth-device.c: Received error condition: Input/output error
D: module-bluetooth-device.c: IO thread failed
D: module-suspend-on-idle.c: Sink bluez_sink.00_13_70_4F_4B_89 becomes idle, timeout in 5 seconds.
D: module-suspend-on-idle.c: Source bluez_source.00_13_70_4F_4B_89 becomes idle, timeout in 5 seconds.
[...]

It's worth to say that, except for the first connection, if I kill the PA daemon and restart it:
- if the headset is already connected, it is addede to the sound preferences;
- if the headset is disconnected and I try to connect, it doesn't appear into the sound preferences after the connection;
- the same happens using gnome-bluetooth instead Blueman, so my feeling is that this is a PA issue.

Very strange behavior! Any comment?


Nothing is hard to a willing mind

Offline

#2 2010-10-25 02:26:24

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,135

Re: Bluethoot headset and pulseaudio

My main comment is 'works here'. Sometimes I have to turn off/on my BT headset to make it reconnect, most often its just fine. In your case it seems the headset sends a signal that's unexpected (or doesn't send an expected signal). Suggest you contact the pulseaudio ML. It'll probably have to be cross-posted to BlueZ ML, but wait for them to tell you that (ie. I'm a noob who's not sure).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB