From: Justin P. M. <jus...@gm...> - 2009-07-18 20:49:36
|
I've googled, I've pressed hundreds of combinations but still can't seem to find the SLPB for acpid Any ides? Justin P. Mattock |
From: paul s <mac...@qu...> - 2009-07-18 21:42:32
|
/proc/acpi/button/sleep/SLPB/info /proc/acpi/sleep no? On 07/18/2009 04:51 PM, Justin P. Mattock wrote: > I've googled, I've pressed hundreds of combinations > but still can't seem to find the SLPB for acpid > > Any ides? > > Justin P. Mattock > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Mactel-linux-users mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-users > |
From: Justin P. M. <jus...@gm...> - 2009-07-18 22:18:16
|
paul s wrote: > /proc/acpi/button/sleep/SLPB/info > /proc/acpi/sleep > > no? > > > On 07/18/2009 04:51 PM, Justin P. Mattock wrote: > >> I've googled, I've pressed hundreds of combinations >> but still can't seem to find the SLPB for acpid >> >> Any ides? >> >> Justin P. Mattock >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Mactel-linux-users mailing list >> Mac...@li... >> https://lists.sourceforge.net/lists/listinfo/mactel-linux-users >> >> > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Mactel-linux-users mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-users > > Hmm.. cat /proc/acpi/button/sleep/SLPB/info shows type: Sleep Button (no key number?) I think what needs to happen, is somehow, someway using xmodmap to route the key button to ACPI might be what this needs. (using s2ram in /etc/acpi/* works for the lid, but when opening the lid, the command is called again causing s2ram to suspend). Justin P. Mattock |
From: Justin P. M. <jus...@gm...> - 2009-07-18 22:34:04
|
paul s wrote: > /proc/acpi/button/sleep/SLPB/info > /proc/acpi/sleep > > no? > > > On 07/18/2009 04:51 PM, Justin P. Mattock wrote: > >> I've googled, I've pressed hundreds of combinations >> but still can't seem to find the SLPB for acpid >> >> Any ides? >> >> Justin P. Mattock >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Mactel-linux-users mailing list >> Mac...@li... >> https://lists.sourceforge.net/lists/listinfo/mactel-linux-users >> >> > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Mactel-linux-users mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-users > > Maybe its better to just close the lid here's what I use: cat /etc/acpi/events/lidbtn event=button[/]lid action=/etc/acpi/lid.sh cat /etc/acpi/lid.sh if grep -q closed /proc/acpi/button/lid/LID0/state /usr/sbin/s2ram fi ;; found this info from here: http://wiki.archlinux.org/index.php/MacBookPro#Suspend (nice work) Justin P. Mattock |