Raspberry 4 Charger for Pinephone?
#1
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!
  Reply
#2
(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
  Reply
#3
I use the Pi4's charger frequently with my Pinephone.  It works well. It also works well with the dock.
  Reply
#4
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
  Reply
#5
(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-U...1990531054
  Reply
#6
(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?
  Reply
#7
(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
  Reply
#8
(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.
  Reply
#9
(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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone + Keyboard for sale, little use ruemoo 4 374 10-28-2024, 08:37 PM
Last Post: AltonFox
  Modem Issues with the Pinephone Temmie19 2 237 10-16-2024, 07:54 AM
Last Post: Temmie19
  various tricks to open the pinephone shengchieh 3 1,315 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 2,007 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,563 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 902 03-21-2024, 08:52 AM
Last Post: unrznbl
  pinephone keyboard + dock question tuxcall 7 4,171 02-05-2024, 03:17 PM
Last Post: wigan
  Unsatisfactory GPS reception on PinePhone? LinAdmin2 53 65,606 12-17-2023, 11:42 AM
Last Post: robin.com.au
  PinePhone Pro not booting (Cap error!, pctl timeout) jealda 2 2,056 11-16-2023, 05:03 AM
Last Post: DrYak
  Pinephone frame damages Uturn 2 1,612 10-23-2023, 02:49 AM
Last Post: Uturn

Forum Jump:


Users browsing this thread: 1 Guest(s)