-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rfkill is not used correctly when setup bluetooth with ap6212 #1352
Comments
Bluetooth is in a bad shape in general so yes, its possible that things are missing. For me it's low priority ... but I guess once this should be sorted out. At least for AP6212, which is most common. |
It seems that we need a patch for rfkill-gpio to add bluetooth reset pin to rfkill-gpio |
… but tested only for building + related kernel config changes and bump with version due to yet another armbian-config update. #1352
Some progress:
|
In Armbian Focal (mainline based kernel 5.10.y) the problem still persists. Bluetooth not working. Maybe something broken up and the question is what and where? |
Hi, I took from https://www.armbian.com/orange-pi-zero-plus-2-h3/ the Buster image, and bluetooth is not working; is this patch supposed to be included in a new release? |
If not in the release documents and if issue not closed with a commit, unlikely: |
Could we have a workaround in the while to make BLE work on a NanoPi NEO Air on Armbian 21.05.1 Focal with Linux 5.10.34-sunxi ? Thanyou! |
Give a look here to see how I found a solution: |
To get this working on the NanoPi NEO Plus2, I created said patches: dts patch and rfkill-gpio patch Compiled: brcm_patchram_plus Followed by systemd service: [Unit]
Description=Bluetooth Helper
Before=bluetooth.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/nanopi-bthelper -s
ExecStop=/usr/local/sbin/nanopi-bthelper -k
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target rfkill list
bluetoothctl Agent registered
[CHG] Controller 6C:0E:3E:BA:9A:56 Pairable: yes This has been tested on Linux 5.14.14 |
In ap6212-bluetooth, rfkill is not used correctly.
for Nanopi Neo Air and Orangepi Zero Plus2 H5, rfkill0 is Wi-Fi in the default settings of armbian
For Nanopi Neo Air, I tried to add bluetooth reset to rfkill using a dts file, but failed. The dts is:
The command
rfkill list
doesn't have "sunxi-bt". Something should be missing in the dts file.Any idea?
The text was updated successfully, but these errors were encountered: