PINE64
Raspberry 4 Charger for Pinephone? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: Raspberry 4 Charger for Pinephone? (/showthread.php?tid=12620)



Raspberry 4 Charger for Pinephone? - jojuma - 12-26-2020

Hello,

I can't charge the Pinephone while it's powered on. 
Finding a power supply with the specified values (15W (5V 3A) USB -PD) and USB-C is not that easy.
So how about the power supply of the Raspberry Pi 4? It comes with USB-C and 5.1V/3A.
Does that 0.1V really make a difference?
If you don't recommend it, could you point me to a different one?
I'm in Europe btw...

Thanks for your help!


RE: Raspberry 4 Charger for Pinephone? - evilbunny - 12-26-2020

(12-26-2020, 06:59 PM)jojuma Wrote: Hello,

I can't charge the Pinephone while it's powered on. 
Finding a power supply with the specified values (15W (5V 3A) USB -PD) and USB-C is not that easy.
So how about the power supply of the Raspberry Pi 4? It comes with USB-C and 5.1V/3A.
Does that 0.1V really make a difference?
If you don't recommend it, could you point me to a different one?
I'm in Europe btw...

Thanks for your help!

I had the same problem as you, it was fixed by blacklisting the anx7688 module


echo "blacklist anx7688" >> /etc/modprobe.d/blacklist.conf


RE: Raspberry 4 Charger for Pinephone? - preflex - 12-26-2020

I use the Pi4's charger frequently with my Pinephone.  It works well. It also works well with the dock.


RE: Raspberry 4 Charger for Pinephone? - wibble - 12-27-2020

Megous recommends basic chargers using the Battery Charging spec as being more reliable than ones supporting Power Delivery. The BC ones will 'Just Work'™ while the PD ones need the right combination of ANX firmware and kernel driver support. Details here: https://xnux.eu/devices/feature/anx7688.html


RE: Raspberry 4 Charger for Pinephone? - Zebulon Walton - 12-27-2020

(12-27-2020, 10:39 AM)wibble Wrote: Megous recommends basic chargers using the Battery Charging spec as being more reliable than ones supporting Power Delivery. The BC ones will 'Just Work'™ while the PD ones need the right combination of ANX firmware and kernel driver support. Details here: https://xnux.eu/devices/feature/anx7688.html

I've been using a generic 2A charger with no problems.

https://www.ebay.com/itm/US-Plug-5V-2A-USB-Port-Wall-Charger-5-Volt-2-Amp-AC-DC-Power-Adapter-Converter/231990531054


RE: Raspberry 4 Charger for Pinephone? - jojuma - 12-30-2020

(12-26-2020, 07:51 PM)evilbunny Wrote:
(12-26-2020, 06:59 PM)jojuma Wrote: Hello,

I can't charge the Pinephone while it's powered on. 
Finding a power supply with the specified values (15W (5V 3A) USB -PD) and USB-C is not that easy.
So how about the power supply of the Raspberry Pi 4? It comes with USB-C and 5.1V/3A.
Does that 0.1V really make a difference?
If you don't recommend it, could you point me to a different one?
I'm in Europe btw...

Thanks for your help!

I had the same problem as you, it was fixed by blacklisting the anx7688 module


echo "blacklist anx7688" >> /etc/modprobe.d/blacklist.conf

I'm afraid I'm not expert enough to understand that. What exactly does that blacklisting do and how does that solve the problem?

(12-27-2020, 10:39 AM)wibble Wrote: Megous recommends basic chargers using the Battery Charging spec as being more reliable than ones supporting Power Delivery. The BC ones will 'Just Work'™ while the PD ones need the right combination of ANX firmware and kernel driver support. Details here: https://xnux.eu/devices/feature/anx7688.html

So I understand anx7688 is a driver handling the charging process. The description says:

Quote:In some configurations (with 3A USB-C PD charger) AXP803 resets the VBUS input current limit by itself to 500mA, so PP will not charge (much)
  • Forcing the input current limit back up leads to instability (looks like AXP is resetting the limit due to voltage drop on VBUS) and input current fluctuates between 0 and ~1.3A

Is there a way to check if that happened? And if so, it can't be fixed since fixing leads to instability? That means a problem, right?

Or am I wrong with this assumption?


RE: Raspberry 4 Charger for Pinephone? - evilbunny - 12-30-2020

(12-30-2020, 06:47 PM)jojuma Wrote:
(12-26-2020, 07:51 PM)evilbunny Wrote: echo "blacklist anx7688" >> /etc/modprobe.d/blacklist.conf

I'm afraid I'm not expert enough to understand that. What exactly does that blacklisting do and how does that solve the problem?

You need to open a terminal app and then you just type the above into it, you will most likely need to get root before running it, "sudo su -" will get you root access


RE: Raspberry 4 Charger for Pinephone? - Juergen - 12-31-2020

(12-26-2020, 07:51 PM)evilbunny Wrote:
(12-26-2020, 06:59 PM)jojuma Wrote: Hello,

I can't charge the Pinephone while it's powered on. 
Finding a power supply with the specified values (15W (5V 3A) USB -PD) and USB-C is not that easy.
So how about the power supply of the Raspberry Pi 4? It comes with USB-C and 5.1V/3A.
Does that 0.1V really make a difference?
If you don't recommend it, could you point me to a different one?
I'm in Europe btw...

Thanks for your help!


I had the same problem as you, it was fixed by blacklisting the anx7688 module


echo "blacklist anx7688" >> /etc/modprobe.d/blacklist.conf


I bought the power supply of Raspi4 but it charges only with 0,5A ;
now I use my power bank for charging with 1,5A.


RE: Raspberry 4 Charger for Pinephone? - wibble - 01-01-2021

(12-30-2020, 06:47 PM)jojuma Wrote:
(12-27-2020, 10:39 AM)wibble Wrote: Megous recommends basic chargers using the Battery Charging spec as being more reliable than ones supporting Power Delivery. The BC ones will 'Just Work'™ while the PD ones need the right combination of ANX firmware and kernel driver support. Details here: https://xnux.eu/devices/feature/anx7688.html

So I understand anx7688 is a driver handling the charging process. The description says:

Quote:In some configurations (with 3A USB-C PD charger) AXP803 resets the VBUS input current limit by itself to 500mA, so PP will not charge (much)
  • Forcing the input current limit back up leads to instability (looks like AXP is resetting the limit due to voltage drop on VBUS) and input current fluctuates between 0 and ~1.3A

Is there a way to check if that happened? And if so, it can't be fixed since fixing leads to instability? That means a problem, right?

Or am I wrong with this assumption?
That page is possibly a little outdated regarding state-of-the-art - see https://xnux.eu/log/#026 for an update. It can take a while for Megous' changes to make it either to the upstream kernel or the various distros though. You should be able to get some idea what's happening on your phone using:
Code:
cat /sys/class/power_supply/axp*/uevent