All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Éric Piel" <Eric.Piel@tremplin-utc.net>
To: Carlos Corbacho <cathectic@gmail.com>
Cc: Dmitry Torokhov <dtor@insightbb.com>,
	linux-input@atrey.karlin.mff.cuni.cz,
	Ashutosh Naik <ashutosh.naik@gmail.com>
Subject: Re: wistron_btns - Is polling always required?
Date: Wed, 25 Jul 2007 23:41:09 +0200	[thread overview]
Message-ID: <46A7C375.4080109@tremplin-utc.net> (raw)
In-Reply-To: <200707221514.15142.cathectic@gmail.com>

07/22/2007 04:14 PM, Carlos Corbacho wrote/a écrit:
> Dimitry, Éric,
> 
> On Friday 20 July 2007 05:06:35 Dmitry Torokhov wrote:
>> I was not aware that these models can deliver events for hotkeys via
>> atkbd. I think option B is best since interrupt-driven mode is always
>> better than polling. I am CC-ing Eric Piel who did most of the work
>> on new models support in wistron_btns.
> 
> Looking around a bit more, the following should definitely be removed from 
> wistron_btns:
> 
> Acer Aspire 3020
> Acer Aspire 5020
> 
> The following I'm not entirely sure on these, but they _probably_ should be 
> removed:
> 
> Acer TravelMate 2100
> Acer TravelMate 2410 (identical hardware to the Aspire 1610, which is known to 
> generate scancodes)
> Acer TravelMate 2424NWXCi (aka TravelMate 2420 series)
> 
> As a rule of thumb, if the laptop is based on Acer's "folio" design, which 
> they've used for most of the TravelMate and Aspire laptops from 2004 to the 
> present day (although some of the newer ones are now using a different 
> design), and/ or the model/ series number is a four digit one (such as 5020), 
> it shouldn't be in wistron_btns (the Aspire 1500 and Aspire 1600 I would make 
> an exception for, as they don't appear to be based on the "folio" design, and 
> therefore don't fit this pattern).

Hi,

I finally got a hand on an old 3020, a 32 bit-only one. I can confirm 
that even on this old version the keys are also passed through atkdb 
(including wifi and bluetooth keys). I had put all the one you mentioned 
only because they were described in the acerhk driver as using the 
wistron interface. I'm not attached to them at all ;-)

So I'm fine with your suggestion to remove their entries, at least for: 
3020, 5020, 2100, 2410. For the 2420, it came earlier from Ashutosh Naik 
(cc'ed now), asking him first if it's also working without the driver 
would be much better!

By removing the entries, we should keep in mind that with the vanilla 
kernel, there is still a small functionality loss: wireless and led 
activations are lost. Those functionalities are provided by the 
acer_acpi driver (with a much cleaner approach), but it's unlikely to 
reach the vanilla kernel within less than three or four releases. So 
Dimitry should decide if we want to only remove the key part from those 
entries, leaving the led and wireless part until acer_acpi gets merged 
or if we should delete them completely right now.

See you,
Eric

  reply	other threads:[~2007-07-25 21:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-19 17:03 wistron_btns - Is polling always required? Carlos Corbacho
2007-07-20  4:06 ` Dmitry Torokhov
2007-07-22 14:14   ` Carlos Corbacho
2007-07-25 21:41     ` Éric Piel [this message]
2007-07-27 11:20       ` Carlos Corbacho
2007-07-27 13:07         ` Éric Piel
2007-07-27 13:27           ` 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=46A7C375.4080109@tremplin-utc.net \
    --to=eric.piel@tremplin-utc.net \
    --cc=ashutosh.naik@gmail.com \
    --cc=cathectic@gmail.com \
    --cc=dtor@insightbb.com \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    /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.