Hacker News new | ask | show | jobs
by matheusmoreira 29 days ago
> 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.

2 comments

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).
This is great, thank you!! Wish I could have read this article back then!!
#handmade_comment

Very good article, thank you!

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.