Include operating system type to the firmware update log. Add a new tip to the firmware page.
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
|||||||
} from './constants';
|
} from './constants';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
|
import * as os from 'os';
|
||||||
import { UhkBlhost } from './uhk-blhost';
|
import { UhkBlhost } from './uhk-blhost';
|
||||||
import { UhkHidDevice } from './uhk-hid-device';
|
import { UhkHidDevice } from './uhk-hid-device';
|
||||||
import { snooze } from './util';
|
import { snooze } from './util';
|
||||||
@@ -29,6 +30,7 @@ export class UhkOperations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async updateRightFirmware(firmwarePath = this.getFirmwarePath()) {
|
public async updateRightFirmware(firmwarePath = this.getFirmwarePath()) {
|
||||||
|
this.logService.debug(`[UhkOperations] Operating system: ${os.platform()} ${os.type()} ${os.release()} ${os.arch()}`);
|
||||||
this.logService.debug('[UhkOperations] Start flashing right firmware');
|
this.logService.debug('[UhkOperations] Start flashing right firmware');
|
||||||
const prefix = [`--usb 0x1d50,0x${EnumerationNameToProductId.bootloader.toString(16)}`];
|
const prefix = [`--usb 0x1d50,0x${EnumerationNameToProductId.bootloader.toString(16)}`];
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
<li>Connect your UHK directly to the host computer. Don't use USB hubs or KVM switches.</li>
|
<li>Connect your UHK directly to the host computer. Don't use USB hubs or KVM switches.</li>
|
||||||
<li>Run Agent directly on the host operating system. Don't use VirtualBox or VMware Workstation.</li>
|
<li>Run Agent directly on the host operating system. Don't use VirtualBox or VMware Workstation.</li>
|
||||||
<li>Give a try to every USB port of your computer.</li>
|
<li>Give a try to every USB port of your computer.</li>
|
||||||
|
<li>Remove every other USB device from your computer.</li>
|
||||||
<li>If the left half becomes unresponsive after a failed update then retry and follow the instructions displayed during the update to fix it.</li>
|
<li>If the left half becomes unresponsive after a failed update then retry and follow the instructions displayed during the update to fix it.</li>
|
||||||
<li>If the above fails, retry a couple of times.</li>
|
<li>If the above fails, retry a couple of times.</li>
|
||||||
<li>If everything else fails, please add a new comment to <a class="link-github" (click)="openFirmwareGitHubIssuePage($event)">the GitHub issue</a>, and attach the update log.</li>
|
<li>If everything else fails, please add a new comment to <a class="link-github" (click)="openFirmwareGitHubIssuePage($event)">the GitHub issue</a>, and attach the update log.</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user