On 10 Apr 2022 07:39:54 -0400 James Valleroy <jvalleroy@mailbox.org> wrote: > Package: src:linux > Version: 5.16.12-1~bpo11+1 > > I'm using a ROCKPro64 ... The system is > running on wall power adapter and does not have a battery. > > In the log it showed "WARNING System is on battery power, stopping". > It uses the on_ac_power command from powermgmt-base package. > > Initially, I was using the kernel package from Bullseye when I noticed > this issue. I upgraded to bullseye-backports kernel, and saw that the > issue remained. When switching to the 5.16 bpo kernel, did you also update the dtb to that version? I asked on IRC (Pine64:#rock64) and got the following responses: - it seems like the Type-C port is misreported as a power input, which it can't be in case of the RP64 - When asked for the DT used, I said Debian uses upstream dtbs - there's no Type-C for the RP64 in the upstream DT, so perhaps Debian did something wrong in the patches that added Type-C to the RP64 DT they're using @Vagrant: I checked the kernel patches dir and I didn't see one which would've changed the dtb for the RockPro64, but you likely know better then I do. Does Debian use the exact same DT/dtb as upstream on the RockPro64? Cheers, Diederik
Attachment:
signature.asc
Description: This is a digitally signed message part.