Re: handle hibernate button in the same way as suspend does

2015-02-04 Thread Mike Larkin
On Wed, Feb 04, 2015 at 03:57:00AM -0700, David Coppa wrote: > > Hi, > > Currently, when you hibernate your thinkpad using the hibernate > button (Fn+F12), /etc/apm/hibernate does not get executed. It is > only when you hibernate using 'ZZZ'. > > The diff below makes the hibernate button behave

handle hibernate button in the same way as suspend does

2015-02-04 Thread David Coppa
Hi, Currently, when you hibernate your thinkpad using the hibernate button (Fn+F12), /etc/apm/hibernate does not get executed. It is only when you hibernate using 'ZZZ'. The diff below makes the hibernate button behave like the suspend one. I have chosen 0x000D as the value for APM_USER_HIBERNA