All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@mail.ru>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Thomas Renninger <trenn@suse.de>, Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org
Subject: Re: [PATCH] toshiba_acpi: fingers off backlight if video.ko is serving this functionality
Date: Sat, 15 Nov 2008 21:42:17 +0300	[thread overview]
Message-ID: <200811152142.18890.arvidjaar@mail.ru> (raw)
In-Reply-To: <20081115172052.GA9537@srcf.ucam.org>

[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]

On Saturday 15 November 2008, Matthew Garrett wrote:
> On Sat, Nov 15, 2008 at 08:17:52PM +0300, Andrey Borzenkov wrote:
> > On Saturday 15 November 2008, Matthew Garrett wrote:
> > > > If you think exposing both knobs is non-issue, why are all those patches
> > > > for other vendor drivers included in the kernel in the first place?
> > > 
> > > Because in some of those cases, the ACPI and vendor function are 
> > > implemented in different ways that can then get out of sync with each 
> > > other. As a result, you can get garbage information. If the values in 
> > > your two backlight interfaces are always sane, then there's no inherent 
> > > need to hide one of them.
> > 
> > THE VALUE IN MY TWO BACKLIGHT INTERFACES ARE NOT THE SAME. I said this many
> > times already. What exactly is not clear in this sentence?
> 
> Where did I say that they were? You never answered the question I asked 
> - if you set the value in the toshiba specific backlight control to a 
> value that isn't supported via the generic acpi one, what value does the 
> generic acpi one claim to have?
> 

sh-3.2# cat /sys/class/backlight/acpi_video0/brightness
2
sh-3.2# cat /sys/class/backlight/acpi_video0/actual_brightness
2
sh-3.2# cat /sys/class/backlight/acpi_video0/max_brightness
2
sh-3.2# cat /sys/class/backlight/toshiba/brightness
7
sh-3.2# cat /sys/class/backlight/toshiba/actual_brightness
7
sh-3.2# cat /sys/class/backlight/toshiba/max_brightness
7
sh-3.2# echo 5 > /sys/class/backlight/toshiba/brightnes
sh-3.2# cat /sys/class/backlight/acpi_video0/brightness
2
sh-3.2# cat /sys/class/backlight/acpi_video0/actual_brightness
2
sh-3.2# echo 5 > /sys/class/backlight/acpi_video0/brightness
sh: echo: write error: Invalid argument
sh-3.2# echo 1 > /sys/class/backlight/acpi_video0/brightness
sh-3.2# cat /sys/class/backlight/toshiba/brightness
5
sh-3.2# cat /sys/class/backlight/toshiba/actual_brightness
3
sh-3.2# echo 7 > /sys/class/backlight/toshiba/brightness
sh-3.2# cat /sys/class/backlight/acpi_video0/brightness
1
sh-3.2# cat /sys/class/backlight/acpi_video0/actual_brightness
1


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-11-15 18:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08 13:37 [PATCH] toshiba_acpi: fingers off backlight if video.ko is serving this functionality Andrey Borzenkov
2008-11-11 20:04 ` Len Brown
2008-11-12 23:41   ` Thomas Renninger
2008-11-13  1:32     ` Matthew Garrett
2008-11-13  4:58       ` Andrey Borzenkov
2008-11-13 11:11         ` Matthew Garrett
2008-11-15 16:30           ` Andrey Borzenkov
2008-11-15 16:54             ` Matthew Garrett
2008-11-15 17:05               ` Andrey Borzenkov
2008-11-15 17:11                 ` Matthew Garrett
2008-11-15 17:17                   ` Andrey Borzenkov
2008-11-15 17:20                     ` Matthew Garrett
2008-11-15 18:42                       ` Andrey Borzenkov [this message]
2008-11-15 18:49                         ` Matthew Garrett
2008-11-16 12:51                           ` Henrique de Moraes Holschuh
2008-11-16 21:44                             ` Thomas Renninger
2008-11-17  2:07                               ` Henrique de Moraes Holschuh
2008-11-27  5:19                                 ` Len Brown
2008-11-27 11:39                                   ` Video.ko-vs-toshiba.ko-more-brightness-levels-win Thomas Renninger
2008-11-27 11:39                                   ` [PATCH 1/2] ACPI: acpi_video_backlight_support return found generic video brightness levels Thomas Renninger
2008-11-27 12:08                                     ` Thomas Renninger
2008-11-27 11:39                                   ` [PATCH 2/2] Video.ko vs toshiba.ko - more brightness levels win Thomas Renninger

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=200811152142.18890.arvidjaar@mail.ru \
    --to=arvidjaar@mail.ru \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=trenn@suse.de \
    /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.