Hey I have been working on an application for fanspeed modification but I can not figure out how to write the fanspeed to the SMC so that after a reboot it will stick. If anyone has this code or any code involving nand writing/reading or toher things to do with the hardware that would be awesome since I am messing around with all of this right now.
Not sure why you would want to create something to modify the fanspeed if there is already one that works perfectly fine.
Actually I am using a xdk. But I enjoy learning and I hate the current ones. why do I need to have 7 xexs to do one thing if I can just make a decent looking one to do everything ever needed for fanspeed modification?
I think hes talking about the ones that write to the smc. The ones that I would appreciate the code for since that is what I am working on right now.
You will want to look into the XConfig settings system. Be careful when saving SMC settings - make sure you fix the checksum field before you reboot or your console may no longer function correctly.
Yeah you really need to know what you're doing when you are working with SMC. Good luck, I don't dare edit that. xD
I saw this and decided to test it a little. Here is what I was able to come up with. Credits to those that created XConfig.h and showed how to compute checksum. http://pastebin.com/UmYaVDUZ A reboot with speed set to 0x7F did cause full speed fans. I was able to set it back to default with no problems.
That is awesome dwack. thanks do you think you could pm me this XConfig.h and XConfig.cpp? I would really appreciate it. thanks
The only that that I do not understand is I would assume that the hex would convert into the fanspeed percentage but max(0x7f) converts to 127 decimal and auto(0x3C) converts to 60 decimal.