Hi Sorry for writing in english, but my written german is quite bad. I have installed Suse 9.1 pro on an ASUS M3000NP laptop, and are playing around with the acpi settings. I have enabled standby and suspend as explained in the administration guide. Suspend to disk works out of the box (even with the intel agp module loaded). Standby seems to work (the system seems to go into standby), but I am unable to bring the system back from standby. It seems this is a common problem, and still unsolved? Anyway, I now want to play with the special asus hotkeys. I have added the asus_acpi module to the POWERSAVE_ACPI_MODULES in the /etc/sysconfig/powersave/common file. If I do # rcpowersaved stop # cat /proc/acpi/event I can see that the special keys generates acpi events. Now, I guess I need to use the asus hotkeys script provided in /usr/share/doc/packages/powersave/contrib and it seems to be quite easy to modify. The question is: how do I make powersave use this script, where do I place it and what file permission should it have? -- Kasper Daniel Hansen, Research Assistant Department of Biostatistics, University of Copenhagen
On Thu, Jun 03, 2004 at 04:46:05PM +0200, Kasper Daniel Hansen wrote:
and it seems to be quite easy to modify. The question is: how do I make powersave use this script, where do I place it and what file permission should it have?
I did some additional experiments and the solution is very simple, sorry for asking about it. For reference: edit the /etc/powersave.conf and change the "other" line to other=$LOC/acpi_hotkeys_ASUS_L2400D %a where $LOC is the location of the script. Now it works. However a few questions remain: * do the ACPI standby not work _at all_? * what permissions do I need to give the acpi_hotkeys_ASUS_L2400S script? -- Kasper Daniel Hansen, Research Assistant Department of Biostatistics, University of Copenhagen
On Thu, Jun 03, 2004 at 09:06:14PM +0200, Kasper Daniel Hansen wrote:
On Thu, Jun 03, 2004 at 04:46:05PM +0200, Kasper Daniel Hansen wrote:
and it seems to be quite easy to modify. The question is: how do I make powersave use this script, where do I place it and what file permission should it have?
I did some additional experiments and the solution is very simple, sorry for asking about it. For reference: edit the /etc/powersave.conf and change the "other" line to other=$LOC/acpi_hotkeys_ASUS_L2400D %a where $LOC is the location of the script. Now it works. However a few
ok. Note that this script is very crude and just an example what can be done :-)
questions remain: * do the ACPI standby not work _at all_?
in general: yes. I have heard from someone who knows someone who has heard from someone who may have seen that suspend to ram actually worked. I have not seen it working until now :-)
* what permissions do I need to give the acpi_hotkeys_ASUS_L2400S script?
executable, e.g. chmod 755 $LOC/acpi_hotkeys_ASUS_L2400D Note that the script runs as root, so you need some hacks to access your Xserver (there is an example with xmms in it) and you have to be careful, dont put an "rm -rf /" into it :-) -- Stefan Seyfried
On Thu, Jun 03, 2004 at 09:47:36PM +0200, Stefan Seyfried wrote:
On Thu, Jun 03, 2004 at 09:06:14PM +0200, Kasper Daniel Hansen wrote:
On Thu, Jun 03, 2004 at 04:46:05PM +0200, Kasper Daniel Hansen wrote:
<SNIP>
executable, e.g. chmod 755 $LOC/acpi_hotkeys_ASUS_L2400D Note that the script runs as root, so you need some hacks to access your Xserver (there is an example with xmms in it) and you have to be careful, dont put an "rm -rf /" into it :-)
The hotkey values are a bit different for the M3000NP. I'm playing a little bit around with it, and also test it on an M2400N when I am finished. My guess is, that you want a copy? -- Kasper Daniel Hansen, Research Assistant Department of Biostatistics, University of Copenhagen
On Thu, Jun 03, 2004 at 10:07:53PM +0200, Kasper Daniel Hansen wrote:
The hotkey values are a bit different for the M3000NP. I'm playing a
they are probably very machine dependent.
little bit around with it, and also test it on an M2400N when I am finished. My guess is, that you want a copy?
Of course :-) Probably you need two versions, one for the M3000NP and one for the M2400N. Of course, if we find a common set of acpi keys, the machines usually have, we could make it configurable... but well, it is easier to just supply some different examples for the users to hack on :-) -- Stefan Seyfried
participants (2)
-
Kasper Daniel Hansen
-
Stefan Seyfried