Results 1 to 2 of 2

Thread: Keyboard backlight on resume

  1. #1
    Join Date
    Mar 2012
    Location
    Near one of my computers
    Beans
    307
    Distro
    Ubuntu 12.04 Precise Pangolin

    Keyboard backlight on resume

    I have
    Code:
    echo '5' > /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
    echo '25' > /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness
    in rc.local to automatically adjust screen brightness and keyboard backlight on boot.

    And I have
    Code:
    #!/bin/bash
    case "$1" in
    thaw|resume)
    echo '25' > /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness
    ;;
    *)
    ;;
    esac
    exit $?
    in /etc/pm/sleep.d/kbd_brightness

    This works if sometimes if I manually click suspend, but if I close my laptop to make it suspend, on resume the keyboard is all the way bright again.

    I just want my keyboard to not be all the way on all the time.

    Kopkins
    Last edited by Kopkins; March 15th, 2013 at 01:49 AM.

  2. #2
    Join Date
    Mar 2012
    Location
    Near one of my computers
    Beans
    307
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Keyboard backlight on resume

    How does anyone else manage keyboard brightness?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •