Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Makefile.*
moc_*
ui_*
qrc_*
Firmware
45 changes: 28 additions & 17 deletions FIRMWARE
Original file line number Diff line number Diff line change
@@ -1,31 +1,42 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# My GPG key: 8DC8D309 - A full copy of it can also be found in src/ckb/msckey.gpg
# The GPG key: BAF07C6B - A full copy of it can also be found in src/ckb/ckb-next-key.gpg
# This document is signed to prevent tampering. Signature verification is enabled only when GnuPG is available.
# Firmware versions listed may not necessarily reflect the latest on Corsair's site; new versions will not be added until ckb has been tested with them.
# ckb does NOT read this file when flashing firmware manually. It will allow you to load any valid FW blob (at your own risk).
# ckb-next does NOT read this file when flashing firmware manually. It will allow you to load any valid FW blob (at your own risk).
#
# -------->>>>>> for Scimitar is a 2.4 available, for Strafe 2.05 !
#

!BEGIN FW ENTRIES

# Vendor Model FW URL Min.ckb File Name SHA256
Corsair K70RGB 2.05 http://www3.corsair.com/software/HID/K70RGB.zip 0.2.6 K70RGB_APP_V205.bin 3e43bdcc5077dc413fbdee7ff6e57a978f758599142eef6979a96e3b8c3a566a
Corsair K95RGB 2.05 http://www3.corsair.com/software/HID/K95RGB.zip 0.2.6 K95RGB_APP_V205.bin 8d0680dd033d6020a53bc9bfa83e761143699d1122f1d0133e95ad3056d63a15
Corsair STRAFE 2.04 http://www3.corsair.com/software/HID/STRAFE.zip 0.2.6 STRAFE_APP_V204.bin 51156ae7aa5b04405668582496cf28bbfb2e492accf93c65c3072aca9ef7ed65
Corsair STRAFERGB 2.05 http://www3.corsair.com/software/HID/STRAFERGB.zip 0.2.6 STRAFERGB_APP_V205.bin dff16fec9a0ae0d33aad0482f9ea02e3e55e231706b8c4e7fb66820aba98adc5
Corsair M65RGB 2.02 http://www3.corsair.com/software/HID/M65RGB.zip 0.2.5 M65RGB_App_v202.bin 0b6080b98d9199fd23837b7927e7868420f458f2f24ac545f33e34f79c317a79
Corsair SCIMITARRGB 2.03 http://www3.corsair.com/software/HID/Scimitar.zip 0.2.5 Scimitar_App_v203.bin 59194c3ae8a6ae0a801f7b6cf528ad292ae996923699cf063c7deed38fb326aa
# Vendor Model FW URL Min.ckb File Name SHA256
Corsair K70RGB 2.05 https://www3.corsair.com/software/HID/K70RGB.zip 0.2.7 K70RGB_APP_V205.bin 3e43bdcc5077dc413fbdee7ff6e57a978f758599142eef6979a96e3b8c3a566a
Corsair K70LUX 2.04 https://www3.corsair.com/software/HID/K70LUX.zip 0.2.7 K70LUX_APP_V204.bin c2b5411e1dce391788eca294563801b32a14bf7802eb29688213f8f07e112966
Corsair K70LUXRGB 2.05 https://www3.corsair.com/software/HID/K70LUXRGB.zip 0.2.7 K70LUX_APP_V205.bin a1a0a4b2f74890eb708435b21ab197a301ea668269bca895f89f7301c354e83d
Corsair K70RAPIDFIRE 2.05 https://www3.corsair.com/software/HID/K70RAPIDFIRE.zip 0.2.7 K70RAPIDFIRE_APP_V205.bin 6b1d2bb962ffd987ce5eb25c46b02a9069c5f79ca05d7b2cc71c749fe9813536
Copy link

@ghost ghost Feb 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an rgb version too, I've updated the comment in #55.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@light2yellow add an RGB version for the rapidfire or another one?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, k70 rapidfire.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I found it. it is call K70RGBRAPIDFIRE with v2.05

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can update the FIRMWARE file, but anyone who owns that keyboards should give us the correct information from the model files. With this information, fwupgradedialog.cpp must be updated also (the KbId ids[] array).

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, you can probably just comment it out for now. On irc I proposed creating a separate issue that would track the current support status of different keyboards (some of them are fully supported (I suppose), some of them are supported in an add-and-pray style with just the array of models being updated) just to keep track of everything (we already have k65-related info "somewhere"). Because I didn't follow the project for these two years I don't know what level of support is provided for the keyboards listed in Readme, I can only tell that my own keyboard (Strafe RGB) seems to be fully supported.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The automatic update (at least the search for it) should run with an updated FIRMWARE file.
As I mentioned in the recent commit, the line with the correct firmware download-site etc. is searched dynamically by other factors. The ids-array seems to be used in the manual update dialog only.
Because that dialog did not work for me when I last needed it for the mouse FW upgrade, I will have a look at it next. But first I need some testing for issue 48 :-)

Corsair K95RGB 2.05 https://www3.corsair.com/software/HID/K95RGB.zip 0.2.7 K95RGB_APP_V205.bin 8d0680dd033d6020a53bc9bfa83e761143699d1122f1d0133e95ad3056d63a15
Corsair STRAFE 2.04 https://www3.corsair.com/software/HID/STRAFE.zip 0.2.7 STRAFE_APP_V204.bin 51156ae7aa5b04405668582496cf28bbfb2e492accf93c65c3072aca9ef7ed65
Corsair STRAFERGB 2.05 https://www3.corsair.com/software/HID/STRAFERGB.zip 0.2.7 STRAFERGB_APP_V205.bin dff16fec9a0ae0d33aad0482f9ea02e3e55e231706b8c4e7fb66820aba98adc5
Corsair M65RGB 2.04 https://www3.corsair.com/software/HID/M65RGB.zip 0.2.7 M65RGB_App_v204.bin e1f09ce462f77071f91d92951410c14fb18061dd9760b3de89e45d1ca8b6b46c
Corsair SCIMITARRGB 2.03 https://www3.corsair.com/software/HID/Scimitar.zip 0.2.7 Scimitar_App_v203.bin 59194c3ae8a6ae0a801f7b6cf528ad292ae996923699cf063c7deed38fb326aa

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cDV96pbS7o4e+PL9b
z1tgBasIfS1TBMZdOKxsY7EaKL6uMuLhyngZXvsxReluSkuISaV+LgZu53UsWxBJ
lObUFEix+rVgW6rGYaCw
=2sQX
-----END PGP SIGNATURE-----
2 changes: 1 addition & 1 deletion src/ckb/binary.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/bin">
<file>msckey.gpg</file>
<file>ckb-next-key.gpg</file>
</qresource>
</RCC>
Binary file added src/ckb/ckb-next-key.gpg
Binary file not shown.
7 changes: 5 additions & 2 deletions src/ckb/kbfirmware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ bool KbFirmware::_checkUpdates(){
quint64 now = QDateTime::currentMSecsSinceEpoch();
if(now < lastCheck + AUTO_CHECK_TIME)
return false;
tableDownload = networkManager->get(QNetworkRequest(QUrl("https://raw.githubusercontent.com/ccMSC/ckb/master/FIRMWARE")));
// First location is for debugging only.
// tableDownload = networkManager->get(QNetworkRequest(QUrl("https://raw.githubusercontent.com/frickler24/ckb-next/issues-26-Firmware-Incident/FIRMWARE")));
// This one is the production one.
tableDownload = networkManager->get(QNetworkRequest(QUrl("https://raw.githubusercontent.com/mattanger/ckb-next/master/FIRMWARE")));
connect(tableDownload, SIGNAL(finished()), this, SLOT(downloadFinished()));
lastCheck = now;
return true;
Expand Down Expand Up @@ -83,7 +86,7 @@ void KbFirmware::processDownload(QNetworkReply* reply){
firmware.close();
// Write GPG key
QString keyPath = tmp.absoluteFilePath(QString("ckb-%1-key.gpg").arg(pid));
if(!QFile::copy(":/bin/msckey.gpg", keyPath)){
if(!QFile::copy(":/bin/ckb-next-key.gpg", keyPath)){
firmware.remove();
qDebug() << "Failed to write GPG key to temporary location, aborting firmware check";
return;
Expand Down
Binary file removed src/ckb/msckey.gpg
Binary file not shown.