From: Robert Gerlach <khnz@gmx.de>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Dmitry Torokhov <dtor@insightbb.com>, Pavel Machek <pavel@ucw.cz>,
Len Brown <lenb@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
linux-input@atrey.karlin.mff.cuni.cz,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fujitsu application panel driver
Date: Mon, 19 Nov 2007 21:37:13 +0100 [thread overview]
Message-ID: <200711192137.14747.khnz@gmx.de> (raw)
In-Reply-To: <20071119092633.42d6d6b0@freepuppy.rosehill>
Am Montag 19 November 2007 18:26:32 schrieben Sie:
> On Mon, 19 Nov 2007 13:50:30 +0100
>
> Robert Gerlach <khnz@gmx.de> wrote:
> > Am Montag 19 November 2007 05:43:07 schrieb Stephen Hemminger:
> > > On Sun, 18 Nov 2007 23:36:58 +0100
> > >
> > > Robert Gerlach <khnz@gmx.de> wrote:
> > > > Am Dienstag 23 Oktober 2007 21:55:55 schrieb Stephen Hemminger:
> > > > > +MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifeBook*:pvr*:rvnFUJITSU:*");
> > > > > +MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifebook*:pvr*:rvnFUJITSU:*");
> > > >
> > > > Please make sure that this module is not autoload on Lifebook tablets
> > > > (T series and P1[56]10). It works fine, but only supports a subset of
> > > > features (4 of 7 buttons and no display orientation for my T4010).
> > >
> > > I would rather get those tablets working (with help). Rather than
> > > trying to enumerate all the possible DMI values of the full range of
> > > different laptops.
> >
> > I've played with apanel some month ago. I've never found the keys and the
> > switch over the I2C bus. So I was starting my own module (fsc_btns) to
> > play with the IO range announced by ACPI. There I found it all. But my
> > module doesn't work on all Lifebooks (S7110 for example; has no such ACPI
> > device).
>
> If the device doesn't have the buttons, then the probe routine won't find
> them and it should just exit and unload itself. Now it may be too noisy
> right now and it might not detect properly, if so, that is where the bug
> is.
Sorry, bad writing. What I want to say, apanel loads fine and works for the 4
keys. Apanel and fsc_btns works side by side too and (in this case) keys
reported twice, that's the bug.
For my T4010, apanel found 2 devices, devno 1 and 6 both with method=4 chip=4
slave=25. The working keys are scrolldown (reported as prog2), scrollup
(prog1), display rotation (www) and Fn (mail). If I find a way to make the
other keys work, I will happily add it. Currently I have no idea.
By the way, input-kbd segv for apanel on my box. This fixed it for me:
--- orig/apanel.c 2007-11-19 20:41:58.000000000 +0100
+++ apanel.c 2007-11-19 20:44:54.000000000 +0100
@@ -274,8 +274,8 @@
idev->phys = "apanel/input0";
idev->id.bustype = BUS_HOST;
idev->dev.parent = &ap->client.dev;
- idev->getkeycode = apanel_getkeycode;
- idev->setkeycode = apanel_setkeycode;
+ idev->keycode = ap->keymap;
+ idev->keycodesize = sizeof(ap->keymap[0]);
set_bit(EV_KEY, idev->evbit);
Robert
next prev parent reply other threads:[~2007-11-19 20:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-02 18:17 [PATCH] fujtisu application panel driver Stephen Hemminger
2007-07-02 19:16 ` Dmitry Torokhov
2007-09-03 8:58 ` Stephen Hemminger
2007-09-07 12:02 ` Pavel Machek
2007-09-12 11:38 ` [PATCH] Fujitsu application panel driver (rev3) Stephen Hemminger
2007-09-14 5:30 ` Dmitry Torokhov
2007-09-16 19:55 ` Stephen Hemminger
2007-09-16 20:22 ` Dmitry Torokhov
2007-10-23 19:55 ` [PATCH] Fujitsu application panel driver Stephen Hemminger
2007-10-24 23:03 ` Andrew Morton
2007-10-25 20:19 ` [PATCH] apanel: space savings Stephen Hemminger
2007-10-28 5:30 ` [PATCH] Fujitsu application panel driver Dmitry Torokhov
2007-11-18 22:36 ` Robert Gerlach
2007-11-19 4:43 ` Stephen Hemminger
2007-11-19 12:50 ` Robert Gerlach
2007-11-19 17:26 ` Stephen Hemminger
2007-11-19 20:37 ` Robert Gerlach [this message]
2007-11-19 23:19 ` Stephen Hemminger
2007-12-19 9:04 ` Robert Gerlach
2007-12-12 14:10 ` Dmitry Torokhov
2007-12-12 22:21 ` [PATCH] Fujitsu application panel led value Stephen Hemminger
2007-07-05 1:29 ` [PATCH] fujtisu application panel driver Jason Uhlenkott
2007-09-03 9:00 ` Stephen Hemminger
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=200711192137.14747.khnz@gmx.de \
--to=khnz@gmx.de \
--cc=akpm@linux-foundation.org \
--cc=dtor@insightbb.com \
--cc=lenb@kernel.org \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=shemminger@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox