* Re: Backlight support
[not found] ` <f9d2a5e104112916252c253a2b@mail.gmail.com>
@ 2004-11-30 16:28 ` Richard Purdie
2004-11-30 16:44 ` Nicolas Pitre
2004-11-30 22:40 ` Russ Dill
0 siblings, 2 replies; 8+ messages in thread
From: Richard Purdie @ 2004-11-30 16:28 UTC (permalink / raw)
To: Russ Dill, Steven Scholz, John Lenz, zap
Cc: linux-arm-kernel, linux-fbdev-devel
John Lenz:
> Perhaps the patch being referred to is the "Backlight and LCD module
> patches" that Andrew Zabolotny and I proposed on lkml?
I think the above patch was nearly there. The issues seemed to be with the
method of associating framebuffer devices with their backlights. I've come
up with a solution to that problem (see below) so that code can be removed
from that patch and that should make it acceptable for mainstream kernel
inclusion.
Russ Dill:
> The driver/bus/device model driver? Probably just no one there with
> the time to spend on it. It be a real help, and would be a good use of
> sysfs (for changing contrast, getting info, etc).
I'm keen to get this sorted out and I agree its an ideal use of sysfs. I'm
still getting up to speed on sysfs though...
Steven Scholz:
> Where can I find the most recent version of your patch?
I've had a discussion with Andrew. I think he's going to find the latest
version of the and post it for inclusion without the problematic parts...
Andrew?
> Excuse me ignorance, but what is "frontlight"?
I think a frontlight shines onto the display and reflects off a reflector at
the back of the LCD. A backlight lights it from the rear. As far as the
sysfs representations go, they'll be essentially identical. You can read a
frontlit display without the light in strong light. The backlit display
always needs the backlight.
My solution for associating backlight drivers with framebuffer drivers is
for the backlight driver to call fb_register_client() and register for fb
events. You can then intercept blanking requests (FB_EVENT_BLANK) which get
passed with an fb_info struct and the new blanking setting. It's entirely up
to the backlight driver how it tells which displays it should be blanking.
For something like my PDA, there is only one framebuffer/LCD to blank but in
other cases you would analyse fb_info. (FB_EVENT_BLANK is destined for
2.6.11)
I propose this discussion should move to linux-fbdev-devel and hopefully
Andrew will provide a sysfs representation we can discuss (maybe with some
comments from lkml).
I have one implementation question though - should backlight drivers be in
the arch folder (arch/arm/mach-pxa in my case) or should
drivers/video/backlights be created? They're all likely to be using
fb_register_client() so maybe the latter would be preferred?
Richard
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Backlight support
2004-11-30 16:28 ` Backlight support Richard Purdie
@ 2004-11-30 16:44 ` Nicolas Pitre
2004-11-30 22:40 ` Russ Dill
1 sibling, 0 replies; 8+ messages in thread
From: Nicolas Pitre @ 2004-11-30 16:44 UTC (permalink / raw)
To: Richard Purdie
Cc: linux-fbdev-devel, Russ Dill, Steven Scholz, linux-arm-kernel
On Tue, 30 Nov 2004, Richard Purdie wrote:
> I have one implementation question though - should backlight drivers be in
> the arch folder (arch/arm/mach-pxa in my case) or should
> drivers/video/backlights be created? They're all likely to be using
> fb_register_client() so maybe the latter would be preferred?
Try to keep pieces of code sorted on their function first. It is harder
for a subsystem maintainer to go all over the tree looking for all files
that a particular change to the subsystem might affect than it is for an
architecture maintainer to look after files affecting a specific
architecture.
Nicolas
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Backlight support
2004-11-30 16:28 ` Backlight support Richard Purdie
2004-11-30 16:44 ` Nicolas Pitre
@ 2004-11-30 22:40 ` Russ Dill
1 sibling, 0 replies; 8+ messages in thread
From: Russ Dill @ 2004-11-30 22:40 UTC (permalink / raw)
To: Richard Purdie; +Cc: linux-fbdev-devel, Steven Scholz, linux-arm-kernel
> I'm keen to get this sorted out and I agree its an ideal use of sysfs. I'm
> still getting up to speed on sysfs though...
>
The sysfs interface should probably tell you about the backlight too,
like, does it need to be on, or is ambient light enough. Possibly
recommended power modes, standardized power modes, or recommendations
based on ambient light.
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
^ permalink raw reply [flat|nested] 8+ messages in thread
* backlight support
@ 2009-07-23 19:22 sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg
[not found] ` <200907232122.28084.schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg @ 2009-07-23 19:22 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hi there,
A lot of people are experiencing problems with backlight support. It seems
that they won't be any solution in near future, so I wanted to ask if nouveau
is going to support the backlight management, and when ?
thx
sebastien
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: backlight support
[not found] ` <200907232122.28084.schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
@ 2009-07-24 15:10 ` Maarten Maathuis
[not found] ` <6d4bc9fc0907240810q304dd344j169f0b7a1de52136-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Maarten Maathuis @ 2009-07-24 15:10 UTC (permalink / raw)
To: sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
There is some support for laptop backlight control.
(http://cgit.freedesktop.org/nouveau/linux-2.6/tree/drivers/gpu/drm/nouveau/nouveau_backlight.c)
If you have older hw, then you may need to figure out how to control it.
I see only a few bug reports related to backlights, so a lot of people
seems like an overstatement.
Maarten.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: backlight support
[not found] ` <6d4bc9fc0907240810q304dd344j169f0b7a1de52136-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-07-27 16:46 ` sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg
[not found] ` <200907271846.36982.schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg @ 2009-07-27 16:46 UTC (permalink / raw)
To: Maarten Maathuis, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Thanks for your answer,
I use karmic, with the already packaged 0.0.14+git20090715-0ubuntu1 from
nouveau...
I can't see any backlight information in /sys/class/backlight
Could you tell me how it is supposed to work with nouveau ? I though the
driver would provide backlight information there??
I don't think to have a old hw, but I don't know what is old for devs...
nVidia Corporation G86 [GeForce 8400M GT]
As I mentionned backlight problems, I didn't mean bug in relation with
nouveau, but for example on nvnews, on launchpad, on ubuntu forums, I already
spoken with a lot of people experiencing backlight problem with nvidia
driver... I do not like so much overstatements ;)
Le Friday 24 July 2009 17:10:37, vous avez écrit :
> There is some support for laptop backlight control.
>
> (http://cgit.freedesktop.org/nouveau/linux-2.6/tree/drivers/gpu/drm/nouveau
>/nouveau_backlight.c)
>
> If you have older hw, then you may need to figure out how to control it.
>
> I see only a few bug reports related to backlights, so a lot of people
> seems like an overstatement.
>
> Maarten.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: backlight support
[not found] ` <200907271846.36982.schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
@ 2009-07-27 17:00 ` Pekka Paalanen
[not found] ` <20090727200046.4e0d3b6b-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Pekka Paalanen @ 2009-07-27 17:00 UTC (permalink / raw)
To: sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On Mon, 27 Jul 2009 18:46:36 +0200
sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org wrote:
> I use karmic, with the already packaged 0.0.14+git20090715-0ubuntu1 from
> nouveau...
Does that build have backlight support enabled?
It was made configurable a day before that package date in
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=4df79d74cf77cad4c27348b3299fb6e046883105
> I can't see any backlight information in /sys/class/backlight
> Could you tell me how it is supposed to work with nouveau ? I though the
> driver would provide backlight information there??
>
> I don't think to have a old hw, but I don't know what is old for devs...
> nVidia Corporation G86 [GeForce 8400M GT]
That is considered quite new.
--
Pekka Paalanen
http://www.iki.fi/pq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: backlight support
[not found] ` <20090727200046.4e0d3b6b-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
@ 2009-07-29 16:23 ` schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg
0 siblings, 0 replies; 8+ messages in thread
From: schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg @ 2009-07-29 16:23 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
I've tried with the ppa version that is git+20090724+094e4e0
but still no backlight information on /proc/acpi/video and
/sys/class/backlight...
Le Monday 27 July 2009 19:00:46, Pekka Paalanen a écrit :
> On Mon, 27 Jul 2009 18:46:36 +0200
>
> sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org wrote:
> > I use karmic, with the already packaged 0.0.14+git20090715-0ubuntu1 from
> > nouveau...
>
> Does that build have backlight support enabled?
> It was made configurable a day before that package date in
> http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=4df79d74cf77cad4c2
>7348b3299fb6e046883105
>
> > I can't see any backlight information in /sys/class/backlight
> > Could you tell me how it is supposed to work with nouveau ? I though the
> > driver would provide backlight information there??
> >
> > I don't think to have a old hw, but I don't know what is old for devs...
> > nVidia Corporation G86 [GeForce 8400M GT]
>
> That is considered quite new.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-07-29 16:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23 19:22 backlight support sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg
[not found] ` <200907232122.28084.schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2009-07-24 15:10 ` Maarten Maathuis
[not found] ` <6d4bc9fc0907240810q304dd344j169f0b7a1de52136-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-27 16:46 ` sebastien.brennion-gM/Ye1E23mwN+BqQ9rBEUg
[not found] ` <200907271846.36982.schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2009-07-27 17:00 ` Pekka Paalanen
[not found] ` <20090727200046.4e0d3b6b-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2009-07-29 16:23 ` schmirrwurst-gM/Ye1E23mwN+BqQ9rBEUg
[not found] <40ED4FAC.70406@ticino.com>
[not found] ` <1089274696.4740.3.camel@localhost>
[not found] ` <41AB2E71.8080809@imc-berlin.de>
[not found] ` <f9d2a5e104112916252c253a2b@mail.gmail.com>
2004-11-30 16:28 ` Backlight support Richard Purdie
2004-11-30 16:44 ` Nicolas Pitre
2004-11-30 22:40 ` Russ Dill
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.