Chris4arm Posted May 30, 2022 Share Posted May 30, 2022 Hi, any hope to have a 5.x server image with support for the M1 bluetooth soon ? Chris 0 Quote Link to comment Share on other sites More sharing options...
Chris4arm Posted June 3, 2022 Author Share Posted June 3, 2022 On 5/30/2022 at 9:21 PM, Chris4arm said: Hi, any hope to have a 5.x server image with support for the M1 bluetooth soon ? Chris unfortunately it seems till unsupported in last 5.17 official images Perhaps because due to the lack of /dev/ttyS2 used by BT ? However it appears in dmesg : [ 3.275178] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 20, base_baud = 1500000) is a 16550A [ 3.275619] serial serial0: tty port ttyS2 registered What is missing ? Chris 0 Quote Link to comment Share on other sites More sharing options...
Chris4arm Posted June 4, 2022 Author Share Posted June 4, 2022 On 6/3/2022 at 9:57 AM, Chris4arm said: unfortunately it seems till unsupported in last 5.17 official images Perhaps because due to the lack of /dev/ttyS2 used by BT ? However it appears in dmesg : [ 3.275178] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 20, base_baud = 1500000) is a 16550A [ 3.275619] serial serial0: tty port ttyS2 registered What is missing ? Chris A check of Armbian_22.05.0-trunk_Station-m1_sid_edge_5.18.0_xfce_desktop.img.xz shows same thing. Looking deeper I see a unit related to bluetooth and it's uart which is dead : root@station-m1:# systemctl status sys-devices-platform-ff130000.serial-serial0-serial0\x2d0-bluetooth-hci0.device ○ sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device - /sys/devices/platform/ff130000.serial/serial0/serial0x2d0/bluetooth/hci0 Loaded: loaded Active: inactive (dead) Try to restart it : root@station-m1:# systemctl start sys-devices-platform-ff130000.serial-serial0-serial0\x2d0-bluetooth-hci0.device Job for sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device timed out. root@station-m1:/boot/dtb/rockchip# systemctl status sys-devices-platform-ff130000.serial-serial0-serial0\x2d0-bluetooth-hci0.device ○ sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device - /sys/devices/platform/ff130000.serial/serial0/serial0x2d0/bluetooth/hci0 Loaded: loaded Active: inactive (dead) Jun 04 13:57:07 station-m1 systemd[1]: sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device: Job sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device/start timed out. Jun 04 13:57:07 station-m1 systemd[1]: Timed out waiting for device /sys/devices/platform/ff130000.serial/serial0/serial0x2d0/bluetooth/hci0. Jun 04 13:57:07 station-m1 systemd[1]: sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device: Job sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device/start failed with result 'timeout'. So there is something broken around that unit (dtb ?). An idea ? Chris 0 Quote Link to comment Share on other sites More sharing options...
Chris4arm Posted June 4, 2022 Author Share Posted June 4, 2022 7 hours ago, Chris4arm said: A check of Armbian_22.05.0-trunk_Station-m1_sid_edge_5.18.0_xfce_desktop.img.xz shows same thing. Looking deeper I see a unit related to bluetooth and it's uart which is dead : root@station-m1:# systemctl status sys-devices-platform-ff130000.serial-serial0-serial0\x2d0-bluetooth-hci0.device ○ sys-devices-platform-ff130000.serial-serial0-serial0x2d0-bluetooth-hci0.device - /sys/devices/platform/ff130000.serial/serial0/serial0x2d0/bluetooth/hci0 Loaded: loaded Active: inactive (dead) Maybe another track around the firmware : dmesg |egrep -i "RTL|hci0" [ 11.207253] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000d lmp_ver=08 lmp_subver=8723 [ 11.211722] Bluetooth: hci0: RTL: rom_version status=0 version=2 [ 11.211773] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723ds_fw.bin [ 11.226538] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723ds_config.bin [ 11.262916] Bluetooth: hci0: RTL: cfg_sz 47, total sz 30147 [ 13.282610] Bluetooth: hci0: command 0xfc20 tx timeout [ 21.478655] Bluetooth: hci0: RTL: download fw command failed (-110) the files exist ls -l /lib/firmware/rtl_bt/rtl8723ds* -rw-rw-r-- 1 root root 47 May 20 12:25 /lib/firmware/rtl_bt/rtl8723ds_config.bin -rw-rw-r-- 1 root root 48988 May 20 12:25 /lib/firmware/rtl_bt/rtl8723ds_fw.bin but the loading fails. Bad firmware ? Chris 0 Quote Link to comment Share on other sites More sharing options...
Chris4arm Posted June 7, 2022 Author Share Posted June 7, 2022 On 6/4/2022 at 11:24 PM, Chris4arm said: ls -l /lib/firmware/rtl_bt/rtl8723ds* -rw-rw-r-- 1 root root 47 May 20 12:25 /lib/firmware/rtl_bt/rtl8723ds_config.bin -rw-rw-r-- 1 root root 48988 May 20 12:25 /lib/firmware/rtl_bt/rtl8723ds_fw.bin but the loading fails. Bad firmware ? Or something to do with this (old ?) bug : Realtek Bluetooth controller failed to download firmware larger than 32K ? 0 Quote Link to comment Share on other sites More sharing options...
Chris4arm Posted June 8, 2022 Author Share Posted June 8, 2022 22 hours ago, Chris4arm said: Or something to do with this (old ?) bug : Realtek Bluetooth controller failed to download firmware larger than 32K ? This bug is fixed in current module. Does anyone know where to look to debug or help to debug the bluetooth on Station M1 ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.