Open agurenko opened 4 years ago
I've tried several reboots between attempts and kept getting same failure during step-2, however, when I've powered down the device and powered back on, then starting step-1, rebooting and running step-2 succeeded.
I'm facing the same issue, with ISO keyboard in my case. After running step 2 for the 1st time the touchpad stopped working. Running it again several times always gives a bunch of 'device not found' errors and ends in a segfault:
rock@Debian-Desktop:~/pinebook-pro-keyboard-updater$ ./updater step-2 iso
Running STEP-2...
[*] Flashing touchpad firmware...
[*] Opening in touchpad mode
>>> Trying to open VID:258a PID:001f...
>>> Device not found
>>> Trying to open VID:258a PID:000d...
>>> Device not found
>>> Trying to open VID:258a PID:001f...
>>> Device not found
>>> Trying to open VID:258a PID:000d...
>>> Device not found
>>> Trying to open VID:258a PID:001f...
>>> Device not found
>>> Trying to open VID:258a PID:000d...
>>> Device not found
Segmentation fault
(gdb) run step-2 iso
Starting program: /home/rock/pinebook-pro-keyboard-updater/updater step-2 iso
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Running STEP-2...
[*] Flashing touchpad firmware...
[*] Opening in touchpad mode
[New Thread 0xf7623460 (LWP 2623)]
>>> Trying to open VID:258a PID:001f...
>>> Device not found
>>> Trying to open VID:258a PID:000d...
>>> Device not found
>>> Trying to open VID:258a PID:001f...
>>> Device not found
>>> Trying to open VID:258a PID:000d...
>>> Device not found
>>> Trying to open VID:258a PID:001f...
>>> Device not found
>>> Trying to open VID:258a PID:000d...
>>> Device not found
Thread 1 "updater" received signal SIGSEGV, Segmentation fault.
0xf7793d8c in libusb_control_transfer ()
from /lib/arm-linux-gnueabihf/libusb-1.0.so.0
(gdb) backtrace
#0 0xf7793d8c in libusb_control_transfer () from /lib/arm-linux-gnueabihf/libusb-1.0.so.0
#1 0xaaaac4ba in touchpad_verify (type=242, pass=226, sendcmd=0) at usb_touchpad.c:63
#2 0xaaaac528 in try_touchpad_verify (type=242, pass=226, sendcmd=0) at usb_touchpad.c:84
#3 0xaaaac5f8 in write_tp_fw (fw=0xaaad86c8 <firmware_tpfw_bin> "\230\340\a\001", fw_length=24576) at usb_touchpad.c:127
#4 0xaaaaae2c in flash_tp () at updater.c:47
#5 0xaaaaaf7c in step_2 (ansi_type=0) at updater.c:116
#6 0xaaaab0ca in main (argc=3, argv=0xfffef364) at updater.c:151
~Same here. Things were working fine before. Then keyboard got scrambled and trackpad stopped working. I was able to login with a usb keyboard and run step 2. That restored proper layout, but trackpad was still not working. Now my pinebook pro won’t even turn on anymore. I guess it’s since the power button is part of the keyboard. I hope this update didn’t brick my machine 😭please help~
~(I installed the firmware updates from the manjaro pacman package. Could it be that it was not up to date?)~
~Is there a way to restore the old firmware? Any way to turn the pinebook pro on other than the power key on the keyboard?~
Power button is not. Is connected separately to soc
On Tue, 21 Jan 2020 at 07:59, Dorian Karter notifications@github.com wrote:
Same here. Things were working fine before. Then keyboard got scrambled and trackpad stopped working. I was able to login with a usb keyboard and run step 2. That restored proper layout, but trackpad was still not working. Now my pinebook pro won’t even turn on anymore. I guess it’s since the power button is part of the keyboard. I hope this updated didn’t totally brick my machine 😭please help
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ayufan-rock64/pinebook-pro-keyboard-updater/issues/13?email_source=notifications&email_token=AASOSQMUXNWFAGPPXORF57LQ62MNDA5CNFSM4KGPSMM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJOWBDI#issuecomment-576544909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQLG26J4LD4WSAFWMRLQ62MNDANCNFSM4KGPSMMQ .
Thanks @ayufan ! I'm not sure what happened but I left the machine charging overnight (despite it having plenty of juice before updating) and now it is turning back on and working fine 😅. That was scary.. but likely NOT due to the updater, but rather some other hardware issues I've experienced since getting the pinebook pro.
All functionality is restored for trackpad and keyboard! Thanks for your hard work on this!
The segfault seen in my earlier comment seems to be related to this PR. However, I am still stuck without touchpad with the updater reliably failing. Do you have any tip for me what else to do or at least how to return to old firmware and restore functionality of the touchpad?
For some reason the updater now finally succeeded - I have no idea why.
For some reason the updater now finally succeeded - I have no idea why.
I got this error and it was caused by me forgetting to run the script as root using sudo
I got the same error but I tried everything - ssh, tty from manjaro (emmc), debian (sdcard) no change. Slightest advice would be nice
Hi @ayufan is there any way to roll back the update?
I have just finished step-1 on my ANSI keyboard and it is now unusable - am I supposed to be able to plug a USB keyboard in, and be able to proceed from there?
As mentioned here I also got my Pinebook Pro ANSI today and tried to run firmware update that failed at step-2. I think it's better to track this issue separately here.