linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tobias Müller" <Tobias_Mueller@twam.info>
To: Jiri Kosina <jkosina@suse.cz>, linux-input@vger.kernel.org
Subject: Re: [PATCH] hid, 2.6.23 - add support for new macbook and apple aluminum keyboard "fn" key
Date: Wed, 13 Feb 2008 13:44:04 +0100	[thread overview]
Message-ID: <47B2E614.5090001@twam.info> (raw)
In-Reply-To: <Pine.LNX.4.64.0802122143280.7699@twin.jikos.cz>

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

Jiri Kosina schrieb:
> Some part of the patch is already in 2.6.25-rc1 -- please see commit 
> a45d82d19a6c2a717bcc33cff243199b77fa0082, which adds support for Apple 
> Aluminium keyboards. So the patch would need some changes that it would 
> apply on top of current tree.
It seems there is almost everything implemented except for some product ids.

> Also, Tobias (added to CC) seems to be currently working on adding support 
> for a subset of keyboards that this patch adds. Tobias -- it seems like 
> this patch is handling a superset of what your patch does, right?
Yes

> It would be great if you could put this all together into one condensated 
> patch which I could merge into my tree.
I'm working on that, but I found a problem in the new 2.6.25-rc1 code.

Until 2.6.24 hidinput_apple_event which handles the apple specials was called by
hidinput_hid_event and if hidinput_apple_event changed some code, hidinput_hid_event
returned and didn't send any events.

In 2.6.25 hidinput_apple_event is called in hidinput_event_quirks which is called by 
hidinput_hid_event. But if hidinput_event_quirks sent events, hidinput_hid_event doesn't
know of this and send the events too! So if I press some keys on my keyboard, there are
2 keycodes sent.

This seems to be a greater change in 2.6.25 and I don't want to change this, because I think
someone made this change for some good reason.

Regards
  Tobias

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3389 bytes --]

       reply	other threads:[~2008-02-13 12:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fosskb$klp$1@ger.gmane.org>
     [not found] ` <Pine.LNX.4.64.0802122143280.7699@twin.jikos.cz>
2008-02-13 12:44   ` Tobias Müller [this message]
2008-02-13 12:57     ` [PATCH] hid, 2.6.23 - add support for new macbook and apple aluminum keyboard "fn" key Jiri Kosina
2008-02-13 15:49       ` Tobias Müller
2008-02-13 16:06         ` Jiri Kosina
2008-03-14 16:41           ` Tobias Müller
2008-03-14 16:52             ` Jiri Kosina
2008-03-14 20:52               ` Tobias Müller
     [not found]               ` <47DAAFCA.2030005@twam.info>
2008-03-14 22:26                 ` Jiri Kosina

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=47B2E614.5090001@twam.info \
    --to=tobias_mueller@twam.info \
    --cc=jkosina@suse.cz \
    --cc=linux-input@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 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).