PINE64
Pinebook Pro Revised Keyboard Firmware - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Pinebook Pro Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=116)
+--- Thread: Pinebook Pro Revised Keyboard Firmware (/showthread.php?tid=8884)

Pages: 1 2 3 4 5 6 7 8


RE: Pinebook Pro Revised Keyboard Firmware - User 11436 - 04-12-2020

Does anyone else still have issues with keyboard inputs registering as double-presses on occasion still? Despite the updates from Pine64 I still get issues. It's happened twice while writing this.


RE: Pinebook Pro Revised Keyboard Firmware - tsago - 04-12-2020

Hi there, don't wanna make a separate thread (yet), so I'll just ask here:
Is there any known fix for CTRL+SHIFT+TAB key combo not working? (note works with right-shift)
While not crucial, I rely on this heavily to skip around between tabs in Chromium, and it's super frustrating.

Also, @"Feakster" : Yup, I'm still getting occasional double keys.

I've just installed the newest Manjaro build, KDE variant, SD-to-eMMC installer, if anyone's wondering.


RE: Pinebook Pro Revised Keyboard Firmware - User 11436 - 04-13-2020

(04-12-2020, 01:48 PM)tsago Wrote: Hi there, don't wanna make a separate thread (yet), so I'll just ask here:
Is there any known fix for CTRL+SHIFT+TAB key combo not working? (note works with right-shift)
While not crucial, I rely on this heavily to skip around between tabs in Chromium, and it's super frustrating.

Also, @"Feakster" : Yup, I'm still getting occasional double keys.

I've just installed the newest Manjaro build, KDE variant, SD-to-eMMC installer, if anyone's wondering.

Glad it's not just me then. I'm using Manjaro KDE too, but need to reinstall, as the latest update had a lot of changes. Mildly irritating as I only just reinstalled it about a month ago.


RE: Pinebook Pro Revised Keyboard Firmware - Solra Bizna - 04-13-2020

I see double-presses, but pretty rarely, less than one in five hundred presses. My motor functions are noisy enough that I can't be sure it's not just me being too shaky and physically double-pressing the key.


RE: Pinebook Pro Revised Keyboard Firmware - Lucy - 04-13-2020

(01-22-2020, 03:18 PM)jackhumbert Wrote: Hey all! 

I've been digging into the keyboard firmware recently and trying to figure out how it all works, and luckily it's been pretty straight-forward 8051 assembly. I've started writing some pseudo-code to figure out the flow and data that's being read from the memory. From all that, it's been pretty easy to tackle some of the issues people have been reporting in the forums and Github, and I've put together a "revised" version of the binaries that contain some modifications that you might enjoy:
  • Corrected Fn+F9-12 keys for ANSI (ISO version didn't have this issue)
  • Arrow (and other) keys work with the Pine (GUI) key
  • NumLock is respected only in the Fn layer, i.e. NumLock can be left on all the time
  • Privacy switches now send keycodes when being enabled/disabled, for working into scripts/notifications:
Code:
F14: Microphone Enabled
F18: Microphone Disabled
F13: Wifi Enabled
F17: Wifi Disabled
F15: Camera Enabled
F19: Camera Disabled

Check out the fork of the updater with flashing instructions here!

2020-01-31 Update: You can make your own keymaps

I've converted the revised changes into C code that allows you to actually compile things, and combine the changes with the .hex file automatically - this means you can easily create your own keymap, compile (from your PBP) and flash it to your PBP's keyboard. Both default ANSI and ISO versions have been used by community members, but I think it needs more thorough testing before it's ready for production.

Check out all of the documentation for building your own keymaps here!

These changes also fix a bug with the F3 key, adds arbitrary file flashing to the updater, along with some other changes that are documented in the PR itself.

If you have any bug reports or suggestions for other features, feel free to open an issue/PR in the repo, or discuss things here!

Hello Mr. Hubert,

I spoke a month or more about the issues that I had after the initial update of my PineBook Pro. After my keyboard firmware update, keyboard (US) type out the wrong letters and some option to have full access t my keyboard didn't work at all. Thank you for any assistance you can give me. Lucy.


RE: Pinebook Pro Revised Keyboard Firmware - mil - 05-07-2020

@jackhumbert great work on this firmware - I'm also a fan of qmk too Angel

I'm curious if there's any way to bind the trackpad toggle (e.g. normally Fn+F7) to use a single key. E.g. I rarely use the right alt key so I want to bind that key (single press / no modifiers) to just toggle the trackpad.

I tried a few different things like using `R(MS_ACCEL1)` and also alternatively swapping reg_specials
[5] = REG_FN(KC_F7, 0xFE) // toggle touchpad
to be
[5] = REG_FN(0xFE, 0xFE) // toggle touchpad

and then using FS(5) in place of the right Alt key. But neither of these approaches worked.



Is there something simple I'm missing?


RE: Pinebook Pro Revised Keyboard Firmware - fxk8y - 06-22-2020

Is there any possibility to enable LCTRL+LSHIFT+TAB and FN+RSHIFT+BACKSPACE (delete things in KDE)?
3 keys in general seem to work fine, like LCTRL+LSHIFT+T. Or maybe tab / backspace are wired differently? Don't know that much about keyboards


RE: Pinebook Pro Revised Keyboard Firmware - rimaille - 07-18-2020

Thanks a lot Jack Imbert for your hard work, using it for a week on my ANSI kbd, and it's really great to recover alt + arrows key combination working. Nice job !


RE: Pinebook Pro Revised Keyboard Firmware - as400 - 07-29-2020

Thanks a ton Jack Smile


RE: Pinebook Pro Revised Keyboard Firmware - wrzomar - 10-15-2020

Is there a way to make Fn+F3 do what is suggested by its icon? I think it should send KEY_SWITCHVIDEOMODE defined in /usr/include/linux/input-event-codes.h file, but I can't find anything similar in include/keycodes.h.

EDIT:
OK, I 've figured it out. First I've changed keyboard firmware so it would send F15 when Fn+F3 is pressed, it will send 6a, then I've created file /etc/udev/hwdb.d/90-usb-kbd-custom.hwdb with contents:
Code:
evdev:input:b0003v258Ap001E*
  KEYBOARD_KEY_7006a=switchvideomode
It will translate F15 to KEY_SWITCHVIDEOMODE (but first I had to run: sudo systemd-hwdb update).
Now Fn+F3 works like Meta+P (in KDE).
I've tried with 0xBF because it was not used, but it was not send, either.