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
  keyboard case charging but not typing new2pinephone 19 10,066 02-14-2025, 04:09 PM
Last Post: zltpxqhp69o2
  Searching for a PinePhone Keyboard Case RubiksCube 1 1,427 10-07-2024, 11:08 PM
Last Post: tllim
  Seeking your experiences: PinePhone in snug cases of other phones mycycles 9 5,950 08-16-2024, 06:19 AM
Last Post: 67man
  So which keyboard you suggest for the Pinephone? Peter Gamma 21 6,428 07-19-2024, 08:05 AM
Last Post: Peter Gamma
  Rii mini 4 keyboard and touchpad work over Bluetooth Peter Gamma 0 604 07-19-2024, 08:02 AM
Last Post: Peter Gamma
  Keyboards for the PinePhone? Peter Gamma 1 1,623 07-04-2024, 10:22 PM
Last Post: Peter Gamma
  Bring the Pinephone keyboard back, it is worth it! Peter Gamma 1 1,194 07-04-2024, 07:32 AM
Last Post: Kevin Kofler
Heart The Pinephone keyboard offers alternative layouts Peter Gamma 0 432 07-04-2024, 05:40 AM
Last Post: Peter Gamma
  Keyboard & 2.4G usb dongle for the Pinephone? Peter Gamma 2 1,176 06-29-2024, 09:36 PM
Last Post: Peter Gamma
  Bluetooth keyboard with trackpad Zebulon Walton 11 12,226 06-29-2024, 04:09 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)