Skip to content

dietpi-config: re-add Bluetooth state flag - #8225

Merged
MichaIng merged 1 commit into
devfrom
bluetooth
Jul 21, 2026
Merged

dietpi-config: re-add Bluetooth state flag#8225
MichaIng merged 1 commit into
devfrom
bluetooth

Conversation

@MichaIng

Copy link
Copy Markdown
Owner

dietpi-config uses /etc/modprobe.d/dietpi-disable_bluetooth.conf as flag about whether Bluetooth is enabled or not. Since v10.5 we do not create it anymore on all systems, so that Bluetooth in those cases kept showing as enabled, hence could not be actually enabled anymore either.

This commit re-adds /etc/modprobe.d/dietpi-disable_bluetooth.conf in every case, it might just remain empty. It is no elegant solution, but works, until we have a better idea how to detect whether Bluetooth is enabled or not, like the bluez package, or service. Or use rfkill, to block Bluetooth on a lower level, no matter which adapter/driver is loaded (almost, sprdbt_tty on Allwinner does not support rfkill).

`dietpi-config` uses `/etc/modprobe.d/dietpi-disable_bluetooth.conf` as flag about whether Bluetooth is enabled or not. Since v10.5 we do not create it anymore on all systems, so that Bluetooth in those cases kept showing as enabled, hence could not be actually enabled anymore either.

This commit re-adds `/etc/modprobe.d/dietpi-disable_bluetooth.conf` in every case, it might just remain empty. It is no elegant solution, but works, until we have a better idea how to detect whether Bluetooth is enabled or not, like the `bluez` package, or service. Or use rfkill, to block Bluetooth on a lower level, no matter which adapter/driver is loaded (almost, `sprdbt_tty` on Allwinner does not support rfkill).
@MichaIng MichaIng added this to the v10.6 milestone Jul 21, 2026
@MichaIng MichaIng linked an issue Jul 21, 2026 that may be closed by this pull request
@MichaIng
MichaIng merged commit 2b01736 into dev Jul 21, 2026
5 checks passed
@MichaIng
MichaIng deleted the bluetooth branch July 21, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bluetooth show ON but its OFF ?

1 participant