-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't downgrade earlier than 11.0 #2361
Comments
Please downgrade Agent before downgrading your firmware. Look for the Agent version, which contains the desired firmware version bundled. See https://github.com/UltimateHackingKeyboard/agent/releases I'm closing this issue, but feel free to follow up. |
@ert78gb Please help with this issue. |
@yigitkonur As it turns out, your use case is unsupported, but there's a way. While running the old Agent version, short the reset pads and click on the Fix Device button in Agent, which will flash the old firmware version bundled with the old Agent version. You'll have to reset and recreate your configuration afterward. |
Thanks for workaround! I dont have enough equipments to do it for now but will appreciate if Robert (@ert78gb) can push an update on agents to allow new agents to downgrade on new configs. |
You only need a screwdriver and a wire to short the pads. Nobody else has requested this feature so I'm not sure we'll implement it. |
I'm using the latest Agent but need to downgrade earlier firmwares for compability with BT-500 but cant downgrade anything earlier than 11.0 - is there any workaround?
Here is the logs:
Start flashing firmware
[DeviceService] Operating system: Darwin 24.1.0 arm64
[DeviceService] Agent version: 4.2.1
[DeviceService] New firmware version: 10.6.0
[DeviceService] New firmware user config version: 6.0.0
[DeviceService] stop poll UHK Device
[DeviceService] stopped poll UHK Device
[DeviceOperation] right module deviceProtocolVersion: 4.10.0
[DeviceOperation] Read "leftHalf" version information
[DeviceOperation] Read "leftHalf" repo information
[DeviceOperation] Read "leftHalf" firmware checksum
[DeviceService] UHK Device firmware upgrade starts: {"id":2,"name":"UHK 60 v2","vendorId":"0x1D50","keyboardPid":"0x6124","bootloaderPid":"0x6123","buspalPid":"0x6121"}
[DeviceService] Device right firmware version: 10.4.0
[UhkOperations] Start flashing right firmware
[UhkOperations] Reenumerate bootloader
[UhkHidDevice] Start reenumeration, mode: Bootloader, timeout: 5000ms
[UhkHidDevice] Could not find reenumerated device: Bootloader. Waiting...
[UhkHidDevice] Available devices changed.
[UhkHidDevice] Removed: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263034","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":0,"usagePage":65280,"usage":1}
[UhkHidDevice] Removed: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263035","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":2,"usagePage":12,"usage":1}
[UhkHidDevice] Removed: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263042","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":3,"usagePage":1,"usage":128}
[UhkHidDevice] Removed: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263038","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":1,"usagePage":1,"usage":6}
[UhkHidDevice] Removed: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263044","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":4,"usagePage":1,"usage":2}
[UhkHidDevice] Reenumerating devices
[UhkHidDevice] Device communication closing.
[UhkHidDevice] Device communication closed.
[UhkOperations] Waiting for bootloader
[UhkOperations] Flash security disable
[UhkOperations] Flash erase region
[UhkOperations] Read RIGHT firmware from file
[UhkOperations] Write memory
[UhkOperations] Reset bootloader
[UhkOperations] Close communication channels
[UhkOperations] Right firmware successfully flashed
[DeviceService] Waiting for keyboard
[UhkHidDevice] Available devices changed.
[UhkHidDevice] Added: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263211","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":2,"usagePage":12,"usage":1}
[UhkHidDevice] Added: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263201","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":3,"usagePage":1,"usage":128}
[UhkHidDevice] Added: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263203","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":0,"usagePage":65280,"usage":1}
[UhkHidDevice] Added: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263205","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":1,"usagePage":1,"usage":6}
[UhkHidDevice] Used device: {"vendorId":"0x1D50","productId":"0x6124","path":"DevSrvsID:4295263203","serialNumber":"","manufacturer":"Ultimate Gadget Laboratories","product":"UHK 60 v2","release":258,"interface":0,"usagePage":65280,"usage":1}
[DeviceOperation] right module deviceProtocolVersion: 4.10.0
[DeviceOperation] Read "leftHalf" version information
[DeviceOperation] Read "leftHalf" repo information
[DeviceOperation] Read "leftHalf" firmware checksum
[DeviceService] Skip user config saving because user config version is newer than what firmware supports
[DeviceService] Left module firmware version: 10.2.0
[DeviceService] Current left module firmware checksum: a08c5025a8ccbed01fcf071d7545253d
[DeviceService] New left module firmware checksum: a08c5025a8ccbed01fcf071d7545253d
[DeviceService] Skip left firmware upgrade.
[SmartMacroService] start download firmware documentation {"firmwareGitRepo":"UltimateHackingKeyboard/firmware","firmwareGitTag":"v10.6.0"}
[SmartMacroService] firmware documentation downloaded
[SmartMacroService] reference manual downloaded
[DeviceOperation] right module deviceProtocolVersion: 4.10.0
[DeviceOperation] Read "leftHalf" version information
[DeviceOperation] Read "leftHalf" repo information
[DeviceOperation] Read "leftHalf" firmware checksum
[SmartMacroCopy] start
[SmartMacroCopy] copy {"destination":"/Users/yigit/Library/Application Support/uhk-agent/smart-macro-docs/UltimateHackingKeyboard/firmware/v10.6.0","smartMacroDocFirmwarePath":"/var/folders/x2/883gvjxs5jn8g92nqjl4qbrr0000gn/T/tmp-16300-QAXUDnXA3xcZ/doc"}
[DeviceService] updateFirmware error {"message":"ENOENT: no such file or directory, lstat '/var/folders/x2/883gvjxs5jn8g92nqjl4qbrr0000gn/T/tmp-16300-QAXUDnXA3xcZ/doc-dev'","stack":"Error: ENOENT: no such file or directory, lstat '/var/folders/x2/883gvjxs5jn8g92nqjl4qbrr0000gn/T/tmp-16300-QAXUDnXA3xcZ/doc-dev'"}
[DeviceOperation] right module deviceProtocolVersion: 4.10.0
[DeviceOperation] Read "leftHalf" version information
[DeviceOperation] Read "leftHalf" repo information
[DeviceOperation] Read "leftHalf" firmware checksum
[DeviceService] start poll UHK Device
ENOENT: no such file or directory, lstat '/var/folders/x2/883gvjxs5jn8g92nqjl4qbrr0000gn/T/tmp-16300-QAXUDnXA3xcZ/doc-dev'
The text was updated successfully, but these errors were encountered: