Quote:
Originally Posted by CyberPaul
You analysis on BT is very interesting. Thanks!
Can you describe a method to disable Bluetooth gracefully from command line (and script)? I'd like to do that just before launching KOReader. It would be nice to prevent blocking BT.
|
You could try it. However, I haven't tried it.
Quote:
#!/bin/sh
# for connected BT device.
bluetoothctl disconnect
# for BT controller
bluetoothctl agent off
bluetoothctl power off
# for BT daemon
id=$(ps | grep '/bluetoothd' | awk '{print $1}'); kill $id
|
https://www.linux-magazine.com/Issue...e-bluetoothctl