Closed mistaoh closed 7 months ago
Thanks for providing the logs. There should be many more lines in the dmesg log regarding bluetooth initialization. That makes me wonder if there is a problem with the bluetooth chipset in the devicetree. I'm using the 4C+ devicetree from the upstream linux kernel so I would be surprised but it's not impossible.
Can you post the output of find /proc/device-tree/ | grep blue
?
Just to make sure, this is a Radxa Rock 4C+ board?
Have you tried any of the previous images? 11.5 would be worth testing as there was a kernel upgrade between 11.5 and 12.
Thank you for your work with this.
# find /proc/device-tree/ | grep blue
/proc/device-tree/serial@ff180000/bluetooth
/proc/device-tree/serial@ff180000/bluetooth/device-wakeup-gpios
/proc/device-tree/serial@ff180000/bluetooth/pinctrl-names
/proc/device-tree/serial@ff180000/bluetooth/pinctrl-0
/proc/device-tree/serial@ff180000/bluetooth/clock-names
/proc/device-tree/serial@ff180000/bluetooth/clocks
/proc/device-tree/serial@ff180000/bluetooth/shutdown-gpios
/proc/device-tree/serial@ff180000/bluetooth/max-speed
/proc/device-tree/serial@ff180000/bluetooth/compatible
/proc/device-tree/serial@ff180000/bluetooth/vddio-supply
/proc/device-tree/serial@ff180000/bluetooth/vbat-supply
/proc/device-tree/serial@ff180000/bluetooth/host-wakeup-gpios
/proc/device-tree/serial@ff180000/bluetooth/name
#
It's this board and kit. ROCK 4 Model C+ 4GB single board computer.
I have not tried any of the previous images, and unfortunately i currently don't have physical access to the board for a couple of weeks. But I'm happy to perform any other checks I'm able to do remotely. Otherwise I'll test downgrading at the next opportunity.
The device tree output looks good and lsmod shows that many of the bluetooth related kernel modules are loaded. btsdio
is missing but not sure if that is a cause or a symptom. Can you upload the full dmesg log just to make sure there are no other errors?
The next release 12.2 will use the rockchip kernel config from the upstream haos project instead of the one I'm currently maintaining. That might also fix it (for when you have physical access again).
The full dmesg output is attached. I realize when I look through it that there are a lot of errors I dont know what it is. dmesg.zip I also add journalctl -b 0 --dmesg as I think dmesg buffer fills. journctl.zip
Does that mean haos are adding support for this board?
The dmesg output looks strange indeed. I have never seen this error before
es8316 1-0011: ASoC: error at soc_component_read_no_lock on es8316.1-0011 for register: [0x00000016] -6
Does that mean haos are adding support for this board?
No not for the Rock Pi boards. They added some other board that are based on the same rk3399 SoC.
12.2 is out. Let me know if that changes anything once you have physical access again.
https://github.com/citruz/haos-rockpi/releases/tag/12.2%2B20240414
Btw, is Wifi working for you? BT and Wifi are handled by the same chip so I would assume Wifi should be broken as well then.
What is the output of cat /proc/device-tree/model
?
Thanks! I'll test it as soon as I'm able.
I have no need for wifi so I never checked. But I don't seem to have any physical network adapters except end0
when i check output of ip addr
# cat /proc/device-tree/model
Radxa ROCK Pi 4C#
Radxa ROCK Pi 4C
Huh are you sure that you downloaded the correct image haos_rock-4c-plus
? Because that looks like the 4C image without the plus.
🤪 I feel pretty dumb right now, sorry for wasting your time. I'll test with the correct image.
Haha no worries. There's still a small chance that the wrong devicetree was included with the image but I would be surprised if that is the case.
Describe the issue you are experiencing
Fresh install of 12.1 averything seems to be ok except bluetooth. No adapters found.
What operating system image do you use?
rock-4c-plus
What version of Home Assistant Operating System is installed?
Home Assistant OS 12.1.dev20240324
Did you upgrade the Operating System.
No
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
No response
Additional information