logoalt Hacker News

matheusmoreiratoday at 2:04 AM3 repliesview on HN

> this is the terribly written software that you need to turn off all the obnoxious lights on your MB and DRAM

You should reverse engineer it and write a free software replacement!

I did this for my Clevo laptop's keyboard LEDs:

https://github.com/matheusmoreira/ite-829x

Still one of my most satisfying projects and I use it to this day. These manufacturer apps are so bad. Clevo control center would take over a minute to display a window on screen, it was so aggravating. My replacement program works instantly and is scriptable.

The LED control was implemented over USB. Reversed it by capturing packets with wireshark and replaying them using libusb. MSI probably used ACPI/WMI for this which is much more annoying to work with. I gave up on reversing my laptop's ACPI/WMI features years ago but now that I've got AI I'm trying again, it's been a huge help.


Replies

VorpalWaytoday at 6:56 AM

I did some ACPI reverse engineering on an old Toshiba laptop some years ago, with the goal of improving the Linux ACPI drivers. Learnt a lot from it, and wrote a blog post that you might find interesting: https://vorpal.se/posts/2022/aug/21/reverse-engineering-acpi... (100% human written, and I hate that I have to specify that these days).

show 1 reply
jath03today at 11:07 AM

Nice! If it doesn't exist yet, I'd also recommend taking it a step further and writing an OpenRGB controller for it, so even more people can benefit from the reverse engineering effort.