Results 1 to 6 of 6

Thread: Ubuntu boots to dim screen after instllation of ubuntu 12.04. Backligh stopped workin

  1. #1
    Join Date
    Sep 2013
    Beans
    22

    Ubuntu boots to dim screen after instllation of ubuntu 12.04. Backligh stopped workin

    Dear all,

    I have just installed the latest long supported release ubuntu 12.04 on Dell xps 13 L322X.
    After which ubuntu started to boot to dim screen. almost impossible to see anything on the screen.
    The current kernel version is 3.8.0-31-generic.
    Interestingly, when I boot with earlier kernel version 3.8.0-29-generic everything is fine.
    Does any one know how to make it work for the new kernel 31-generic?

    P.S. my laptop has also windows 8 installed and UEFI.

  2. #2
    Join Date
    Jul 2010
    Beans
    264
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu boots to dim screen after instllation of ubuntu 12.04. Backligh stopped wo

    Open a terminal and enter the following commands:

    sudo su

    (enter password)

    echo 300 > /sys/class/backlight/acpi_video0/brightness

    if it changes the backlight brightness, then post your positive result. We will make the command persistent.

  3. #3
    Join Date
    Sep 2013
    Beans
    22

    Re: Ubuntu boots to dim screen after instllation of ubuntu 12.04. Backligh stopped wo

    it's strange, I cannot write to that file even as a super (root) user. I got the error "bash: echo: write error: Invalid argument" .
    I have also tried to modify that file using vi and gedit, they both refuse to write to the file and give only error messages.

  4. #4
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Ubuntu boots to dim screen after instllation of ubuntu 12.04. Backligh stopped wo

    Quote Originally Posted by pQNmyG4 View Post
    it's strange, I cannot write to that file even as a super (root) user. I got the error "bash: echo: write error: Invalid argument" .
    I have also tried to modify that file using vi and gedit, they both refuse to write to the file and give only error messages.
    Because that value is not suitable for all cards. Different cards accept different values. To get an idea of which ones may be acceptable to yours, please post the output of -
    Code:
    for i in `ls /sys/class/backlight/`; do echo -e "\n $i"; cat /sys/class/backlight/$i/{brightness,max_brightness,actual_brightness}; done
    EDIT:
    Added echo -e "\n $i" to make it more useful.
    Last edited by varunendra; October 6th, 2013 at 11:39 PM.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  5. #5
    Join Date
    Jul 2010
    Beans
    264
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu boots to dim screen after instllation of ubuntu 12.04. Backligh stopped wo

    do the following instructions:

    cd /sys/class/backlight

    ls

    and see how many sub-folders you have there.

  6. #6
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Ubuntu boots to dim screen after instllation of ubuntu 12.04. Backligh stopped wo

    Quote Originally Posted by ping-wu View Post
    do the following instructions:

    cd /sys/class/backlight

    ls

    and see how many sub-folders you have there.
    That, and cat command for relevant files in each sub-folder is already included in the script I posted.

    The "for i in `ls /sys/class/backlight`" part covers all the directories (sub-folders) and processes them one-by-one through variable "i".

    The rest of the command reads the values of "brightness, max_brightness, and actual_brightness" files in each of these directories and returns their values. Try it, and you'll get the idea.

    Based on these values we can guess acceptable values for the brightness file.

    It is just a "read everything in one-go" recipe .
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

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
  •