Bluetooth stopped working
-
Hi,
Bluetooth used to work but now when I enable it it doesn't search for devices (usually I get many 'unknown' devices and some with numbers I don't know what are these strange devices, I noticed the same stuff with Ubuntu desktop OS).
When I change the page, the button is set to OFF.
-
@embeddedmz could it be that your device finds devices without name?
I see some like that too but also named ones on same list.. -
@mkarpicki There's some crazy theories that say it's the jabbed people that sends MAC addresses... Personally, it's the first time I witness something like this. I see also TVs, but it's the first time that I see a bunch of unknown devices and/or having a name with numbers.
Anyway, the bluetooth is not working anymore on my Ubuntu touch : I shut down the device, restarted it etc... in the settings when I switch it on, it doesn't search for devices and when I close the settings page then go back to it, the switch is in OFF.
Is there something I can do with a terminal to fix it ?
-
@embeddedmz said in Bluetooth stopped working:
Is there something I can do with a terminal to fix it ?
There are some command lines here you could try : https://forums.ubports.com/topic/5771/how-to-stop-and-restart-bluetooth-service/15?_=1641806080750
-
@keneda sudo service bluetooth restart
it blocks and never returns !
I restarted the phone and now everything is getting back to work.
Thank you
-
@embeddedmz
Great !@embeddedmz said in Bluetooth stopped working:
sudo service bluetooth restart
it blocks and never returns !Maybe next time (hope there will not be) BT hangs you could try the rfkill command for no reboot, read this post : https://forums.ubports.com/topic/5771/how-to-stop-and-restart-bluetooth-service/15?_=1641805952497
-
@keneda it stopped working again and rfkill commands don't solve the issue anymore
-
@keneda and when I try to restart the bluetooth service, it stays forever (bluetooth stop/waiting).
-
@embeddedmz
I won't be able to help you further with command lines as i'm not an advanced Linux user.I can tell you some basics when you end with no other solution, wich is trying to reinstall with ubports software, without wiping data if you need to keep it, or full wipe if you don't.
But before that, you could tell more about your issue.
When did it occured ? Did you update OS and then it stopped ? Did you install some apps and then it stopped, did you mod you system files, etc...
The more details, the more likely someone can provide helpfull advices.
-
@embeddedmz If you really need Bluetooth, you can't restart the service or it won't connect, try a reinstall of Ubuntu Touch using the installer. Otherwise I wouldn't bother - for me personally, I don't require Bluetooth. I had an issue on my Pixel 2 losing Wi-Fi after the OTA-21 update - a reinstall solved it, all working with my usual apps installed in 20 minutes. Sometimes it is quicker to reinstall than try to and fault find if you need that service just to get it working.
-
@keneda said in Bluetooth stopped working:
When did it occured ? Did you update OS and then it stopped ? Did you install some apps and then it stopped, did you mod you system files, etc...
Now its back after a restart. I will never disable it (but I'm afraid that if I enable airplane mode, the issue will reappears and I will have to wait for luck to fix it).
Maybe there's a link with airplane mode. I dunno.
-
@embeddedmz you are correct. I see same after reading your reply.
I am not able to say if this problem came with recent ota-21 update as I did not use BT before but niw I,see same problem you describe (including toggle goin back to disabled) -
@mkarpicki same problem on my device. I'm n rc channel.
-
@mkarpicki @messayisto are you both on MiA2 too ?
Maybe an issue to feedback to porter ? -
@keneda how to do this? vis github or the devices site?
-
@messayisto
On the device page https://devices.ubuntu-touch.io/device/jasmine-sprout/ is said to contact @shouko .You can first try this.
-
You can also try this to get your bluetooth working : enable WiFi, shut down Ubuntu and then start it.
-
@keneda thanks, I will try this.
-
@embeddedmz Thank You for the hint. Indeed bluetooth is only working with wifi turned on. I will report this too.
-
@messayisto Opened an issue here: