xboxscene.org forums

Pages: 1 [2] 3

Author Topic: Temp Information In Xdk  (Read 287 times)

unknown v2

  • Archived User
  • Newbie
  • *
  • Posts: 4
Temp Information In Xdk
« Reply #15 on: February 20, 2010, 08:32:00 PM »

QUOTE(xtrminatr @ Feb 20 2010, 10:28 PM) View Post

It'd be cool if the LED changing could be incorporated even without a temp reading, would love to have a working box and the red LEDs wink.gif


That is already possible, as you can see in the code.
Logged

hemah

  • Archived User
  • Newbie
  • *
  • Posts: 2
Temp Information In Xdk
« Reply #16 on: February 20, 2010, 08:34:00 PM »

Slow to the draw, thanks unknown. Maybe I'll eventually figure out how to disassemble the kernel with IDA and add this to it while I add fan speed changing to header.  Anyone with info or a tut PM me here or on xboxhacker.
Logged

segobi

  • Archived User
  • Newbie
  • *
  • Posts: 7
Temp Information In Xdk
« Reply #17 on: February 21, 2010, 01:25:00 AM »

CODE

smc MeinSMC;
float * temperaturen;

MeinSMC.GetTemps(temperaturen,true);
//    temps[0] = CPU
//          temps[1] = GPU
//          temps[2] = EDRAM
//          temps[3] = MB
string temperaturenstring;
temperaturenstring = sprintfa("CPU: %.1f, GPU: %.1f , EDRAM: %.1f, MB: %.1f",temperaturen[0],temperaturen[1],temperaturen[2],temperaturen[3]);

console.Format("Temperaturen: %s\n",temperaturenstring);


console.Format("Setting LEDs... ");

MeinSMC.SetLEDS(RED,GREEN,RED,GREEN);
wait2s();
MeinSMC.SetLEDS(GREEN,RED,GREEN,RED);


Logged

dakaku

  • Archived User
  • Full Member
  • *
  • Posts: 102
Temp Information In Xdk
« Reply #18 on: February 21, 2010, 02:26:00 AM »

Well thats for the (not so near) future but anyway:
Would be nice if you could make a patcher for the kernel, if that is possible.
Then everyone could decide if they want it.
And different temperature areas for the different motherboards, maybe custom temperature areas within the patcher.
Logged

segobi

  • Archived User
  • Newbie
  • *
  • Posts: 7
Temp Information In Xdk
« Reply #19 on: February 21, 2010, 02:44:00 AM »

QUOTE(dakaku @ Feb 21 2010, 10:26 AM) View Post

Well thats for the (not so near) future but anyway:
Would be nice if you could make a patcher for the kernel, if that is possible.
Then everyone could decide if they want it.
And different temperature areas for the different motherboards, maybe custom temperature areas within the patcher.



rofl wtf are you talking about ?
Logged

dakaku

  • Archived User
  • Full Member
  • *
  • Posts: 102
Temp Information In Xdk
« Reply #20 on: February 21, 2010, 03:52:00 AM »

QUOTE(segobi @ Feb 21 2010, 10:44 AM) View Post

rofl wtf are you talking about ?

read the thread and consider thinking before you hit the "add reply" button...
(
If the temperature could be displayed by the led ring, this should be put into the kernel.
If it would be put into the kernel, youd have to consider that different mobo revs run on different temperature.
If we'd have a patcher to include this into the kernel, the patcher (once it exists) could be easy changed to set custom temperature ranges for the different led colours.
Plus a patch would most likely be built without xdk.
)
Logged

dakaku

  • Archived User
  • Full Member
  • *
  • Posts: 102
Temp Information In Xdk
« Reply #21 on: February 21, 2010, 05:01:00 AM »

Wish i could edit my post.
Sorry @segobi, my reply which you didnt understand wasnt meant to be a reply to your post.
I should have quoted hemah. That caused the missunderstanding.
Logged

BladeWing

  • Archived User
  • Full Member
  • *
  • Posts: 157
Temp Information In Xdk
« Reply #22 on: February 21, 2010, 05:03:00 AM »

Thats would be fraking awesome !!!

Like MB temp would be on the 3rd led and would change colour.

15 degrees = Green
30 degrees = Orange
45+ degrees = Red


And maybe fade in/out the diferent colors to show just how hot it is.

Add in all 4 leds 1 for each piece (CPU/GPU/EDRAM/MB) it would be one hell of a light show !!!
Logged

p4r0l3

  • Archived User
  • Full Member
  • *
  • Posts: 194
Temp Information In Xdk
« Reply #23 on: February 22, 2010, 02:53:00 PM »

You need the XDK & visual studio 2005 sp1. You'll have to edit the code in by hand & recompile Freestyle.

Simple copy-pasta won't do it, you need some coding experience
Logged

Porta360

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Temp Information In Xdk
« Reply #24 on: February 22, 2010, 02:58:00 PM »

LED changing to indicate temp. now that's saying something.
Logged

p4r0l3

  • Archived User
  • Full Member
  • *
  • Posts: 194
Temp Information In Xdk
« Reply #25 on: February 23, 2010, 07:29:00 PM »

I can confirm the LED setting & temp info works from this supplied code. lovin red->orange->red->orange
Logged

BladeWing

  • Archived User
  • Full Member
  • *
  • Posts: 157
Temp Information In Xdk
« Reply #26 on: February 25, 2010, 08:30:00 AM »

Seems like some people like the Temp Led Idea biggrin.gif

Now, i would do it, but i have limited coding experience on my pc, let alone the 360, so maybe someone will figure out how to do it, for it would be super fancy pants !!! biggrin.gif
Logged

p4r0l3

  • Archived User
  • Full Member
  • *
  • Posts: 194
Temp Information In Xdk
« Reply #27 on: February 25, 2010, 10:30:00 AM »

QUOTE
Seems like some people like the Temp Led Idea


Got it working here, but can only post ya the code. Check it here:
http://forums.xbox-s...o...6895&st=27#
Logged

BladeWing

  • Archived User
  • Full Member
  • *
  • Posts: 157
Temp Information In Xdk
« Reply #28 on: February 25, 2010, 03:10:00 PM »

Im unable to test this at the moment. Bloody Jtag'ed xbox needs a re-flow.

Anyway, does it actually do the led too ?? If so, sweet as cherry pies man  biggrin.gif
Logged

p4r0l3

  • Archived User
  • Full Member
  • *
  • Posts: 194
Temp Information In Xdk
« Reply #29 on: February 26, 2010, 10:38:00 AM »

QUOTE(DarthMingus @ Feb 26 2010, 08:41 AM) View Post

Wow, this is really fantastic! THANK YOU!

On the 360 thing: How is this JTAG Hack any different from the previous 360 firmware cracks? Also, there are a few things that make me not excited about this:

1. The emulators are going to be new/buggy. The XBox1 emus have been refined for years. Its going take a while for the ball to get rolling.

2. I don't think porting the Xbox1 (or PC) emulators is an option. Its my understanding that the 360 is running on a PPC derivative CPU.

3. 360s break, a lot. Every one of my friends that has (had) one have have them crap out multiple times. They were really poorly designed.

Just my 2 cents. smile.gif


Yeah it constantly refreshes temps & adjusts LEDs accordingly (as long as Freestyle is running)
When you launch a game the leds stay @ whatever they last read when you exited Freestyle. They update normally again if you go back to it.

Will be a long time before we can add led changing support to the kernel (so the leds can update in-game)
Logged
Pages: 1 [2] 3