Re: Bug: bluetoothd dies when connecting device

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

 



Hi Tanu,

On Mon, Aug 11, 2014 at 3:54 PM, Tanu Kaskinen
<tanu.kaskinen@xxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I tried to work on the oFono HFP patches for PulseAudio, but I couldn't
> really do anything, because BlueZ is basically not working at all on my
> machine. When I try to connect my Nokia BH-505 headset, bluetoothd sort of
> dies. The process doesn't terminate, but it disconnects from D-Bus.
>
> I'm on Fedora 20, PulseAudio and BlueZ are compiled from current git master.
> oFono is not involved here in any way. I have attached an annotated log of
> the headset connecting process, in case someone wants to investigate this.
> The starting scenario in the log is that pulseaudio and bluetoothd are not
> running, and I have previously removed the headset from the BlueZ database.
> First I start pulseaudio with verbose logging and timestamps in the
> background, then in the same terminal I start bluetoothd with -d -n options
> in the background, and then still in the same terminal I start bluetoothctl
> to issue the commands for connecting the headset, so pulseuadio, bluetoothd
> and bluetoothctl output are all interleaved. Connecting the device appears
> to work at first, but when PulseAudio tries to start streaming to the
> headset, things fall apart.

It is very likely a problem with SELinux (either set it to disabled or
permissive should make it work) blocking fd passing and making us
disconnect, also note that I have also start working on porting the
patches here:

https://gitorious.org/pulseaudio/vudentzs-mainline/commits/fceee2a876110186f8fdc87743e3ee7f7bf8c1ae

I did not went through the comments you did so perhaps you can ignore
them for now, but I do include some on top that makes it work with
oFono.

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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