NetBSD and pinebook keyboard/trackpad firmware updater
#1
this post is to document the minor differences to run and
install the pinebookpro trackpad/keyboard firmware update
while running netbsd.

please see the original post for details about the issue:
  https://forum.pine64.org/announcements.php?aid=23


for me i had to do this beyond the normal instructions:

- install libusb1 from pkgsrc
- install vim-share from pkgsrc (this provides xxd)
- patch the Makefile to use these cflags:
      -I/usr/pkg/include -R/usr/pkg/lib -L/usr/pkg/lib
- use gmake not make

and i had to power-cycle between step-1 and step-2.
  Reply
#2
(01-07-2020, 02:47 AM)mrgtwentythree Wrote: this post is to document the minor differences to run and
install the pinebookpro trackpad/keyboard firmware update
while running netbsd.

please see the original post for details about the issue:
  https://forum.pine64.org/announcements.php?aid=23


for me i had to do this beyond the normal instructions:

- install libusb1 from pkgsrc
- install vim-share from pkgsrc (this provides xxd)
- patch the Makefile to use these cflags:
      -I/usr/pkg/include -R/usr/pkg/lib -L/usr/pkg/lib
- use gmake not make

and i had to power-cycle between step-1 and step-2.

Thanks for this. It's very helpful.
— Jeremiah Cornelius
"Be the first person not to do some­thing, that no one has thought of not doing before’’
— Brian Eno, "Oblique Strategies"
  Reply
#3
That link is dead.  I think this is the correct one:
https://forum.pine64.org/showthread.php?...are+update
  Reply
#4
(12-06-2020, 03:07 AM)KC9UDX Wrote: That link is dead.  I think this is the correct one:
https://forum.pine64.org/showthread.php?...are+update
that looks like the right one! thanks, and pity the old link is dead..
  Reply
#5
(01-19-2021, 03:29 PM)mrgtwentythree Wrote:
(12-06-2020, 03:07 AM)KC9UDX Wrote: That link is dead.  I think this is the correct one:
https://forum.pine64.org/showthread.php?...are+update
that looks like the right one! thanks, and pity the old link is dead..

People kept leaving "Press F to pay respects" comments on my "Shutting down NetBSD for the last time" video.  I finally looked that one up to see what it meant, and I guess it applies here.
  Reply
#6
OK, i finally installed the ANSI kbd into my original pbp, and i had a couple of new issues i had not previously mentioned.

the first one is that some of the timeouts are not long enough for netbsd. i had to patch usb_keyboard.c to change usleep(100*1000) to usleep(500*1000). this allows 'step-1' to complete the first time. without this, re-running 'step-1' works at this point.
i still have to power cycle, not just reboot, between 'step-1' and 'step-2'. (i power cycled after the first successful 'step-2', so perhaps that is also necessary, though i do not know for sure.)
the second new issue was i had to revert a change made shortly after my original post above. usb_touchpad.c had a loop iteration reduced from 20 to 3 (and also the check afterwards). to make step-2 work reliably, i had to revert this change (i suspect 8 would work, vs 20, but i did not test that.)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  NetBSD Der Geist der Maschine 76 53,025 05-16-2021, 02:43 PM
Last Post: mrgtwentythree
Question OpenBSD 6.7 on Pinebook Pro SKG 27 25,582 05-07-2021, 04:03 PM
Last Post: bigtreeman
Music NetBSD and USB "sound cards" KC9UDX 2 1,705 05-07-2021, 12:11 PM
Last Post: elimark1
  OpenBSD on the pinebook pro e-minguez 5 5,852 04-27-2021, 04:06 AM
Last Post: dreamer_
  PINEBOOK Pro USB-C Docking Deck on FreeBSD S199pWa1k9r 2 1,363 03-04-2021, 01:53 PM
Last Post: Arwen
Question Issues Installing NetBSD on a PineBook Pro ReleaseTheGeese 14 4,690 01-31-2021, 11:20 AM
Last Post: KC9UDX
  Trackpad Adjustments for Xorg ReleaseTheGeese 3 1,317 01-24-2021, 02:52 PM
Last Post: KC9UDX
  NetBSD -Current binaries BronzeBeard 8 3,785 12-31-2020, 08:38 PM
Last Post: BronzeBeard
Thumbs Up My NetBSD on Pinebook Pro journey KC9UDX 11 8,988 12-06-2020, 08:26 PM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)