Help with some code

Discussion in 'Xbox 360 Development' started by kebob, May 19, 2013.

  1. kebob

    kebob Rapidly Rising Member

    Joined:
    Jan 13, 2011
    Messages:
    97
    Likes Received:
    11
    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.
     
  2. Errorjack

    Errorjack Gears of War Collector

    Joined:
    Jun 2, 2012
    Messages:
    237
    Likes Received:
    37
    Not sure why you would want to create something to modify the fanspeed if there is already one that works perfectly fine.
     
  3. XeChris

    XeChris Active Member

    Joined:
    Jul 1, 2012
    Messages:
    46
    Likes Received:
    0
    The fanspeed xex's are for devs not JTAGs/RGH which is what he is using.
     
    Last edited: May 20, 2013
  4. kebob

    kebob Rapidly Rising Member

    Joined:
    Jan 13, 2011
    Messages:
    97
    Likes Received:
    11
    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?
     
  5. Cameron

    Cameron Member

    Joined:
    Jan 3, 2013
    Messages:
    24
    Likes Received:
    0
    What are you talking about? Freestyle dash's fan speeds works universally.
     
    Last edited: May 20, 2013
  6. kebob

    kebob Rapidly Rising Member

    Joined:
    Jan 13, 2011
    Messages:
    97
    Likes Received:
    11
    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.
     
  7. Eaton

    Eaton Member

    Joined:
    Aug 9, 2010
    Messages:
    16
    Likes Received:
    26
    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.
     
  8. Errorjack

    Errorjack Gears of War Collector

    Joined:
    Jun 2, 2012
    Messages:
    237
    Likes Received:
    37
    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
     
  9. Dwack

    Dwack Active Member

    Joined:
    Feb 5, 2011
    Messages:
    28
    Likes Received:
    18
    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.
     
    Last edited: May 29, 2013
  10. kebob

    kebob Rapidly Rising Member

    Joined:
    Jan 13, 2011
    Messages:
    97
    Likes Received:
    11
    That is awesome dwack. thanks do you think you could pm me this XConfig.h and XConfig.cpp? I would really appreciate it. thanks
     
  11. kebob

    kebob Rapidly Rising Member

    Joined:
    Jan 13, 2011
    Messages:
    97
    Likes Received:
    11
    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.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page