Róbert Kiss
|
82c9126d82
|
refactor: use Buffer.from and Buffer.alloc instead of new Buffer() (#957)
|
2019-05-29 21:56:01 +02:00 |
|
László Monda
|
4dd2400d36
|
Add a 1s delay to updateDeviceFirmware()
|
2019-05-23 01:26:32 +02:00 |
|
László Monda
|
5657579d6d
|
Add a 1s delay to updateModuleFirmware()
|
2019-05-23 01:10:54 +02:00 |
|
László Monda
|
427f706287
|
Rename {left,right}Addon to {left,right}Module
|
2019-05-15 23:35:05 +02:00 |
|
László Monda
|
6e2b1fb18d
|
Add usbReportSemaphore to uhk.variableNametoId
|
2018-10-04 19:27:19 +02:00 |
|
László Monda
|
b82a1da92a
|
Remove usbVariables in favor of variableNameToId.
|
2018-07-25 11:44:57 +02:00 |
|
László Monda
|
b8859f7b64
|
Make {get,set}-variable.js expect variable name and use async/await.
|
2018-07-25 02:08:36 +02:00 |
|
Eric Tang
|
ac89aff018
|
Add scripts for getting/setting firmware variables (#734)
|
2018-07-22 16:07:21 +02:00 |
|
László Monda
|
55eef50da7
|
Add erase-hca.js
|
2018-05-19 20:05:41 +02:00 |
|
Róbert Kiss
|
653465f0e0
|
feat: device recovery mode (#642)
* add new page and ipc processing
* refactor: remove unused references from uhk.js
* feat: add device recovery route
* refactor: device permission
* feat: write firmware update log to the screen
* fix: xterm height
* feat: add reload button to the recovery page
* refactor: deviceConnectionState.hasPermission in appStartInfo
* refactor: use correct imports
* refactor: move .ok-button css class to the main style.scss
* feat: add bootload active route guard
* style: move RecoveryDeviceAction into new line
* feat: delete reload button
* feat: start device polling after device recovery
|
2018-05-19 17:22:46 +02:00 |
|
László Monda
|
eb97dd844f
|
Make the bootloader timeout of the reenumerate script specifiable.
|
2018-05-16 23:19:36 +02:00 |
|
Kristian Sloth Lauszus
|
04aa5236c2
|
The usage page and usage number was changed in 6f0b1adc14 (#630)
|
2018-05-06 21:38:40 +02:00 |
|
László Monda
|
0ca922d24a
|
Sleep 1s between sending reset and idle kboot commands. Hopefully this will always make the left half resume after firmware updates.
|
2018-04-03 00:49:51 +02:00 |
|
László Monda
|
a6f1aa15a5
|
Supply the correct configBufferId values to launchEepromTransfer() and get rid of the obsoleted eepromTransfer mapping.
|
2018-04-02 23:54:48 +02:00 |
|
László Monda
|
fc2d025cc4
|
Don't display the buffer related USB transfers of writeConfig() because they generate too much noise.
|
2018-04-02 23:32:13 +02:00 |
|
László Monda
|
8b5ae106bd
|
Display kboot command names instead of numberic ids.
|
2018-04-02 23:20:07 +02:00 |
|
László Monda
|
44639bbf53
|
Make apply-config.js and get-module-state.js use read() instead of readSync()
|
2018-04-02 22:56:28 +02:00 |
|
László Monda
|
9fcce9234a
|
Make getDeviceState await. Dump transfer descriptions before the actual transfers when the debug mode is on.
|
2018-04-02 21:35:47 +02:00 |
|
László Monda
|
1b15911783
|
Extract code to uhk.writeUca()
|
2018-04-02 17:31:27 +02:00 |
|
László Monda
|
148dd8d361
|
Rewrite writeHca() using the JavaScript USB API instead of TypeScript because the latter couldn't reopen the USB device.
|
2018-04-02 17:25:35 +02:00 |
|
László Monda
|
0d9ac50999
|
Move writeHca() to uhk.js
|
2018-04-02 14:47:48 +02:00 |
|
László Monda
|
bdd79a5a9a
|
Clean up writeConfig() a bit.
|
2018-04-02 14:32:45 +02:00 |
|
László Monda
|
fb4e05fdc4
|
Dump USB reads and writes via writeDevice()
|
2018-04-02 00:30:03 +02:00 |
|
László Monda
|
b9c32b46a9
|
Extract uhk.applyConfig() and uhk.launchEepromTransfer()
|
2018-04-01 23:55:40 +02:00 |
|
László Monda
|
f9b7260be6
|
Extract uhk.writeUserConfig()
|
2018-04-01 01:23:50 +02:00 |
|
László Monda
|
58178a5c7b
|
Extract uhk.updateFirmwares()
|
2018-03-31 23:50:02 +02:00 |
|
László Monda
|
0b420ff516
|
Extract uhk.switchKeymap()
|
2018-03-30 18:59:50 +02:00 |
|
László Monda
|
7656af76e4
|
Add switch-keymap.js
|
2018-03-30 12:48:28 +02:00 |
|
László Monda
|
8650fef7ae
|
Make reenumerate() more reliable.
|
2018-01-31 04:26:49 +01:00 |
|
László Monda
|
5c618869a2
|
Use updateDeviceFirmware(), reenumerate(), and updateModuleFirmware() in update-all-firmwares.js instead of forking processes.
|
2018-01-31 03:40:46 +01:00 |
|
László Monda
|
1b8d6949e0
|
Extract updateModuleFirmware() to uhk.js
|
2018-01-31 03:03:34 +01:00 |
|
László Monda
|
9589398834
|
Move waitForKbootIdle() to uhk.js
|
2018-01-31 02:25:37 +01:00 |
|
László Monda
|
df14e2d569
|
Extract uhk.jumpToModuleBootloader() and use it.
|
2018-01-31 01:17:28 +01:00 |
|
László Monda
|
482cff3d3b
|
Extract sendKbootCommandToModule() from send-kboot-command-to-module.js to uhk.js
|
2018-01-30 23:44:25 +01:00 |
|
László Monda
|
cac6fdc190
|
Move updateDeviceFirmware() from update-device-firmware.js to uhk.js
|
2018-01-30 21:48:42 +01:00 |
|
László Monda
|
0d9c976eb8
|
Move execRetry() from shared.js to uhk.js
|
2018-01-30 21:37:27 +01:00 |
|
László Monda
|
288d4f75b6
|
Move getBlhostCmd() from shared.js to uhk.js
|
2018-01-30 21:35:35 +01:00 |
|
László Monda
|
73e07eae2d
|
Move checkFirmwareImage() from shared.js to uhk.js
|
2018-01-30 21:28:00 +01:00 |
|
László Monda
|
8e620caac5
|
Use reenumerate() in update-device-firmware.js instead of forking reenumerate.js
|
2018-01-30 20:39:48 +01:00 |
|
László Monda
|
0d4e1acf76
|
Extract reenumerate() from reenumerate.js to uhk.js
|
2018-01-30 19:34:29 +01:00 |
|
László Monda
|
e0bb0bcca3
|
Add the async uhk.writeDevice() and use it in get-i2c-baud-rate.js
|
2018-01-30 17:21:50 +01:00 |
|
László Monda
|
2310320b8a
|
Replace pushUint32() with uint32ToArray() and don't use it where not needed.
|
2018-01-30 05:30:32 +01:00 |
|
László Monda
|
67346b4cda
|
Simplify getTransferData()
|
2018-01-30 05:10:29 +01:00 |
|
László Monda
|
c7baa00720
|
Add get-uptime.js
|
2018-01-14 18:33:14 +01:00 |
|
László Monda
|
5cdf2282f8
|
Add {get,set}-i2c-baud-rate.js
|
2018-01-14 18:15:50 +01:00 |
|
László Monda
|
89221faf60
|
Add set-i2c-baud-rate.js
|
2018-01-14 00:45:51 +01:00 |
|
László Monda
|
b6bdd1486c
|
Make update-module-firmware.js more robust and able to recover bricked modules (including the left half) by utilizing the newly added wait-for-kboot-idle.js
|
2018-01-10 03:15:19 +01:00 |
|
László Monda
|
4c10954721
|
Add script which reads I2C errors.
|
2018-01-05 03:26:26 +01:00 |
|
László Monda
|
216793bbb8
|
Add get-{left,right}-firmware-version.js
|
2017-12-29 13:34:49 +01:00 |
|
László Monda
|
e3c65f77df
|
Rename getProperty to getDeviceProperty and getModuleProperties to getModuleProperty.
|
2017-12-29 13:23:58 +01:00 |
|