All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 105051] New: Radeon sets max_brightness to -1, breaking GNOME backlight control on Macbook Pro mid-2015 11,5
Date: Sat, 26 Sep 2015 21:01:07 +0000	[thread overview]
Message-ID: <bug-105051-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=105051

            Bug ID: 105051
           Summary: Radeon sets max_brightness to -1, breaking GNOME
                    backlight control on Macbook Pro mid-2015 11,5
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.2.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: tim.sammut@gmail.com
        Regression: No

Created attachment 188601
  --> https://bugzilla.kernel.org/attachment.cgi?id=188601&action=edit
dmesg output

The radeon driver appears to be setting an incorrect value of -1 for
max_brightness in 
/sys/devices/pnp0/00:03/backlight/gmux_backlight/max_brightness. This computer
is a Macbook Pro Retina mid-2015 model 11,5 without any video or acpi related
kernel command line options.

This prevents GNOME from correctly managing the backlight. You can see this
using the following commands:

$ cat /sys/devices/pnp0/00:03/backlight/gmux_backlight/max_brightness
-1

$ /usr/libexec/gsd-backlight-helper --get-max-brightness
Could not get the maximum value of the backlight: got invalid backlight value
from /sys/devices/pnp0/00:03/backlight/gmux_backlight/max_brightness

$ sudo /usr/libexec/gsd-backlight-helper --set-brightness 500
Could not get the maximum value of the backlight: got invalid backlight value
from /sys/devices/pnp0/00:03/backlight/gmux_backlight/max_brightness


This looks to be the same issue reported into the RedHat bugzilla at:

https://bugzilla.redhat.com/show_bug.cgi?id=1263387

I've attached the dmesg from my machine.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2015-09-26 21:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-26 21:01 bugzilla-daemon [this message]
2015-09-28 15:07 ` [Bug 105051] Radeon sets max_brightness to -1, breaking GNOME backlight control on Macbook Pro mid-2015 11,5 bugzilla-daemon
2015-09-28 15:53 ` bugzilla-daemon
2015-09-28 22:32 ` bugzilla-daemon
2015-09-29  1:15 ` bugzilla-daemon
2015-09-29  1:17 ` bugzilla-daemon
2015-09-29 10:42 ` bugzilla-daemon
2015-09-29 15:52 ` bugzilla-daemon
2015-09-30  2:57 ` bugzilla-daemon
2015-09-30 19:56 ` bugzilla-daemon
2015-10-01  7:42 ` bugzilla-daemon
2015-10-01 21:04 ` bugzilla-daemon
2015-10-01 21:13 ` bugzilla-daemon
2015-10-08 14:46 ` bugzilla-daemon
2015-10-08 15:14 ` bugzilla-daemon
2015-10-15  4:47 ` bugzilla-daemon
2015-10-22  9:37 ` bugzilla-daemon
2015-10-22  9:39 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105051-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.