Fix Bluetooth on ASUS Tinker (#1234)

* Improve ASUS Tinker Board support for 5.10

Remove patches which are unnecessary. Revert DMA for UART as it seems to
cause more problems (its also what Armbian is doing). With that
Bluetooth firmware seems to load without errors when loaded before the
bluetooth daemon is running!

Note: It seems that the board overheats quite quickly. With Armbian,
without load, that seems not to be a big deal, but HAOS does quite a
bunch at startup, leading the CPU to reach the 90°C trip point. Maybe it
was related to the rather closed shelf I have the ASUS Tinker board
running, but only after using a fan the board behaved for me.

* Use hardware flow control explicitly

The rtk_hciattach program uses hardware flow control by default (judging
from tty settings after starting the program). Just to be sure,
explicitly request 115200 and hardware flow control.
This commit is contained in:
Stefan Agner
2021-02-19 23:53:18 +01:00
committed by GitHub
parent 9ba4dd5524
commit 9db5dc7ab8
21 changed files with 182 additions and 1195 deletions

View File

@@ -18,4 +18,4 @@ echo -e "\tBluetooth chip power up..."
sleep 1
echo -e "\tResetting done"
/usr/sbin/rtk_hciattach -s 115200 /dev/ttyS0 rtk_h5
/usr/sbin/rtk_hciattach -s 115200 /dev/ttyS0 rtk_h5 115200 flow