If you have a Mac that is yet unsupported by applesmc, please reply to this post, gathering the information below.

* Determine your exact mac model

Code:

sudo dmidecode -s system-product-name

* Run the applesmc-test.sh script (found below in this post) to get a picture of the performance before the patch

Code:

./applesmc-test.sh

(you may need to do 'chmod +x ./applesmc-test.sh' before it runs)

* Run the scan-smc.sh script (found below in this post), and attach the output.

Code:

sudo ./scan-smc.sh > scan-smc-MODEL.txt

(you may need to do 'chmod +x ./scan-smc.sh' before it runs)

After some time, a reply with a new version of applesmc-dkms attached will appear. Then please run applesmc-test.sh again. Once satisfactory, the change will be incorporated in the Mactel PPA, and a patch sent upstream.

Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

It might be helpful if there was a test app or something that could verify the functions. Do you know if there is one or maybe a procedure for testing with stuff that is available?

I did not fully understand what you mean here, but if you think of a script that checks the availability of accelerometer, backlight, leds, fans, temperatures etc, that could be quite handy. However, currently the testing is about whether this works at all for some machines, which is easily verified by the number of errors in dmesg from applesmc.

Re: MPB4,1/MBA 'wait status failed: c != 8' solved?

Well, the patches referred to are from me, and today they made it to Andrew Morton's mm tree, so I guess I have seen it Not this link though, thanks for the tip.

Cheers,
Henrik

Thought so I thought you'd like to see your work on phoronix.

Originally Posted by kosumi68

I did not fully understand what you mean here, but if you think of a script that checks the availability of accelerometer, backlight, leds, fans, temperatures etc, that could be quite handy. However, currently the testing is about whether this works at all for some machines, which is easily verified by the number of errors in dmesg from applesmc.

Actually, I don't know of anything that uses the accelerometer... backlight should work with pommed, and the fan control files can be seen in the dev tree. You have a good point on the messages though.