Fedora Linux Support Community & Resources Center
  #1  
Old 24th July 2012, 04:32 PM
OlivFedora Offline
Registered User
 
Join Date: Oct 2010
Posts: 34
linuxfirefox
Question brightness settings not kept after restart - time + 2 hours

Hi,

on Fedora 17 on my brand new asus, each time I start a new session (restart or after shutdown) it automatically sets brightness back to 100% ... I have to set it back manually... it seems to happen on some other Linux (suse) and some older Fedora too. But I couldn't find a way to correct it.

Another problem is the time that gains 2 hours more after reboot...

(Until recently I was using Fedora 16 on an older computer and never had such pb)

Any help is welcome !

O'

-------------------------------
update:

Even after a suspend the brigthness setting is not kept.

O'

Last edited by OlivFedora; 26th July 2012 at 09:05 AM.
Reply With Quote
  #2  
Old 28th July 2012, 03:17 PM
Japplo Offline
Registered User
 
Join Date: Sep 2010
Posts: 76
linuxfirefox
Re: brightness settings not kept after restart - time + 2 hours

Quote:
Originally Posted by OlivFedora View Post
Hi,

on Fedora 17 on my brand new asus, each time I start a new session (restart or after shutdown) it automatically sets brightness back to 100% ... I have to set it back manually... it seems to happen on some other Linux (suse) and some older Fedora too. But I couldn't find a way to correct it.

Another problem is the time that gains 2 hours more after reboot...

(Until recently I was using Fedora 16 on an older computer and never had such pb)

Any help is welcome !

O'

-------------------------------
update:

Even after a suspend the brigthness setting is not kept.

O'

Add:

Code:
if [ -f /sys/class/backlight/acpi_video0/brightness ]; then
echo 3 > /sys/class/backlight/acpi_video0/brightness; fi
to /etc/rc.d/rc.local

Last edited by Japplo; 30th July 2012 at 07:20 PM.
Reply With Quote
  #3  
Old 30th July 2012, 01:50 PM
OlivFedora Offline
Registered User
 
Join Date: Oct 2010
Posts: 34
windows_7ie
Re: brightness settings not kept after restart - time + 2 hours

Thanks, I'll try asap.

So the next question is, why ? why do I need to do that, shouldn't it be a 'normal' feature ?

O'

---------- Post added at 08:50 PM ---------- Previous post was at 04:09 PM ----------

Quote:
Originally Posted by Japplo View Post
Add:

Code:
if [ -f /sys/class/backlight/acpi_video0/brightness ]; then
echo 3 > /sys/class/backlight/acpi_video0/brightness; fi
to /etc/rc.d/rc.local, kalibari
Hi Japplo,

I looked at /sys/class/backlight/
I've got 3 directories inside :
acpi_video0 acpi_video1 intel_backlight

If I modify the brightness with the GUI tool it will modify (let's say I put it to 8):
/sys/class/backlight/acpi_video1/actual_brightness
/sys/class/backlight/acpi_video1/brightness

If I do 'echo 3 > /sys/class/backlight/acpi_video0/brightness' it will modify the screen brightness.
Both
/sys/class/backlight/acpi_video0/actual_brightness
/sys/class/backlight/acpi_video0/brightness
will be at 3.

However
/sys/class/backlight/acpi_video1/actual_brightness
/sys/class/backlight/acpi_video1/brightness
will still be at 8

Then, as soon as I open the GUI tool it will set the brightness back to the value stored in /sys/class/backlight/acpi_video1/brightness

Now, I see that I can play with this settings to get the brightness I want.

But what I want is that each time my computer restart or reboot it keeps the brightness I set before stoping it.

Thanks.
Reply With Quote
  #4  
Old 30th July 2012, 07:05 PM
Ssl Offline
Registered User
 
Join Date: Aug 2008
Location: Serbia
Posts: 23
linuxfirefox
Re: brightness settings not kept after restart - time + 2 hours

Hi, I am too interested that system simply *restore* brightness that was in use just before shutdown, restart or suspend.
Seems, it is not working at least in Fedora 17 but I suspect problem occurs in other distributions too.

This is clearly a bug or regression as I see this on my notebook (radeon card inside) where I have
dell_backlight and radeon_bl dirs in /sys/class/backlight and also on friend's toshiba nb-100 netbook (intel atom nm10 graphics) and an asus n53 with intel hd graphics.

Looking for a solution I have stumbled upon something that tell me that gnome-settings daemon is responsible for this and probably the candidate for a new bug report if this one is not enough:
https://bugzilla.redhat.com/show_bug.cgi?id=817782
as this one seems corner case.

However some people suggest that we should run gnome-session-properties and in Options tab check "Automatically remember running applications when logging out" but I haven't tried it yet but will

So, solution in post #2 just set fixed brightness value and that's all it does - and is indeed usefull when problems are bigger eg. after reboot some panels are set to minimal brightness due to some other (kernel) bug.
Reply With Quote
  #5  
Old 14th August 2012, 01:52 PM
OlivFedora Offline
Registered User
 
Join Date: Oct 2010
Posts: 34
windows_7firefox
Re: brightness settings not kept after restart - time + 2 hours

I found a (stupid) workaround to keep my brightness setting after waking up from suspend : I keep a brightness setting window open when suspending...

I'm probably missing something, but I really don't understand what is the problem here. In my world I would do the following:

When suspend, quit, log out ... :
get current brightness from /sys/class/backlight/
save it 'somewhere'

When waking up, logo on ...:
get the previous brightness from 'somewhere'
set the brightness
Reply With Quote
  #6  
Old 14th August 2012, 04:20 PM
malkavian Offline
Registered User
 
Join Date: Jun 2011
Posts: 8
linuxchrome
Re: brightness settings not kept after restart - time + 2 hours

The problem looks very close one, I've reported here.
Reply With Quote
  #7  
Old 16th August 2012, 11:52 AM
malkavian Offline
Registered User
 
Join Date: Jun 2011
Posts: 8
linuxchrome
Re: brightness settings not kept after restart - time + 2 hours

I've spent some time and checked the problem on other versions and distros. Here are the results.

Looks like this issue is Fedora-specific. On my laptop it appears only after F17 update. On fresh installation backlight control works fine. It's also neither kernel nor KDE (I'm a KDE user) issue for I've installed their updates step by step and they do not cause any problems.

Then I've tried openSUSE with the same kernel version and KDE 4.8.5, and its eberything ok on this distro.

Any ideas?
Reply With Quote
  #8  
Old 17th September 2012, 07:41 PM
syntax3rror Offline
Registered User
 
Join Date: Feb 2011
Location: Philippine
Posts: 8
linuxfirefox
Re: brightness settings not kept after restart - time + 2 hours

Same issue here will my HP Pavilion.. any answer with this already?


Thanks.
Reply With Quote
  #9  
Old 13th November 2012, 03:30 PM
OlivFedora Offline
Registered User
 
Join Date: Oct 2010
Posts: 34
windows_7ie
Lightbulb Re: brightness settings not kept after restart - time + 2 hours

It took some time to find it, but somebody resolved my (our) problem :
https://extensions.gnome.org/extensi...tness-control/

It remembers the brightness setting, even after reboot, welcome to the 21st century.

I still don't understand why this feature is buggy in a 'normal' Fedora.
__________________
~~ Fedora 17 - 64 bits
~~ 10 Gb
~~ CPU: i7-3517U
Reply With Quote
Reply

Tags
brightness, hours, restart, settings, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time keeps on changing 7 hours morbidgames Using Fedora 10 18th September 2010 05:56 PM
Time is set two hours too late in Fedora 13 Beta AshikagaTakauji Fedora 13 Development Branch 4 26th April 2010 04:17 AM
Wrong US-Eastern time -- off by 4 hours rbhkamal Using Fedora 1 11th August 2008 04:45 AM
sshd logs time is syslog 12 hours behind.. wintersm Servers & Networking 1 20th July 2006 04:26 AM
time on all FedoraForum posts 2 hours late? robatino Suggestions & Feedback 11 15th April 2005 11:18 AM


Current GMT-time: 15:12 (Thursday, 30-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
San Antonio de la Cal Instagram Photos - Botosani - Nioro du Rip