Keyboard case not charging (or not working) and a possible FIX for both
#1
Today I received my Pinephone keyboard case and after waiting for it to reach room temperature and then completely charge, I was ready to try it.
The first power up was a nice surprise: it worked perfectly fine with Mobian (on uSD). It also works with PostmarketOS (on eMMC). Great!
But it didn't charge the phone in either OS. Bummer!

To cut a long debugging story short, here's THE PROBLEM:
- the pogo pins on the Pinephone don't all make contact, hence the title.
Quality control on the Pinephone needs to be improved.
The DCIN pin in particular was responsible for not charging the phone.
See attached picture: 01_problem_pinephone_pogo_pins.jpg

THE FIX is to make all the pogo pins make contact.
In my case, just the DCIN pin since the I2C worked fine.
My solution was to use a copper tape which has adhesive (not conducting!) on one side.
However, a piece of aluminum foil/thin copper or other metal will work just as well.

THE EXPLANATION - a picture is worth a thousand words. Here's three more, in order as numbered:
02_explanation.jpg
03_fix_before_application.jpg
04_fix_applied.jpg

And just like that it worked! Charging the phone as intended.

Note #1:
Whatever you use, make sure you:
- fix the metal piece(s) in place firmly with some THIN tape
and
- make absolutely sure you don't short-circuit any pogo pins (with each other)
and
- make sure the fix parts don't touch any metal parts of the phone internals
Just cover any non-contact parts with THIN insulating tape.

Note #2:
An additional explanation for my fix:
The metal is longer in the bent over itself part do reduce the resistance of the metal piece itself.

Note #3:
The proper fix is twofold:
- Pine64 needs to improve the quality control for the Pinephones and make sure all the pogo pins are the same length once assembled
- the keyboard case contacts need to be shallower (less deep) to ensure differences in pogo pins length don't matter as much as now

I hope this helps more than one person with similar problems.

Now, to print some spacers as recommended in another thread and fix the first row of keys...


Updates
-------
In the end I added a plastic shim (0.37mm) under the POGO contact on the lid while still keeping the copper foil patch in place because I was losing keyboard functionality when the processor got hotter.  A slight press on the back of the screen brought it back for a short while (before shimming) and after shimming seemed to work fine w/o any need to do anything.  The shim raised the INT and DCIN pins primarily and all the others by a smaller amount.

It stopped working again once I started pushing the CPU AND at the same time increasing the charging current limit (from the case battery) to 1.5A.
This was done by writing 1500000 to
    /sys/class/power_supply/axp20x-usb/input_current_limit
as pointed out in a number of places, for example in this thread:
    https://forum.pine64.org/showthread.php?...881&page=2

I have a script which does this and it has to be done after the battery starts charging because the OS will reset the limit to 500mA.
- turn on the case battery and wait for charging indicator
- write the desired limit value
- print the actual value to verify it's still correct
Or just leave running the graphical OS utility which displays live charging info.

Continuing, it was the same behavior as before shimming so I supplemented the shim with a second piece of plastic (0.80mm) and this holds for now.  The original copper patch is still on but the POGO pin deformed it as expected so it's less effective.

For POGO pins shimming I just cut two small rectangles of ~1cm x 0.5cm and pushed them about 3mm under the base of the "U" shaped edge which surrounds the POGO pins piece of plastic on the kbd lid.  I inserted first the slim one then the thicker one by barely lifting the kbd plastic with a spudger (also plastic, but sharp).  This tool was inserted less than 1mm under the base of the "U".
See picture 04_fix_applied.jpg for the "U" I mention.

There is nothing special about the shims sizes or the shim pieces.
They're just solid plastic from product clamshells or any other throw-away packaging you might have around the house at any time.  Just insert the slimmest piece first and don't go too deep.
The technique is mentioned in some other thread I can't find now and also in the kbd troubleshooting table on this page:
    https://xnux.eu/pinephone-keyboard/faq.html


Top row shimming - as explained here:  "PinePhone keyboard number key row issue - solution" needs a safe method to pull the keys w/o damaging them or the silicone membrane below.

  I pulled the keys using a DIY ghetto key puller modeled after a full size key puller.  It's made of CAT3(phone) wire stripped of insulation and some heatshrink (optional).  Not the best material but it fits between keys.  Two loops of fishing line/nylon/thread would work just as well.
Hindsight: if you use wire, size it for the keys before twisting the wires together and make both loops the same size.

To use, slide one loop from the left, the other from the right completely under the key and pull straight up.
See picture: 05_key_puller.jpg

The key shims are a mix of 0.20mm and 0.15mm (I made a set of each) depending on how each key feels.


Attached Files Thumbnail(s)
                   
  Reply


Messages In This Thread
Keyboard case not charging (or not working) and a possible FIX for both - by pifou - 02-05-2022, 07:27 PM
A warning - by pifou - 02-15-2022, 03:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Case for Pinephone totilele 13 7,246 04-11-2024, 11:48 AM
Last Post: gramonyl
  Slip/Zippered Case for PP/KB? jakfish 0 281 03-03-2024, 04:55 PM
Last Post: jakfish
  keyboard case charging but not typing new2pinephone 18 5,782 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 8,538 01-14-2024, 03:34 PM
Last Post: acid andy
  I've added an I2C connector to the PP keyboard eugenr 0 424 11-26-2023, 07:24 AM
Last Post: eugenr
  Update the PinePhone keyboard driver to support missing characters? Peter Gamma 8 8,170 10-22-2023, 08:43 PM
Last Post: Peter Gamma
  key repeat with pinephone keyboard rotwang 0 451 10-22-2023, 03:39 PM
Last Post: rotwang
Exclamation USB mouse isn't working when a PP keyboard is attached? mikeb 3 1,232 10-21-2023, 08:21 PM
Last Post: Peter Gamma
  Pinephone with mini keyboard, trackpad and large power bank? Peter Gamma 0 515 10-21-2023, 07:50 AM
Last Post: Peter Gamma
  Which mini keyboard and mouse to choose for the PP? Peter Gamma 0 615 10-21-2023, 02:55 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)