Preonic rev3 locks up after pushing raise/lower on Ubuntu?
It's weird. It works fine when it's plugged into my Mac, but when it's attached to my Ubuntu box the entire keyboard freezes up if I attempt to use anything on raise/lower... which makes it impossible to use any command requiring a "-". (I plugged it in to try and do a reboot, and I couldn't do a "shutdown -r". Really inconvenient.)
This is the first time I've used the keyboard since it arrived at the beginning of Feb. I tried re-flashing to the default layout, but that doesn't seem to do anything? I'm not even sure if the flash is actually working. The 'make preonic/rev3:default:dfu' returns without any success or error messages.
[ ~/work/qmk_firmware (master u=)$ make preonic/rev3:default
QMK Firmware 0.6.340
Making preonic/rev3 with keymap default
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Size before:
text data bss dec hex filename
0 49060 0 49060 bfa4 .build/preonic_rev3_default.hex
Compiling: tmk_core/common/command.c [OK]
Linking: .build/preonic_rev3_default.elf [OK]
Creating binary load file for flashing: .build/preonic_rev3_default.bin [OK]
Creating load file for flashing: .build/preonic_rev3_default.hex [OK]
Size after:
text data bss dec hex filename
0 49060 0 49060 bfa4 .build/preonic_rev3_default.hex
Copying preonic_rev3_default.bin to qmk_firmware folder [OK]
(Firmware size check does not yet support cortex-m4 microprocessors; skipping.)
[ ~/work/qmk_firmware (master u=)$ make preonic/rev3:default:dfu
QMK Firmware 0.6.340
Making preonic/rev3 with keymap default and target dfu
Posted Apr 29, 2019, 7:58 PM UTC
14
The command for flashing rev3 Preonics
make preonic/rev3:default:dfu-util(replacingplanck/rev6for an ARM Planck, and substituting keymap name instead ofdefaultfor a custom keymap), for the flash to work, your board needs to be in DFU mode (you can theRESETkeycode to reset your board with a keypress, or alternatively press the reset switch on the PCB or use Bootmagic when plugging the board in) for this to work, and on some Linux distros you might need to run the make command with superuser priviliges.Have absolutely no clue what could be causing the lock ups when activating layers, though.
Awesome — Switching to
dfu-utillet the flash go through, which also fixed the raise/lower issue.Awesome, glad to hear that!
Happens with Raspbian on my Pi3 but it’s worked with 19.04 so far just fine on my Thinkpad T430 and X280. I’m using a USB-C to USB-C cable with the X280.