Skip to content
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

Supported Firmware version #12

Open
Mortal opened this issue Jul 5, 2018 · 2 comments
Open

Supported Firmware version #12

Mortal opened this issue Jul 5, 2018 · 2 comments

Comments

@Mortal
Copy link
Contributor

Mortal commented Jul 5, 2018

In #10 I see a reported firmware version of 147.7.3.245.18. When I run the poc-ts command (commit 228f337) I get the output Firmware Version:7.3.247.18.

What firmware version do you know that e.g. the allColor function in POC/ts/index.ts is known to work with? The reason I'm asking is that when I run allColor("#0000FF"), the keys do not all change to the same color; instead, it looks like some keys have their brightness changed, a few have the color changed, and such (picture below). So it might be the case that the keyboard firmware does not understand the data sent by the script.

EDIT: I should say that I just received my 5Q keyboard today and I did not connect it to a Windows pc or update the firmware.

img_20180705_162942
img_20180705_162948

I made the following changes to the POC to only run allColor("#0000FF"):

rav@novascotia:~/codes/node-lib$ git diff POC/ts/index.ts
diff --git a/POC/ts/index.ts b/POC/ts/index.ts
index d55a956..2e306ea 100644
--- a/POC/ts/index.ts
+++ b/POC/ts/index.ts
@@ -22,14 +22,14 @@ const hidDevice = keyboard.find();
  */
 keyboard.initialize();
 
-allColor("#FF0000");
-allColor("#00FF00");
+//allColor("#FF0000");
+//allColor("#00FF00");
 allColor("#0000FF");
 
 // sparkle();
 const data = keyboard.getKeyboardData();
 console.log("Firmware Version:" + data.firmware);
-keyboard.setBrightness(63);
+//keyboard.setBrightness(63);
 
 // sparkleBatch();
 
@sebirdman
Copy link
Contributor

@Mortal thanks for reporting this! Truthfully, we didn't know what firmware versions we support yet. It's starting to look like there's some big updates in the latest firmware over some of these factory versions. Your version looks to be the earliest version reported so far.

I've added a note in the readme about this here: https://github.com/diefarbe/node-lib/blob/master/README.md#firmware-versions

If you can get to a windows PC, you'll find the latest firmware here: https://www.daskeyboard.io/get-started/download/

@mikejr83
Copy link
Contributor

@Mortal

There were some issues with the color channel zones in the JSON a little while back. Have you pulled latest and tested?

Mine keyboard was originally displaying the 147.x for the firmware version but it is now displaying the more common 7.3.253.18. That seems to match up with the numbering that DAS has in their versioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants