Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Backlight control's not functioning

  1. #1
    Join Date
    Feb 2011
    Beans
    391

    Backlight control's not functioning

    I just installed 13.04 in my HP pavilion G6 about a week ago an I've gotten most everything working now, with the exception of the display backlight. The hot keys will bring up the brightness slider and show it moving but the actual brightness does not change.

    Issueing a

    [CODE echo 5 | sudo tee /sys/devices/pci0000:00/0000:00:01.0/backlight/acpi_video0/brightness][/CODE]

    Code:
     echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:01.0/backlight/acpi_video0/brightness
    changes the control files just as using the hotkeys does but the brightness doesn't change, this function worked perfectly in 12.04 and 12.10. If I hold the up or down hotkeys eventually brightness will change, so I can achieve my desired brightness by toggling between the setting I want and the one above or below it.

    I've also tried adding the grub command line perimeters separately and together

    Code:
    acpi_osi=Linux      acpi_backlight=vendor      acpi_osi=
    these also had no effect on the backlight control, but bad effects in other areas. "acpi_osi=" caused the machine not to boot entirely, "acpi_backlight=vendor" caused the hotkeys to not even change the notify slider.

    I can't even use use scripts as changing the control files doesn't consistently change the actual brightness. I'm open to any ideas and very much would like to get this fixed
    Last edited by DGINSD; July 9th, 2013 at 05:41 AM.
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 14.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  2. #2
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Backlight control's not functioning

    Quote Originally Posted by DGINSD View Post
    I've also tried adding the grub command line perimeters separately and together

    Code:
    acpi_osi=Linux      acpi_backlight=vendor      acpi_osi=
    As a quick first suggestion, can you try the acpi_osi=\"!Windows 2012\" kernel parameter? The relevant entries in /etc/default/grub should look like this:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX="acpi_osi=\"!windows 2012\""
    ...(make sure you get the correct number of quote symbols in that last line).

    Don't forget to run:
    Code:
    sudo update-grub
    ...and reboot.

    Once rebooted, try the brightness keys again as well as posting back:
    Code:
    cat /proc/cmdline
    ...and
    Code:
    sudo lspci -vnn | grep -A15 VGA

  3. #3
    Join Date
    Feb 2011
    Beans
    391

    Re: Backlight control's not functioning

    I'll get on it as soon as I get back home to my computer.

    I was hoping I'd get a response from you, you seem to be involved in a lot of the threads I found regarding brightness control issues. If I may offer a compliment, you seem to have a lot of good and creative ideas to work around these problems.
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 14.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  4. #4
    Join Date
    Feb 2011
    Beans
    391

    Re: Backlight control's not functioning

    OK I added the grub command line entry
    Code:
    "acpi_osi=\"!windows 2012\""


    and then
    Code:
    sudo update-grub  
    
    sudo reboot

    After the reboot the problem persists just as before, no control when the hotkeys are pressed, but if held down change will eventu
    ally be made, but this happens with no regularity.

    Here is the output of the other two commands

    Code:
    david@HP-G6:~$ cat /proc/cmdlineBOOT_IMAGE=/boot/vmlinuz-3.8.0-26-generic root=UUID=f0ff1ffc-ca4e-416a-b47d-a6b0c7c4bbf0 ro "acpi_osi=!windows 2012" quiet splash vt.handoff=7


    Code:
    david@HP-G6:~$ sudo lspci -vnn | grep -A15 VGA
    [sudo] password for david: 
    00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Sumo [Radeon HD 6480G] [1002:9649] (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device [103c:169b]
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=256]
        Memory at f0500000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Kernel driver in use: fglrx_pci
    
    
    00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series] [1002:1714]
        Subsystem: Advanced Micro Devices [AMD] nee ATI BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series] [1002:1714]
        Flags: bus master, fast devsel, latency 0, IRQ 44

    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 14.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  5. #5
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Backlight control's not functioning

    Oops, my bad. Typo. It should be acpi_osi=\"!Windows 2012\" (note the capital W). Can you try it again?

    Also, after reboot, can you show the results of the following command:
    Code:
    for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    Can I also see your dmesg log file?
    Code:
    pastebinit /var/log/dmesg
    ...and post back the link that is generated.

  6. #6
    Join Date
    Feb 2011
    Beans
    391

    Re: Backlight control's not functioning

    Changed the grub command line parameter and ran update-grub as root, no change in status.

    Ran the command you gave and here is the results

    Code:
    david@HP-G6:~$ for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done/sys/class/backlight/acpi_video0
    3
    10
    http://paste.ubuntu.com/5848557/
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 14.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  7. #7
    Join Date
    Feb 2011
    Beans
    391

    Re: Backlight control's not functioning

    This likely has nothing to do with my backlight issue, or perhaps it does, but one of the lines in the dmesg outputstruck me as odd.
    Code:
    [ 1.275630] powernow-k8: this CPU is not supported anymore, using acpi-cpufreq instead.
    On my other partition/install I had a script to change and adjust the CPU governor, and part of making the script work required loading the "powernow-k8"
    module, by adding it to the /etc/modules file. I hadn't tried using the set up on this install, as it seems much more efficient and doesn't seem to need it.

    Just some
    thing that caught my eye, and perhaps totally irrelevant, but maybe a clue to a larger more general issue of my system configuration not 100% as it should be.
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 14.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  8. #8
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Backlight control's not functioning

    Quote Originally Posted by DGINSD View Post
    Changed the grub command line parameter and ran update-grub as root, no change in status.

    Ran the command you gave and here is the results

    Code:
    david@HP-G6:~$ for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done/sys/class/backlight/acpi_video0
    3
    10
    http://paste.ubuntu.com/5848557/
    From your dmesg log file:
    [ 0.230803] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
    [ 0.231051] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
    [ 0.231309] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
    Can you try the kernel parameters acpi_osi=Linux acpi_backlight=vendor again and after reboot, post back again:
    Code:
    pastebinit /var/log/dmesg
    ...and
    Code:
    for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done

  9. #9
    Join Date
    Feb 2011
    Beans
    391

    Re: Backlight control's not functioning

    Ok this time I get no brightness change or notification with the up or down hotkeys. Also now in system settings, brightness & lock, there is no brightness slider.

    The pastebin link http://paste.ubuntu.com/5850249/

    The output of the command given

    Code:
    david@HP-G6:~$ for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done/sys/class/backlight/*
    cat: /sys/class/backlight/*/brightness: No such file or directory
    cat: /sys/class/backlight/*/max_brightness: No such file or directory
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 14.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  10. #10
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Backlight control's not functioning

    This is fixed upstream in the 3.10-rc4 kernel by this commit:

    author Ash Willis 2013-05-29
    committer Rafael J. Wysocki 2013-06-01
    commit 780a6ec640a3fed671fc2c40e4dd30c03eca3ac3

    ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6

    https://bugs.launchpad.net/ubuntu/+s...l/+bug/1173059
    http://ubuntu.5.x6.nabble.com/3-8-y-...td5028617.html
    Last edited by dino99; July 6th, 2013 at 06:09 PM.

Page 1 of 4 123 ... LastLast

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
  •