PINE64
USB current limit - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: USB current limit (/showthread.php?tid=10509)

Pages: 1 2


USB current limit - fernando_c_m - 07-01-2020

Hi,
is there any way to change the usb current limit?
it is currently set after apt-get upgrade to 0,5 A, which is not enough to charge the phone.
I used the same charging setup yesterday and the current limit was 1,5 A then.
Thanks


RE: USB current limit - fernando_c_m - 07-01-2020

After charging the battery using UT, now the current limit in Mobian is 1,5 A.
Let's see tomorrow. : )


RE: USB current limit - fernando_c_m - 07-02-2020

It is charging now with a current limit of 1,5A.
I don't understand what happened yesterday.
Maybe it is not a good idea making an upgrade while charging.


RE: USB current limit - bcnaz - 07-02-2020

Seems to randomly change ?

I have unplugged the charger when it was reading .5A  and when I plugged it back in,  then it was back at  1.5A  ?

Mobian O.S.   recent, but not latest nightly build.

             Huh


RE: USB current limit - devrtz - 07-02-2020

(07-02-2020, 02:39 AM)bcnaz Wrote: Seems to randomly change ?

I have unplugged the charger when it was reading .5A  and when I plugged it back in,  then it was back at  1.5A  ?

Mobian O.S.   recent, but not latest nightly build.

             Huh

I'm not entirely sure, but I would guess the charging current is being negotiated when the cable is plugged in.
I have noticed in the past, that the phone was charging with 3.0A when I started charging with the battery being pretty low.

If I unplug and plug the cable back in after some initial charging it "only" charges with 1.5A.
However I've never encountered 0.5A except when connected to my desktop machine (in which case 0.5A is to be expected afaik).


RE: USB current limit - HLing - 07-11-2020

Not sure if this belongs here, but I have had a sudden change in charging after I re installed. I was able to charge with those chargers that has USB Type C on both ends of the cable, but after I installed the latest nightly build, when i tried to charge with those types it is not detected as connected. Only when i used chargers that are USB A on one end and USB C into the phone will it charge. My power consumption is erratic, losing charge quite quickly. Is there something i can do?


RE: USB current limit - Kareema - 07-15-2020

(07-11-2020, 05:15 PM)HLing Wrote: Not sure if this belongs here, but I have had a sudden change in charging after I re installed.  I was able to charge with those chargers that has USB Type C  on both ends of the cable, but after I installed the latest nightly build, when i tried to charge with those types it is not detected as connected.  Only when i used chargers that are USB A on one end and USB C into the phone will it charge.  My power consumption is erratic, losing charge quite quickly.  Is there something i can do?

I can confirm this - this happened some days ago after an update. Charging with a USB-C/USB-C Charger doesn't work anymore, no problems with a USB-A/USB-C charger. Tested with different chargers of both types. Interesting...


RE: USB current limit - Alho - 07-16-2020

Most likely a new driver for controlling the USB port was added to your distro.
This exposes a hw fault on the phone, that need to be fixed, to make USB-C-C charging
Work correctly. There are details about the needed fixes on the wiki, and some info
About it in the lavest blog post.

Until then, use USB A-C cable, there are plenty of chargers, that can do 3A from a USB A port.


RE: USB current limit - a-wai - 07-17-2020

Charging still works fine for me, but I modded my HW, that may be why...

Try running the following command as root (not using sudo, you really need to log in as root) and reboot:
Code:
echo "blacklist anx7688" > /etc/modprobe.d/blacklist.conf



RE: USB current limit - HLing - 07-17-2020

(07-17-2020, 02:24 AM)a-wai Wrote: Charging still works fine for me, but I modded my HW, that may be why...

Try running the following command as root (not using sudo, you really need to log in as root) and reboot:
Code:
echo "blacklist anx7688" > /etc/modprobe.d/blacklist.conf
Thank you, a-wai! you're a genius! It worked!  (and I did not mod my HW. in fact i was also wondering if it was going to be impossible without modding the HW, until I remembered that up until recently I could charge using USB-c to USB-c). 

And this just for my education: When you said that one "really need to log in as root", I did and it worked.  Would it not have worked if I used sudo?  

Thank you again for all the brilliant work on Mobian!