Enable WCNSS LE before Bluetooth discovery
Live btmgmt/btmon showed hci0 powered with le absent from current settings; BlueZ issued only BR/EDR Inquiry, so BLE peripherals were invisible. Add a narrow doas helper to run btmgmt -i hci0 le on before each interactive scan, make bluez-btmgmt explicit, add the doas rule, host guards and docs. With real peripherals in pairing mode the plugin UI reported 5 devices and retained BT KeyBoard / LE-QC Ultra entries.
This commit is contained in:
1 parent
77127c7844
commit
e4358665f7
11 files changed
+58
-9
No files matched your search
@@ -168,6 +168,7 @@ chown 0:0 "$TARGET_ROOTFS/etc/chrony/chrony.conf" \
|
||||
"$TARGET_ROOTFS/usr/bin/bananarchy-network-event.sh" \
|
||||
"$TARGET_ROOTFS/usr/local/bin/bluetoothctl" \
|
||||
"$TARGET_ROOTFS/usr/bin/bananarchy-bt-scan.sh" \
|
||||
"$TARGET_ROOTFS/usr/bin/bananarchy-bt-le-enable.sh" \
|
||||
"$TARGET_ROOTFS/etc/init.d/bananarchy-time-sync" \
|
||||
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/20-bananarchy-time-sync.sh" \
|
||||
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/30-bananarchy-network-status.sh" \
|
||||
@@ -191,6 +192,7 @@ chmod 0755 "$TARGET_ROOTFS/usr/bin/bananarchy-idle-blank.sh" \
|
||||
"$TARGET_ROOTFS/usr/bin/bananarchy-network-event.sh" \
|
||||
"$TARGET_ROOTFS/usr/local/bin/bluetoothctl" \
|
||||
"$TARGET_ROOTFS/usr/bin/bananarchy-bt-scan.sh" \
|
||||
"$TARGET_ROOTFS/usr/bin/bananarchy-bt-le-enable.sh" \
|
||||
"$TARGET_ROOTFS/etc/init.d/bananarchy-time-sync" \
|
||||
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/20-bananarchy-time-sync.sh" \
|
||||
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/30-bananarchy-network-status.sh" \
|
||||
@@ -453,6 +455,8 @@ fi
|
||||
chmod 644 "$TARGET_ROOTFS/etc/pam.d/sshd" \
|
||||
"$TARGET_ROOTFS/etc/ssh/sshd_config.d/90-bananarchy-access.conf" \
|
||||
2>/dev/null || true
|
||||
chown 0:0 "$TARGET_ROOTFS/etc/doas.d/60-bananarchy-bluetooth.conf" 2>/dev/null || true
|
||||
chmod 0644 "$TARGET_ROOTFS/etc/doas.d/60-bananarchy-bluetooth.conf" 2>/dev/null || true
|
||||
chown 0:0 "$TARGET_ROOTFS/etc/pam.d/sshd" \
|
||||
"$TARGET_ROOTFS/etc/ssh/sshd_config.d/90-bananarchy-access.conf" \
|
||||
2>/dev/null || true
|
||||
|
||||
Reference in new issue
Block a user