Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: Backlight control's not functioning

  1. #11
    Join Date
    Feb 2011
    Beans
    411

    Re: Backlight control's not functioning

    Quote Originally Posted by dino99 View Post
    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

    Is there a way for me to apply this fix, or do I just have to wait till the Ubuntu kernel reaches 3.10-rc4. The links you provided seem a bit over my head, but I'm definitely down for learning something new if someones willing to walk me through it.
    Last edited by DGINSD; July 6th, 2013 at 06:33 PM.
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 16.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  2. #12
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Backlight control's not functioning

    Quote Originally Posted by dino99 View Post
    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
    I'm not so sure this is the same issue. The bug report refers to the system booting to a blank screen. The OP's problem is not the black screen, but inconsistent keyboard brightness control. In addition, according to the bug report, the kernel parameters "acpi_osi=Linux acpi_backlight=vendor" work around the problem, yet in this case, it totally eliminates the backlight interface. The symptoms are not the same.

    EDIT: Also, the bug report is for an intel graphics-based G6. OP has an ATi card.

    @DGINSD, just to confirm, do you have an issue with booting to a black screen?
    Last edited by Toz; July 6th, 2013 at 06:57 PM.

  3. #13
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Backlight control's not functioning

    @DGINSD,

    Can you go back to the original kernel parameters? Then after reboot:

    1. Open a terminal window and type in:
    Code:
    acpi_listen
    ...then press the key combination to increase brightness once, and then the key combination to decrease brightness once. Post back whatever shows up in the terminal.

    2. Can you enter the following commands and post back whether they change the brightness:
    Code:
    echo 7 | sudo tee /sys/class/backlight/acpi_video0/brightness
    echo 3 | sudo tee /sys/class/backlight/acpi_video0/brightness

  4. #14
    Join Date
    Feb 2011
    Beans
    411

    Re: Backlight control's not functioning

    Quote Originally Posted by Toz View Post
    I'm not so sure this is the same issue. The bug report refers to the system booting to a blank screen. The OP's problem is not the black screen, but inconsistent keyboard brightness control. In addition, according to the bug report, the kernel parameters "acpi_osi=Linux acpi_backlight=vendor" work around the problem, yet in this case, it totally eliminates the backlight interface. The symptoms are not the same.

    @DGINSD, just to confirm, do you have an issue with booting to a black screen?
    I think your right I don't have the boot to dark screen and I just checked my 12.10 partition/install and it has the same dmesg
    Code:
    [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness]
    Incidentally on my 12.10 install the backlight controls work perfectly, so it's something that's changed with 13.04. Also I should mention after doing this install and noticing this issue, I found out there was a bios update available for my machine, I did the bios update but the issues still remained.
    Last edited by DGINSD; July 6th, 2013 at 07:07 PM.
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 16.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  5. #15
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Backlight control's not functioning

    Quote Originally Posted by DGINSD View Post
    Incidentally on my 12.10 install the backlight controls work perfectly, so it's something that's changed with 13.04.
    Did you use the proprietary ATI drivers on the 12.10 install as well? Or the open source ones?

    Also I should mention after doing this install and noticing this issue, I found out there was a bios update available for my machine, I did the bios update but the issues still remained.
    Good, that was a suggestion I was going to make.

    Can you run the steps in my previous post regarding acpi_listen and manual brightness control and let me know the results?

  6. #16
    Join Date
    Feb 2011
    Beans
    411

    Re: Backlight control's not functioning

    Both installs are using manually installed FGLRX video drivers

    The output of acpi_listen
    Code:
    david@HP-G6:~$ acpi_listenbattery BAT0 00000080 00000001
    battery BAT0 00000081 00000001
    video LCD 00000086 00000000
    video LCD 00000087 00000000
    battery BAT0 00000080 00000001
    battery BAT0 00000081 00000001
    battery BAT0 00000080 00000001
    battery BAT0 00000081 00000001
    The "video LCD 00000086 00000000, video LCD 00000087 00000000" entrys occurred when pressing the hotkeys, manual execution of
    Code:
    david@HP-G6:~$ echo 3 | sudo tee /sys/class/backlight/acpi_video0/brightness
    3
    david@HP-G6:~$ echo 7 | sudo tee /sys/class/backlight/acpi_video0/brightness
    7
    in another bash session produced no output in the shell running acpi_listen, neither produced a change in backlight brightness.
    Last edited by DGINSD; July 6th, 2013 at 08:26 PM.
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 16.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  7. #17
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Backlight control's not functioning

    Quote Originally Posted by DGINSD View Post
    manual execution of
    Code:
    david@HP-G6:~$ echo 3 | sudo tee /sys/class/backlight/acpi_video0/brightness
    3
    david@HP-G6:~$ echo 7 | sudo tee /sys/class/backlight/acpi_video0/brightness
    7
    in another bash session produced no output in the shell running acpi_listen, neither produced a change in backlight brightness.
    This is interesting. It should have changed brightness. Can you post back again:
    Code:
    cat /proc/cmdline
    ...and
    Code:
    for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    Can you also try the following commands to see if they adjust brightness:
    Code:
    sudo setpci -s 00:01.0 f4.b=80
    sudo setpci -s 00:01.0 f4.b=ff
    If possible, can you check your 12.10 install and run the first two commands (don't run setpci) on that install for comparison purposes?

  8. #18
    Join Date
    Feb 2011
    Beans
    411

    Re: Backlight control's not functioning

    Code:
    david@HP-G6:~$ cat /proc/cmdlineBOOT_IMAGE=/boot/vmlinuz-3.8.0-26-generic root=UUID=f0ff1ffc-ca4e-416a-b47d-a6b0c7c4bbf0 ro quiet splash vt.handoff=7
    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
    2
    10
    The other two commands had no effect on the actual brightness
    Code:
    david@HP-G6:~$ sudo setpci -s 00:01.0 f4.b=80
    
    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
    2
    10
    
    david@HP-G6:~$ sudo setpci -s 00:01.0 f4.b=ff
    
    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
    2
    10
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 16.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  9. #19
    Join Date
    Feb 2011
    Beans
    411

    Re: Backlight control's not functioning

    Here is the output of those first two commands on my 12.04 install
    Code:
    david@HP-G6:~$ cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-3.5.0-34-generic root=UUID=124123b2-547f-45fa-bc5a-f90c094e444f ro quiet splash
    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
    What I'm dealin' with:
    HP Pavilion G6-1D60US, dual booted: Ubuntu 16.04 64bit, & Windows 7 Home Premium 64bit, 640 gig HDD, 4 gig RAM

  10. #20
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Backlight control's not functioning

    Quote Originally Posted by DGINSD View Post
    Code:
    david@HP-G6:~$ cat /proc/cmdlineBOOT_IMAGE=/boot/vmlinuz-3.8.0-26-generic root=UUID=f0ff1ffc-ca4e-416a-b47d-a6b0c7c4bbf0 ro quiet splash vt.handoff=7
    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
    2
    10
    The other two commands had no effect on the actual brightness
    Code:
    david@HP-G6:~$ sudo setpci -s 00:01.0 f4.b=80
    
    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
    2
    10
    
    david@HP-G6:~$ sudo setpci -s 00:01.0 f4.b=ff
    
    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
    2
    10
    Can you now try with the acpi_backlight=vendor kernel parameter. After reboot, run:
    Code:
    cat /proc/cmdline
    ...and
    Code:
    for i in /sys/class/backlight/*; do echo $i; cat $i/brightness; cat $i/max_brightness; done
    Also, I don't have an ATI card. Is there a setting somewhere in the ATI driver that controls brightness? Maybe the proprietary driver is somehow interfering.

Page 2 of 4 FirstFirst 1234 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
  •