KubuntuFeistyLaptop

Differences between revisions 7 and 8
Revision 7 as of 2006-11-10 01:31:37
Size: 3243
Editor: 207
Comment:
Revision 8 as of 2006-11-10 06:05:48
Size: 4217
Editor: 38
Comment: ready for review
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 * '''Packages affected''':  * '''Packages affected''': kdebase, kde-guidance, ksynaptics, acpi-support, casper
Line 13: Line 13:
Some functionality implemented in Edgy is lacking or implemented with limitations. Some functionality implemented in Edgy is lacking or implemented with limitations ([https://launchpad.net/bugs/64650 #64650], [https://launchpad.net/bugs/70454 #70454], [https://launchpad.net/bugs/67341 #67341]).
Line 16: Line 16:
 * Sarah would like that suspend and hibernate buttons on her laptop just work out of the box.
 * Jonathan would like that power button would offer him logout/shutdown/restart/suspend/hibernate options and not just power-off immediately,
 * Sebastian would like to set different CPU frequency scaling levels (powersave, performance) and automatic action if laptop is idle.
 * Tonio does not find a way to configure synaptics touch pad as ksynaptics is not installed by default.
 * Nuno does not like suspend/hibernate options not working on Desktop CD.
Line 18: Line 23:
The intention is to reconsider kpowersave and implement some minor improvements that were not implemented in Edgy due to technical and/or time constraints.
Line 20: Line 26:
 * Review new `kpowersave` for potential main inclusion and feasibility to replace Guidance Powermanager.
 * Review laptop buttons assignments and implement missing functionality.
 * Review `ksynaptics` for main inclusion and inclusion in default setup.
 * Disable suspend/hibernate functionality when running Live/Desktop CD
Line 22: Line 32:
 * Evaluate recent kpowersave with [http://dkukawka.blogspot.com/2006/11/kpowersave-on-way-to-070.html HAL support] for main inclusion and as potential replacement of Guidance Powermanager. In order to be considered as default power management application in Kubuntu, it needs to fulfill the following criteria:
    * Proper integration with Ubuntu laptop infrastructure (acpi-support, pmi, hal)
    * Simplification of user interface (comparable to existing Guidance Powermanager)
Line 23: Line 36:
=== Code ===  * `kdebase`
    * Define global shortcuts for Suspend/Hibernate buttons and call HAL action
    * Define global shortcut for Battery button and call Powermanager over DCOP to show battery info
    * Define global shortcut for Power button to present standard logout dialog with Logout/Shutdown/Restart/Suspend/Hibernate options
    * Parse `power-managerrc` file for `lockOnResume`, `disableSuspend` and `disableHibernate` options and act appropriately
    * Update xkeysyms assignments in /usr/share/apps/kxkb/ubuntu.xmodmap to match most laptops buttons
Line 25: Line 43:
=== Data preservation and migration ===  * `kde-guidance`
    * Fix power-manager DCOP interface to not use PID
    * Parse `power-managerrc` file for `lockOnResume`, `disableSuspend` and `disableHibernate` options and act appropriately
    * Allow setting current CPU frequency scaling (ondemand, powersave, performance)
    * Idle actions: automatic actions if machine is idle for X minutes

 * `casper`
    * Provide `power-managerrc` with `disableSuspend` and `disableHibernate` options turned on for Desktop CD user.

 * `ksynaptics`
    * Prepare package for main inclusion
    * Should not be started by default and should have proper default settings for just-works experience.
    * Add configuration module to System settings -> Keyboard and Mouse
Line 28: Line 58:

== BoF agenda and discussion ==
 * Review feedback collected during Edgy testing: KubuntuPowerManagementFeedback
 * Consider infrastructure improvements
    * uswsusp: will probably be used by default in Feisty
    * suspend (to ram) -> then hibernate (to disk)
 * Reconsider KPowersave status in Kubuntu?
    * next version of KPowersave will work directly with HAL like Guidance Powermanager - see [http://dkukawka.blogspot.com/2006/11/kpowersave-on-way-to-070.html author's blog post]
 * Laptop buttons support
    * Battery: show tip [guidance-power-manager]
    * Suspend/Hibernate: perform suspend/hibernate action [guidance-power-manager]
    * Power: offer logout dialog [ksmserver]
    * Bugs:
       * XF86AudioPlay should be changed to XF86AudioPause (as it is play/pause button)
       * review amarok default shortcuts and update k-d-s with proper alternate key combinations (XF86xxx)
 * Powermanager enhancement requests
    * Configurable: Lock before suspend/hibernate - [https://launchpad.net/bugs/64650 #64650]
    * Configurable: Actions on keyboard events (XF86Standby and XF86Sleep keys)
    * Configurable: cpufreq mode (ondemand, performance, userspace) - see [https://lists.ubuntu.com/archives/kubuntu-users/2006-October/010268.html mailing list thread] and [https://launchpad.net/distros/ubuntu/+source/powernowd/+bug/67341 #67341]
    * Idle actions: automatic actions if machine is idle for X minutes
 * Powermanager left overs:
    * Should be event driven and not polling HAL (depends on [http://lists.kde.org/?l=pykde&m=116197230507227&w=2 PyQt support])
    * DCOP interface should not include PID (depends on [http://lists.kde.org/?l=pykde&m=115998965601809&w=2 PyKDE fix for KUniqueApplication behavior])
 * Logout dialog integration
   * Configurable: lock before suspend/resume - see [https://launchpad.net/bugs/64650 #64650]
   * Configurable: enable/disable suspend/hibernate buttons (useful for live CD too - see [https://launchpad.net/bugs/70454 #70454])
 * Ksynaptic by default
   * better support for touchpad
   * would need to fix it to not show in the tray (at least not by default)
   * install by default, show it under Keyboard in system settings, but not enabled by default
 * Does new KPowersave provide proper replacement for Guidance Powermanager and similar simple and just-works experience?
 * Will HAL in Feisty provide CPU frequency functionality?
 * Py``Qt/PyKDE does not provide proper dbus event handling (polling still required).

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

Edgy has several improvements (see KubuntuLaptopButtons and KubuntuPowerManagement spec) in laptop support that brings laptop support to comparable level with Ubuntu. For Feisty, we need to polish the solution to get to great out-of-the-box experience on Kubuntu laptop.

Rationale

Some functionality implemented in Edgy is lacking or implemented with limitations ([https://launchpad.net/bugs/64650 #64650], [https://launchpad.net/bugs/70454 #70454], [https://launchpad.net/bugs/67341 #67341]).

Use cases

  • Sarah would like that suspend and hibernate buttons on her laptop just work out of the box.
  • Jonathan would like that power button would offer him logout/shutdown/restart/suspend/hibernate options and not just power-off immediately,
  • Sebastian would like to set different CPU frequency scaling levels (powersave, performance) and automatic action if laptop is idle.
  • Tonio does not find a way to configure synaptics touch pad as ksynaptics is not installed by default.
  • Nuno does not like suspend/hibernate options not working on Desktop CD.

Scope

The intention is to reconsider kpowersave and implement some minor improvements that were not implemented in Edgy due to technical and/or time constraints.

Design

  • Review new kpowersave for potential main inclusion and feasibility to replace Guidance Powermanager.

  • Review laptop buttons assignments and implement missing functionality.
  • Review ksynaptics for main inclusion and inclusion in default setup.

  • Disable suspend/hibernate functionality when running Live/Desktop CD

Implementation

  • Evaluate recent kpowersave with [http://dkukawka.blogspot.com/2006/11/kpowersave-on-way-to-070.html HAL support] for main inclusion and as potential replacement of Guidance Powermanager. In order to be considered as default power management application in Kubuntu, it needs to fulfill the following criteria:

    • Proper integration with Ubuntu laptop infrastructure (acpi-support, pmi, hal)
    • Simplification of user interface (comparable to existing Guidance Powermanager)
  • kdebase

    • Define global shortcuts for Suspend/Hibernate buttons and call HAL action
    • Define global shortcut for Battery button and call Powermanager over DCOP to show battery info
    • Define global shortcut for Power button to present standard logout dialog with Logout/Shutdown/Restart/Suspend/Hibernate options
    • Parse power-managerrc file for lockOnResume, disableSuspend and disableHibernate options and act appropriately

    • Update xkeysyms assignments in /usr/share/apps/kxkb/ubuntu.xmodmap to match most laptops buttons
  • kde-guidance

    • Fix power-manager DCOP interface to not use PID
    • Parse power-managerrc file for lockOnResume, disableSuspend and disableHibernate options and act appropriately

    • Allow setting current CPU frequency scaling (ondemand, powersave, performance)
    • Idle actions: automatic actions if machine is idle for X minutes
  • casper

    • Provide power-managerrc with disableSuspend and disableHibernate options turned on for Desktop CD user.

  • ksynaptics

    • Prepare package for main inclusion
    • Should not be started by default and should have proper default settings for just-works experience.
    • Add configuration module to System settings -> Keyboard and Mouse

Unresolved issues

  • Does new KPowersave provide proper replacement for Guidance Powermanager and similar simple and just-works experience?
  • Will HAL in Feisty provide CPU frequency functionality?
  • PyQt/PyKDE does not provide proper dbus event handling (polling still required).


CategorySpec

KubuntuFeistyLaptop (last edited 2008-08-06 16:22:01 by localhost)