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
  2nd NetBSD boot goes dark donn 6 3,649 02-22-2024, 03:59 AM
Last Post: KC9UDX
  NetBSD 1.0 runs down battery donn 13 3,207 11-15-2023, 04:05 PM
Last Post: KC9UDX
  Booting NetBSD untitled 12 8,060 08-30-2022, 01:23 AM
Last Post: untitled
  NetBSD on the Pinebook Pro in August 2022 - or not? KC9UDX 6 4,894 08-24-2022, 01:49 AM
Last Post: KC9UDX
  NetBSD Der Geist der Maschine 76 121,782 05-16-2021, 02:43 PM
Last Post: mrgtwentythree
Question OpenBSD 6.7 on Pinebook Pro SKG 27 53,927 05-07-2021, 04:03 PM
Last Post: bigtreeman
Music NetBSD and USB "sound cards" KC9UDX 2 6,145 05-07-2021, 12:11 PM
Last Post: elimark1
  OpenBSD on the pinebook pro e-minguez 5 12,119 04-27-2021, 04:06 AM
Last Post: dreamer_
  PINEBOOK Pro USB-C Docking Deck on FreeBSD S199pWa1k9r 2 5,045 03-04-2021, 01:53 PM
Last Post: Arwen
Question Issues Installing NetBSD on a PineBook Pro ReleaseTheGeese 14 16,990 01-31-2021, 11:20 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 2 Guest(s)