aboutsummaryrefslogtreecommitdiff
path: root/smc-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-24 06:13:56 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-24 06:13:56 +0000
commit931f134eeca5a1cd75993fc4bb0ed299ee1e0ac0 (patch)
tree65ec7ff007a13b51131787dc44670e01b8765dd1 /smc-help.pd
parent6c8e28d20a69aa770932a4a0f9e81f94911cb276 (diff)
added the ability to query anything and made two patches based on that to get specific info: cpu temp and fan info
svn path=/trunk/externals/apple/; revision=12659
Diffstat (limited to 'smc-help.pd')
-rw-r--r--smc-help.pd57
1 files changed, 31 insertions, 26 deletions
diff --git a/smc-help.pd b/smc-help.pd
index 8e34c16..045174e 100644
--- a/smc-help.pd
+++ b/smc-help.pd
@@ -1,6 +1,4 @@
-#N canvas 139 41 559 441 10;
-#X obj 4 398 cnv 15 550 20 empty \$0-pddp.cnv.footer empty 20 12 0
-14 -228856 -66577 0;
+#N canvas 168 22 559 441 10;
#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header smc 3 12 0 18
-204280 -1 0;
#X obj 3 189 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13
@@ -17,22 +15,15 @@
#X text 12 165 RELEASE_DATE 2007-08-24;
#X text 12 185 RELEASE_VERSION 0.40-test05;
#X restore 504 400 pd META;
-#X obj 3 258 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0
+#X obj 3 262 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0
13 -228856 -1 0;
-#X obj 3 338 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
+#X obj 3 341 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
12 0 13 -228856 -1 0;
-#X text 102 208 BANG - output current screen brightness;
#X msg 146 48 bang;
-#X text 183 46 output sensor values;
-#X text 102 227 "info" - outputs info about the sensor on the right
-outlet;
-#X obj 72 305 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856
+#X obj 72 312 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856
-162280 0;
-#X obj 72 279 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
+#X obj 72 286 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
-#X text 103 276 LIST - a list with the values of the left and right
-sensors;
-#X text 103 306 selector series with info about the sensor;
#X obj 489 -14 apple/smc;
#X obj 146 111 apple/smc;
#X obj 197 134 pddp/print;
@@ -41,19 +32,33 @@ pdpedia: apple/smc;
#X text 15 6 description: interface to Apple System Management Controller
;
#X obj 69 163 pddp/print;
-#X obj 105 360 pddp/pddplink http://en.wikipedia.org/wiki/System_Management_Controller
+#X obj 78 363 pddp/pddplink http://en.wikipedia.org/wiki/System_Management_Controller
;
#X obj 143 142 print;
#X msg 158 70 keys;
-#X text 196 71 output a list of all available keys in the right outlet
-;
-#X msg 53 64 symbol TC0D;
+#X msg 53 57 symbol TC0D;
#X msg 167 90 info;
-#X text 203 89 output all status info;
-#X connect 7 0 15 0;
-#X connect 15 0 19 0;
-#X connect 15 0 21 0;
-#X connect 15 1 16 0;
-#X connect 22 0 15 0;
-#X connect 24 0 15 0;
-#X connect 25 0 15 0;
+#X obj 195 377 pddp/pddplink http://discussions.apple.com/thread.jspa?threadID=734247
+-text Apple Forum: Mac Pro Tempurature question;
+#X text 77 377 for a list of keys:;
+#X msg 55 89 TC0D;
+#X text 103 283 a message with the key symbol and its value;
+#X text 103 313 messages with meta info;
+#X text 102 208 BANG - output the value of the current key;
+#X text 102 225 info - outputs info about the sensor on the right outlet
+;
+#X text 102 241 keys - output all available keys in the right outlet
+;
+#X text 16 34 get data:;
+#X msg 216 70 FNum;
+#X msg 279 73 F2Ac;
+#X connect 5 0 9 0;
+#X connect 9 0 13 0;
+#X connect 9 0 15 0;
+#X connect 9 1 10 0;
+#X connect 16 0 9 0;
+#X connect 17 0 9 0;
+#X connect 18 0 9 0;
+#X connect 21 0 9 0;
+#X connect 28 0 9 0;
+#X connect 29 0 9 0;