dk63 icon indicating copy to clipboard operation
dk63 copied to clipboard

Redragon K556 Devarajas

Open CalcProgrammer1 opened this issue 5 years ago • 5 comments

I've been reverse engineering keyboard protocols for my OpenRGB project. I picked up a Redragon K556 and reversed its protocol, but was unable to find a mode that allows for direct control of the keyboard LEDs over USB so I decided to start looking at the hardware. I took it apart and snapped some pics of the insides. It seems to use the same microcontroller as yours. I'm really excited to see that someone else has looked into this! I want to help in this effort. I'm an embedded software engineer and am familiar with a lot of reverse engineering stuff. Haven't read through your documentation yet but I am definitely going to soon.

My keyboard micro:

20200727_223519

20200727_223423

CalcProgrammer1 avatar Jul 28 '20 04:07 CalcProgrammer1

hey, i want to do the same thing i have a k551 and it has the same chip, are you able to trace the pinout? i dont have a tester, also i have the firmware file if you think you can help me reverse it, i tried but i really have not a lot of experience with reverse engineering, i briked my keyboarrd and flashed the k556 firmware on my keyboard and it worked so the k551 and k556 must be the same in almost every aspect

GalvareyPoco avatar Jul 28 '20 19:07 GalvareyPoco

I started looking into reverse engineering the K556 firmware today. I asked Redragon support for the FW updater and they sent it to me. I've extracted the FW and loaded it up in Ghidra and have been poking around. I think I've found a function that defaults the flash so far. My primary goal is to find the functions that control the LEDs so I can see if it has a direct control mode (and if not, possibly add one).

I've created a new channel on the OpenRGB discord #redragon-hacking if you want to join. I'm posting my progress there.

https://discord.gg/Sg8tV7B

CalcProgrammer1 avatar Jul 28 '20 19:07 CalcProgrammer1

I think I've reverse engineered the matrix:

picture

CalcProgrammer1 avatar Jul 29 '20 19:07 CalcProgrammer1

did you ever get direct mode to work?

kiven7e avatar Dec 21 '21 17:12 kiven7e

Yes, check out SonixQMK: https://github.com/SonixQMK/qmk_firmware

CalcProgrammer1 avatar Dec 21 '21 18:12 CalcProgrammer1