<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/hid/hid-apple.c, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2017-06-08T11:58:03Z</updated>
<entry>
<title>HID: apple: Use country code to detect ISO keyboards</title>
<updated>2017-06-08T11:58:03Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2017-06-02T15:28:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/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>
<email>jeangab@jeangab.fr.nf</email>
</author>
<published>2016-07-11T15:41:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/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>
<email>rydberg@bitmath.org</email>
</author>
<published>2015-07-24T21:45:05Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/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>
<email>hiroshi@ghostsinthelab.org</email>
</author>
<published>2014-02-06T09:40:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/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>
<entry>
<title>HID: apple: swap_opt_cmd is already zero-initialized</title>
<updated>2013-10-14T14:07:42Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2013-10-14T14:07:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a94c79bdc972f7b3d66756043edbd6d04e8486d6'/>
<id>urn:sha1:a94c79bdc972f7b3d66756043edbd6d04e8486d6</id>
<content type='text'>
Global static variable is already zero-initialized.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: apple: option to swap the 'Option' ("Alt") and 'Command' ("Flag") keys.</title>
<updated>2013-10-14T14:07:18Z</updated>
<author>
<name>Nanno Langstraat</name>
<email>langstr@gmail.com</email>
</author>
<published>2013-10-14T14:07:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=43c831468b3d26dbe8f2e061ccaf1abaf9cc1b8b'/>
<id>urn:sha1:43c831468b3d26dbe8f2e061ccaf1abaf9cc1b8b</id>
<content type='text'>
Use case: people who use both Apple and PC keyboards regularly, and desire to
keep&amp;use their PC muscle memory.

A particular use case: an Apple compact external keyboard connected to a PC
laptop. (This use case can't be covered well by X.org key remappings etc.)

Signed-off-by: Nanno Langstraat &lt;langstr@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branches 'for-3.12/devm', 'for-3.12/i2c-hid', 'for-3.12/i2c-hid-dt', 'for-3.12/logitech', 'for-3.12/multitouch-win8', 'for-3.12/trasnport-driver-cleanup', 'for-3.12/uhid', 'for-3.12/upstream' and 'for-3.12/wiimote' into for-linus</title>
<updated>2013-09-06T09:58:37Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2013-09-06T09:58:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=63faf15dba4a7d6fb18ed5c45670a152d0c5330b'/>
<id>urn:sha1:63faf15dba4a7d6fb18ed5c45670a152d0c5330b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>HID: trivial devm conversion for special hid drivers</title>
<updated>2013-07-31T08:12:28Z</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2013-07-24T17:38:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=abf832bfc349b54fd500f1e3b612f7f3cd9dfcc6'/>
<id>urn:sha1:abf832bfc349b54fd500f1e3b612f7f3cd9dfcc6</id>
<content type='text'>
It is safe to use devres allocation within the hid subsystem:
- the devres release is called _after_ the call to .remove(), meaning
  that no freed pointers will exists while removing the device
- if a .probe() fails, devres releases all the allocated ressources
  before going to the next driver: there will not be ghost ressources
  attached to a hid device if several drivers are probed.

Given that, we can clean up a little some of the HID drivers. These ones
are trivial:
- there is only one kzalloc in the driver
- the .remove() callback contains only one kfree on top of hid_hw_stop()
- the error path in the probe is easy enough to be manually checked

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: apple: Add support for the 2013 Macbook Air</title>
<updated>2013-07-03T03:39:29Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>rydberg@euromail.se</email>
</author>
<published>2013-07-01T18:46:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9d9a04ee758b4c1fcc7586d065cdde7a7607e156'/>
<id>urn:sha1:9d9a04ee758b4c1fcc7586d065cdde7a7607e156</id>
<content type='text'>
This patch adds keyboard support for MacbookAir6,2 as WELLSPRING8
(0x0291, 0x0292, 0x0293). The touchpad is handled in a separate
bcm5974 patch, as usual.

Cc: stable@vger.kernel.org
Reported-and-tested-by: Brad Ford &lt;plymouthffl@gmail.com&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branches 'for-3.10/appleir', 'for-3.10/hid-debug', 'for-3.10/hid-driver-transport-cleanups', 'for-3.10/i2c-hid' and 'for-3.10/logitech' into for-linus</title>
<updated>2013-04-30T08:12:44Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2013-04-30T08:12:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4f5a81042909fed6977881f22c024aa3582cfcca'/>
<id>urn:sha1:4f5a81042909fed6977881f22c024aa3582cfcca</id>
<content type='text'>
</content>
</entry>
</feed>
