PINE64
Finally... The touchpad works great! - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Finally... The touchpad works great! (/showthread.php?tid=14531)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


Finally... The touchpad works great! - dsimic - 07-28-2021

Hello,

I'm feeling happy, excited, and a bit privileged Cool to announce the availability of the new vendor-provided touchpad firmware that fixes the issues we've all been experiencing with the Pinebook Pro touchpad.  One of the biggest issues was the initial lag upon finger movement, about which you can read more in this forum thread; it has been confirmed multiple times to be a touchpad issue and not a Linux issue.

Based on the testing already performed by a few community members, myself included, this firmware update makes the touchpad very responsive and there are no traces of the dreaded initial delay.  I've also performed tests using the evtest utility, to eliminate any subjectivity, and the measured latency stays around or below 10 ms...  The numbers don't lie. Smile  You can read more about the evtest results with the old firmware in the above-linked forum thread.

I've prepared an updated version of the keyboard and touchpad firmware update utility, which is available on GitHub.  Beside the updated touchpad firmware, my fork of the firmware updater brings other improvements, including improved feedback/status messages, improved handling of command-line arguments, added ability to cancel each update step, and improved documentation.

To update the firmware, just follow the instructions that are available on the GitHub page.  If you're a Manjaro ARM user, an updated package containing the new firmware updater utility will be available shortly (package pinebook-pro-keyboard-updater, version 0.0.3-1).  However, please note that updating the firmware carries a small risk of permanently disabling the trackpad and keyboard, effectively bricking them. Proceed at your own risk.

We already know that some Pinebook Pros came with the "lite" version of the keyboard controller IC, SH61F83, which is limited to a total of eight writes, according to the datasheet.  However, Pine64 has already contacted the keyboard manufacturer and they've assured Pine64 that SH61F83 is actually the same IC as the "full-fat" version, SH68F83, and that it supports many write cycles.  However, if your Pinebook Pro came with a SH61F83, I'd recommed that you wait until I verify those claims; my first-batch ISO Pinebook Pro came with the "lite" IC and I'll test it out by performing about 50 to 100 write cycles.

In addition to the updated firmware updater utility, I'm working on getting the firmware update available through fwupd, which is the industry standard for distributing firmware updates in Linux.  In the end, updating the keyboard and touchpad firmware through fwupd will be as easy as running a few commands, as described here, all that with no shutting down and powering up of your Pinebook Pro!  The fwupd process will leverage the ability to restart the keyboard controller IC by suspending the Pinebook Pro into the s2idle state and resuming it automatically a few seconds later.  Unfortunately, s2idle suspend currently doesn't work on the Pinebook Pro, at least not if an NVMe SSD is installed, so the suspend issue needs to be resolved first.

If you decide not to wait for fwupd to become available and instead you take the "old" way to update the touchpad firmware, please cast your vote in the posted poll, so we end up with some kind of a summary feedback.  Also, please feel free to ask questions or provide your detailed feedback.  Of course, I'll provide further updates as replies to this thread.


RE: Finally... The touchpad works great! - KC9UDX - 07-28-2021

Not a moment too soon for me!


RE: Finally... The touchpad works great! - mamboman777 - 07-28-2021

It worked it worked it worked! And...IT WORKS! Thank you for your work. Majorly improved performance!

BTW, great and easy to follow instructions on the git page. I'm no command line wizard and I found the process very attainable. Thanks again!


RE: Finally... The touchpad works great! - agurenko - 07-28-2021

The process went well and as advertised, thanks a lot for that. The feeling is definitely better and more responsive, two-finger scrolling works very consistent now, but for me three-finger tap is still hit or miss.


RE: Finally... The touchpad works great! - dsimic - 07-28-2021

I'm glad that it helped.

As a note, you may want to lower the acceleration settings for the touchpad after the firmware update, because you've probably configured a high value for that setting, in an attempt to make the touchpad work better with the old firmware.


RE: Finally... The touchpad works great! - brzegorz - 07-28-2021

Works great! Two caveats, though they're probably related with other software:
- two finger scrolling in Firefox is unproportionally fast
- Gnome gestures are unproportionally slow


RE: Finally... The touchpad works great! - fire219 - 07-28-2021

(07-28-2021, 12:59 PM)brzegorz Wrote: Works great! Two caveats, though they're probably related with other software:
- two finger scrolling in Firefox is unproportionally fast
- Gnome gestures are unproportionally slow

To me, that sounds like an acceleration issue. I'd play with that and related settings to see if it makes a difference.


RE: Finally... The touchpad works great! - dsimic - 07-28-2021

(07-28-2021, 12:59 PM)brzegorz Wrote: Two caveats, though they're probably related with other software:
- two finger scrolling in Firefox is unproportionally fast
- Gnome gestures are unproportionally slow

Making the firmware updates available through fwupd requires some patches to be applied, primarily to include usable firmware version in the keyboard firmware image, so I'll also include the fixes for the trackpad dimensions into those firmware patches.  That should improve the way touchpad works even further, because specifying custom EVDEV_ABS rules doesn't seem to work as expected, but I haven't debugged that further.

By the way, the eMMC modules we use also have updatable firmware. Smile


RE: Finally... The touchpad works great! - Damon - 07-28-2021

Seems like quite an improvement to me, but Ive noticed more accidental touches interpreted as clicks. I realize I can turn off touch-to-click, but it was manageable with the previous firmware which seemed to do it less than half as often.


RE: Finally... The touchpad works great! - kirfkin - 07-28-2021

Has anyone noted if this stops the random jumps (typically to the bottom left)? If so, it ends my last major frustration with the Pinebook Pro.