* wistron_btns: x86_64 support for key mappings?
@ 2007-05-22 18:46 Carlos Corbacho
2007-05-22 19:17 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Carlos Corbacho @ 2007-05-22 18:46 UTC (permalink / raw)
To: linux-input
Would it be possible and acceptable to tweak the wistron_btns driver to be
at least partially useful to x86_64 users?
e.g. Strip out the BIOS calls on x86_64 and just leave the key mappings
(such as through ifdef's or whatever method is the best for this case).
(I would be happy to produce such a patch to do so, I just wanted some
thoughts first).
-Carlos
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: wistron_btns: x86_64 support for key mappings?
2007-05-22 18:46 wistron_btns: x86_64 support for key mappings? Carlos Corbacho
@ 2007-05-22 19:17 ` Dmitry Torokhov
2007-05-22 20:59 ` Carlos Corbacho
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2007-05-22 19:17 UTC (permalink / raw)
To: Carlos Corbacho; +Cc: linux-input
Hi Carlos,
On 5/22/07, Carlos Corbacho <cathectic@gmail.com> wrote:
> Would it be possible and acceptable to tweak the wistron_btns driver to be
> at least partially useful to x86_64 users?
>
> e.g. Strip out the BIOS calls on x86_64 and just leave the key mappings
> (such as through ifdef's or whatever method is the best for this case).
>
> (I would be happy to produce such a patch to do so, I just wanted some
> thoughts first).
>
Well, the main concern is how woudl you detect button presses without
BIOS calls?
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: wistron_btns: x86_64 support for key mappings?
2007-05-22 19:17 ` Dmitry Torokhov
@ 2007-05-22 20:59 ` Carlos Corbacho
0 siblings, 0 replies; 3+ messages in thread
From: Carlos Corbacho @ 2007-05-22 20:59 UTC (permalink / raw)
To: linux-input
Dmitry Torokhov wrote:
> Well, the main concern is how woudl you detect button presses without
> BIOS calls?
I see what you mean now - I had been looking at some of the other BIOS
calling functions in there at the top of the code which are not absolutely
necessary; but I see now stripping out all the BIOS calls is unavoidable
because of the polling required.
I suppose the only alternative then would probably be to port the code to
x86_64 assembly at some distant point in the future.
Sorry about the noise.
-Carlos
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-22 20:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 18:46 wistron_btns: x86_64 support for key mappings? Carlos Corbacho
2007-05-22 19:17 ` Dmitry Torokhov
2007-05-22 20:59 ` Carlos Corbacho
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).