View Single Post
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#930
Originally Posted by mautz View Post
droid-config-fp2-siphon-bluez4 is for the Fairphone2, it would be droid-config-hammerhead-bluez4 for the N5.

And as i said, i never got it working like the HADK says, maybe you need some of the commits regarding bluetooth from RealJohnGalts repo.

EDIT: Yep it is a kernel issue, check these commits:

https://github.com/RealJohnGalt/andr...90b79cb1ffb236
https://github.com/RealJohnGalt/andr...7de2fbffadc5d5
https://github.com/RealJohnGalt/andr...d3582370496904
https://github.com/RealJohnGalt/andr...a3fbf44be74284
https://github.com/RealJohnGalt/andr...7c89d694d9257f
https://github.com/RealJohnGalt/andr...23206340ef8120
https://github.com/RealJohnGalt/andr...b16fd9567bb5b8
https://github.com/RealJohnGalt/andr...0ce135204ea099
https://github.com/RealJohnGalt/andr...1c3db1934a4a35
https://github.com/RealJohnGalt/andr...6c40ede400d9e2
https://github.com/RealJohnGalt/andr...564fc68ec84be0

Compiled my custom kernel, which has these commits and bluetooth is working.

EDIT2: CONFIG_BT_MSM_SLEEP should be y.

EDIT3: When you SSH into your device do you get the nemo@sailfish bash prompt?
Thank you!
It was a good idea flashing your kernel to confirm. We did this at the very beginning when the screen was blank but I forgot to repeat that on newer builds. Thank you.

Yeah, I have been thinking about to try the bluez5 backport but probably it will be easier to apply an already proven working solution.

Therefore what I will do then. I will scrap the current kernel, as maybe there could be left something that I forgot to revert, and download the whole again. (I'll keep my current defconfig of course.)
Then I will apply the change into the fs/proc/base.c and these commits, if they required, above.
Guess with this new solution, I don't need the bluetooth.service in the /lib/system that was suggested by the hadk.

Slowly we get there.

Edit: On your question to ssh, I cannot try that now as I am not at my PC. I will try and report back.

EDIT2: Oh, and forgot to tell that when I planned to apply the backport changes, of course I wanted to use 'droid-config-hammerhead-bluez5' rather than 'droid-config-fp2-siphon-bluez5' from the example. (But the backport idea is dropped anyway. )

Last edited by edp17; 2019-11-22 at 13:34.