Proposal for resolving powernowd/apmd vs. (k)powersave conflict

Danny Kukawka danny.kukawka at web.de
Fri Mar 10 17:11:38 GMT 2006


On Friday 10 March 2006 16:43, Michael Biebl wrote:
> Achim Bohnet wrote:
> > Richte powersaved ein (0.12.2-1ubuntu1) ...
> >  * Reloading system message bus config                                   
> >                                  [ ok ] * Stopping ACPI services...      
> >                                                                         [
> > ok ] * Loading ACPI modules...                                           
> >                                      [ ok ] * Starting ACPI services...  
> >   acpid.real: can't open /proc/acpi/event: Device or resource busy
>
> Imo this is a bug in Xorg. As soon as a running acpid is stopped, Xorg
> grabs /proc/acpi/event exclusively. This also happens on upgrades of
> acpid btw.. I don't have a good solution for this atm.
> For fresh installs or upgrades using the CD this problem does not occur.
> It only happens when running X.
> We could skip the restarting of acpid and instead show the user a
> message, that he has to restart his machine. IIRC Ubuntu has a
> notification framework for this, I just don't know how to use it and if
> its GNOME only.

This is a problem we also had on SUSE last year: 
https://bugzilla.novell.com/show_bug.cgi?id=133440

Simply fix X to not grab /proc/acpi/events and always use acpid if available.

Cheers,

Danny



More information about the kubuntu-devel mailing list