RE: bluetooth, dbus and bluetooth headsets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-owner@xxxxxxxxxxxxxxx] On Behalf Of John Frankish
Sent: 15 June, 2009 13:49
To: linux-bluetooth@xxxxxxxxxxxxxxx
Subject: bluetooth, dbus and bluetooth headsets

I've been trying to get a bt headset to work again with bluez for some time now, so I'd appreciate any help available on this - about the last time it worked was circa bluez-4.17 - I used:

Dbus-1.2.1
Dbus-glib-0.76
Bluez-gnome-1.8
Alsa-1.0.17

If I use more recent versions of bluez - I've tried all the way to bluez-4.41 - I can get other bt devices to work as long as I use /etc/dbus-1/system.d/bluetooth.conf from circa bluez-4.17, but I cannot get a bt headset to work.

I saw in this list that a more recent version of dbus might help getting a bt headset to work again, so I tried:

Dbus-1.2.14
Dbus-glib-0.80

..but then bluez-gnome does not find any devices to pair with, even if "hcitool scan" does find available devices. "simple-agent" does not seem to work up to bluez-4.41, so I cannot try to pair with the bt headset by that method either.

1. Are there prescribed versions of dbus, dbus-glib, alsa, etc that are required in order for a bt headset to work?

2. Why do I need to use an old /etc/dbus-1/system.d/bluetooth.conf for bluetoothd to start?

3. Is "simple-agent" supposed to work (I've seen various posts about required patches for dbus, etc)?

Thanks, John
--
To answer my own post for the benefit of anybody that might be struggling with this:

The trick was to run bluetooth-wizard from bluez-gnome as root, it then works with the /etc/dbus-1/system.d/bluetooth.conf from bluez-4.41, pairs with my bt headset and aplay/arecord produce the expected result.

The headset works with:

bluez-4.41
bluez-gnome-1.8
dbus-1.2.14
dbus-glib-0.80
alsa-1.0.20
kernel-2.6.29.2

John ,

I upgraded kernel to 2.6.30.rc8 , bluez-4.41, dbus 1.2.14  from Ubuntu 9.04 .I have verified bluez-gnome is 1.8,dbus-glib-80 default.For alsa ,what do i need install ? I found that there are lot of packages in ALSA main page such as driver ,library , utlility ,plugin firmware ,tools. After installation  one of alsa package, i am not able to login again.Please share your installation procedure.

Thanks,
Balaji.P
--------
For me, logically you would only need libalsa and an appropriate .asoundrc - however, this does not seem to be the case and it appears that alsa-libs, alsa-utils and alsa-drivers are required and a sound card needs to be set up and working on your machine before things will work with a bluetooth headset.

I could be completely wrong in the above, but that's how I got things working...

John
��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux