How to *disable* or change behavior of brightness keys

Hi there!
I own a HP laptop with a dual Nvidia/Intel graphic card, with propietary drivers & bumblebee installed, and everything works perfect but brightness buttons.
In fact, they work, but not as they should. When I press the brightness up button, it raises, but it does it a lot. If I press it again, the brightness sets to its maximum value when the progress bar it shows is on ~20%
This is my theory of what's going on:
I have 3 folders on  `/sys/class/backlight`:
[root@Archpv3 backlight]# ls
acpi_video0 acpi_video1 intel_backlight
`acpi_video{0,1}` are, if not identical, equivalent: All the files inside them are equal. `intel_backlight` is different.
`acpi_video{0,1}/max_brightness` is 100. But, experimentally, I have ensured that the actual max_brightness of my screen is 20.
My theory is that, the thing listening on brightness buttons (and not, its not acpid), gets the maximum value from `acpi_video{0,1}/max_brightness`, and when I press a brighness button, it raises it to `acpi_video{0,1}/max_brightness`/10.
There may be three solutions to this: Change the `max_brightness` to 20 by machete, or change the step by machete too. Other solution will be to tell the thing I want it to use `intel_backlight`.
I dont' know how to do anyone of these because I still don't know what the hell is listening that events :\
So, finally, and sorry for such a big intro, does anyone knows?
Regards, and thanks in advance ^^
EDIT: I though backticks ` will make the in-line code effect, but they didn't. Sorry if they annoy you xD
Last edited by roobre (2013-06-21 16:08:52)

Hello qimbal2,
Thanks for getting back to me. you are right , i should disable the link as soon as it is clicked. I went ahead and implemented this logic by using a property in my bean class and binding that property to the value of my link. I wrote the logic in my action method in such a way that when i click on follow for the first time, the value of the link would change to 'Following' and the link would be disabled. It works for me now.
Thanks,
Suha

Similar Messages

  • Disabling F1 and F2 screen brightness keys on windows xp

    Is there any way to disable the F1 and F2 brightness keys on a bootcamp windows xp? Using a wired keyboard connected to my imac

    did you ever figure this out? i'm having the same exact problem!

  • How to disable auto-changing hostname?

    I set my computer a hostname (let's say "MyComputer"), but when I connect to wired network, it changes hostname to whatever reverse DNS IP lookup turns out (let's say "Workstation312").
    I know I can change the hostname using "hostname" in terminal- but is there a way to disable auto-changing hostname?

    Hi,
    Please try the steps in the following thread to see whether it could help:
    Remove IE10's “clear field” X button on certain inputs?
    http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs
    Regards,
    Vincent Wang
    TechNet Community Support

  • How to disable or change the value of h:commandlink jsf component

    Hi,
    I am a student. I am using h:commandlink. I need to change the value of the component once it is clicked by the user. How do i do that?
    If i cannot change the displayed value of the commandlink. I am thinking of atleast disabling the link once the user clicked., to avoid the link being clicked more than once by the user.
    <h:commandlink id = "follow" action = "usermanager.followdoctor" value = "Follow"/>
    Usermanager is my managed bean class for this jsp page. The value "Follow" is the one that i want to be changed to "following" once it is clicked. Please help me. Thanks for your time in advance.

    Hello qimbal2,
    Thanks for getting back to me. you are right , i should disable the link as soon as it is clicked. I went ahead and implemented this logic by using a property in my bean class and binding that property to the value of my link. I wrote the logic in my action method in such a way that when i click on follow for the first time, the value of the link would change to 'Following' and the link would be disabled. It works for me now.
    Thanks,
    Suha

  • How to disable the  'Change - Display' Button in Cluster via SM34 ?

    Hi
    I have a View Cluster maintained with a transaction wich calls  SM34 passing it the Cluster.
    I need the dialog be only in display mode, so i'm looking for a way to disable the button Change<->Display.
    Does somebody knows how can i do this ? maybe with an event, the button does not appears or well making the button does not change the display mode (does not change the field VIEW_ACTION siwtch from 'S' to 'U')
    Thanks in advanced
    Frank

    Hi Frank,
    On SAP 4.7 Version
    1). Goto SHD0
    2). Enter the transaction code as SM34
    3). ENter the transaction Variant as say ZSM34
    4). Click on the create button --> this will take you to the sm34 screen. If you want to default some value or disable something on this screen just hit enter on this screen. You will get a popup window to select and restrict.
    5). You can further go to next screen and deactivate the menu. On the popup screen you will get a button MENU FUNCTIONS.
    Hope this helps
    Cheers
    VJ

  • Universal app: how to disable orientation change animation?

    Hello, I cannot find anywhere a way to disable the rotation animation which occurs when I change the orientation un my phone in a Universal app.
    How can I do that???

    I need Just to disable animation.
    The page should change the orientation but without making animation.

  • How to disable password change for you logon first time.

    hi,
    When i change the password of any user or when i create new user and login with the same user it ask to change the password again can sap have provided to disable this feature where in user won't be ask to change password again.
    thanks,
    - John

    Hi,
    I'm not quite sure, but you can try with some of these profile parameters.
    Initial Password: Limited Validity
    <i>login/password_max_new_valid</i>   -  Validity period for the passwords of newly created users
    <i>login/password_max_reset_valid</i> - Validity period for reset passwords
    Svetlin

  • How to disable or change fan check RPM settings at boot?

    Hello all...
    My system specs:
    HP p6180t
    Prod#: AV129AV#ABA
    Q9550 Processor
    8 GB RAM
    IPIEL-LA3 Motherboard
    Upgraded:
    Corsair HX650W Power Supply
    Asus GeForce GTX560
    My original processor cooling fan stopped working recently and I chose to replace with a better heatsink while I was at it. I used a Cooler Master Gemini II M4 because it was the only increased capacity cooler that would fit in my current case. 
    After install, I got the "Error: CPU fan has failed, computer will now shut down to prevent damage to CPU. Etc..." 
    My guess is the motherboard doesn't like the new fan that came with the new heat sink. The fan is larger and I'm sure spins at a lower RPM than the stock fan. I checked my BIOS settings and do NOT have the "Hardware Monitor" section under the "Advanced" tab. My BIOS is at a newer level than what the HP site will provide for updates (mine is: 
    BIOS Version/Date American Megatrends Inc. 5.09, 8/19/2009).
    Is there another way to change the RPM fan speed settings to avoid the error at boot other than in the BIOS?
    I am able to boot the computer by using a similar sized 4-pin fan plugged into the motherboard while the proper sized fan (actually mounted to the heatsink) is unplugged. Even with no fan, the new heatsink is keeping the processor at 45 C or lower across all 4 cores under medium load. 
    I suppose I could always leave this small fan plugged in to the motherboard for the BIOS to be happy and power the CPU fan off of molex power (along with an additional case fan). This would be a last option as I would rather know if my CPU fan isn't working...
    Any and all help is very appreciated, thank you!
    John
    This question was solved.
    View Solution.

    I understand that your new fan is not detected as working properly by BIOS.  The BIOS doesn't provide all that many options to control functions such as fan speed and there isn't a way to access this feature to the best of my knowledge.  I am afraid that the workaround you mentioned might be your only option with the existing fan without access to this setting in BIOS.  
    You mentioned you connected a similar sized fan to bypass the error.  Does the fan have a higher RPM than the fan sitting on top of the heat sink?  Reviewing the images located here, it looks like the fan is detachable and could be replaced with the fan that works with the BIOS.  This is provided that the fan that gets past BIOS will fit the heat sink.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How to disable manual change in shipment address in delivery

    Hi Gurus,
    My client's current configuration allows changing the shipment address  (partner tab in header of delivery) on the address tab  - without changing the ship-to party itself
    They now want to implement a change where all partner details will not only be picked from customer master - but also nobody should be able to change the address ( by double clicking on partner number and changing address on the address tab)
    Any ideas / suggestions ?
    Thanks,

    Dear SM,
    As per the standard functionality you can change the ship to party address at sales order and at delivery level.
    Try with this option.
    Take help of BASIS people to give the authorisation for change transactions VA02 and VL02N to the responsible User not for all users so that you can avoid this.
    Other than this you need to go for enhancement with the help of ABAPer.
    I hope this will help you,
    Regards,
    Murali.

  • Change behavior of fn key?

    spilled something on my macbook (osx 10.9.3) and only the left shift key doesn't work. is there a software where i can change the behavior of the fn key which i dont use to serve as my shift key?
    thank you!!

    I think this will do what you want: https://pqrs.org/macosx/keyremap4macbook/

  • Disabling or change volume up/down clicks in XP Pro?

    Hello,
    Does anyone know how to disable or change the volume up/down click noise when running in Windows XP Pro??
    Thank you.

    Is there a 'Help' feature in XP?...

  • Disabled color change...

    Hello everybody,
    this is my first comment here because for all other problems I found solution without registration
    Anyway I was looking how to disabled color change (just some part of sentence) which should be highlighted, example is right here (it's part of topics in rpg game):
    Tell me some rumours
    I killed the dragon (quest)
    Goodbye
    In the init. state text "I killed the dragon" is black and text "(quest)" is yellow. Highlight color is red :
    mc_Topics.mc_topic0.tField.textColor = 0xb21d22; // init. state highlight first topic
    Now if I want highlight sentence with "(quest)" it's make this (simple) :
    mc_Topics["mc_topic" + Index].tField.textColor = 0xb21d22;
    but it will highlight of course all sentence by red color even if I want to quest word stay yellow.
    I know I can make it somehow like this for highlight :
    mc_Topics["mc_topic" + index].tField.html = true;
    mc_Topics["mc_topic" + index].tField.htmlText = lowerCase + "<FONT COLOR = '#695f49'><FONT SIZE = '24'>" + quest + "</FONT></FONT>";
    But problem is that in function where I'm setting highlight I dont know variables for text (lowerCase) and quest (there can different text).
    Thanks for any suggestion : )
    Adam

    Yes you right I didn't realize that I can still get them from array. It's little complicated as it is time-input from game anyway it seems that it's solution. Thanks

  • Disable or change exit command key

    Is there any way to disable or change the exit command key (Cmd Q).  It is too close on the keyboard to  Cmd A?

    I resolved a work around by setting a screen capture program to grab the Cmd-Q before Safari sees it.  Much better than losing work done in a text box and then having the browser close while trying to save the work to the clipboard and accidentally hitting Cmd-Q.

  • [Forum FAQ] How to disable Microsoft account default sign-in behavior when accessing Microsoft website on Windows 8.1

    Scenario
    By default it will sign in with current Microsoft account, if a user accesses Microsoft website (www.live.com, www.bing.com, etc.) with Microsoft account on Windows 8.1. This article describes how to disable this default sigh-in behavior if you want to use
    different Microsoft accounts every time. 
    Method
    To disable this default sign-in behavior, we can deny current Microsoft Account read permission of MicrosoftAccountTokenProvider.dll, please follow the following steps:
    Run Command Prompt with elevated permissions.
    Run the following command to take ownership of MicrosoftAccountTokenProvider.dll:
      takeown /f C:\Windows\SysWOW64\MicrosoftAccountTokenProvider.dll
    Run the following command to deny the read permission of the Microsoft:                                
     icacls C:\Windows\SysWOW64\MicrosoftAccountTokenProvider.dll /deny
    [email protected]:r                                                                                                                
    Note: Please replace your current Microsoft Account with the example
    [email protected]
    Change the owner of this file back to TrustedInstaller:
    Right-click MicrosoftAccountTokenProvider.dll under
    C:\Windows\SysWOW64\, choose Properties. Under
    Security tab, click Advanced.
    Click Change, in the box Enter the object name to select, type
    NT Service\TrustedInstaller.
    Click OK.
    Note: This operation would take some hours to work.
    Apply to:
    Windows 8.1
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Error: System cannot find the specified path
    I am getting this eroor
    Parashuram Singade www.distinctnotion.com

  • I have changed the apple ID (email, but on my iphone , the icloud is stil asking me to log in whit the old email.And it is poping-up on every 10 seconds.I never used icloud, and i dont want to use it.I just dont know how to disable the icloud.

    i have changed the apple ID (email) but on my iphone , the icloud is stil asking me to log in whit the old email.And it is poping-up on every 10 seconds.I never used icloud, and i dont want to use it.I just dont know how to disable the icloud.

    If you see that pop up you enabled icloud. Whether you want or do not want now to use it irrelevant until you actually disable activation lock.
    In order to do that you have to change your apple id back to do that just long enough to sign in and back out. System will ask you to verify, don't.
    Just sign in on the prompt you getting and then logout. Once done, change apple id to what you have now and verify. Then decide if you want to
    use icloud (who does not want to be able to track their phone if lost or stolen).

Maybe you are looking for