All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Jiri Kosina <jkosina@suse.cz>, John Horan <knasher@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] unswap the grave and 102nd keys on Apple Alu ISO keyboard
Date: Fri, 8 May 2015 11:57:47 +0900	[thread overview]
Message-ID: <554C262B.5090607@daenzer.net> (raw)
In-Reply-To: <alpine.LNX.2.00.1505041010480.3081@pobox.suse.cz>

On 04.05.2015 17:11, Jiri Kosina wrote:
> On Mon, 4 May 2015, Jiri Kosina wrote:
> 
>> On Mon, 4 May 2015, Jiri Kosina wrote:
>>
>>> On Fri, 1 May 2015, John Horan wrote:
>>>
>>>> The quirk for swapping the grave and 102nd keys should be applied to the 
>>>> APPLE_ALU_ISO keyboard, as they aren't actually swapped.
>>>>
>>>> Signed-off-by: John Horan <knasher@gmail.com>
>>>> ---
>>>>  drivers/hid/hid-apple.c | 2 +-
>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
>>>> index f822fd2..e4bbfc0 100644
>>>> --- a/drivers/hid/hid-apple.c
>>>> +++ b/drivers/hid/hid-apple.c
>>>> @@ -441,7 +441,7 @@ static const struct hid_device_id apple_devices[] = {
>>>>  	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_ANSI),
>>>>  		.driver_data = APPLE_HAS_FN },
>>>>  	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_ISO),
>>>> -		.driver_data = APPLE_HAS_FN | APPLE_ISO_KEYBOARD },
>>>> +		.driver_data = APPLE_HAS_FN },
>>>>  	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_JIS),
>>>>  		.driver_data = APPLE_HAS_FN },
>>>>  	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_HF_ANSI),
>>>
>>> Okay, this has been there since 2007, so one would guess there must be a 
>>> reason for noone complaining about this for past 8 years. I'd rather be 
>>> careful here so that we don't introduce any regressions.
>>>
>>> Adding Michel, who added the original quirk back in 2007 (through commit 
>>> a45d82d19a6 ("HID: Add support for Apple aluminum USB keyboards")) to CC.

With my ISO Apple Aluminum keyboard:

Bus 006 Device 021: ID 05ac:0221 Apple, Inc. Aluminum Keyboard (ISO)

writing 0 to /sys/module/hid_apple/parameters/iso_layout (which disables
the APPLE_ISO_KEYBOARD quirk) results in the key right of the left shift
key (labelled "`" and "~") producing the wrong characters. With the
quirk enabled, it produces "`" and "~" as expected.


John, please provide more information about the problem you're trying to
solve with this patch.


>> Okay, the original e-mail address of Michel bounces, let's try a different 
>> one :)
> 
> Hmm, that bounced again. One last attempt ...

Third time's the charm. :)


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-05-08  3:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-01  9:17 [PATCH] unswap the grave and 102nd keys on Apple Alu ISO keyboard John Horan
2015-05-04  8:07 ` Jiri Kosina
2015-05-04  8:09   ` Jiri Kosina
2015-05-04  8:11     ` Jiri Kosina
2015-05-08  2:57       ` Michel Dänzer [this message]
     [not found]         ` <1431079408.1420.0@smtp.gmail.com>
2015-05-09  8:41           ` Michel Dänzer
     [not found]             ` <1431350579.5543.0@smtp.gmail.com>
2015-05-12  0:44               ` Michel Dänzer
     [not found]                 ` <1431424549.1489.0@smtp.gmail.com>
2015-05-12 10:06                   ` Michel Dänzer
2015-05-12 11:05                     ` John Horan
2015-05-13  1:16                       ` Michel Dänzer
2015-05-13 11:48                         ` John Horan
2015-05-13 11:48   ` John Horan

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=554C262B.5090607@daenzer.net \
    --to=michel@daenzer.net \
    --cc=jkosina@suse.cz \
    --cc=knasher@gmail.com \
    --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 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.