← Back to team overview

mactel-support team mailing list archive

[Bug 289520] Re: GPM unresponsive for two minutes after startup on Macbooks

 

True. I removed the old attachments and added new ones accordingly. I
also took the liberty of changing patch 90 to use non-linear stepping;
it makes every step roughly equal in perceived brightness change, and
allows for much finer tuning at low brightness.


** Attachment added: "90-Add-guarded-brightness-stepping-functions.patch"
   http://launchpadlibrarian.net/18957587/90-Add-guarded-brightness-stepping-functions.patch

-- 
GPM unresponsive for two minutes after startup on Macbooks
https://bugs.launchpad.net/bugs/289520
You received this bug notification because you are a member of Mactel
Support, which is a direct subscriber.

Status in Mactel Support: Fix Released
Status in “gnome-power-manager” source package in Ubuntu: In Progress

Bug description:
Binary package hint: gnome-power-manager

Many of the recent Apple MacBooks have a large number of LCD backlight levels. The GPM uses XRandR to modify the backlight. However, the gpm-brightness-xrandr smooth brightness function does not take the number of brightness levels into account. On recent Macbooks, this leads to some 20000 brightness-set calls on startup, an activity that takes about one and a half minute. During this time, GPM is not responsive. Attached is a patch that introduces scaled stepping, which fixes the problem.