pinebook-pro-keyboard-updater icon indicating copy to clipboard operation
pinebook-pro-keyboard-updater copied to clipboard

Step-2 fails on ISO device with Verify mismatch

Open clouddistortion opened this issue 5 years ago • 6 comments

Hi @jackhumbert

sorry that I am reposting this here but I haven't got any feedback for my broken touchpad in the other forums/github projects. I am looking for a way on somehow getting my touchpad back working again. Even resetting to factory firmware would be a better option than having no touchpad at all.

I got an ISO device running Manjaro 20.x. Unfortunately running step-2 resolves in the following errors:

  • Touchpad isn't working anymore
  • Keyboard works but not the special keys like dim or sound

Step-2

[kevin@pine 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...
>>> Verify mismatch: type=f2, pass=e2, received=d2
>>> Verify mismatch: type=f2, pass=e2, received=d2
>>> Verify mismatch: type=f2, pass=e2, received=d2
...
>>> Touchpad verify (type=242, pass=226) data failed
>>> Touchpad erase failed
>>> release interface

Same error was reported on: https://forum.pine64.org/showthread.php?tid=8875 but no solution worked for me so far.

Step 1 log

Running STEP-1...
[*] Flashing keyboard updater 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...
>>> Kernel Driver Active
[*] 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...
>>> 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`.

Step 2 log

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

Another weird thing is, that I got a high pitch sound now all the time (started in the middle of step-1). If I execute step-1 again it disappears shortly. These are the things I tried:

  • waiting for boot to finish
  • switch to tty2 (no gui login before that)
  • sudo ./updater step-1 iso in tty2
  • reboot
  • sudo ./updater step-2 iso in tty2
  • tried debian from sdcard/manjaro from emmc

clouddistortion avatar Mar 20 '20 05:03 clouddistortion

I had the exact same problem on Manjaro i3 20.04, Pinebook Pro iso. What worked for me was to run step 2 in the tty (Ctrl+Alt+F4 after login). Strange that it didn't work for you!

Trisk3lion avatar Apr 20 '20 10:04 Trisk3lion

I know it's terrible but since I tried everything else it was my last resort see: https://github.com/ayufan-rock64/pinebook-pro-keyboard-updater/issues/19#issuecomment-602084548

clouddistortion avatar May 03 '20 15:05 clouddistortion

I have this issue as well, running NixOS and have tried on Manjaro/default Debian build. Trackpad is gone on all of them and I had the same error as above. The fix mentioned above did not work for me either.

tgunnoe avatar Aug 12 '20 13:08 tgunnoe

Nevermind. The trackpad was unplugged.

tgunnoe avatar Aug 12 '20 15:08 tgunnoe

Hit by the same problem. Shutting down instead of rebooting fixed it!

Ecco avatar Sep 23 '20 22:09 Ecco

I had the same problem on my early 2020 ISO model. Just as @Ecco suggested, the solution was to POWER OFF instead of rebooting between steps.

stolendata avatar Nov 29 '20 01:11 stolendata