06-15-2025, 04:52 AM
(05-04-2024, 08:00 AM)cringeops Wrote:(04-30-2024, 12:07 PM)pinewood Wrote: You aren't alone mtomaschett. I've got wifi working, but sadly I've never got bluetooth working.
I get to:
Code:#hciattch -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
Can't get port settings: Input/output error
Can't initialize device: Input/output error
I'll commit the patch that fixes it to the mailing list. Meanwhile, you can fix it by adding the following to arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi and building the device-tree:
Code:&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
status = "okay";
uart-has-rtscts;
};
Bluetooth will "work" after that, but keep in mind that you won't be able to use mouses or keyboards, because they require encryption, which the generic UART driver does not support.
Hi,
I have the latest arch kernel (6.14.7-danctnix1) and added the uart1 to the dtsi file as you suggested. It does not complain about the Input/output error anymore but bluetooth still do not work. I get this error:
Code:
Can't init device hci0: Invalid argument (22)
Do you know an updated solution for bluetooth?