Make rk818-bat stop spewing to serial console
It does periodic spewing like so:
root(tty)$ rk818-bat: changed: dsoc=42, rsoc=46, v=3673, ov=3863 c=-545, cap=1234, f=2708, st=charge off, hotdie=0 rk818-bat: dl=56, rl=56, v=3732, halt=0, halt_n=0, max=0, init=0, sw=0, calib=0, below0=0, force=0
This is really annoying on the serial console.
Updated by Hammel about 1 month ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Look to drivers/power/supply/rk818_battery.c, and especially check if there is an updated kernel available. This may already be fixed.See:
BAT_INFO is a pr_info macro. The default console log level is set to
in the defconfig. Additionally the kernel command line can be updated in src/bootloader/boot.txt to include
to change it from the default to only printing errors.