I have carefully read the above. I use TimeMachine. So, I want to clarify: before replacing the battery, I use version 10.6.6 and the MacBook Pro was going to stop using the keyboard commands without problems. Then, after replacing the battery, the MB did not go to sleep using alt/cmd/eject and then the technician initializes the disc, bringing the operating system to version 10.6.3, with this version, it stop using the keyboard shortcut worked. Then, I upgraded to 10.6.6 and using the keyboard no longer went to sleep. Now, I tried to remove: powermanagement.plist and autowake.plist; print jobs, the login items, turn off the airport, the software key internet, but nothing changes!
If it can be useful, here are the console messages with both users:
Admin
09/02/11 10.17.29 com.apple.launchd[1]
* launchd[1] has started up.
*
09/02/11 10.17.50 com.apple.launchd.peruser.501[87] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
09/02/11 10.17.51 com.apple.UserEventAgent-LoginWindow[79] ALF error: cannot find useragent 1102
09/02/11 10.17.51 com.apple.UserEventAgent-LoginWindow[79] plugin.UserEventAgentFactory: called with typeID=FC86416D-6164-2070-726F-70735C216EC0
09/02/11 10.17.52 com.apple.launchd.peruser.501[87] (com.apple.Kerberos.renew.plist[109]) Exited with exit code: 1
09/02/11 10.17.55 com.apple.WindowServer[69] Wed Feb 9 10:17:55 MacBook-Pro-------------------.local WindowServer[69] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
09/02/11 10.18.10 DashboardClient[121] (com.apple.widget.calculator)
file:///Library/Widgets/Calculator.wdgt/localizedStrings.js: SyntaxError: Parse error (line: 5)
09/02/11 10.18.10 com.apple.Dock.agent[91] 2011-02-09 10:18:10.542 DashboardClient[121:a03] (com.apple.widget.calculator)
file:///Library/Widgets/Calculator.wdgt/localizedStrings.js: SyntaxError: Parse error (line: 5)
09/02/11 10.18.10 DashboardClient[121] com.apple.widget.unitconverter: xml request failed
09/02/11 10.18.10 com.apple.Dock.agent[91] 2011-02-09 10:18:10.782 DashboardClient[121:a03] com.apple.widget.unitconverter: xml request failed
09/02/11 10.18.10 DashboardClient[121] com.apple.widget.unitconverter: xml request failed
09/02/11 10.18.10 com.apple.Dock.agent[91] 2011-02-09 10:18:10.863 DashboardClient[121:a03] com.apple.widget.unitconverter: xml request failed
09/02/11 10.20.46 com.apple.launchd.peruser.501[87] ([0x0-0xf00f].com.apple.Console[132]) Exited: Killed
09/02/11 10.22.30 com.apple.Dock.agent[91] 2011-02-09 10:22:30.381 DashboardClient[121:a03] com.apple.widget.unitconverter: xml request failed
09/02/11 10.22.30 DashboardClient[121] com.apple.widget.unitconverter: xml request failed
09/02/11 10.26.09 [0x0-0x19019].com.apple.systempreferences[175] Couldn't find any matches.
09/02/11 10.36.26 DashboardClient[121] com.apple.widget.unitconverter: xml request failed
09/02/11 10.36.26 com.apple.Dock.agent[91] 2011-02-09 10:36:26.919 DashboardClient[121:a03] com.apple.widget.unitconverter: xml request failed
09/02/11 10.36.35 coconutBattery[185] 11123
09/02/11 10.36.40 coconutBattery[185] 11123
09/02/11 11.14.31 DashboardClient[121] com.apple.widget.unitconverter: xml request failed
09/02/11 11.14.31 com.apple.Dock.agent[91] 2011-02-09 11:14:31.654 DashboardClient[121:a03] com.apple.widget.unitconverter: xml request failed
09/02/11 11.18.49 SystemUIServer[92] It does not make sense to draw an image when [NSGraphicsContext currentContext] is nil. This is a programming error. Break on _NSWarnForDrawingImageWithNoCurrentContext to debug. This will be logged only once. This may break in the future.
Standard User
09/02/11 11.24.35 com.apple.launchd.peruser.501[87] ([0x0-0x2b02b].com.apple.Console[223]) Exited: Killed
09/02/11 11.24.39 com.apple.launchd.peruser.501[87] ([0x0-0x30030].com.apple.TextEdit[240]) Exited: Killed
09/02/11 11.29.07 [0x0-0x15015].com.microsoft.Word[160] File add.stp non trovato
09/02/11 11.29.14 com.apple.launchd.peruser.501[87] (com.apple.AirPortBaseStationAgent[111]) Exited: Killed
09/02/11 11.29.14 com.apple.Dock.agent[91]
file:///Library/Widgets/Calculator.wdgt/localizedStrings.js:5: JS ERROR: SyntaxError: Parse error
09/02/11 11.29.14 com.apple.loginwindow[36] Wed Feb 9 11:29:14 MacBook-Pro------------.local loginwindow[36] <Warning>: CGSShutdownServerConnections: Detaching application from window server
09/02/11 11.29.14 com.apple.loginwindow[36] Wed Feb 9 11:29:14 MacBook-Pro-di-----------------------.local loginwindow[36] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
09/02/11 11.29.14 com.apple.loginwindow[36] Wed Feb 9 11:29:14 MacBook-Pro---------------------.local loginwindow[36] <Warning>: CGSDisplayServerShutdown: Detaching display subsystem from window server
09/02/11 11.29.16 com.apple.WindowServer[284] Wed Feb 9 11:29:16 MacBook-Pro----------------------.local WindowServer[284] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
09/02/11 11.29.25 com.apple.UserEventAgent-LoginWindow[290] ALF error: cannot find useragent 1102
09/02/11 11.29.25 com.apple.UserEventAgent-LoginWindow[290] plugin.UserEventAgentFactory: called with typeID=FC86416D-6164-2070-726F-70735C216EC0
09/02/11 11.31.59 com.apple.loginwindow[283] Wed Feb 9 11:31:59 MacBook-Pro---------------------.local loginwindow[283] <Warning>: CGSShutdownServerConnections: Detaching application from window server
09/02/11 11.31.59 com.apple.loginwindow[283] Wed Feb 9 11:31:59 MacBook-Pro----------------------.local loginwindow[283] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
09/02/11 11.31.59 com.apple.loginwindow[283] Wed Feb 9 11:31:59 MacBook-Pro--------------------.local loginwindow[283] <Warning>: CGSDisplayServerShutdown: Detaching display subsystem from window server
09/02/11 11.32.00 com.apple.WindowServer[344] Wed Feb 9 11:32:00 MacBook-Pro-----------------------.local WindowServer[344] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
09/02/11 11.32.08 com.apple.UserEventAgent-LoginWindow[347] ALF error: cannot find useragent 1102
09/02/11 11.32.08 com.apple.UserEventAgent-LoginWindow[347] plugin.UserEventAgentFactory: called with typeID=FC86416D-6164-2070-726F-70735C216EC0
09/02/11 11.32.08 com.apple.launchd.peruser.501[358] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
09/02/11 11.32.09 com.apple.launchd.peruser.501[358] (com.apple.Kerberos.renew.plist[378]) Exited with exit code: 1
09/02/11 11.32.09 SystemUIServer[363] It does not make sense to draw an image when [NSGraphicsContext currentContext] is nil. This is a programming error. Break on _NSWarnForDrawingImageWithNoCurrentContext to debug. This will be logged only once. This may break in the future.
Thanks for your interest.