[SailfishDevel] Sailfish X does not pair with HFT/HSP systems (Former: [Reminder] Sailfish OS, Open source community collaboration meeting on November 15th 2017 at 09:00 UTC)
Adam Pigg
adam at piggz.co.uk
Fri Nov 24 11:20:01 UTC 2017
I think that config file is for android bluedroid, not for bluez, so
wouldnt help.
I have some other issues
It seems _sometimes_ calls work to my car, sometimes not ...there is just
no audio ... could that be the issue of not connecting to the correct
profile?
After a successful call, further i can get a lot of crackling over the car
kit, even when there are no calls in progress.
On Fri, 24 Nov 2017 at 11:16 Harald Schmitt <linux at hschmitt.de> wrote:
> Am 22.11.2017 um 22:05 schrieb Adam Pigg:
>
> You coud test it yourself (dont blame me if anything breaks though!)
>
> You could hack the blouetoothd.service file to remove the autopair plugin,
> by copying /lib/system/system/bluetoothd.service to /etc/systemd/system/
> and making the appropriate changes.
>
> You can enable hfp in ofono by editing (make a backup first)
> /var/lib/environment/ofono/noplugin.conf
> and removing the lines for hfp if hey are present in your device.
>
>
>
> On Wed, 22 Nov 2017 at 20:55 deloptes <deloptes at gmail.com> wrote:
>
>> Adam Pigg wrote:
>>
>> > I also fixed pairing with my car and bluez5.
>> >
>>
>>
>> Hi,
>> thank you, so if this is regarding mido I would need similar for f5121
>> (Xperia X) thus droid-config-f5121.
>> This was a valuable hint to understand where to look at.
>>
>> > Bluez5 has an autopair plugin for BT <= 2.0, but only tries 0000. My
>> car
>> > uses 1234. The autopair is supposed to prompt for a pin if it fails,
>> but
>> > my car just tries the once. Fix is to start bluetooth2 with -P autopair
>> > to disable it.
>> >
>>
>> you surely mean bluetoothd and not bluetooth2
>>
>> >
>>
>> https://github.com/piggz/droid-config-mido/commit/62db3befe6fab28306fe8b9d160794d8efe8a752
>> >
>> > I than had to enable hfp for ofono/bluez5
>> >
>>
>> https://github.com/piggz/droid-config-mido/commit/a2f3d65e5c0735bac33ef2c405e9f108fd616f3e
>> >
>> > And then i moved the file to the correct location
>> >
>>
>> https://github.com/piggz/droid-config-mido/commit/ce34a8071a965a67a743f70ebebc40f7b0da4d54
>> >
>> > Adam
>>
>>
>> So it looks like in Xperia X HFT is not enabled per default. There is only
>> usb-moded in the files.
>>
>> My question is if (there are a lot of changes and adaptations to be done)
>> but if the package is modified to provide HFT, would it be sufficient,
>> because it seems to be a configuration package (more or less) to ofono.
>>
>> How do I know if ofono is compiled with HFT support - would it be
>> sufficient?
>>
>> Is there someone from Jolla/Sailfish to do this officially - I would be
>> glad
>> to test - this is a preferred option?
>>
>> regards
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>
> Hi,
>
> thanks for finding this. I tested it with my xperia x and now phone calls
> work if pairing is initiated from my car kit.
>
> I made a pull request to the xperia x droid config so this gets hopefully
> merged soon.
> https://github.com/mer-hybris/droid-config-f5121/pull/28
>
> I guess the same fix should be applied to jollaC. I mentioned it in the
> pull request.
>
> To help you on your auto pairing issue: I found the file
> "/system/etc/bluetooth/auto_pair_devlist.conf". I did not investigate it
> much but it seems that you could include your car kit their and then it
> would not be auto paired while other devices would still be auto-paired.
>
> Best regards,
> Harald
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20171124/d337127c/attachment.html>
More information about the Devel
mailing list