[SOLVED] Brightness resets

I am a newbie to arch linux.
I have a laptop in which none of the fucntion keys work(but they worked perfectly in fedora 14 not in 13), plus the brightness resets to 100 after every restart.
The only way I can change brightness is to follow either of the two ways:
1. Use Gnome panel brighness applet(Moving the bar in the applet is really slow/lags, it is the same case with ubuntu 10.10 but not 10.04)
2. Use this command(Here I used 0 as my brightness):
echo -n 0 > /proc/acpi/video/VGA1/LCD/brightness
So, finally I decided to run this command at every startup so it starts automatically at 0. But I don't know where to put this command. I think I can put this in rc.local or create a startup application in gnome(but none of them worked).
Is there any way to excute this command at startup or make the fucntion key work. Thanks in advance.
Last edited by vikyboss (2011-05-08 02:16:53)

jasonwryan wrote:
vikyboss wrote:Is there any way I can make function key to work. I had this problem with Ubuntu 10.04, 10.10, fedora 13, fedora 14 kde. The only distro that worked out of box, meaning the all my function keys worked pefectly is with Fedora 14.
Yes. You just have to read the wiki https://wiki.archlinux.org/index.php/Ex … board_Keys
Basically, you can make Arch do pretty much anything you want it to with almost all hardware; but you have to do it yourself.
Please look through the excellent documentation the community has provided, try and get things to work yourself and then, if you encounter difficulties, ask here.
Thanks that helped a lot. So, all I have to do is assign functions to my function keys. But as I said before I can execute the echo command with specific brightness specified. But how can I implement them in my two function keys to increase/decrease depending on the two functions key?
Thanks.

Similar Messages

  • Brightness resets to highest setting after restart...

    I'm a mac noob and absolutely love my 24" iMac. One thing I've noticed is that the brightness will reset to the maximum setting after a restart. I've seen other posts about the brightness reset to the lowest setting, but has anyone experienced a reset to the maximum setting? I calibrate the monitor with the Monaco Optix XR and the icc profile doesn't change, just the brightness setting.
    -Mike
    24" iMac   Mac OS X (10.4.8)  

    Hello Mike
    Welcome to Discussions
    If you are using a wired keyboard and some others you can use the F14 & F15 keys to adjust display brightness, try this it will save you time not having to open display preferences.
    Another option is to just let iMac sleep. I sleep mine for days at a time, only shutting down when not using for days or bad electrical storms.
    Hope this will help
    Dennis
    17" iMac Intel Core Duo 1.5GB Ram   Mac OS X (10.4.8)   Maxtor 300GB FireWire 2G Nano

  • How to up the timeout setting to solve password reset portal error "Authentication gate timed out waiting for a challenge response"?

    Hi Everyone,
    We have the password portal up and running on one box and another server with FIM R2 and SharePoint 2010.  All is good with the exception that our end users typically get distracted during the password registration and/or reset process and receive:
    "An error has occurred. Please try again, and if the problem persists, contact your help desk or system administrator. (Error 3000) ".  The timeout kicks in after 5 minutes of inactivity in the browser.
    The FIM Service log shows the following:
    "Authentication gate timed out waiting for a challenge response".
    I have confirmed that the default password portal web.config setting is <add key="SessionTimeoutInMinutes" value="20" />.  
    We have also updated Microsoft.ResourceManagement.Service.exe.config per this
    article to the following but with no luck:
    <resourceManagementClient resourceManagementServiceBaseAddress="myAddress" timeoutInMilliseconds="600000" />
      <resourceManagementService externalHostName="myHost" dataReadTimeoutInSeconds="600" dataWriteTimeoutInSeconds="600"/> 
    We did not update the Windows SharePoint Servicesweb.config setting per the article about since we are on SharePoint 2010.  
    There is no NLB or firewall in front on this server.
    If anyone has any solution to how to solve this on FIM R2/SharePoint 2010 please let me know.
    Cheers!

    FIM_Admin,
    You could try changing the receiveTimeoutInSeconds parameter of the resourceManagementService node in your Microsoft.ResourceManagement.Service.exe.config file. However, you are warned not to do this unless instructed to by MS customer support. 
    http://msdn.microsoft.com/en-us/library/windows/desktop/ee652424(v=vs.100).aspx
    http://technet.microsoft.com/en-us/library/ff800821(v=ws.10).aspx

  • Screen brightness resets after every start up

    Hi all, haven't been here in about a year. My imac's brightness has been resetting to the darkest point every time I shut down then subsequently start up (next day, whenever). I always had it set at it's highest point, which is what I preffered, and now I have to set it with the keyboard EVERYTIME! Not the end of the world but a little irritating. I don't know if it's related but also lately my normally smooth running imac has been hanging up on me with the spinning beach ball of death and I routinely have to initiate a "force quit" but don't have to actually force quit any app. for the imac to resume as normal. All I have to do is close the force quit window, wierd. 3rd party culprit?
    Thanks guy's.
    vanessa_b

    Sounds strange.. Have you done the usual maintenance people around here suggest... repair permission.. clean caches? That's what I would do considering your other problems.
    May want to try a Utility like this:
    http://www.versiontracker.com/dyn/moreinfo/macosx/26516
    Also, you may want to consider creating another account.. set that account to open upon boot... and see if the screen problem persists. If it doesn't, then it may be an issue with a preferences file...although I'm not sure screen brightness is controlled by a preferences file.. worth a shot though.

  • Display brightness resets on wake...

    Hello everyone. I am having an odd issue I cannot seem to troubleshoot. I have an LED Cinema Display connected to my 2009 aluminum MacBook (now they are called Macbook Pro's).
    Seemingly at random, when I wake I will find the LED Display has reset it's brightness all the way to minimum. I cannot seem to pinpoint the issue as it is independent of any specific actions I am taking. I always close the lid on my macbook at night and open it in the morning. Some days the display is unaffected. Some days it resets. It is quite annoying.
    Note, this is not the "backlight turned off" issue I've read about. It is simply adjusting the brightness to minimum.
    Any ideas or solutions I am unaware of? Thanks for taking a moment to read my post.

    I'm having a similar issue...
    I have a LED Cinema Display connected to my 2009 MacBook Pro and sometimes when I wake it from sleep it 'forgets' which color profile it's using - it switches back to the default profile from the custom calibrated profile I set up.
    I work around it by simply opening the Displays System Preference Pane and it suddenly 'remembers' that I'm using a calibrated profile.
    Right now it's just an annoyance to open up the Displays Pane ever time this happens, but it'd be nice to have a real solution.

  • [SOLVED] Brightness control over keyboard not working, but it works...

    Hello,
    I recently got a new laptop at work and I put a fresh Arch on it.
    Almost everything works perfectly, but I have one weird issue.
    I can control backlight of my display via ACPI; I wrote a simple script for it:
    pabre@pbr-laptok:~$ cat /usr/local/sbin/brightness.sh
    #!/bin/bash
    DEV=/sys/class/backlight/intel_backlight/brightness
    MAX=`cat /sys/class/backlight/intel_backlight/max_brightness`
    ACT=`cat /sys/class/backlight/intel_backlight/actual_brightness`
    MIN=0
    STEPS=10
    STEP=$((MAX/STEPS))
    if [ $1 == "+" ]; then
    if [ $((ACT+STEP)) -le $MAX ]; then
    echo $((ACT+STEP)) > $DEV
    fi
    elif [ $1 == "-" ]; then
    if [ $((ACT-STEP)) -ge $MIN ]; then
    echo $((ACT-STEP)) > $DEV
    fi
    fi
    exit 0
    I put myself a sudoers entry for it:
    root@pbr-laptok:~# cat /etc/sudoers | grep pabre
    pabre ALL=(ALL) NOPASSWD: /usr/local/sbin/brightness.sh,/usr/bin/pacman -Sy
    And it works like a charm, when run from a terminal:
    pabre@pbr-laptok:~$ sudo /usr/local/sbin/brightness.sh -
    So, my next step was to bind that script to appropriate keys on my keyboard (Fn + UP/DOWN - which are XF86MonBrightnessUp and XF86MonBrightnessDown)
    My window manager is Awesome, so I put to the config:
    awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("sudo /usr/local/sbin/brightness.sh +") end),
    awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("sudo /usr/local/sbin/brightness.sh -") end),
    among others like touchpad toggling, volume control, etc (which are working without issues)
    And now, guess what... Those keys fire that script, change the brightness and after second or less - it comes back to old value! You can see that display blinks (for example gets brighter and moment after - it goes back to previous state).
    I tried to debug it, putting to the script something like:
    if [ $1 == "+" ]; then
    if [ $((ACT+STEP)) -le $MAX ]; then
    echo $((ACT+STEP)) > $DEV
    cat /sys/class/backlight/intel_backlight/actual_brightness >> /tmp/br.log
    sleep 1
    cat /sys/class/backlight/intel_backlight/actual_brightness >> /tmp/br.log
    fi
    And the first entry was that what it was supposed to be, while te other (second after) Was again the old value.
    Does anybody have any idea what "reverts" my changes to the /sys/class/backlight/intel_backlight/brightness and why it works without issues when simply run from a terminal?
    Last edited by PaBre (2014-03-16 17:10:54)

    I think that I've found partial answer.
    When I changed key binds to another keys - it works!
    But even then, when I press XF86MonBrightnessUp or XF86MonBrightnessDown, the brightness level gets reset. And now they are not bind to anything (at last not explicit).
    So it looks that I have to found how to decouple the internal, not working as expected, bind to these keys.

  • Screen wake time and brightness resets itself

    I did run the Xperia Connect to switch different scenario of work and sleep, but everytime it runs, the brightness and wake up display is always resetting itself to default. I had to re-enable it again to the setting I've previously sets. Please help to resolve, cause it's getting annoying.

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    If you're not using any antivirus or battery saver applications, I would suggest that you try to boot your phone into safe mode to see if the problem may be related to any 3rd party app that you have installed in your phone:
    http://talk.sonymobile.com/t5/FAQ/How-to-boot-your-phone-into-safe-mode/m-p/348008#U348008
    What are your thoughts about this forum? Let us know by doing this short survey.

  • Brightness resets after restart

    recently the brightness has started to reset every time i restart. im not sure why... anyone have an explanation?

    There's a trick that some have reported to work. Go to System Preferences, change the screen resolution to something different, then back again. My guess is that this forces the PRAM settings to be saved, when for unknown reasons another change doesn't.

  • [SOLVED] Unexpected reset of communication controller

    Hallo,
    I have here a Gigabyte GA-Z77-DS3H board and today I updated its BIOS to the newest version (because I have some seldom freezes which might come from my Ivybridge and I just wanted to exclude other possibilities).
    However, since then dmesg logs the following message every 30s:
    mei 0000:00:16.0: unexpected reset.
    If I interpret this right this refers to PCI address 00:16 which is - according to lspci
    00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
    Does anybody know what this is telling me? Should I worry (hardware failure) or can I ignore it? What should I do to further investigate the cause of this?
    Thanks in advance!
    Last edited by guitar76 (2012-08-25 08:08:00)

    Well, this again was clearly a case of "think and WAIT before you write":
    I just checked the gigabyte website and behold: a new BIOS version was released (probably it has been released some days ago, but it didn't appear on the German website) which solved the issue.
    So have a nice day...

  • [SOLVED] Brightness keeps changing: upowerd?

    Hi,
    My current system keeps changing the brightness on a number of system events:
    - wake-up from suspend
    - power cable inserted
    - power cable removed
    So every time I keep changing my brightness back to a usable level.
    There is some activity in upowerd, so I assume upowerd is either responsible or used by some other system component.
    Can you tell me where and how I can change this behavior?
    -- Niklas
    Last edited by magum (2014-07-30 10:53:51)

    So here's what I did:
    Disable Upowerd by moving the config out of  /etc/dbus-1/system.d & restart
    => On the events mentioned, the brightness still get's updated, but to a different--much more acceptable--level.
    So let's be sure:
    Activate Upowerd again, by moving config back & restart
    => The brightness is still on the same acceptable level.
    Yay, problem solved! Or is it?
    Some hours later, my brightness was again updated to darkness on any of the events. -.-'
    So I assume that somewhere under the hood, there is an "update-brightness" that is used for any of the events mentioned. And somewhere else there is a "mysterious process" changing the "update-brightness" on some events (possibly on low battery power).
    At this point I have no idea where either "update-brightness" or "mysterious process" are, but I would assume that it is related to systemd. (The developer of my WM, qtile made it clear that they are not changing the levels. The BIOS also does not have any configurable brightness option.)
    If you have any hints on "update-brightness" or "mysterious process", I would be happy to try them .
    @Name Taken: Yeah hacking the thing would be a possiblity. Not my favourite, though. It s-h-o-u-l-d be so simple.
    EDIT: So it's definitely independent of UPowerd. And it is not related with low battery levels.
    Last edited by magum (2014-06-05 10:39:58)

  • IMacs Display Brightness Resets Overnight

    I have 2 iMacs, one G5 and one Intel, They have both developed a problem where the display brighness resets to the lowest setting after it has been turned off and left overnight. Otherwise the brightness stays the same all day. One is running 10.3 and the other 10.4. PRam reset, permissions and adjustments to the power saver settings did nothing.
    Any Ideas

    My brand new iMac G5 is now doing this, exactly as you describe. I used to have an iMac G4 800mhz that did this also. Never could find a solution.
    Any help would be greatly appreciated.
    John
    20" iMac G5 2.1Ghz 1Gig RAM

  • [Solved]Brightness changing by itself / Samsung brightness

    Hello friends,
    I have a rather strange issue with my laptop (Samsung NP300V5Z). GNOME or KDE, no difference at all, so I presume it's kernel/hardware related. My brightness maxes out when:
    1. In KDE, when I click on the battery widget in systray (which is a known KDE bug) OR totally random.
    2. In GNOME 3, totally random.
    Using laptop-mode-tools helps a bit, because I choose it over KDE's powerdevil, so the bug is not so visible. One other thing worth mentioning. My Fn keys for brightness work half-way; they will only decrease/increase brightness by 1 (out of 7 max). Sound, wlan, touchpad Fn keys work without problem.
    I will provide whatever info you might need.
    Arch x64 latest, KDE 4.8, Gnome 3.2.1 kernel 3.2.2-1
    Last edited by NekySerbia (2012-03-06 18:32:22)

    Something happened and brightness is doing fine now, changing when I want it (except for a known KDE bug). One more thing still bothers me; my hotkeys for brightness are not working.
    I opened xev and pressed the combinations, here is the output:
    KeyPress event, serial 40, synthetic NO, window 0x1c00001,
    root 0xac, subw 0x1c00002, time 470989, (55,54), root:(57,436),
    state 0x10, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 40, synthetic NO, window 0x1c00001,
    root 0xac, subw 0x1c00002, time 470989, (55,54), root:(57,436),
    state 0x10, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 40, synthetic NO, window 0x1c00001,
    root 0xac, subw 0x1c00002, time 476305, (55,54), root:(57,436),
    state 0x10, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 40, synthetic NO, window 0x1c00001,
    root 0xac, subw 0x1c00002, time 476305, (55,54), root:(57,436),
    state 0x10, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    but nothing happens ;( What can I do to fix this? I can check my brightness level by
    cat /sys/class/backlight/acpi_video1/brightness
    . There is also 'acpi_video0' but it does nothing.

  • [Solved]Brightness control doesn`t work anymore

    Hi!
    I`ve made my 3rd update of Arch since installation, and... where previous two succeeded, the third one failed. It messed up my system
    The problem is, i cannot change brightness any more through my function keys (and since i`m using Openbox as my DE, i cannot change it at all ). The brightness now is so low that i can barely see what i am typing. And it is not only in my Arch, it also messed up Windows and everything else: grub, bootup screen where i can select bios properties - everything.  I ran xev and now i see that FN+Right/Left are not detected anymore as brightness keys. It says:
    FocusOut event, serial 32, synthetic NO, window 0x3200001,
    mode NotifyGrab, detail NotifyAncestor
    FocusIn event, serial 32, synthetic NO, window 0x3200001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 32, synthetic NO, window 0x0,
    keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    However, FN + Win + Right/Left are now detected as brightness control function keys
    KeyRelease event, serial 35, synthetic NO, window 0x3200001,
    root 0x13c, subw 0x0, time 521221, (348,-43), root:(1219,884),
    state 0x40, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    But pressing them doesn`t work either. I thought that it was xfce4-power-manager problem, but changing to gnome-power-manager didn`t help either.During the update pacman also upgraded kernel to latest version.
    Any ideas?
    P.S. My notebook is Acer Aspire 7720g with Nvidia 8600M GT. I tried solutions from this topic: http://bbs.archlinux.org/viewtopic.php?id=73889 but none worked for me... The problem is that the system is completely unusable at this point, since i barely see anything on the monitor, and that sucks
    Last edited by K0tuk (2009-06-27 08:02:56)

    I can't see what you did in Arch affecting your windows installation at all.  If you try to boot into windows and increase the brightness (since most laptops store the brightness level of the laptop as it was set, on battery, at least my 2 laptops do), does the new brightness level "stick" for all things?  If so, the only issue you have is to re-map the function keys properly, and to configure a script or something to increase/decrease lcd brightness.  You can make a simple script that echoes a value into your /proc/acpi/video/LCD/brightness file (the file path will vary, so it may be under UVGA or so).  If, however, it doesn't increase again, it may very well be a hardware issue, and not a software (since, as I said above, it's highly unlikely that an Arch update has affected Windows in any way).
    Last edited by lswest (2009-06-26 12:28:04)

  • Brightness resets to lowest setting after reboot.

    This has only just started happening since the 10.5.1 update. Every time I boot up my iMac, the brightness setting is turned all the way down. Is there a fix for this?

    See if the response in this thread helps:
    http://discussions.apple.com/thread.jspa?threadID=1248585&tstart=0
    If not, then repair permissions & restart. Hopefully, that should do the trick.

  • [solved]Who resets console at boot?

    I usually boot at init lvl 3 and I found recently that the console is reset right after the boot and init messages. I remember some times ago the reset was performed by a string in /etc/issue file , but it's seems to me that's not the case anymore but console is still cleared.
    Can someone point me to the relative issued command?
    Thanks
    Last edited by mangus (2011-10-30 16:01:48)

    Gusar wrote:
    I was gonna tell you to search, but surprisingly the search doesn't find anything, even though I could swear this has been discussed before.
    Anyway, it's agetty that does the clearing. So open /etc/inittab and add "--noclear" to the agetty commands.
    I've searched the forum before posting too... but not the wiki (amazing as always) ,next time I'll do a search there too..
    Thanks both of you

Maybe you are looking for

  • Maintain settlement rule of the sender

    Dear All, Hi, I am Settling the all orders in co88 t.code, i run test run mode for all orders.At the time of running i am getting the below error: Maintain the settlement rule of the sender Message no. KD205 Diagnosis Either the settlement rule for t

  • Re: Adobe Download Assistant not working after bluescreen

    I'm having the same problem on mac osx lion: I downloaded adobe download manager I installed adobe download manager I launche adobe download manager No features of adobe download manager are functional. I get a welcome screen that asked me to sign in

  • AuthenticationSuccess not firing

    For people who saw Ryan Stewart's tutorial "getting started with AFCS" and are not receiving the Authentication Success event. The browser is caching the session therefore you cannot rely on the Authentication Success event as a hook for initializing

  • How to change the name of the column for dynamic query

    I would like to change the name of the column name to bidderone, biddertwo and bidderthree. the only problem is the vendors name unknown when I run the query and sometimes the query returns two vendors. the maximum vendor is three. here is the query

  • IPhone camera shows as green and now i cant take normal pictures HELP!!!

    I haven't dropped this phone or anything at all and i woke up this morning and opened up my camera app and all of a my screen goes completely green. It shows everything as if it was like night vision. Is there anything that i can do to fix this? Than