Pinebook Pro Revised Keyboard Firmware
#41
(02-13-2020, 10:03 PM)ab1jx Wrote: 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.

< SNIP >
Does this work equally in Wayland, or is it exclusive to X-Sessions?
— 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
#42
Hi @jackhumbert 


I tried to update my ISO keyboard with @ayufan updater and experienced the following error https://github.com/ayufan-rock64/pineboo.../issues/19

The error occurs during Step-2. I tried it on Debian via sdcard and via emmc on manjaro 20. The same error occurs with your updater>

Code:
Running STEP-2...
[*] Flashing touchpad firmware...
[*] Opening in touchpad mode
>>> Trying to open VID:258a PID:001f...
>>> Kernel Driver Active
>>> Verify mismatch: type=f2, pass=e2, received=d2
[repeated ...]
>>> Verify mismatch: type=f2, pass=e2, received=d2
>>> Touchpad verify (type=242, pass=226) data failed
>>> Touchpad erase failed
>>> release interface
[*]

I would really appreciate any help since I tried every suggestions documented in the other threads in this forum. I guess when you test any new releases you got a rollback scenario how to patch in the old firmware.

Appreciate any help
  Reply
#43
Did you restart at step 1?
  Reply
#44
(03-18-2020, 01:13 PM)xmixahlx Wrote: Did you restart at step 1?

Yes, I tried:

- to do everything via ssh, tty, gui shell
- reboot after step-1
- reboot with complete shutdown for a couple of minutes
- with/without attached usb keyboard
- with/without attached usb mouse
- on debian via sdcard
- on manjaro 20 on emmc
- multiple times

Regards for your reply
  Reply
#45
I'm also having the same issue as Cloudnaut, having tried all the same steps.
  Reply
#46
>- reboot with complete shutdown for a couple of minutes
Question,, is this the shutdown from HOLDING pwr button for 15+ seconds? (for me, 20+sec),
for a COMPLETE shutdown?
Did you avoid starting X, at dm (sddm, ldm,whatever) DON'T login, switch to vt and login root?
You could try single mode, add "1" (no quotes) to kernel cmd line in extlinux.conf,
if successful login will be text mode in vt1
(if boot.txt/boot.scr need to recompile scr, with uEnv maybe just in that)
  Reply
#47
(03-20-2020, 01:21 PM)wdt Wrote: >- reboot with complete shutdown for a couple of minutes
Question,, is this the shutdown from HOLDING pwr button for 15+ seconds? (for me, 20+sec),
for a COMPLETE shutdown?
Did you avoid starting  X, at dm (sddm, ldm,whatever) DON'T login, switch to vt and login root?
You could try single mode, add "1" (no quotes) to kernel cmd line in extlinux.conf,
if successful login will be text mode in vt1
(if boot.txt/boot.scr need to recompile scr, with uEnv maybe just in that)

ok, tried that:

Code:
systemctl disable lightdm # so do dm was running anymore after boot
  • as you said, after a shutdown I held the POWER Button 20 seconds
  • executed step-2 after reboot and then I got a segmentation fault
  • Then I started from the beginning again with step-1 a couple of times but now after step-2 the verify mismatch error occurs again
I didn't manage to start in single mode, I added the 1 to the /sbin/init 1 command but then on boot I only got a black screen
  Reply
#48
Please have a look at https://github.com/ayufan-rock64/pineboo.../issues/19 how I got it working again (dirty but for me this was a last resort)
  Reply
#49
Hi!

I was trying to to flash my trackpad&keyboard firmware from Manjaro ARM 20.04 and messed up my trackpad.
Compiling was effortless, and ran without errors. However flashing went wrong:

Code:
peter@pipro pinebook-pro-keyboard-updater]$ sudo ./updater step-1 iso
[sudo] password for peter:
Running STEP-1...
[*] Flashing keyboard updater firmware...
>>> Fix hex file
[*] Opening in user mode...
>>> Trying to open VID:258a PID:001e...
[*] Sending command to switch to boot mode...
[*] Command send
>>> release interface
[*] Opening in boot mode
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Kernel Driver Active
[*] Erasing flash
[*] Writing firmware...
>>> USB: write_block_start (length=14336)
>>> USB: write_block (offset=0, length=2048)
>>> USB: write_block (offset=2048, length=2048)
>>> USB: write_block (offset=4096, length=2048)
>>> USB: write_block (offset=6144, length=2048)
>>> USB: write_block (offset=8192, length=2048)
>>> USB: write_block (offset=10240, length=2048)
>>> USB: write_block (offset=12288, length=2048)
>>> USB: write_block_start (length=14336)
>>> USB: write_block (offset=0, length=2048)
[*] Reading back firmware...
>>> USB: read_block_start (length=14336)
>>> USB: read_block (offset=0, length=2048)
>>> USB: read_block (offset=2048, length=2048)
>>> USB: read_block (offset=4096, length=2048)
>>> USB: read_block (offset=6144, length=2048)
>>> USB: read_block (offset=8192, length=2048)
>>> USB: read_block (offset=10240, length=2048)
>>> USB: read_block (offset=12288, length=2048)
[*] Comparing firmwares...
[*] Reseting device?
[*] Finished succesfully!
>>> release interface
[*] Please reboot now, and run `step-2`.
[*]

I have rebooted, then continued step-2:


Code:
[peter@pipro pinebook-pro-keyboard-updater]$ sudo ./updater step-2 iso
Running STEP-2...
[*] Flashing touchpad firmware...
[*] Opening in touchpad mode
>>> Trying to open VID:258a PID:001f...
>>> Kernel Driver Active
>>> Writing offset:0 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:1024 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:2048 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:3072 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:4096 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:5120 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:6144 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:7168 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:8192 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:9216 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:10240 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:11264 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:12288 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:13312 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:14336 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:15360 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:16384 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:17408 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:18432 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:19456 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:20480 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:21504 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:22528 length:1024...
>>> Verifying '1k-data'...
>>> Writing offset:23552 length:1024...
>>> Verifying '1k-data'...
[*] Verifying 'end-program'...
[*] Verifying 'checksum'...
>>> Verify mismatch: type=f5, pass=e5, received=d5
[*] Verifying 'program'...
[*] Finished succesfully!
>>> release interface
[*] Flashing ISO keyboard firmware...
>>> Fix hex file
[*] Opening in user mode...
>>> Trying to open VID:258a PID:001e...
>>> Device not found
>>> Trying to open VID:258a PID:001f...
[*] Sending command to switch to boot mode...
[*] Command send
>>> release interface
[*] Opening in boot mode
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Kernel Driver Active
[*] Erasing flash
[*] Writing firmware...
>>> USB: write_block_start (length=14336)
>>> USB: write_block (offset=0, length=2048)
>>> USB: write_block (offset=2048, length=2048)
>>> USB: write_block (offset=4096, length=2048)
>>> USB: write_block (offset=6144, length=2048)
>>> USB: write_block (offset=8192, length=2048)
>>> USB: write_block (offset=10240, length=2048)
>>> USB: write_block (offset=12288, length=2048)
>>> USB: write_block_start (length=14336)
>>> USB: write_block (offset=0, length=2048)
[*] Reading back firmware...
>>> USB: read_block_start (length=14336)
>>> USB: read_block (offset=0, length=2048)
>>> USB: read_block (offset=2048, length=2048)
>>> USB: read_block (offset=4096, length=2048)
>>> USB: read_block (offset=6144, length=2048)
>>> USB: read_block (offset=8192, length=2048)
>>> USB: read_block (offset=10240, length=2048)
>>> USB: read_block (offset=12288, length=2048)
[*] Comparing firmwares...
[*] Reseting device?
[*] Finished succesfully!
>>> release interface
[*] All done! Your keyboard and touchpad should be updated.
[*]

[*]

I have rebooted, but the trackpad is gone! At least the keyboard works...
I tried to reboot  & redoo both steps, recompile with disabled error checking (from the previous posts, editing the sources).
This was my second attempt, previously I did successfully update the trackpad firmware but from the raspbian image.

I'm quite unsure what else could I do, so I would really appreciate any ideas!

BR

Woland
  Reply
#50
Try flashing with a mrfixit boot?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineBook Pro revision 2.2: Wishlist for the hardware issue fixes dsimic 62 15,326 06-12-2021, 04:05 AM
Last Post: KC9UDX
  Replacing the Keyboard gabb 3 128 06-11-2021, 02:50 AM
Last Post: dsimic
  Touchpad notchy on new 2021 pinebook pro Neilcob 18 1,043 06-11-2021, 02:48 AM
Last Post: dsimic
  Pinebook Pro Docking Deck Ethernet Port MickTheGeek 0 145 05-23-2021, 03:24 AM
Last Post: MickTheGeek
  pinebook pro trackpad randomly stops working chewie 3 343 05-08-2021, 06:53 AM
Last Post: KC9UDX
  Some keyboard keys not working oddsocks 10 1,114 04-20-2021, 08:33 AM
Last Post: dsimic
Question Disassembling PineBook Pro Docking Deck (due to disappeared microSD card) gritibaenz 4 1,201 04-02-2021, 06:45 PM
Last Post: tkudog
  Microphone not working on Pinebook Pro vfr400racer 2 853 03-21-2021, 02:56 AM
Last Post: vfr400racer
Photo PineBook Docking Deck charging port? ColoBill 3 1,251 02-26-2021, 10:07 PM
Last Post: Paull
  Anyone have a microphone working on a Pinebook Pro? Rachel Stone 5 1,267 02-20-2021, 05:21 AM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)