From: Alexey Starikovskiy <aystarik@gmail.com>
To: Danny Baumann <dannybaumann@web.de>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Brightness buttons broken on Toshiba Satellite Proc A100 in kernel 2.6.23 (Fedora8)
Date: Tue, 30 Oct 2007 16:55:07 +0300 [thread overview]
Message-ID: <472737BB.2000609@gmail.com> (raw)
In-Reply-To: <1193746910.18110.1.camel@rechenknecht.peppercon.de>
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
Danny Baumann wrote:
> Hi,
>
>>> after upgrading to Fedora 8 which brought kernel 2.6.23 with it I can no longer
>>> use the brightness buttons (Fn+F6/F7) on my above mentioned laptop. Pressing
>>> them generates F6 and F7 key events instead of ACPI events. This used to work
>>> fine in Fedora 7's 2.6.22.9 kernel.
>>>
>>> Is there anything I can do to debug this? Writing a value to
>>> /proc/acpi/video/VGA/LCD/brightness still works fine, so it's just a matter of
>>> the key mapping.
>>> I would try to debug this myself, if I just knew where to look at; so any
>>> pointers in this direction would be appreciated, too.
>
> Ok, I played around with it some more. It seems that on my Laptop the
> firmware sends out notifications on Fn+F6/7 press.
> Kernel 2.6.23-rc2 worked fine, -rc3 is broken. Reverting ec.c in the
> current Fedora kernel to the version in 2.6.23-rc2 makes brightness
> control work again. After finding that, I tried the current HEAD version
> of ec.c - unfortunately to no avail.
> 2.6.23-rc3 doesn't show up the (unwanted) key events for Fn+F6/7 though
> - this behaviour was introduced in -rc4.
>
> Is it possible to fix the problem with the amount of information
> provided? If no, what additional information can I provide?
Please check if attached patch changes situation.
Also, please open a new bug entry in bugzilla.kernel.org and put all the data you've collected there.
Please also attach full output from acpidump.
Thanks,
Alex.
[-- Attachment #2: x.patch --]
[-- Type: text/x-diff, Size: 327 bytes --]
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 06b78e5..22bc38c 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -866,6 +866,8 @@ int __init acpi_ec_ecdt_probe(void)
acpi_status status;
struct acpi_table_ecdt *ecdt_ptr;
+return -ENODEV;
+
boot_ec = make_acpi_ec();
if (!boot_ec)
return -ENOMEM;
next prev parent reply other threads:[~2007-10-30 13:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 12:49 Brightness buttons broken on Toshiba Satellite Proc A100 in kernel 2.6.23 (Fedora8) Danny Baumann
2007-10-16 14:30 ` Chuck Ebbert
2007-10-16 14:50 ` Danny Baumann
2007-10-30 12:21 ` Danny Baumann
2007-10-30 13:55 ` Alexey Starikovskiy [this message]
2007-10-30 17:21 ` Danny Baumann
2007-11-02 13:40 ` Danny Baumann
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=472737BB.2000609@gmail.com \
--to=aystarik@gmail.com \
--cc=dannybaumann@web.de \
--cc=linux-acpi@vger.kernel.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.