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
  Searching for a PinePhone Keyboard Case RubiksCube 1 595 10-07-2024, 11:08 PM
Last Post: tllim
  Troubleshooting Pinedio LoRa Add-on Case nickp 2 645 09-29-2024, 09:17 PM
Last Post: lavabrilliant
  Getting started with fingerprint scanner case lolgzs 1 1,366 09-08-2024, 04:21 AM
Last Post: mfashby
  So which keyboard you suggest for the Pinephone? Peter Gamma 21 4,668 07-19-2024, 08:05 AM
Last Post: Peter Gamma
  Rii mini 4 keyboard and touchpad work over Bluetooth Peter Gamma 0 390 07-19-2024, 08:02 AM
Last Post: Peter Gamma
  Bring the Pinephone keyboard back, it is worth it! Peter Gamma 1 752 07-04-2024, 07:32 AM
Last Post: Kevin Kofler
Heart The Pinephone keyboard offers alternative layouts Peter Gamma 0 287 07-04-2024, 05:40 AM
Last Post: Peter Gamma
  Keyboard & 2.4G usb dongle for the Pinephone? Peter Gamma 2 902 06-29-2024, 09:36 PM
Last Post: Peter Gamma
  Bluetooth keyboard with trackpad Zebulon Walton 11 11,202 06-29-2024, 04:09 AM
Last Post: Peter Gamma
  Was someone able to use the Pinephone keyboard & an usb mouse at the same? Peter Gamma 4 2,287 06-26-2024, 07:11 AM
Last Post: dachalife

Forum Jump:


Users browsing this thread: 4 Guest(s)