<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hid/hid-apple.c, branch linux-5.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-06-24T07:49:04Z</updated>
<entry>
<title>HID: apple: Disable Fn-key key-re-mapping on clone keyboards</title>
<updated>2020-06-24T07:49:04Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2020-06-20T12:32:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5d81646fa294eed57786a9310b06ca48902adf8'/>
<id>urn:sha1:a5d81646fa294eed57786a9310b06ca48902adf8</id>
<content type='text'>
The Maxxter KB-BT-001 Bluetooth keyboard, which looks somewhat like the
Apple Wireless Keyboard, is using the vendor and product IDs (05AC:0239)
of the Apple Wireless Keyboard (2009 ANSI version) &lt;sigh&gt;.

But its F1 - F10 keys are marked as sending F1 - F10, not the special
functions hid-apple.c maps them too; and since its descriptors do not
contain the HID_UP_CUSTOM | 0x0003 usage apple-hid looks for for the
Fn-key, apple_setup_input() never gets called, so F1 - F6 are mapped
to key-codes which have not been set in the keybit array causing them
to not send any events at all.

The lack of a usage code matching the Fn key in the clone is actually
useful as this allows solving this problem in a generic way.

This commits adds a fn_found flag and it adds a input_configured
callback which checks if this flag is set once all usages have been
mapped. If it is not set, then assume this is a clone and clear the
quirks bitmap so that the hid-apple code does not add any special
handling to this keyboard.

This fixes F1 - F6 not sending anything at all and F7 - F12 sending
the wrong codes on the Maxxter KB-BT-001 Bluetooth keyboard and on
similar clones.

Cc: Joao Moreno &lt;mail@joaomoreno.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: apple: Swap the Fn and Left Control keys on Apple keyboards</title>
<updated>2020-05-15T10:20:50Z</updated>
<author>
<name>free5lot</name>
</author>
<published>2020-05-15T06:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=346338ef00d35bf8338ded171f9abeb9b10b43df'/>
<id>urn:sha1:346338ef00d35bf8338ded171f9abeb9b10b43df</id>
<content type='text'>
This patch allows users to swap the Fn and left Control keys on all Apple
keyboards: internal (e.g. Macbooks) and external (both wired and wireless).
The patch adds a new hid-apple module param: swap_fn_leftctrl (off by default).

Signed-off-by: Zakhar Semenov &lt;mail@free5lot.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: apple: Add support for recent firmware on Magic Keyboards</title>
<updated>2020-02-12T13:17:42Z</updated>
<author>
<name>Mansour Behabadi</name>
</author>
<published>2020-01-29T06:26:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e433be929e63265b7412478eb7ff271467aee2d7'/>
<id>urn:sha1:e433be929e63265b7412478eb7ff271467aee2d7</id>
<content type='text'>
Magic Keyboards with more recent firmware (0x0100) report Fn key differently.
Without this patch, Fn key may not behave as expected and may not be
configurable via hid_apple fnmode module parameter.

Signed-off-by: Mansour Behabadi &lt;mansour@oxplot.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: apple: Fix stuck function keys when using FN</title>
<updated>2019-09-04T07:22:55Z</updated>
<author>
<name>Joao Moreno</name>
</author>
<published>2019-09-03T14:46:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aec256d0ecd561036f188dbc8fa7924c47a9edfd'/>
<id>urn:sha1:aec256d0ecd561036f188dbc8fa7924c47a9edfd</id>
<content type='text'>
This fixes an issue in which key down events for function keys would be
repeatedly emitted even after the user has raised the physical key. For
example, the driver fails to emit the F5 key up event when going through
the following steps:
- fnmode=1: hold FN, hold F5, release FN, release F5
- fnmode=2: hold F5, hold FN, release F5, release FN

The repeated F5 key down events can be easily verified using xev.

Signed-off-by: Joao Moreno &lt;mail@joaomoreno.com&gt;
Co-developed-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
<updated>2019-05-30T18:26:32Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-27T06:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2874c5fd284268364ece81a7bd936f3c8168e567'/>
<id>urn:sha1:2874c5fd284268364ece81a7bd936f3c8168e567</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>HID: add support for Apple Magic Keyboards</title>
<updated>2018-08-28T11:52:50Z</updated>
<author>
<name>Sean O'Brien</name>
</author>
<published>2018-08-27T20:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee345492437043a79db058a3d4f029ebcb52089a'/>
<id>urn:sha1:ee345492437043a79db058a3d4f029ebcb52089a</id>
<content type='text'>
USB device
	Vendor 05ac (Apple)
	Device 026c (Magic Keyboard with Numeric Keypad)

Bluetooth devices
	Vendor 004c (Apple)
	Device 0267 (Magic Keyboard)
	Device 026c (Magic Keyboard with Numeric Keypad)

Support already exists for the Magic Keyboard over USB connection.
Add support for the Magic Keyboard over Bluetooth connection, and for
the Magic Keyboard with Numeric Keypad over Bluetooth and USB
connection.

Signed-off-by: Sean O'Brien &lt;seobrien@chromium.org&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: apple: Use country code to detect ISO keyboards</title>
<updated>2017-06-08T11:58:03Z</updated>
<author>
<name>Alex Henrie</name>
</author>
<published>2017-06-02T15:28:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd77a0f08ec57f7b805dfbaa64b36329dfa005d6'/>
<id>urn:sha1:bd77a0f08ec57f7b805dfbaa64b36329dfa005d6</id>
<content type='text'>
At least on newer laptops, Apple uses the same USB ID for both ISO and
ANSI keyboards. However, they have been good about filling in the
bCountryCode field in the HID descriptor on all of their keyboards. A
value of 13 indicates an ISO layout and other values indicate various
country-specific ANSI layouts.

With this patch, users of Apple US keyboards will no longer have to run
`echo 0 &gt; /sys/module/hid_apple/parameters/iso_layout` to get a working
tilde key.

Please test this patch and send feedback if you have a Macbook or an
Apple keyboard.

Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: add usb device id for Apple Magic Keyboard</title>
<updated>2016-07-11T15:41:31Z</updated>
<author>
<name>Jean-Gabriel Gill-Couture</name>
</author>
<published>2016-07-11T15:41:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5d9427549be859dd42c5a6c635bc09d1d07b00b'/>
<id>urn:sha1:b5d9427549be859dd42c5a6c635bc09d1d07b00b</id>
<content type='text'>
USB device
	Vendor 05ac (Apple)
	Device 0267 (Magic Keyboard)

This keyboard supports both Bluetooth and USB connections, this patch
only covers USB.

Thanks to Maxime Poulin &lt;maxpoulin64@gmail.com&gt;

Signed-off-by: Jean-Gabriel Gill-Couture &lt;jeangab@jeangab.fr.nf&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: apple: Add support for the 2015 Macbook Pro</title>
<updated>2015-07-27T22:43:46Z</updated>
<author>
<name>Henrik Rydberg</name>
</author>
<published>2015-07-24T21:45:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4a2c54560f2c57b88ba0283f141b44f594c2337'/>
<id>urn:sha1:a4a2c54560f2c57b88ba0283f141b44f594c2337</id>
<content type='text'>
This patch adds keyboard support for MacbookPro12,1 as WELLSPRING9
(0x0272, 0x0273, 0x0274). The touchpad is handled in a separate
bcm5974 patch, as usual.

Tested-by: John Horan &lt;knasher@gmail.com&gt;
Tested-by: Jochen Radmacher &lt;jradmacher@gmx.de&gt;
Tested-by: Yang Hongyang &lt;burnef@gmail.com&gt;
Tested-by: Yen-Chin, Lee &lt;coldnew.tw@gmail.com&gt;
Tested-by: George Hilios &lt;ghilios@gmail.com&gt;
Tested-by: Janez Urevc &lt;janez@janezurevc.name&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@bitmath.org&gt;
Acked-by: Jiri Kosina &lt;jkosina@suse.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>HID: apple: add Apple wireless keyboard 2011 JIS model support</title>
<updated>2014-02-06T13:35:18Z</updated>
<author>
<name>Huei-Horng Yo</name>
</author>
<published>2014-02-06T09:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd4a7ce1da061d97c45673e1ca1a6a474bfb4cff'/>
<id>urn:sha1:bd4a7ce1da061d97c45673e1ca1a6a474bfb4cff</id>
<content type='text'>
Add Apple wireless keyboard 2011 JIS model (05ac:0257).

Signed-off-by: Huei-Horng Yo &lt;hiroshi@ghostsinthelab.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
