Testing your patch on MacBook Pro 3.1 Santa Rosa, I get the following kernel messages:
Sep 17 19:02:38 futura kernel: [ 181.920006] applesmc: no version for "struct_module" found: kernel tainted. Sep 17 19:02:38 futura kernel: [ 181.922477] applesmc: Apple MacBook Pro detected: Sep 17 19:02:38 futura kernel: [ 181.922484] applesmc: - Model with accelerometer Sep 17 19:02:38 futura kernel: [ 181.922488] applesmc: - Model with light sensors and backlight Sep 17 19:02:38 futura kernel: [ 181.922493] applesmc: - Model with 12 temperature sensors Sep 17 19:02:38 futura kernel: [ 181.926963] applesmc: device successfully initialized. Sep 17 19:02:38 futura kernel: [ 181.927720] applesmc: 2 fans found. Sep 17 19:02:38 futura kernel: [ 181.933625] input: applesmc as /devices/platform/applesmc.768/input/input126 Sep 17 19:02:38 futura kernel: [ 181.980715] Registered led device: smc:kbd_backlight Sep 17 19:02:38 futura kernel: [ 181.980767] applesmc: driver successfully loaded. Sep 17 19:03:13 futura kernel: [ 209.425318] applesmc: wait status failed: 5 != 0 Sep 17 19:03:13 futura kernel: [ 209.440776] applesmc: wait status failed: 5 != 0 Sep 17 19:03:13 futura kernel: [ 209.455250] applesmc: wait status failed: 5 != 0 Sep 17 19:03:13 futura kernel: [ 209.475142] applesmc: wait status failed: 5 != 0 Sep 17 19:05:46 futura kernel: [ 334.034303] applesmc: wait status failed: 5 != 4
The "wait status failed" messages occur when I ran "sensors". I don't know what caused the last message.
Testing your patch on MacBook Pro 3.1 Santa Rosa, I get the following kernel messages:
Sep 17 19:02:38 futura kernel: [ 181.920006] applesmc: no version for "struct_module" found: kernel tainted. platform/ applesmc. 768/input/ input126
Sep 17 19:02:38 futura kernel: [ 181.922477] applesmc: Apple MacBook Pro detected:
Sep 17 19:02:38 futura kernel: [ 181.922484] applesmc: - Model with accelerometer
Sep 17 19:02:38 futura kernel: [ 181.922488] applesmc: - Model with light sensors and backlight
Sep 17 19:02:38 futura kernel: [ 181.922493] applesmc: - Model with 12 temperature sensors
Sep 17 19:02:38 futura kernel: [ 181.926963] applesmc: device successfully initialized.
Sep 17 19:02:38 futura kernel: [ 181.927720] applesmc: 2 fans found.
Sep 17 19:02:38 futura kernel: [ 181.933625] input: applesmc as /devices/
Sep 17 19:02:38 futura kernel: [ 181.980715] Registered led device: smc:kbd_backlight
Sep 17 19:02:38 futura kernel: [ 181.980767] applesmc: driver successfully loaded.
Sep 17 19:03:13 futura kernel: [ 209.425318] applesmc: wait status failed: 5 != 0
Sep 17 19:03:13 futura kernel: [ 209.440776] applesmc: wait status failed: 5 != 0
Sep 17 19:03:13 futura kernel: [ 209.455250] applesmc: wait status failed: 5 != 0
Sep 17 19:03:13 futura kernel: [ 209.475142] applesmc: wait status failed: 5 != 0
Sep 17 19:05:46 futura kernel: [ 334.034303] applesmc: wait status failed: 5 != 4
The "wait status failed" messages occur when I ran "sensors". I don't know what caused the last message.