keyboard case charging but not typing
#1
I loved the idea of the keyboard case, but can't get it to type. I have tried most suggestions in https://xnux.eu/pinephone-keyboard/faq.html
 
The fact that it charges the phone makes me believe that the pins are connecting, but there is no typing happening. 
I tried pressing a bit where the pins are, but no difference. Before I try raising the pins on the case, could there be other explanations?

I am running Manjaro KDE Plasma 5.22.4, which I believe should be compatible. If not, how do I get the driver?
I am an enthusiast but not a strong developer, so step-by step commands to use would be immensely appreciated.

Thanks in advance!
  Reply
#2
new2pinephone,
I am in the same situation as you've described. Did you find a solution? 
Any response is appreciated.
  Reply
#3
I am having the same issue I can’t remember which version of KDE but it did not work with it. I flashed my phone with mobian and it still does not work.
  Reply
#4
Same issue will charge but not type I ran both kde manjaro and mobian.
  Reply
#5
Same here. Mine also stopped registering keys, but charging works.

I think this problem appeared because I removed the keyboard while the phone was still turned on. I can't remember if the PPKB was connected to a charger when I removed it from the phone, but the phone was definitely on. Definitely a mistake.

Is there any way to see logs from the kernel driver?

I ran "dmesg | grep key" and found this:

Code:
[    0.689617] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[    1.088219] pinephone-keyboard 2-0015: Keyboard was not found on the I2C bus, maybe it's disconnected.
  Reply
#6
(01-02-2023, 11:07 AM)theResonant Wrote: Same here. Mine also stopped registering keys, but charging works.

I think this problem appeared because I removed the keyboard while the phone was still turned on. 
...

Probably not a good idea, but I doubt that was the cause.  I say that mostly because that's not something I did.  Mine just never worked.  I got the phone in October and tje keyboard a few weeks later.  It hasn't worked, yet.
  Reply
#7
Sometimes you have to shim the pins a bit, I just used a piece of folded paper & a dental pick to help slide it in; that has worked for close to a year./ Updates can break things too.

Also, kb151 needs to be loaded, here’s an old link for review :

https://forum.pine64.org/showthread.php?...ight=kb151

(The kbc is working with fine on Mobian with kernel 5.15-sunxi64)
Satisfied PinePhone, Pinebook Pro & PineTab2 owner; Thank you Pine64Team for your work!  Smile
  Reply
#8
@dachalife , I've noticed the suggestion to add a shim. The problem here is that the keyboard charges, but doesn't type. This suggests to me that a shim isn't necessary; the keyboard's making contact with the pogo pins because it's charging. Does that seem reasonable? What do you think? Seems as if the keyboard would be completely nonfunctional if wasn't properly contacting the pins?
  Reply
#9
Shimming made mine work more reliably, as I change cases & over time not all of the pins would make a connection.
Satisfied PinePhone, Pinebook Pro & PineTab2 owner; Thank you Pine64Team for your work!  Smile
  Reply
#10
(01-02-2023, 12:54 PM)dachalife Wrote: Sometimes you have to shim the pins a bit, I just used a piece of folded paper & a dental pick to help slide it in; that has worked for close to a year./ Updates can break things too.

Also, kb151 needs to be loaded, here’s an old link for review :

https://forum.pine64.org/showthread.php?...ight=kb151

(The kbc is working with fine on Mobian with kernel 5.15-sunxi64)

In my case, the keyboard always worked without raising the POGO pad. But I tried right now to add thick paper under the POGO pad, and unfortunately it didn't help. Tightening the screws of the phone frame didn't help either.

I'm on postmarketOS, which uses the `pinephone-keyboard` driver, already in the Linux kernel. It has worked great until a few days ago, when the keyboard stopped working all of a sudden. The phone had lost power completely, I tried to reboot (booted partially, keyboard working), then died again. I then detached the phone, charged it partially and next time I attached the keyboard case, it wasn't working anymore.

Now `dmesg | grep keyboard` only says this:
Code:
pinephone-keyboard 2-0015: Keyboard was not found on the I2C bus, maybe it's disconnected.

Leaving the keyboard to charge overnight didn't revive it. Of course, the phone is charged by the keyboard, and the button that turns charging on and off works well. The keys themselves however do nothing.

I'm now trying to make the phone discharge completely again (including the keyboard's battery), hoping to reset the internal MCU of the keyboard somehow.

Could you please show the output of `i2cdetect -l` on your phone?

On my phone, it says
Code:
i2c-0   unknown         mv64xxx_i2c adapter                     N/A
i2c-1   unknown         mv64xxx_i2c adapter                     N/A
i2c-2   unknown         mv64xxx_i2c adapter                     N/A
i2c-3   unknown         DesignWare HDMI                         N/A
i2c-4   unknown         i2c-csi                                 N/A
i2c-5   unknown         i2c-1-mux (chan_id 0)                   N/A
and I'm not sure if the keyboard is supposed to appear on this list or not.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slip/Zippered Case for PP/KB? jakfish 0 108 03-03-2024, 04:55 PM
Last Post: jakfish
  Keyboard doesn't charge my phone no matter what, so can I charge my phone directly ragreenburg 3 4,695 01-14-2024, 03:34 PM
Last Post: acid andy
  I've added an I2C connector to the PP keyboard eugenr 0 342 11-26-2023, 07:24 AM
Last Post: eugenr
  Case for Pinephone totilele 12 6,441 11-04-2023, 09:43 AM
Last Post: Negome
  Update the PinePhone keyboard driver to support missing characters? Peter Gamma 8 7,862 10-22-2023, 08:43 PM
Last Post: Peter Gamma
  key repeat with pinephone keyboard rotwang 0 375 10-22-2023, 03:39 PM
Last Post: rotwang
Exclamation USB mouse isn't working when a PP keyboard is attached? mikeb 3 1,081 10-21-2023, 08:21 PM
Last Post: Peter Gamma
  Pinephone with mini keyboard, trackpad and large power bank? Peter Gamma 0 431 10-21-2023, 07:50 AM
Last Post: Peter Gamma
  Which mini keyboard and mouse to choose for the PP? Peter Gamma 0 542 10-21-2023, 02:55 AM
Last Post: Peter Gamma
  Use the Linux Console with the PinePhone Keyboard mburns 2 878 10-20-2023, 04:11 PM
Last Post: mburns

Forum Jump:


Users browsing this thread: 1 Guest(s)