public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Len Brown <lenb@kernel.org>,
	linux-acpi <linux-acpi@vger.kernel.org>,
	Jonathan Woithe <jwoithe@physics.adelaide.edu.au>,
	Carlos Corbacho <carlos@strangeworlds.co.uk>,
	Corentin CHARY <corentincj@iksaif.net>,
	Mattia Dongili <malattia@linux.it>
Subject: Re: [PATCH 7/7] Who controls brightness functionality: vendor specific or generic video driver
Date: Thu, 17 Apr 2008 21:32:18 +0200	[thread overview]
Message-ID: <1208460739.1784.398.camel@queen.suse.de> (raw)
In-Reply-To: <20080416210108.GB3396@khazad-dum.debian.net>

On Wed, 2008-04-16 at 18:01 -0300, Henrique de Moraes Holschuh wrote:
> On Wed, 16 Apr 2008, Thomas Renninger wrote:
> > Index: linux-acpi-2.6_video_native_vs_vendor/drivers/misc/thinkpad_acpi.c
> > ===================================================================
> > --- linux-acpi-2.6_video_native_vs_vendor.orig/drivers/misc/thinkpad_acpi.c
> > +++ linux-acpi-2.6_video_native_vs_vendor/drivers/misc/thinkpad_acpi.c
> > @@ -4381,6 +4381,13 @@ static int __init brightness_init(struct
> >  			   "module parameter\n");
> >  		return 1;
> >  	} else if (brightness_enable > 1) {
> > +		if ((acpi_video_support & ACPI_VIDEO_BRIGHTNESS) &&
> > +		    !(acpi_video_support & ACPI_VIDEO_FORCE_VENDOR_SPECIFIC)) {
> > +			printk(TPACPI_INFO "Brightness ignored, must be "
> > +			       "controlled by ACPI video driver\n");
> > +			return 1;
> > +		}
> > +		/* Above, generic approach should make this check obsolete */
> >  		if (brightness_check_std_acpi_support()) {
> >  			printk(TPACPI_NOTICE
> >  			       "standard ACPI backlight interface "
> 
> Ack.  But I am sure I will have to change this hunk a bit on
> thinkpad-acpi 0.20.  This is not a big issue, and if you prefer, I can
> handle adding the above support for thinkpad-acpi 0.20 since it is
> likely going to be merged late due to its dependency on some stuff for
> the LED class that needs to be in mainline first...

I need to post another version, I hope to find some time over the
week-end.
I also need to go through and disable output switching also where
supported.

Thanks,

   Thomas



  reply	other threads:[~2008-04-17 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-16 19:02 [PATCH 7/7] Who controls brightness functionality: vendor specific or generic video driver Thomas Renninger
2008-04-16 19:08 ` Thomas Renninger
2008-04-16 21:01 ` Henrique de Moraes Holschuh
2008-04-17 19:32   ` Thomas Renninger [this message]
2008-04-19 11:03 ` Carlos Corbacho

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=1208460739.1784.398.camel@queen.suse.de \
    --to=trenn@suse.de \
    --cc=carlos@strangeworlds.co.uk \
    --cc=corentincj@iksaif.net \
    --cc=hmh@hmh.eng.br \
    --cc=jwoithe@physics.adelaide.edu.au \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=malattia@linux.it \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox