Cursor, and my MSI MEG AI1600T PSU.
I kinda love AI.
I just recently built a new computer, to run some local AI, and this computer has a 1600W power supply from MSI. Yes. That was not a typo.
The PSU (Power Supply Unit) has a usb port, and so, naturally, I plugged it in. And…. nothing. MSI publishes a windows driver and software, apparently, but who uses windows nowadays? There is no official Linux support, and the linux kernel doesn’t have a driver. So, I turned to Cursor (cursor.com) which is a tool that writes software for you.
I asked Cursor to search the internet, find other people with my problem, search the linux kernel source, as well as non-official patches, and see if anything existed we could use. The closest it found was some code on git-hub from 3 years ago by a person called Jack Doan, who apparently lives in Dallas Texas. He wrote something that works for the 1000W and 1300W variants. Cursor was able to learn from that, patch the code to include the 1600W, find new features in the output (like a serial number) and create me a working kernel module that gives me a status. In case you are wondering, my power supply currently reports this:
[2026-04-27 20:02:19] hwmon: /sys/class/hwmon/hwmon5 (msipsu)
power total: 486.00 W (486000000 uW)
psu temp: 34.0 C
psu fan: 388 RPM
v_in: 108.000 V
v_out +12v: 12.234 V
v_out +5v: 4.953 V
v_out +3.3v: 3.375 V
curr +12v: 36.750 A
curr +5v: 5.500 A
curr +3.3v: 3.562 A
pwm1=33 pwm1_enable=2 (1=manual, 2=auto)
Why yes, my 12v rail is pushing 36 Amps with a total draw of 486W. It’s barely working at all!
A kernel module, I would have thought, was well beyond my coding capabilities. It is written in C, a language I can barely read, and can’t write at all. It touches very low level things full of codes and arcane commands. Professionals are weary of kernel modules. But, I needed one to see how my new PSU was doing, and, now I have one.
What a time.
Comments