PinePhone Keyboard Doesn't charge?
#22
(01-31-2022, 10:09 AM)grump_fiddle_reinstall Wrote: OK so if I understand correctly, the phone battery discharges as the connection between it and the keyboard battery is limited to 500 mA. So even though there is enough juice in the keyboard battery and the keyboard battery is connected to a mains charger the phone battery discharges.

It is not really the connection what limits the current (it is mostly depends on the width of PCB traces) but the USB specification itself.
For an USB 2.0 port, basically a device can draw up to 500 mA of current and not more (otherwise it may cause problems like blowing a fuse or overdrive PSU).

So this is where charging protocols may come up or at least charger should tell the phone somehow if it can provide higher current.

However, keyboard only has five connectors - SDA/SCL/VCC/GND/INT, so basically it can not communicate directly with charging controller.
So that is what can be overridden by the method above, but not for any power sources which can not provide this amount of current.

That means a real solution would be an automatism... I don't know what is the internal schematics of keyboard, so what information of its microcontroller has.
Ideally, it may has some information which may be communicated towards OS.
...or at least OS knows keyboard is attached and if it is, it may set higher current rate when current limit is set to 500 mA.

However, it is also an interesting question what happens if phone's own USB connector is powered but it depends on the circuit(s)... it may has to be handled somehow even if this scenario is not supported... (I hope internal PSU may not overrun this case).
  Reply


Messages In This Thread
RE: PinePhone Keyboard Doesn't charge? - by bcnaz - 01-28-2022, 07:26 PM
RE: PinePhone Keyboard Doesn't charge? - by bcnaz - 01-28-2022, 11:21 PM
RE: PinePhone Keyboard Doesn't charge? - by VaZso - 01-29-2022, 08:30 PM
RE: PinePhone Keyboard Doesn't charge? - by bcnaz - 01-29-2022, 11:07 PM
RE: PinePhone Keyboard Doesn't charge? - by bcnaz - 01-30-2022, 01:01 AM
RE: PinePhone Keyboard Doesn't charge? - by VaZso - 01-30-2022, 03:23 PM
RE: PinePhone Keyboard Doesn't charge? - by VaZso - 01-31-2022, 12:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Case for Pinephone totilele 13 7,840 04-11-2024, 11:48 AM
Last Post: gramonyl
  keyboard case charging but not typing new2pinephone 18 6,145 02-19-2024, 07:30 AM
Last Post: theResonant
  Keyboard doesn't charge my phone no matter what, so can I charge my phone directly ragreenburg 3 11,675 01-14-2024, 03:34 PM
Last Post: acid andy
  PinePhone Dock with laptop? Mikey1977Y2J 2 703 12-12-2023, 05:43 PM
Last Post: Mikey1977Y2J
  I've added an I2C connector to the PP keyboard eugenr 0 466 11-26-2023, 07:24 AM
Last Post: eugenr
  Update the PinePhone keyboard driver to support missing characters? Peter Gamma 8 8,358 10-22-2023, 08:43 PM
Last Post: Peter Gamma
  key repeat with pinephone keyboard rotwang 0 490 10-22-2023, 03:39 PM
Last Post: rotwang
Exclamation USB mouse isn't working when a PP keyboard is attached? mikeb 3 1,331 10-21-2023, 08:21 PM
Last Post: Peter Gamma
  Pinephone with mini keyboard, trackpad and large power bank? Peter Gamma 0 562 10-21-2023, 07:50 AM
Last Post: Peter Gamma
  Which mini keyboard and mouse to choose for the PP? Peter Gamma 0 659 10-21-2023, 02:55 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)