strange keyboard behaviour, is it faulty?
#8
It seems very strange that it would be the shift key for you both. That does sound like either a firmware issue or a hardware defect. Key defects tend to be more random... I suspect this is firmware. Really the greatest hint it's a firmware issue is that a reboot fixes it.

I'm looking at the latest keyboard firmware, make sure you flashed this one: https://github.com/jackhumbert/pinebook-...rd-updater

I was looking for the firmware to see if there was a quick hack I could implement to prevent it from sticking... Honestly, looking at some of the code, I wouldn't be surprised if it's a firmware issue: https://github.com/jackhumbert/pinebook-.../revised.c

I have absolutely no idea why they don't have access to the original source code, or why the community are the ones patching the factory's buggy binaries. The work they are doing is very good - but completely insane. If the factory are unwilling to fix their source code, they should release it.

Edit: Apparently the manufacturer went back on their word to open source the firmware, hence the hacky nature of it.

If they actually had the source code, there are some possibilities:

* There is some code-path where the shift key flag could be cleared but not sent to the main board. I guess this is unlikely as pressing the key again would clear the problem.
* The scanning of the key matrix is too long or too short.
* The key de-bounce is too long or too short.
* The firmware is carrying state incorrectly.

I would literally need to reverse engineer it myself (something I don't have time or resources for) in order to figure out what their patches even do and if it was the manufacturer or a code regression they introduced.

What a mess.

A hacky workaround might be to monitor for this scenario and use the reset_device() function to reset the keyboard: https://github.com/jackhumbert/pinebook-...ext.c#L119

Might even be able to bind it to shift+escape or something to reset the keyboard, so if your keyboard starts playing up you can just hit escape and it'll reset if shift is also being held down.


Messages In This Thread
RE: strange keyboard behaviour, is it faulty? - by barray - 09-01-2020, 05:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Revised Keyboard Firmware jackhumbert 73 130,961 09-13-2023, 03:43 AM
Last Post: k3dAR
  Hardware makes a strange pop noise. Gemeindepirat 7 3,031 08-12-2023, 01:59 AM
Last Post: User 27258
  Separate ISO keyboard for PBP Besouro 0 719 06-04-2023, 02:51 PM
Last Post: Besouro
Information Keyboard Duplicate Keypress Fix RjraymondDuplicate 0 1,124 02-17-2022, 11:52 PM
Last Post: RjraymondDuplicate
  keyboard and usb ports not working User 24565 3 2,711 02-15-2022, 10:12 AM
Last Post: wdt
  Replacing the Keyboard gabb 6 6,528 01-11-2022, 07:39 AM
Last Post: Valenoern
  power on PBP if your keyboard is dead? stozi 0 1,346 11-29-2021, 01:55 PM
Last Post: stozi
  Replacement scissor switches (ANSI keyboard)? zackw 3 3,871 08-09-2021, 09:20 PM
Last Post: tllim
  Some keyboard keys not working oddsocks 10 10,884 04-20-2021, 08:33 AM
Last Post: dsimic
  Spare parts / keyboard mbreese 2 4,263 01-07-2021, 07:40 AM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)