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

Add RK68 Blue Backlight #8

Closed
badmark opened this issue Feb 25, 2023 · 22 comments
Closed

Add RK68 Blue Backlight #8

badmark opened this issue Feb 25, 2023 · 22 comments
Assignees
Labels
enhancement New feature or request

Comments

@badmark
Copy link

badmark commented Feb 25, 2023

RK68 Blue Backlight version - 0c45:8018

Link to software: https://drive.google.com/file/d/1sq4vglRZ-76aPoszcGp4_uBD27Kvu7Oo/view

@rnayabed
Copy link
Owner

@rnayabed rnayabed added the enhancement New feature or request label Feb 26, 2023
@rnayabed rnayabed self-assigned this Feb 26, 2023
@badmark
Copy link
Author

badmark commented Feb 27, 2023

Still not detected :(

@rnayabed
Copy link
Owner

Try again by re downloading, should work now

https://github.com/rnayabed/rangoli/releases/tag/2.0-rc

@badmark
Copy link
Author

badmark commented Feb 28, 2023

image

It detects an RK855 then gives this error when loading or trying to save to keyboard.

Same issue with RK71 three mode.

@rnayabed
Copy link
Owner

rnayabed commented Feb 28, 2023

Do the following:

  1. Download hidapitester
  2. Run <file path to hidapitester.exe> --vidpid 0c45:8018 --list-detail
  3. It will print a list of blocks, with paths.
  4. Take each path and run the following command <file path to hidapitester.exe> --open-path "<EACH PATH>" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
  5. Note when the keyboard flickers or atleast changes colour. I think it should be the one with ...&col03.... Send the full path here.

@badmark
Copy link
Author

badmark commented Feb 28, 2023

Can this be done in Linux? If not I can do it a bit later on a Windows PC.

@rnayabed
Copy link
Owner

Yes it can be done on linux

@badmark
Copy link
Author

badmark commented Feb 28, 2023

In Linux:

[mark@pc-tardis Downloads]$ hidapitester --open-path "/dev/hidraw9" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01 Opening device. path: /dev/hidraw9 Writing 65-byte feature report...wrote 65 bytes: 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Closing device [mark@pc-tardis Downloads]$ hidapitester --open-path "/dev/hidraw14" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01 Opening device. path: /dev/hidraw14 Writing 65-byte feature report...wrote -1 bytes: 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Closing device

Running either line does not make the keyboard flash - tried in Windows as well, no flashing.

@rnayabed
Copy link
Owner

Actually it worked.. the "wrote 65 bytes" meant it worked. As to why it didnt flash, we will come back to it.

Can you send me the usage page and usage of "/dev/hidraw9" path?

@rnayabed
Copy link
Owner

In windows as well, one of the combos will give you "Wrote 65 bytes"... send over the path, usage page and usage of it as well.

@badmark
Copy link
Author

badmark commented Feb 28, 2023

1st Output:

hidapitester --vidpid 0c45:8018 --list-detail
0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0006
  serial_number:  
  interface:     0 
  path: /dev/hidraw9

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x000C
  usage:         0x0001
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0080
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0006
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0002
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0001
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0xFFFF
  usage:         0x0001
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

Doing the commands for each path:

[mark@pc-tardis Downloads]$ hidapitester --open-path "/dev/hidraw9" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01]
Opening device. path: /dev/hidraw9
Writing 65-byte feature report...wrote 65 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00
Closing device
[mark@pc-tardis Downloads]$ hidapitester --open-path "/dev/hidraw14" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
Opening device. path: /dev/hidraw14
Writing 65-byte feature report...wrote -1 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00

@badmark
Copy link
Author

badmark commented Feb 28, 2023

Windows:

C:\Users\MARK\Downloads>hidapitester.exe --open-path "\\?\hid#vid_0c45&pid_8018&mi_01&col02#8&8cf64b0&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
Opening device. path: \\?\hid#vid_0c45&pid_8018&mi_01&col02#8&8cf64b0&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
Writing 65-byte feature report...wrote -1 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00
Closing device

C:\Users\MARK\Downloads>hidapitester.exe --vidpid 0c45:8018 --list-detail
0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0006
  serial_number: (null)
  interface:     0
  path: \\?\hid#vid_0c45&pid_8018&mi_00#8&313a1279&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x000C
  usage:         0x0001
  serial_number: (null)
  interface:     1
  path: \\?\hid#vid_0c45&pid_8018&mi_01&col01#8&8cf64b0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0080
  serial_number: (null)
  interface:     1
  path: \\?\hid#vid_0c45&pid_8018&mi_01&col02#8&8cf64b0&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0006
  serial_number: (null)
  interface:     1
  path: \\?\hid#vid_0c45&pid_8018&mi_01&col03#8&8cf64b0&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0x0001
  usage:         0x0002
  serial_number: (null)
  interface:     1
  path: \\?\hid#vid_0c45&pid_8018&mi_01&col04#8&8cf64b0&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}

0C45/8018: SONiX - USB DEVICE
  vendorId:      0x0C45
  productId:     0x8018
  usagePage:     0xFFFF
  usage:         0x0001
  serial_number: (null)
  interface:     1
  path: \\?\hid#vid_0c45&pid_8018&mi_01&col05#8&8cf64b0&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}

Second Command:

C:\Users\MARK\Downloads>hidapitester.exe --open-path "\\?\hid#vid_0c45&pid_8018&mi_00#8&313a1279&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
Opening device. path: \\?\hid#vid_0c45&pid_8018&mi_00#8&313a1279&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd
Writing 65-byte feature report...wrote 65 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00
Closing device

C:\Users\MARK\Downloads>hidapitester.exe --open-path "\\?\hid#vid_0c45&pid_8018&mi_00#8&313a1279&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
Opening device. path: \\?\hid#vid_0c45&pid_8018&mi_00#8&313a1279&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd
Writing 65-byte feature report...wrote 65 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00
Closing device

C:\Users\MARK\Downloads>hidapitester.exe --open-path "\\?\hid#vid_0c45&pid_8018&mi_01&col05#8&8cf64b0&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
Opening device. path: \\?\hid#vid_0c45&pid_8018&mi_01&col05#8&8cf64b0&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}
Writing 65-byte feature report...wrote -1 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00
Closing device


Hope this helps!

@rnayabed
Copy link
Owner

Thanks, this helped a lot

@rnayabed
Copy link
Owner

It is likely that the RGB modes are also different. Can you send a screenshot of the RK Software RGB configuration tab/pane?

@badmark
Copy link
Author

badmark commented Feb 28, 2023

This was for the RK61 Blue LED, do you want me to do the same for the RK71 as well as share the RGB config page?

@badmark
Copy link
Author

badmark commented Feb 28, 2023 via email

@rnayabed
Copy link
Owner

I think you forgot to attach the picture :P

@rnayabed
Copy link
Owner

Yes, send for both keyboards and their vid/pids

@badmark
Copy link
Author

badmark commented Feb 28, 2023

RK71 Tri Mode:

[mark@pc-tardis Downloads]$ hidapitester --vidpid 05ac:024f --list-detail
05AC/024F: SONiX - USB DEVICE
  vendorId:      0x05AC
  productId:     0x024F
  usagePage:     0x0001
  usage:         0x0006
  serial_number:  
  interface:     0 
  path: /dev/hidraw9

05AC/024F: SONiX - USB DEVICE
  vendorId:      0x05AC
  productId:     0x024F
  usagePage:     0x000C
  usage:         0x0001
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

05AC/024F: SONiX - USB DEVICE
  vendorId:      0x05AC
  productId:     0x024F
  usagePage:     0x0001
  usage:         0x0080
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

05AC/024F: SONiX - USB DEVICE
  vendorId:      0x05AC
  productId:     0x024F
  usagePage:     0x0001
  usage:         0x0006
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

05AC/024F: SONiX - USB DEVICE
  vendorId:      0x05AC
  productId:     0x024F
  usagePage:     0x0001
  usage:         0x0002
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

05AC/024F: SONiX - USB DEVICE
  vendorId:      0x05AC
  productId:     0x024F
  usagePage:     0x0001
  usage:         0x0001
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

05AC/024F: SONiX - USB DEVICE
  vendorId:      0x05AC
  productId:     0x024F
  usagePage:     0xFFFF
  usage:         0x0001
  serial_number:  
  interface:     1 
  path: /dev/hidraw14

Second Command on paths:

[mark@pc-tardis Downloads]$ hidapitester --open-path "/dev/hidraw14" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
Opening device. path: /dev/hidraw14
Writing 65-byte feature report...wrote -1 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00
Closing device

[mark@pc-tardis Downloads]$ hidapitester --open-path "/dev/hidraw9" --length 65 --send-feature 0x0a,0x01,0x01,0x02,0x29,0x01,0x03,0x03,0x03,0,0,0,0x01,0x01
Opening device. path: /dev/hidraw9
Writing 65-byte feature report...wrote 65 bytes:
 0A 01 01 02 29 01 03 03 03 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00
Closing device
[mark@pc-tardis Downloads]$ 

@badmark
Copy link
Author

badmark commented Feb 28, 2023

Software screen:

rk71-1
rk71-2

@badmark
Copy link
Author

badmark commented Feb 28, 2023

RK 68(K) Blue Light
RK68K-1
RK68K-2

@rnayabed
Copy link
Owner

rnayabed commented Mar 1, 2023

Things are getting confusing. Can you do the following?

Post screenshots of each in the appropriate newly created issues:

  • RK68K ONLY (including software screenshots) here
  • RK71 3 mode (including software screenshots) here

I am closing this issue and older issues.

@rnayabed rnayabed closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants