Pinebook Pro Revised Keyboard Firmware
#31
@jackhumbert I think @[email protected] was looking to add the Dvorak on ANSI PBP mapping to your respository, for others to use. Then a user simply selects the key mapping they want. (I want the control key in the correct place, Unix style :-).
--
Arwen Evenstar
Princess of Rivendale
  Reply
#32
(02-04-2020, 07:07 AM)Arwen Wrote: @jackhumbert I think @[email protected] was looking to add the Dvorak on ANSI PBP mapping to your respository, for others to use. Then a user simply selects the key mapping they want. (I want the control key in the correct place, Unix style :-).

Yeah! I went ahead and added that keymap along with the hex Smile if anyone else wants to add keymaps to the repo, you can fork the repo via Github, then clone that instead of mine:

Code:
git clone [email protected]:<your_username>/pinebook-pro-keyboard-updater.git

Which will allow you to commit and push your changes to your fork, then create a pull request to my repo.
  Reply
#33
I usually use Thinkpads which have the Fn key to the very left. Is it possible to switch the Fn and the left Ctrl key using this firmware?
  Reply
#34
(02-04-2020, 04:39 PM)radio_listener Wrote: I usually use Thinkpads which have the Fn key to the very left. Is it possible to switch the Fn and the left Ctrl key using this firmware?

Yeap! You can just swap the first two items on this line: https://github.com/jackhumbert/pinebook-...ansi.c#L30
  Reply
#35
(02-04-2020, 07:53 AM)jackhumbert Wrote:
(02-04-2020, 07:07 AM)Arwen Wrote: @jackhumbert I think @[email protected] was looking to add the Dvorak on ANSI PBP mapping to your respository, for others to use. Then a user simply selects the key mapping they want. (I want the control key in the correct place, Unix style :-).

Yeah! I went ahead and added that keymap along with the hex Smile

Thank you!

And thanks for the explanation of the proper way to do it.

My enter key double-taps rather frequently -- is it possible to adjust the debounce filtering?  The current firmware does it less often.

Has anything been done with the touchpad?

It went from "tap to click works, but it loves to put my terminals in read-only mode while I'm typing" to "click-to-click, but much better palm rejection" and I don't know if it's a firmware or OS change yet.
  Reply
#36
(02-05-2020, 01:18 AM)[email protected] Wrote:
(02-04-2020, 07:53 AM)jackhumbert Wrote:
(02-04-2020, 07:07 AM)Arwen Wrote: @jackhumbert I think @[email protected] was looking to add the Dvorak on ANSI PBP mapping to your respository, for others to use. Then a user simply selects the key mapping they want. (I want the control key in the correct place, Unix style :-).

Yeah! I went ahead and added that keymap along with the hex Smile

Thank you!

And thanks for the explanation of the proper way to do it.

My enter key double-taps rather frequently -- is it possible to adjust the debounce filtering?  The current firmware does it less often.

Has anything been done with the touchpad?

It went from "tap to click works, but it loves to put my terminals in read-only mode while I'm typing" to "click-to-click, but much better palm rejection" and I don't know if it's a firmware or OS change yet.

I haven't looked into the debouncing stuff much yet, but it might be possible to adjust something there - I didn't mess with that in the updated firmware Smile

I don't think much customisation of the trackpad is possible from the firmware at this point, but I and others have had luck with modifying some of the settings in the OS for that: https://wiki.pine64.org/index.php/Pinebo...pad_tuning
  Reply
#37
I tamed my touchpad by making it generic.  All I ever wanted was a touchpad like from 10 years ago: X & Y movement, 2 buttons, scroll wheel emulation.  The PBP touchpad by default is trying to be a "clickpad" (google it), it has "gestures" which would be more appropriate on a touchscreen.  I use the libinput driver and only the libinput driver.  I'm not sure how libinput got there, I don't remember if I installed it or not.  Remove or disable by renaming to not have a .conf extension (like .off ?) your synaptics and mtrack files in /usr/share/X11/xorg.conf.d.  synclient won't work anymore.  Use a libinput xorg.conf snippet like this:
Code:
# Basic libinput file, disable 50-mtrack.conf and 70-synaptics.conf
# You can do this by renaming them to not have .conf extensions

# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
       Identifier "libinput pointer catchall"
       MatchIsPointer "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

Section "InputClass"
       Identifier "libinput keyboard catchall"
       MatchIsKeyboard "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

Section "InputClass"
       Identifier "libinput touchpad catchall"
       MatchIsTouchpad "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
# This is the only "fancy" feature I have enabled: the right side of the
# touchpad emulates a scroll wheel on a mouse, press hard, move up and down.
Option "ScrollMethod" "edge"
EndSection

# Don't want this
Section "InputClass"
       Identifier "libinput touchscreen catchall"
       MatchIsTouchscreen "off"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

# Don't want this
Section "InputClass"
       Identifier "libinput tablet catchall"
       MatchIsTablet "off"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
EndSection

After a reboot you won't have the Synaptics driver loaded anymore, you don't need it for basic stuff.  The file /var/log/Xorg.0.log should be your feedback.

Tap to click defaults to off, see the libinput man page to turn it on.  It's just another option line, probably the same place where ScrollMethod is.  You'll need to add it if you want it.  There's also tap-and-drag but you need tapping enabled to use it.

For libinput what I see installed is libinput-bin, libinput10, xserver-xorg-input-libinput.  After 24 hours it's still working fine, just a nice normal touchpad.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Pinebook Pro won't turn on codebreaker 34 1,711 02-18-2020, 08:43 PM
Last Post: Frobozz
Exclamation Pinebook Pro Screw Sizes??? TDC_PBP 10 286 02-09-2020, 01:41 PM
Last Post: wdt
Exclamation Firmware/Keyboard Failure on ANSI PBP Jeremiah Cornelius 1 112 02-08-2020, 06:59 PM
Last Post: bcnaz
  Pinebook Pro replacement keyboards/parts bcnaz 12 864 01-25-2020, 11:04 PM
Last Post: bcnaz
Information A more balanced Pinebook Pro clover 4 409 01-25-2020, 05:33 PM
Last Post: clover
  Pinebook Pro - No Audio bebop_man 11 1,061 01-22-2020, 01:03 AM
Last Post: sendas
  Pinebook Pro Accessories Ordering - Shipping appdev46 0 140 01-17-2020, 05:37 PM
Last Post: appdev46
  Touchpad, Keyboard, I2C oh my. resistanceisfutile 11 565 01-16-2020, 12:16 PM
Last Post: resistanceisfutile
  ANSI PBP Keyboard Mapping for Tilde character appdev46 3 158 01-15-2020, 05:33 AM
Last Post: bcnaz
  Keyboard keys rearrangable? the7thstranger 6 259 01-14-2020, 09:30 AM
Last Post: jackhumbert

Forum Jump:


Users browsing this thread: 1 Guest(s)