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 <delop...@gmail.com > <mailto:delop...@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-unsubscr...@lists.sailfishos.org > <mailto:devel-unsubscr...@lists.sailfishos.org> > > > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@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-unsubscr...@lists.sailfishos.org