From: Stelian Pop <stelian@popies.net>
To: Andrew Morton <akpm@osdl.org>
Cc: Mattia Dongili <malattia@linux.it>, Len Brown <lenb@kernel.org>,
Ismail Donmez <ismail@pardus.org.tr>,
Andrea Gelmini <gelma@gelma.net>,
linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
Cacy Rodney <cacy-rodney-cacy@tlen.pl>
Subject: Re: sonypc with Sony Vaio VGN-SZ1VP
Date: Fri, 05 Jan 2007 10:58:00 +0100 [thread overview]
Message-ID: <1167991081.8985.17.camel@localhost.localdomain> (raw)
In-Reply-To: <20070104201653.f1939617.akpm@osdl.org>
Le jeudi 04 janvier 2007 à 20:16 -0800, Andrew Morton a écrit :
> On Fri, 05 Jan 2007 00:54:32 +0100
> Stelian Pop <stelian@popies.net> wrote:
>
> > Le jeudi 04 janvier 2007 à 15:44 -0800, Andrew Morton a écrit :
> > > On Fri, 05 Jan 2007 00:36:23 +0100
> > > Stelian Pop <stelian@popies.net> wrote:
> > >
> > > > Added acpi_bus_generate event for forwarding Fn-keys pressed to acpi subsystem,
> > > > and made correspondent necessary changes for this to work.
> > >
> > > neato.
> > >
> > > err, how does one use this?
> >
> > :)
> >
> > Well, it seems that on some Vaios (including Nilton's pcg-frv26 but not
> > only this one), the Fn key events aren't seen by sonypi or sony_acpi
> > GHKE method, but do generate an ACPI notify event.
>
> Speak English ;)
Oh, sorry, I'll try again :)
There are several ways of detecting the Fn key events, depending on the
Vaio series:
- some Vaios report them using the SPIC device (driven by sonypi)
- some Vaios let the driver poll for the Fn key status using the GHKE
ACPI method of the SNC device (driven by sony_acpi)
- some Vaios generate an ACPI notify event on the SNC device when a Fn
key is pressed - this is what the latest patch is for.
Unfortunately there are way too many different Vaio series, and no
information about what series support what method. I should have
maintained some sort of wiki to let the users build themselves a
comprehensive list, but I never get around to do it. Maybe Mattia could
do it if he has the time and will...
> > For those laptops, the patch forwards the ACPI event to the ACPI system
> > and can be later interpreted in userspace using
> > acpid's /etc/acpi/default.sh (example directly from Nilton):
>
> The only things Mr Red Hat gave me are /etc/acpi/events/sample.conf and
> /etc/acpi/events/video.conf.
Well, there was an /etc/acpi/default.sh in an older version of acpid...
I'm not sure what it looks like now on a recent Fedora but on my Ubuntu
I still have an acpid package, which has some files in /etc/acpi/
looking familiar.
> I pressed then released a button and dmesg said
>
> [ 76.961568] evbug.c: Event. Dev: <NULL>, Type: 1, Code: 148, Value: 1
> [ 76.961576] evbug.c: Event. Dev: <NULL>, Type: 0, Code: 0, Value: 0
> [ 76.963277] evbug.c: Event. Dev: <NULL>, Type: 1, Code: 148, Value: 0
> [ 76.963284] evbug.c: Event. Dev: <NULL>, Type: 0, Code: 0, Value: 0
> [ 76.967341] evbug.c: Event. Dev: <NULL>, Type: 1, Code: 148, Value: 1
> [ 76.967349] evbug.c: Event. Dev: <NULL>, Type: 0, Code: 0, Value: 0
> [ 76.968136] evbug.c: Event. Dev: <NULL>, Type: 1, Code: 148, Value: 0
> [ 76.968143] evbug.c: Event. Dev: <NULL>, Type: 0, Code: 0, Value: 0
>
> Nothing else happened.
Well, you got the events from evdev, which means you probably got them
directly from sonypi (or the regular keyboard..)
Unless your distribution does some neat tricks and somehow feeds the
events coming from somewhere into the event subsystem (like Ubuntu's
acpi_fakekey for example...).
Stelian.
--
Stelian Pop <stelian@popies.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2007-01-05 9:58 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 11:51 sonypc with Sony Vaio VGN-SZ1VP stelian
2006-09-28 16:27 ` Yu Luming
2007-01-04 5:24 ` Len Brown
2007-01-04 10:09 ` Stelian Pop
2007-01-04 19:15 ` Mattia Dongili
2007-01-04 20:51 ` Andrew Morton
2007-01-04 21:18 ` Mattia Dongili
2007-01-04 21:28 ` Andrew Morton
2007-01-04 21:36 ` Timo Hoenig
2007-01-04 21:36 ` Richard Hughes
2007-01-04 21:58 ` Mattia Dongili
2007-01-05 17:02 ` Len Brown
2007-01-05 18:06 ` Mattia Dongili
2007-01-04 23:36 ` Stelian Pop
2007-01-04 23:44 ` Andrew Morton
2007-01-04 23:54 ` Stelian Pop
2007-01-05 4:16 ` Andrew Morton
2007-01-05 9:58 ` Stelian Pop [this message]
2007-01-05 2:20 ` MoRpHeUz
2007-01-05 17:11 ` Sony Vaio VGN-SZ340 (was Re: sonypc with Sony Vaio VGN-SZ1VP) Len Brown
2007-01-05 17:24 ` MoRpHeUz
2007-01-05 18:10 ` Len Brown
2007-01-06 4:09 ` Bjorn Helgaas
2007-01-11 19:52 ` Len Brown
2007-01-11 20:01 ` Alexey Starikovskiy
2007-01-05 0:11 ` sonypc with Sony Vaio VGN-SZ1VP Jan Engelhardt
2007-01-05 9:15 ` Mattia Dongili
2007-01-05 9:59 ` Stelian Pop
2007-01-04 23:34 ` Stelian Pop
2007-01-05 9:23 ` Neil Bird
2007-01-05 16:24 ` Mattia Dongili
2007-01-10 8:32 ` Neil Bird
2007-01-11 12:20 ` sonypc with Sony Vaio VGN-SZ1VP [repost] Neil Bird
2007-01-05 17:19 ` sonypc with Sony Vaio VGN-SZ1VP Len Brown
2007-01-10 8:36 ` Neil Bird
2007-01-11 12:20 ` sonypc with Sony Vaio VGN-SZ1VP [repost] Neil Bird
2007-01-05 10:02 ` sonypc with Sony Vaio VGN-SZ1VP Stelian Pop
2007-01-05 12:13 ` Mattia Dongili
2007-01-05 14:23 ` Jan Engelhardt
2007-01-09 15:19 ` Luming Yu
-- strict thread matches above, loose matches on Subject: below --
2007-01-04 17:58 Cacy Rodney
2007-01-05 17:33 ` Len Brown
2007-01-05 19:10 ` Mattia Dongili
[not found] <20060926135659.GA3685@jnb.gelma.net>
[not found] ` <45195583.4090500@popies.net>
[not found] ` <200609262056.32052.ismail@pardus.org.tr>
2006-09-27 5:14 ` Andrew Morton
2006-09-27 5:59 ` Jan Engelhardt
2006-09-27 6:04 ` Len Brown
2006-09-27 7:50 ` Ismail Donmez
2006-09-28 15:48 ` Yu Luming
2006-09-27 16:26 ` Andrea Gelmini
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=1167991081.8985.17.camel@localhost.localdomain \
--to=stelian@popies.net \
--cc=akpm@osdl.org \
--cc=cacy-rodney-cacy@tlen.pl \
--cc=gelma@gelma.net \
--cc=ismail@pardus.org.tr \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@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;
as well as URLs for NNTP newsgroup(s).