Test Day:2009-07-21 Fit and Finish:Batteries and Suspend

From FedoraProject

Jump to: navigation, search

This test day is part of the Fit and Finish initiative.

DATE TIME WHERE
Tue July 21, 2009 From 12:00 to 21:00 UTC (8am -> 5pm EDT) #fedora-fit-and-finish)

Contents

[edit] What to test?

Today's installment of Fedora Test Day will focus on user experience issues of batteries, power and suspend. We explicitly want to focus on user experience issues here, which means we want to find problems where power management gets in the way of you doing your regular tasks, not test an individual feature in depth.

The primary user interface for power management on the desktop spin is gnome-power-manager, in the menus under System → Preferences → Power Management, and more prominently the battery icon in the notification area. Another important interface to power management is the power button (duh), as well as the various sleep, suspend, and brightness keys that laptops often have.

[edit] Who's available

The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion: Matthias Clasen, Richard Hughes

[edit] Prerequisites for Test Day

Note that these images are too large to fit on a CD. You will need to burn them to a DVD or convert them to USB images to work with them. We are working to get the image size reduced for future test days.

Also, note that the images will be removed shortly after the test day, since they are strictly for test day usage only.

Architecture SHA1SUM
i586 a47ca49b1bfb9513156ef28e281d8070619989c0
x86_64 3b276be0d2bba415831884c6d86f38c74645cd08

Finally, if you don't have a rawhide installation and don't want to download an iso, your input will still be valuable if it is based on F11.

[edit] How to test

Here are some scenarios involving power management:

[edit] General Notes

[edit] Issues that were identified

Tester Description Bug references
mclasen Alarming battery icon colors #512962 FIXED
mclasen OSD visuals not matching #512968 FIXED
mclasen mute key not grabbed #524499 FIXED
mclasen wrong default action for low-battery 512988 FIXED
wtogami Detect if Hibernate is not possible 513015 FIXED
mmonreal g-p-m crashes 513014 NEEDINFO, likely fixed
schaiba After a battery state change, devkit-power should rescan related devices 512995 FIXED

[edit] Things that work alright

Tester Description
mclasen lid closing triggers the configured action
mclasen low battery triggers the configured action
mclasen resume after docking works as expected

[edit] Known problems

[edit] The monitor seems to randomly blank when working for no reason!

Solution: I think this is some sort of X issue, as it seems to happens frequently when using nv or nouveau, but hardly ever happens with intel or ati. Interestingly this seems to happen less when using 2.27.x packages, although little code has changed in the DPMS area.

Help required: Yes please! Beer is offered for fixing this properly. If 2.27.x packages fix this for you, please let us know.

Comments: [mnowak] I can see it every boot, usually during common stuff like browsing the Net. But today I saw it just before entering LUKS password to my notebook (~5 yo Prestigio Nobile 156), so, I guess it's not related to X. It's fully updated F-11, with Intel 855 graphics (quite broken with xorg-x11-drv-intel-2.7.0-7.fc11.i586), btw.


[edit] The discharging notice appears when I plug in, and fully charged appears when I unplug!

Solution: Update to >=2.26.3 (for F11: https://admin.fedoraproject.org/updates/F11/FEDORA-2009-7497)

Help required: No, update your package.


[edit] My UPS is no longer working. It worked in F10!

Solution: Update to DeviceKit-power 009 (for F11: https://admin.fedoraproject.org/updates/F11/FEDORA-2009-7543)

Help required: No, update your package. If this fails to work, please ping me on irc (hughsie).


[edit] My laptop battery has two batteries and gnome-power-manager acts crazy!

Solution: You need DeviceKit-power >= 009 and gnome-power-manager 2.27.3. The latter is available for F11 here http://people.freedesktop.org/~hughsient/fedora/, although only install these packages if you know how to replace them with the proper F11 packages after this test day. Don't install other packages in this repo if you want a stable system. See http://blogs.gnome.org/hughsie/2009/06/16/gnome-power-manager-and-multiple-batteries/ for more information about the regression, and how it is being solved properly.

Help required: If multi-battery works / breaks for you with these packages, please let me know on IRC (hughsie).


[edit] My laptop used to suspend in F11, and after updating the kernel now just shows a black screen on resume!

Solution: Open a bug and assign it to the kernel component, this isn't a userspace problem.

Actually, this sounds like the cpufreq issue. Does anyone have suspend/resume working on F11?

Help required: No -- we're not dealing with problems like this on the test day, sorry.


[edit] I'm using the proprietary nvidia / broadcom / radeon drivers and my suspend breaks, and other crazy stuff happens!

Solution: Try again without all this junk loaded. Until you can reproduce with a system we can debug, we don't want to know, sorry.

Help required: No!


[edit] The status icon shows a grey icon that is not charging or discharging

Solution: Ensure you're running DeviceKit 009, and then if that doesn't work, then try the DeviceKit-power in the utopia repository.

Help required: If you still got issues with the package in the utopia repo, ping me on IRC (hughsie)


[edit] If I shut and then open the lid, the system suspend and resumes TWICE!

Solution: Ensure you're running gnome-power-manager >= 2.27.3.

Help required: If you still got issues with the package in the utopia repo, ping me on IRC (hughsie)


[edit] My ThinkPad's power button doesn't work!

Solution: Some older ThinkPads (like wwoods' 4-year-old T43) will not send the button-press event until you've been holding the button down for a moment. Try holding it down for a full second or so.

Help required: No.


[edit] 14 Aug. Re-test Results

Construct a table or list to allow testers to post results. Each column should be a test case or configuration, and each row should consist of test results. For example:

User Smolt Profile Low Battery Lid Close Docking External Display Wireless References
czhang send smolt failed FAIL [1] PASS maybe PASS, what does "Docking" mean? PASS PASS
  1. See RHBZ #517484
guaneryu LiveCD boot failed on Lenovo ThinkPad T60 [1] N/A N/A N/A N/A N/A
  1. See RHBZ #517487
jbao send smolt failed PASS FAIL [1] [N/A] [N/A] [N/A]
  1. See RHBZ #517480
hdong IBM T43 (smoltSendProfile return "invalid argument to setopt" error) FAIL [1] FAIL [2] N/A N/A N/A
  1. See RHBZ #517492
  2. See RHBZ #517486