On 05/31/10 13:24, Massimo Maiurana wrote:
> Christopher Michael, il 31/05/2010 18:49, scrisse:
>
>> How do you possibly have no action there ?? That makes no sense at all.
>> The defaults are setup so that lid closed will call suspend (as will
>> sleep button)...power button calls halt.
>
> so there is an "halt" action configured but the acpi-binding configurator
> doesn't show that to me?
> this is from an svn updated at yesterday morning, I'll try to update and
> rebuild it again to see if something changes.
>
Well, that is not going to solve the problem. The issue here is that 
when you updated yesterday morning, the default bindings set in E config 
were not entirely correct. Shortly after that commit, I had a discussion 
w/ raster about some things and we had to change one of the flags in 
each binding to a -1. I suspect that your problem lies here in that the 
events for Lid close, Power button, & sleep do not have that flag set 
... which is why you are showing no action in the dialog :(

> I have to say that this is an old PC, with an old acpi implementation, maybe
> this could lead to this problem.
>
>> Yes, raster made mention the other day about *buntu acpi_handler scripts
>> needing to be modified when using E's acpi handling.
>
> actually this is a slackware system, but it should be the same.
> for what I understand acpi_handler scripts should not be used at all when
> using E to handle acpi events, but in my case I would need a user definable
> action to call the hibernate script, and looks like this won't happen anytime,
> so I'll have to continue using acpid and its acpi_handler script :)
>
You can do user-defined commands now. I added that ability in last night.

>> Well, that just unloads the Config Acpi Bindings module, not the acpi
>> code itself, so any presses (or lid closes, etc, etc) will still fire
>> those events in E....so really your solution of "unloading the module"
>> doesn't fix it...
>
> I'm afraid you're right :(
>
> I've just tried hitting the power button and indeed E halts the system (and
> acpid hibernates it).
> is there a way to prevent E from handling acpi events?
>
Either later today (or sometime tomorrow) I will add the ability to 
Add/Delete existing acpi bindings so you would be able to delete the 
binding altogether when I get that in svn.

dh


------------------------------------------------------------------------------

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to