[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-27 Thread Alberto Salvia Novella
** Description changed:

- Dear all!
+ HOW TO REPRODUCE:
+ 1. Cool boot a laptop.
+ 2. Set a different screen brightness level.
+ 3. Reboot.
  
- I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
- Many of them are based on systemd.
- It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.
+ RESULT:
+ Backlight is not memorized.
  
- In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
- 
- [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
- [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
- .
- 
- =
- 
- Steps to reproduce:
- 1. User boots laptop (cold boot, not wake from suspend)
- 2. User sets comfortable backlight level
- 3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
- 4. Go to 1 (another cold boot with reseted backlight level).
- 
- =
- 
- According to the list of duplicates and bug heat this bug/feature
- request is very important.
- 
- As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
- Also Ubuntu and Debian market share are increasing.
- 
- So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
- It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.
- 
- As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
- It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).
- 
- So on 2014-12-28 I presented new version of a script - it can save and 
restore backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
- The init script with symlink aPlease note: ire packed to archive (see 
attachment to comment #18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
- The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.
- 
- If you have installed its previous version (from comment #15) - you can 
remove its files with commands:
-  sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
- then extract new version with commands:
-  sudo tar -zxvf upstart_brightness.tar.gz -C /
- 
- I hope my script will help somebody.
- Thanks for testing!
- 
- To Ubuntu developers: please contact me if you are ready to include and
- distribute my script to 12.04 and 14.04 deb-pakages.
- 
- =
+ FIX:
+ Into the Terminal application, enter the following lines one by one:
+   - wget 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
+   - sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
+   - sudo tar -zxvf upstart_brightness.tar.gz -C /
+   - rm upstart_brightness.tar.gz
  
  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)

** Summary changed:

- Ubuntu should have an upstart job for saving/restoring backlight level on 
laptops
+ On laptops, screen brightness isn't memorized between sessions

** Changed in: hundredpapercuts
   Importance: Medium = Low

** Description changed:

  HOW TO REPRODUCE:
- 1. Cool boot a laptop.
+ 1. Boot a laptop.
  2. Set a different screen brightness level.
  3. Reboot.
  
  RESULT:
  Backlight is not memorized.
  
  FIX:
  Into the Terminal application, enter the following lines one by one:
-   - wget 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
-   - sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
-   - sudo tar -zxvf upstart_brightness.tar.gz -C /
-   - rm 

[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-26 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: upstart (Ubuntu)
   Status: New = Confirmed

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  Dear all!

  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  =

  Steps to reproduce:
  1. User boots laptop (cold boot, not wake from suspend)
  2. User sets comfortable backlight level
  3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
  4. Go to 1 (another cold boot with reseted backlight level).

  =

  According to the list of duplicates and bug heat this bug/feature
  request is very important.

  As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
  Also Ubuntu and Debian market share are increasing.

  So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
  It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.

  As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
  It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).

  So on 2014-12-28 I presented new version of a script - it can save and 
restore backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
  The init script with symlink aPlease note: ire packed to archive (see 
attachment to comment #18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
  The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.

  If you have installed its previous version (from comment #15) - you can 
remove its files with commands:
   sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
  then extract new version with commands:
   sudo tar -zxvf upstart_brightness.tar.gz -C /

  I hope my script will help somebody.
  Thanks for testing!

  To Ubuntu developers: please contact me if you are ready to include
  and distribute my script to 12.04 and 14.04 deb-pakages.

  =

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-26 Thread Alberto Salvia Novella
** Changed in: upstart (Ubuntu)
   Importance: Undecided = Wishlist

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  Dear all!

  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  =

  Steps to reproduce:
  1. User boots laptop (cold boot, not wake from suspend)
  2. User sets comfortable backlight level
  3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
  4. Go to 1 (another cold boot with reseted backlight level).

  =

  According to the list of duplicates and bug heat this bug/feature
  request is very important.

  As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
  Also Ubuntu and Debian market share are increasing.

  So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
  It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.

  As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
  It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).

  So on 2014-12-28 I presented new version of a script - it can save and 
restore backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
  The init script with symlink aPlease note: ire packed to archive (see 
attachment to comment #18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
  The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.

  If you have installed its previous version (from comment #15) - you can 
remove its files with commands:
   sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
  then extract new version with commands:
   sudo tar -zxvf upstart_brightness.tar.gz -C /

  I hope my script will help somebody.
  Thanks for testing!

  To Ubuntu developers: please contact me if you are ready to include
  and distribute my script to 12.04 and 14.04 deb-pakages.

  =

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-17 Thread Norbert
** Tags removed: i386
** Tags added: precise quantal raring saucy utopic

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  New
Status in sysvinit package in Debian:
  New

Bug description:
  Dear all!

  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  =

  Steps to reproduce:
  1. User boots laptop (cold boot, not wake from suspend)
  2. User sets comfortable backlight level
  3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
  4. Go to 1 (another cold boot with reseted backlight level).

  =

  According to the list of duplicates and bug heat this bug/feature
  request is very important.

  As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
  Also Ubuntu and Debian market share are increasing.

  So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
  It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.

  As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
  It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).

  So on 2014-12-28 I presented new version of a script - it can save and 
restore backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
  The init script with symlink aPlease note: ire packed to archive (see 
attachment to comment #18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
  The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.

  If you have installed its previous version (from comment #15) - you can 
remove its files with commands:
   sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
  then extract new version with commands:
   sudo tar -zxvf upstart_brightness.tar.gz -C /

  I hope my script will help somebody.
  Thanks for testing!

  To Ubuntu developers: please contact me if you are ready to include
  and distribute my script to 12.04 and 14.04 deb-pakages.

  =

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-15 Thread Mathew Hodson
** Tags removed: precise quantal raring saucy trusty-desktop utopic
** Tags added: i386

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  New
Status in sysvinit package in Debian:
  New

Bug description:
  Dear all!

  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  =

  Steps to reproduce:
  1. User boots laptop (cold boot, not wake from suspend)
  2. User sets comfortable backlight level
  3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
  4. Go to 1 (another cold boot with reseted backlight level).

  =

  According to the list of duplicates and bug heat this bug/feature
  request is very important.

  As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
  Also Ubuntu and Debian market share are increasing.

  So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
  It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.

  As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
  It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).

  So on 2014-12-28 I presented new version of a script - it can save and 
restore backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
  The init script with symlink aPlease note: ire packed to archive (see 
attachment to comment #18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
  The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.

  If you have installed its previous version (from comment #15) - you can 
remove its files with commands:
   sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
  then extract new version with commands:
   sudo tar -zxvf upstart_brightness.tar.gz -C /

  I hope my script will help somebody.
  Thanks for testing!

  To Ubuntu developers: please contact me if you are ready to include
  and distribute my script to 12.04 and 14.04 deb-pakages.

  =

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-13 Thread Cody Garver
elementary OS is interested in your script, I'll give you more feedback
when I next test your script

On Tue, Jan 13, 2015 at 1:01 PM, Norbert 1270...@bugs.launchpad.net
wrote:

 Dear all!

 Are you found my script useful?

 If YES, you can write your comments and suggestions here or in the mail
 lists:
 * Ubuntu Upstart devel -
 https://lists.ubuntu.com/archives/upstart-devel/2015-January/thread.html
 * Ubuntu Devel Discuss -
 https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2015-January/015280.html
 * Ubuntu Laptop Devel -
 https://lists.ubuntu.com/archives/laptop-devel/2015-January/thread.html
 * Debian Laptop -
 https://lists.debian.org/debian-laptop/2014/12/msg00039.html
 * Debian Pkg SysVInit Devel -
 http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/2014-December/007949.html

 If NO - I'll continue to use my script locally, while you can use it by
 manual installation from archive (see comment 18 above).

 --
 You received this bug notification because you are subscribed to
 elementary.
 https://bugs.launchpad.net/bugs/1270579

 Title:
   Ubuntu should have an upstart job for saving/restoring backlight level
   on laptops

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



-- 
Cody Garver

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  New
Status in sysvinit package in Debian:
  New

Bug description:
  Dear all!

  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  =

  Steps to reproduce:
  1. User boots laptop (cold boot, not wake from suspend)
  2. User sets comfortable backlight level
  3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
  4. Go to 1 (another cold boot with reseted backlight level).

  =

  According to the list of duplicates and bug heat this bug/feature
  request is very important.

  As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
  Also Ubuntu and Debian market share are increasing.

  So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
  It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.

  As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
  It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).

  So on 2014-12-28 I presented new version of a script - it can save and 
restore backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
  The init script with symlink aPlease note: ire packed to archive (see 
attachment to comment #18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
  The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.

  If you have installed its previous version (from comment #15) - you can 
remove its files with commands:
   sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
  then extract new version with commands:
   sudo tar -zxvf upstart_brightness.tar.gz -C /

  I hope my script will help somebody.
  Thanks for testing!

  To Ubuntu developers: please contact me if you are ready to include
  and 

[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-09 Thread Norbert
** Description changed:

+ Dear all!
+ 
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.
  
  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .
  
- I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
- You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
- ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
- ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
- ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight
+ =
  
- For details you can read my comment on askubuntu
- (http://askubuntu.com/a/227553/66509).
+ Steps to reproduce:
+ 1. User boots laptop (cold boot, not wake from suspend)
+ 2. User sets comfortable backlight level
+ 3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
+ 4. Go to 1 (another cold boot with reseted backlight level).
  
- I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
- So, please, add such init script to default Ubuntu installation.
+ =
+ 
+ According to the list of duplicates and bug heat this bug/feature
+ request is very important.
+ 
+ As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
+ Also Ubuntu and Debian market share are increasing.
+ 
+ So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
+ It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.
+ 
+ As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
+ It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).
+ 
+ So today I present new version of a script - it can save and restore 
backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
+ The init script with symlink are packed to archive (see attachment to comment 
#18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
+ The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.
+ 
+ 
+ Please note: if you have installed its previous version (see comment #15) - 
you can remove its files with commands:
+  sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
+ then extract new version with commands:
+  sudo tar -zxvf upstart_brightness.tar.gz -C /
+ 
+ 
+ I hope my script will help somebody.
+ Thanks for testing!
+ 
+ =
  
  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)

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  New
Status in sysvinit package in Debian:
  New

Bug description:
  Dear all!

  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 

[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-09 Thread Norbert
** Description changed:

  Dear all!
  
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.
  
  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .
  
  =
  
  Steps to reproduce:
  1. User boots laptop (cold boot, not wake from suspend)
  2. User sets comfortable backlight level
  3. User ends his/her work by shutting down the laptop (not suspend, so 
backlight level is not saved)
  4. Go to 1 (another cold boot with reseted backlight level).
  
  =
  
  According to the list of duplicates and bug heat this bug/feature
  request is very important.
  
  As you know laptop market share is gigantic (see for example 
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
  Also Ubuntu and Debian market share are increasing.
  
  So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years.
  It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.
  
  As you can remember I tried to fix the problem by myself (see my comment on 
askubuntu 
http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart/227553#227553)
 - I created first version of an init script for saving and restoring backlight 
level (on 10 Dec 2012 - two years ago).
  It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).
  
- So today I present new version of a script - it can save and restore 
backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
- The init script with symlink are packed to archive (see attachment to comment 
#18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
+ So on 2014-12-28 I presented new version of a script - it can save and 
restore backlight levels of all graphical, adaptors, which are found in 
`/sys/class/backlight/*`.
+ The init script with symlink aPlease note: ire packed to archive (see 
attachment to comment #18 - 
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
 ).
  The script is tested on Ubuntu Precise 12.04.5 and Ubuntu Trusty 14.04.1.
  
- 
- Please note: if you have installed its previous version (see comment #15) - 
you can remove its files with commands:
-  sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
+ If you have installed its previous version (from comment #15) - you can 
remove its files with commands:
+  sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
  then extract new version with commands:
-  sudo tar -zxvf upstart_brightness.tar.gz -C /
- 
+  sudo tar -zxvf upstart_brightness.tar.gz -C /
  
  I hope my script will help somebody.
  Thanks for testing!
+ 
+ To Ubuntu developers: please contact me if you are ready to include and
+ distribute my script to 12.04 and 14.04 deb-pakages.
  
  =
  
  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)

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  New
Status in sysvinit package in Debian:
  New

Bug description:
  Dear 

[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-09 Thread Norbert
** Also affects: upstart (Ubuntu)
   Importance: Undecided
   Status: New

** Attachment removed: /etc/init.d/brightness script
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/3952116/+files/brightness

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  New
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2015-01-02 Thread erik
Hi Norbert,

Your solution works for Ubuntu 14.04 LTS, Sony Vaio Series T laptop,
Intel graphics 4000.

Thanks man!

Regards,
Erik

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-30 Thread Norbert
** Also affects: linuxmint
   Importance: Undecided
   Status: New

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-30 Thread Norbert
Bug exists in Linux Mint 17 and 17.1.

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in The Linux Mint Distribution:
  New
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-29 Thread Andreas Mohr
Commenting on #18:
Checking the brightness script (POSIX-incompatible bashisms etc.), my system 
says:

# checkbashisms brightness
possible bashism in brightness line 30 (unsafe echo with backslash):
echo \tloading $saved_controller_name
possible bashism in brightness line 40 (unsafe echo with backslash):
echo \tsaving $controller_name
possible bashism in brightness line 50 (unsafe echo with backslash):
echo \tCurrent brightness level for 
$controller_name is $(cat $controller/brightness)
possible bashism in brightness line 58 (unsafe echo with backslash):
echo \tSaved brightness level for 
$saved_controller_name is $(cat $saved_file)


(should probably prefer using the printf helper for that, since a \t control 
code might possibly require echo -e, yet availability of sufficiently 
compatible echo -e possibly isn't guaranteed)


Also some variable uses are not -quoted, which will cause issues in case of 
space-containing filesystem items (which is somewhat unlikely to be encountered 
in the case of firmly Linux-managed /proc or /sys entries, but still...).


And some path strings are openly duplicated rather than assigned to helper 
variables.


All in all these are fairly minor issues, and I didn't runtime test the script 
anyway. I simply decided to be bored enough to do a code review ;)

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-28 Thread Norbert
** Changed in: sysvinit (Ubuntu)
   Status: Invalid = Confirmed

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-28 Thread Norbert
Dear all!

According to the list of duplicates and bug heat this bug/feature
request is very important.

As you know laptop market share is gigantic (see for example  
http://www.statista.com/statistics/276772/ultrabook-share-of-global-notebook-market-since-2011/
 for stats).
Also Ubuntu and Debian market share are increasing.

So I can't believe why this usability fault exists in Ubuntu (and Debian) for 
years. 
It seems that guys from `systemd` understand the problem correctly (sooner or 
later - on 14 Aug 2013, see 
https://github.com/systemd/systemd/commits/56f64d95763a799ba4475daf44d8e9f72a1bd474/src/backlight/backlight.c
 ), but `upstart` and `sysvinit` developers not.

As you can remember I tried to fix the problem by myself - I created first 
version of an init script for saving and restoring backlight level (on 10 Dec 
2012 - two years ago). 
It had one disadvantage - it operates only when laptop has one graphical 
adaptor and its name was hardcoded to the script (*acpi_video0* in my case).
So today I present new version of a script - it can save and restore backlight 
levels of all graphical, adaptors, which are found in `/sys/class/backlight/*`.
The init script with symlink are packed to archive (see attachment).
If  you have installed its previous version (see comment #15) - you can remove 
its files with commands:
 sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
then extract new version with commands:
 sudo tar -zxvf upstart_brightness.tar.gz -C /

I hope my script will help somebody.
Thanks for testing!


** Attachment added: new version of backlight saving/restoring script
   
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-28 Thread Avi Romanoff
** Changed in: elementaryos
   Status: New = Confirmed

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  Confirmed
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Confirmed
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-27 Thread Norbert
Cody, the current version of my script works only with one graphical adapter 
(its brightness file is named /sys/class/backlight/acpi_video0/brightness).
You can customize this value in my script at row 16
 BRIGHTNESS_CONTROL=/sys/class/backlight/acpi_video0/brightness 
to path which is *correct* for your hardware.

Correct path may be determined by the following steps:
1. List all paths with brightness file in /sys/class/backlight dir with the 
command
 ls /sys/class/backlight/*/brightness

example: 
 /sys/class/backlight/acpi_video0/brightness
 /sys/class/backlight/acpi_video1/brightness

2a. Read values of brightness from files with the command:
 cat /sys/class/backlight/*/brightness

example:
 3
 8

2b. Change backlight level with hardware keys (Fn+...) and read again:
 cat /sys/class/backlight/*/brightness

example:
 4
 8
2c. The *correct* path to brightness control file corresponds to the changed 
value.

example: 
 /sys/class/backlight/acpi_video0/brightness # first value changed, so 
first file
3. Try to write brightness level manually to *correct* brightness file:
 sudo su
 echo 3  /sys/class/backlight/acpi_video0/brightness # example on my 
hardware
4. Change BRIGHTNESS_CONTROL variable to the *correct* path in 
/etc/init.d/brightness with the command
 sudo gedit /etc/init.d/brightness

I'll update my script soon to do all steps automatically.

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Invalid
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-26 Thread Cody Garver
Norbert, I followed your instructions and it's not working on my laptop.
It's nvidia optimus with only the intel gpu active.

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Invalid
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-22 Thread SNIKERSMRG
Russian version Ubuntu 14.04 in notebook Samsung NP350V5C (Intel
Graphics + AMD Graphics) problem exists.

http://forum.ubuntu.ru/index.php?topic=255145.15

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Invalid
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-12-22 Thread Norbert
Ready for use archive is in attachment, you can extract it with the following 
command:
sudo tar -zxvf upstart_backlight.tar.gz -C /

** Attachment added: upstart_backlight.tar.gz
   
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1270579/+attachment/4286027/+files/upstart_backlight.tar.gz

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in systemd package in Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Invalid
Status in sysvinit package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-11-02 Thread Norbert
Bug exists in Ubuntu Utopic 14.10 final.

@pitti
Is it possible to include my init scripts to non-systemd versions of Ubuntu?

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in “systemd” package in Ubuntu:
  Triaged
Status in “sysvinit” package in Ubuntu:
  Invalid
Status in “sysvinit” package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1270579] Re: Ubuntu should have an upstart job for saving/restoring backlight level on laptops

2014-10-07 Thread Norbert
Dear Martin! Thank you for reply.

How I can help to implement this functionality to Ubuntu 12.04 LTS and 14.04 
LTS ?
I'm ready to help. In which place I should ask sponsorship and help (IRC or 
something)?

I think that such script is very useful. See my comment 8 for
explanation.

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

Title:
  Ubuntu should have an upstart job for saving/restoring backlight level
  on laptops

Status in elementary OS:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in Ubuntu MATE:
  Opinion
Status in “systemd” package in Ubuntu:
  Triaged
Status in “sysvinit” package in Ubuntu:
  Invalid
Status in “sysvinit” package in Debian:
  New

Bug description:
  I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, 
Sabayon, Mageia 4.
  Many of them are based on systemd.
  It does not matter what init system they use, but all of them have very 
usefull script (or binary program, I don't know) for saving and restoring 
backlight level on laptop.

  In these distros there is a script for save and restore backlight levels for 
two video-cards (acpi_video0 and acpi_video1). During system boot it is 
indicated as follows:
  
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video1.
  [  OK  ] Started Load/Save Screen Backlight Brightness of acpi_video0.
  .

  I have a draft version, which works normally on my VAIO F13Z1R laptop with 
Ubuntu 12.04.4. It is in attachment.
  You can use it unmodified or modify it for compatibility or something. I made 
symlinks for it:
  ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
  ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

  For details you can read my comment on askubuntu
  (http://askubuntu.com/a/227553/66509).

  I think that having a script for saving and restoring backlight level is very 
useful for laptop Ubuntu users.
  So, please, add such init script to default Ubuntu installation.

  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/elementaryos/+bug/1270579/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp