So I was playing with this a bit more and was able to find some chargers
that do work.
The key is indeed Power Delivery, the chargers that use it seem to just
infinitely offer configurations to the PBP but the two will never fully
agree. This generates cca 10 upower events per second and you can see
upowerd to jump to cca 40% CPU consumption while the charger is plugged
in. The switching between battery and charging every ~10 seconds as I
described it seems to be just some presentation-level rate limiting, it
actually happens more often.
I have specifically tried with my ThinkPad's charger (it was working
fine with it before reinstalling) and the result is the same.
The ones that work include:
- The original RPi4 PSU
- Two unbranded phone chargers from a local store
- A powerbank when connected using a USB-A to USB-C cable. When I
connect the same powerbank using a USB-C to USB-C cable, PD kicks in and
it does not work.
This makes me think that any charger that uses a USB-A to USB-C cable
will probably be OK as well.
A good indicator is the red charging LED on the left side - for me it
will not flash with a PD charger connected while it will with the barrel
jack or any of the chargers mentioned above.
On 5/7/21 6:03 PM, Peter Robinson wrote:
> On Fri, May 7, 2021 at 2:17 PM Matthew Miller <email@example.com> wrote:
>> On Fri, May 07, 2021 at 07:01:52AM +0200, Michal Toman wrote:
>>> - USB-C charging does not work. I tried 4 random chargers I have had
>>> around - 2 of them seem to do absolutely nothing when plugged in, 2 of
>>> them have the device switch between charging and battery every ~10 seconds.
>> Hmmm, that's interesting. I haven't reinstalled mine yet, but it's plugged
>> in via USB-C (with a spare Lenovo power supply) right now. Did yours work
>> with USB-C power before reinstalling?
> There's some issue, the install on it has a bunch of non upstream
> patches, when I was playing with it a few weeks back and monitoring
> with upower it was detecting USB-C PD but it seemed to constantly
> bounce. As per my blog post it's on the to look at list but I figured
> it was better to get the details out so people could play rather than
> waiting until it was perfect.....
arm mailing list -- firstname.lastname@example.org
To unsubscribe send an email to email@example.com
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://firstname.lastname@example.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure