Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: ASUS Light sensor

  1. #1
    Join Date
    May 2008
    Beans
    5

    Exclamation ASUS Light sensor

    Hey all, well the problem is with the stupid ASUS light sensor. I have an M50SV. I can turn it off by

    echo 0 > /sys/devices/platform/asus-laptop/ls_switch

    however when rebooting the settings go back. !@#$%

    Does anyone know of a perm fix?

    Using Hardy

    Cheers.
    Last edited by triptych03; May 10th, 2008 at 02:09 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    Texas
    Beans
    1,675
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: ASUS Light sensor

    Install sysfsutils, and then I think in the file /etc/sysfs.conf (might double check that), put

    devices/platform/asus-laptop/ls_switch=0
    100 buckets of bits on the bus,
    100 buckets of bits,
    Take one down, short it to ground,
    FF buckets of bits on the bus.

  3. #3
    Join Date
    May 2008
    Beans
    5

    Re: ASUS Light sensor

    cheers I'll give it a try

  4. #4
    Join Date
    May 2008
    Beans
    5

    Re: ASUS Light sensor

    Quote Originally Posted by Whiffle View Post
    Install sysfsutils, and then I think in the file /etc/sysfs.conf (might double check that), put

    devices/platform/asus-laptop/ls_switch=0

    Works perfectly thanx heaps... great little util
    Last edited by triptych03; May 10th, 2008 at 03:42 AM.

  5. #5
    Join Date
    Nov 2007
    Location
    Brisbane QLD Australia
    Beans
    6
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: ASUS Light sensor

    Hi there, I would like to be able to do this... however every time I go to save the sysfs.conf file I get an error saying I don't have permission to save the file... can someone provide a solution for a newbie please....

    regards,
    barney

  6. #6
    Join Date
    Jul 2008
    Beans
    2

    Re: ASUS Light sensor

    You have to edit it as root.

    In Ubuntu:
    Code:
    sudo gedit /etc/sysfs.conf
    In Kubuntu:
    Code:
    sudo kate /etc/sysfs.conf
    In Xubuntu:
    Code:
    sudo mousepad /etc/sysfs.conf

  7. #7
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Beans
    175
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: ASUS Light sensor

    Thanks Whiffle. Hey there's no thank button ???

    For the record mine is a ASUS Z71v / Z7100 running Ubuntu 8.04

    Just upgraded from 7.04 and I can't remember if it never worked or just stayed bright all the time. I didn't really care until all of a sudden that feature was working now, but not how I wanted it to. It would dim down way too much when it was dark. Fine for watching a movie but too hard on the eyes for reading any text.

    Its not really a power saving feature when I have to turn on a desk lamp so my laptop doesn't get too dim.
    Last edited by Flying caveman; December 30th, 2008 at 04:27 AM.
    Patchouli doesn't stink, hippies do.

  8. #8
    Join Date
    Dec 2008
    Beans
    4

    Re: ASUS Light sensor

    Hey guys,
    I am a new Ubuntu user and I have an asus m50sa laptop. I am also having problems with the light sensor. I did try to do whatever you guys wrote but nothing seemed to work. I don't know if it is me who's doing something wrong or I may have a different system. I'll appreciate it if someone would put down what should I do step by step to get it to work. Thanx.

    Asus m50sa
    Ubuntu 8.10

  9. #9
    Join Date
    Sep 2007
    Location
    Warsaw, Poland
    Beans
    629
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: ASUS Light sensor

    A) Open Terminal (Menu->Accessories), and type the following:
    sudo nano brightness
    B) Now paste the following in the Terminal window:
    #!/bin/sh
    echo 0 > /sys/devices/platform/asus-laptop/ls_switch
    C) Hit Ctrl-O to save and then Ctrl-X to exit.

    D) Now we will copy our new shell script to the appropriate directory, make it executable and add the following links by typing the following in Terminal:
    sudo mv brightness /etc/init.d
    and then
    sudo chmod 755 /etc/init.d/brightness
    and then
    sudo update-rc.d brightness defaults 90
    E) Reboot, and you will have regained control of your brightness level.

  10. #10
    Join Date
    Dec 2008
    Beans
    4

    Re: ASUS Light sensor

    Thanx a lot. Works perfectly.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •