← Back to team overview

touch-packages team mailing list archive

[Bug 1270579] Re: On laptops, screen brightness and keyboard backlight isn't memorized between sessions

 

@Norbert, thanks for your solution
(for users still on trusty/not on systemd) please find enclosed a patch to run it on suspend/hibernate/resume/thaw with pm-utils
+ ln -s /etc/init.d/sysvinit-backlight /etc/pm/sleep.d/20_sysvinit-backlight

** Patch added: "sysvinit-backlight.pm-utils.patch"
   https://bugs.launchpad.net/dell-sputnik/+bug/1270579/+attachment/4547193/+files/sysvinit-backlight.pm-utils.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1270579

Title:
  On laptops, screen brightness and keyboard backlight isn't memorized
  between sessions

Status in Dell Sputnik:
  New
Status in One Hundred Papercuts:
  Won't Fix
Status in Linux Mint:
  Confirmed
Status in upstart :
  Confirmed
Status in cinnamon-settings-daemon package in Ubuntu:
  Confirmed
Status in gnome-settings-daemon package in Ubuntu:
  Confirmed
Status in mate-settings-daemon package in Ubuntu:
  Confirmed
Status in upower package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  Won't Fix

Bug description:
  HOW TO REPRODUCE:
    1. Boot a laptop.
    2. Set a different screen (or keyboard) backlight brightness level.
    3. Reboot.

  RESULT:
    Backlight is not memorized.

  FIX:
    A. For Ubuntu 12.04 LTS and 14.04 LTS install my package from PPA
      sudo add-apt-repository ppa:nrbrtx/sysvinit-backlight
      sudo apt-get update
      sudo apt-get install sysvinit-backlight

      NOTES:
      1. If you have installed previous non-deb version, please remove it carefully manually
        sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness /etc/rc?.d/?25brightness
      2. If you have installed previous version from my PPA on Ubuntu 14.04, please reinstall the package by:
        sudo apt-get purge sysvinit-backlight
        sudo apt-get install sysvinit-backlight
      3. Version 0.1ubuntu1 supports save/restore of keyboard backlight too.

    B. Ubuntu 14.10 is at EOL (from July 2015), Ubuntu 15.04 is near EOL (really in January 2016), so users should upgrade them to Ubuntu 15.10 (see C below).
       My script seems to be incompatible with this Ubuntu version - remove it with
        sudo apt-get purge sysvinit-backlight
        sudo add-apt-repository -r ppa:nrbrtx/sysvinit-backlight

    C. Ubuntu 15.04 and 15.10 have systemd-backlight@.service. It saves and restores screen and keyboard backlight levels.
       My script is incompatible with these Ubuntu versions.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: initscripts 2.88dsf-41ubuntu5
  ProcVersionSignature: Ubuntu 3.13.0-4.19-generic 3.13.0-rc8
  Uname: Linux 3.13.0-4-generic i686
  ApportVersion: 2.13.1-0ubuntu1
  Architecture: i386
  CurrentDesktop: GNOME
  Date: Sun Jan 19 17:20:26 2014
  InstallationDate: Installed on 2013-10-20 (91 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
  SourcePackage: sysvinit
  UpgradeStatus: Upgraded to trusty on 2013-11-19 (61 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1270579/+subscriptions