Current RC has bad bluetooth on Op5t
-
I'm gonna +1 this
device: Pixel 3a
OS: Ubuntu 16.04 (2022-W39)
Channel: RCconnecting my Pebble Time Steel always was a bit iffy through System Settings, but using bluetoothctl in terminal gave me more control but still fails at connecting:
$ bluetoothctl $ discoverable on $ scan on $ agent off $ agent NoInputNoOutput (this to make sure no verification code is asked. the watch doesn't expect one)
--wait until you see your device pop up in the scan list --
$ trust [device mac] $ pair [device mac]
--pairing should pop up a confirmation on the pebble. press top right button to confirm. terminal reports success--
so far so good, but then the last command gives trouble:$ connect [device mac]
--it connects... for about three seconds and then drops off.--
before the update, the pebble, once paired, had no trouble connecting and reconnecting. i could walk out of range of my phone and back in range and it would just pick up again.
Other devices (BT mouse, car's integrated hands-free set, windows laptop) seem to have no trouble.
/edit:
I realize all the devices i tested have one thing in common: they are all much newer than the Pebble smartwatch.
Could it be that an old protocol or some such was removed from the bluetooth stack, causing older devices to fail? -
@yougo said in Current RC has bad bluetooth on Op5t:
--it connects... for about three seconds and then drops off.--
Yes! Exactly the same issue I was having on RC. Now, back on stable, it's fine.
Could it be that an old protocol or some such was removed from the bluetooth stack, causing older devices to fail?
-
Well we upgraded Bluez stack to 5.53 -- that might be the reason. We would need some more debug infos here. Unfortunately I will not hold off the OTA for this now, we are 2 months late and need to ship what we have. And we alread have issues with contacts, as soon as they are solved we put this into stable.
We can investigate the issue in parallel.
-
@flohack said in Current RC has bad bluetooth on Op5t:
Unfortunately I will not hold off the OTA for this now, we are 2 months late and need to ship what we have.
Fair enough! Maybe someone should send you a Pebble to make things easier to debug?
I do know that they use BT 4.0.I'm no good at providing debug info, maybe @Yougo can help here. But first things first. It's not that urgent... I'll just stay on OTA23 for a while.
-
sure, i'll stay on rc or maybe move to dev to help test or dig up logs that may be of interest, as long as my phone keeps working. i just got a 'project' of sorts today that needs me to be on call for the coming week (given your stated schedule that shouldn't be problem )
just lemme know if i can help
-
@yougo You may want to run btmon trace during the pairing and connect, and log that to a file. It can then be inspected with Wireshark
-
pastebin of terminal output(as far as i could scroll back and copy)
i hope you can make sense of this?
the device is 'Pebble Time 3247, B0:B4:48:A3:32:47'. there's also a 'Pebble Time LE 3247' but that's a (useless) limited mode that should be ignored. -
Did you have a chance to look at it?
I've gone and tried wireshark.
i have no idea what i'm doing lol, but i managed to print out a packet list (both summary and all written out, one packet per page) of what i think are two complete cycles of finding, trusting, pairing, connecting and sadly disconnecting the Pebble.i hope it helps
-
@yougo I wouldn't be surprised if this is not on the agenda as long as OTA24 isn't finished. And understandably so. Let's try and have a little patience.
-
@moem Honestly I do not see what we can do other than to roll back to old Bluez, and disappointing the owners that tested already devices that work now, but never did before with UT. If this is what we should do, then we do it. But unless it breaks on all devices the benefits would outweigh the negative impacts
-
@flohack said in Current RC has bad bluetooth on Op5t:
If this is what we should do, then we do it.
Well, that seems like it would make a lot of folks unhappy. No one wants that.
Maybe I'll have to say goodbye to my Pebbles then.Would it be doable in cases like mine to roll my installation of UT back to the old Bluez BT stack? I mean, using old Bluez on OTA24+? If I can find someone who know what they're doing, of course.
My guess is: probably not... -
that is sad news for the few UT+pebble users. but understandibly if it's great news for a lot of new devices then i see where the priorities are, and rightfully so.
at least we learned something. thanks for your time
-
@moem
from what little i understand, i think a specific filesystem overlay would do what we want, provide a cusom bluez stack on one device while leaving the image for that port intact.someone would need to create that overlay and maintain it, for every affected port, test it against new OTA's and adapt it accordingly, and the user would need to implement the overlay in their device after every OTA manually.
oof
-
@yougo said in Current RC has bad bluetooth on Op5t:
someone would need to create that overlay and maintain it, for every affected port, test it against new OTA's and adapt it accordingly, and the user would need to implement the overlay in their device after every OTA manually.
Yeah, that sounds like a lot of work... and work that requires a specific skill set. If someone feels up for it, I would gladly send them a Pebble!
-
This post is deleted! -
@moem I see you have an Xperia X (forum signature) - can you install 20.04 on it and check if the watch connects there? Not sure if the issue is visible without the app, but if not I can try and build it for 20.04.
I think the easiest is to install with the installer, checking "show hidden system-image channels" in the options and selecting 20.04 devel. Beware ofc that this is not end-user ready and a lot of things are missing.
-
@klh said in Current RC has bad bluetooth on Op5t:
have an Xperia X (forum signature) - can you install 20.04 on it and check if the watch connects there?
I tried that a few days ago, but it wouldn't boot. Should I try again?
Not sure if the issue is visible without the app
Yes, the watch should be able to connect, app or no app. The app is just for managing the watch, things like adding watchfaces and so on.
-
@moem hmm, did you do a clean install with wipe and bootstrap? It's an older device, there were some kernel changes needed for 20.04 to work so might be safer with these options.
-
@klh said in Current RC has bad bluetooth on Op5t:
hmm, did you do a clean install with wipe and bootstrap?
I believe so, but just in case, I will try again tomorrow.
-
Oh, also @Yougo I see you have a Pixel 3a and that definitely has working 20.04, so you could also check (ofc only if this is not your only device, I can't repeat enough that 20.04 is not ready for general use ;p)