From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 31122] Cannot control backlight intensity on Powerbook Date: Sat, 31 Aug 2013 02:51:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1799711411==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1799711411== Content-Type: multipart/alternative; boundary="1377917466.b2ddFCDb3.24060"; charset="us-ascii" --1377917466.b2ddFCDb3.24060 Date: Sat, 31 Aug 2013 02:51:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=31122 --- Comment #5 from Ilia Mirkin --- What do the Fn+X keys do? I assume they just act as a keypress? (And I'm guessing that the nv driver hooks into that somehow... although the only reference to 10f0 that I see is in turning the thing on/off, perhaps it just leaves something untouched that nouveau touches and messes up.) This should be fairly easy to implement... You know what register to control, what the min/max are. I'm guessing it's just 10f0 that matters -- the other register controls whether the CRTC is on/off. It should be easy to stick something into nouveau_backlight.c that deals with your sitation. Instead of keying off of card family, you'd key off of dev->pci_device, like dfp.c:nv04_dfp_update_backlight does. You should give it a shot if you're interested. -- You are receiving this mail because: You are the assignee for the bug. --1377917466.b2ddFCDb3.24060 Date: Sat, 31 Aug 2013 02:51:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 31122 from
What do the Fn+X keys do? I assume they just act as a keypress? (And I'm
guessing that the nv driver hooks into that somehow... although the only
reference to 10f0 that I see is in turning the thing on/off, perhaps it just
leaves something untouched that nouveau touches and messes up.)

This should be fairly easy to implement... You know what register to control,
what the min/max are. I'm guessing it's just 10f0 that matters -- the other
register controls whether the CRTC is on/off.

It should be easy to stick something into nouveau_backlight.c that deals with
your sitation. Instead of keying off of card family, you'd key off of
dev->pci_device, like dfp.c:nv04_dfp_update_backlight does. You should give it
a shot if you're interested.


You are receiving this mail because:
  • You are the assignee for the bug.
--1377917466.b2ddFCDb3.24060-- --===============1799711411== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1799711411==--