Quantcast Asus Keyboard Backlight controller

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Notebook Evangelist
    Join Date
    Jun 2004
    Location
    Los Angeles, CA
    Posts
    607
    Rep Power
    27

    Default Asus Keyboard Backlight controller

    I just got an Asus N56DP and installed Arch Linux on it. I was previously using Ubuntu but was having problems with Suspend/Resume crashing, running too hot, and crashing with the AMD Catalyst driver. With Arch Linux all of this seems to be working.

    One feature my Dell Precision M4400 has that's kind of nice is that the keyboard backlight comes on automatically with keyboard activity, and then shuts off after a few seconds of idle time. With Arch Linux you can get some scripts that let you manually control the backlight, but there's nothing automated.

    So, here's my program to control the backlight automatically. After you compile it, it needs to run as root to have permission to change the settings. (Or you could change the permissions on the backlight brightness file, to allow some other user to write it.)

    The program monitors all keyboard activity, so it works regardless of whether you're on the console or running X. It sets the keyboard backlight proportionally to the screen backlight. Read the comments, you'll get it.

    Compile as "gcc -O2 -o idlekbd idlekbd.c" and run it in the background, or arrange to have it run at bootup.
    Attached Files Attached Files
    old: Asus M6Ne 2.00GHz P-M, 2GB, 128GB SSD
    retired: HP dv5z 2.1GHz ZM80, 4GB, 256GB SSD (Samsung)
    new: Dell M4400, 1920x1200 RGBLED, 4GB, 256GB SSD (Samsung)

  2. #2
    Newbie
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Default Re: Asus Keyboard Backlight controller

    Thanks a lot for this code highlandsun. It also works on u31a.

  3. #3
    Notebook Evangelist
    Join Date
    Jun 2004
    Location
    Los Angeles, CA
    Posts
    607
    Rep Power
    27

    Default Re: Asus Keyboard Backlight controller

    Great, thanks for the feedback!
    old: Asus M6Ne 2.00GHz P-M, 2GB, 128GB SSD
    retired: HP dv5z 2.1GHz ZM80, 4GB, 256GB SSD (Samsung)
    new: Dell M4400, 1920x1200 RGBLED, 4GB, 256GB SSD (Samsung)

 

 

Similar Threads

  1. ASUS N71JQ Owners Lounge
    By tarlyn in forum ASUS Reviews and Owners' Lounges
    Replies: 2162
    Last Post: 18th August 2014, 02:46 AM
  2. Keyboard Light Fix (Gary Key)
    By ziddy123 in forum ASUS Gaming Notebook Forum
    Replies: 142
    Last Post: 7th June 2014, 03:25 AM
  3. Asus G53JW (A1 & 3DE) Owners' Lounge
    By TipTip in forum ASUS Reviews and Owners' Lounges
    Replies: 1036
    Last Post: 27th May 2014, 10:46 AM
  4. ASUS U20A Owner's Lounge
    By ALLurGroceries in forum ASUS Reviews and Owners' Lounges
    Replies: 113
    Last Post: 14th April 2013, 04:27 PM
  5. ASUS G73JH-A1 with ATi Mobility Radeon HD 5870 1GB GDDR5 - Part 3
    By iaTa in forum ASUS Gaming Notebook Forum
    Replies: 4883
    Last Post: 11th April 2012, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -4. The time now is 09:58 PM.
Powered by vBulletin® Version 4.2.2
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.1