<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hid/Kconfig, branch v6.1.124</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.124</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.124'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2023-10-25T10:03:14+00:00</updated>
<entry>
<title>HID: input: map battery system charging</title>
<updated>2023-10-25T10:03:14+00:00</updated>
<author>
<name>José Expósito</name>
<email>jose.exposito89@gmail.com</email>
</author>
<published>2022-11-24T17:59:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=59aa39697fc2bd05f53e9b588ef842ff9e6d0bb3'/>
<id>urn:sha1:59aa39697fc2bd05f53e9b588ef842ff9e6d0bb3</id>
<content type='text'>
commit a608dc1c06397dc50ab773498433432fb5938f92 upstream.

HID descriptors with Battery System (0x85) Charging (0x44) usage are
ignored and POWER_SUPPLY_STATUS_DISCHARGING is always reported to user
space, even when the device is charging.

Map this usage and when it is reported set the right charging status.

In addition, add KUnit tests to make sure that the charging status is
correctly set and reported. They can be run with the usual command:

    $ ./tools/testing/kunit/kunit.py run --kunitconfig=drivers/hid

Signed-off-by: José Expósito &lt;jose.exposito89@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>HID: uclogic: Modular KUnit tests should not depend on KUNIT=y</title>
<updated>2023-07-19T14:21:28+00:00</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert+renesas@glider.be</email>
</author>
<published>2023-05-23T15:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=78cb71dd609b4348b1fd5152c46df041c4125fe4'/>
<id>urn:sha1:78cb71dd609b4348b1fd5152c46df041c4125fe4</id>
<content type='text'>
[ Upstream commit 49904a0ebf23b15aad288a10f5354e7cd8193121 ]

While KUnit tests that cannot be built as a loadable module must depend
on "KUNIT=y", this is not true for modular tests, where it adds an
unnecessary limitation.

Fix this by relaxing the dependency to "KUNIT".

Fixes: 08809e482a1c44d9 ("HID: uclogic: KUnit best practices and naming conventions")
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Reviewed-by: David Gow &lt;davidgow@google.com&gt;
Reviewed-by: José Expósito &lt;jose.exposito89@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-6.1/uclogic' into for-linus</title>
<updated>2022-10-05T09:34:48+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2022-10-05T09:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=430257d8329b58170a92364597e474fa607e28b2'/>
<id>urn:sha1:430257d8329b58170a92364597e474fa607e28b2</id>
<content type='text'>
- Add UGEEv2 support (XP-PEN Deco Pro S and Parblo A610 PRO) (José
  Expósito)
</content>
</entry>
<entry>
<title>Merge branch 'for-6.1/rc-controllers' into for-linus</title>
<updated>2022-10-05T09:31:33+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2022-10-05T09:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d7ae8ff97e6243c09ac4ab8d737504224bd3475c'/>
<id>urn:sha1:d7ae8ff97e6243c09ac4ab8d737504224bd3475c</id>
<content type='text'>
- Support for various RC controllers (Marcus Folkesson)
</content>
</entry>
<entry>
<title>Merge branch 'for-6.1/topre' into for-linus</title>
<updated>2022-10-05T09:30:18+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2022-10-05T09:30:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b0400ff2942a71b7cde2107786084ac38126519c'/>
<id>urn:sha1:b0400ff2942a71b7cde2107786084ac38126519c</id>
<content type='text'>
- Fix Topre REALFORCE R2 keyboard so it can send more than 6 keys at the
  time (Harry Stern)
</content>
</entry>
<entry>
<title>hid: topre: Add driver fixing report descriptor</title>
<updated>2022-09-20T11:16:25+00:00</updated>
<author>
<name>Harry Stern</name>
<email>harry@harrystern.net</email>
</author>
<published>2022-09-11T00:36:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a109d5c45b3d6728b9430716b915afbe16eef27c'/>
<id>urn:sha1:a109d5c45b3d6728b9430716b915afbe16eef27c</id>
<content type='text'>
The Topre REALFORCE R2 firmware incorrectly reports that interface
descriptor number 1, input report descriptor 2's events are array events
rather than variable events. That particular report descriptor is used
to report keypresses when there are more than 6 keys held at a time.
This bug prevents events from this interface from being registered
properly, so only 6 keypresses (from a different interface) can be
registered at once, rather than full n-key rollover.

This commit fixes the bug by setting the correct value in a report_fixup
function.

The original bug report can be found here:
Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/804

Thanks to Benjamin Tissoires for diagnosing the issue with the report
descriptor.

Signed-off-by: Harry Stern &lt;harry@harrystern.net&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Link: https://lore.kernel.org/r/20220911003614.297613-1-harry@harrystern.net
</content>
</entry>
<entry>
<title>HID: Add driver for PhoenixRC Flight Controller</title>
<updated>2022-09-20T10:36:21+00:00</updated>
<author>
<name>Marcus Folkesson</name>
<email>marcus.folkesson@gmail.com</email>
</author>
<published>2022-09-14T18:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=acc3e34613da139643af2ce4ca7e7dadf07478d6'/>
<id>urn:sha1:acc3e34613da139643af2ce4ca7e7dadf07478d6</id>
<content type='text'>
The PhoenixRC is a controller with 8 channels for use in flight
simulators.

Signed-off-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Link: https://lore.kernel.org/r/20220914184345.270456-1-marcus.folkesson@gmail.com
</content>
</entry>
<entry>
<title>HID: Add driver for VRC-2 Car Controller</title>
<updated>2022-09-20T10:35:00+00:00</updated>
<author>
<name>Marcus Folkesson</name>
<email>marcus.folkesson@gmail.com</email>
</author>
<published>2022-09-02T08:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2c5e8e61402557119a086a994d2be06a535f5f30'/>
<id>urn:sha1:2c5e8e61402557119a086a994d2be06a535f5f30</id>
<content type='text'>
VRC-2 is 2-axis controller often used in car simulators.

Signed-off-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Link: https://lore.kernel.org/r/20220902082552.2433744-2-marcus.folkesson@gmail.com
</content>
</entry>
<entry>
<title>HID: Kconfig: remove redundant "depends on HID" lines</title>
<updated>2022-08-25T09:28:39+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2022-07-09T01:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8272a51d82945d63b238b1ad2f38204930c012a4'/>
<id>urn:sha1:8272a51d82945d63b238b1ad2f38204930c012a4</id>
<content type='text'>
Remove all occurrences of "depends on HID" that are inside the
"if HID" / "endif" block since they are redundant.

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Jiri Kosina &lt;jikos@kernel.org&gt;
Cc: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Cc: linux-input@vger.kernel.org
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: uclogic: KUnit best practices and naming conventions</title>
<updated>2022-08-25T08:26:31+00:00</updated>
<author>
<name>José Expósito</name>
<email>jose.exposito89@gmail.com</email>
</author>
<published>2022-08-15T14:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=08809e482a1c44d95d1322b9fbc94c8e58ae9015'/>
<id>urn:sha1:08809e482a1c44d95d1322b9fbc94c8e58ae9015</id>
<content type='text'>
The KUnit documentation [1] suggests allowing build tests as a module.

In addition, it is recommended [2] to use snake case names for
kunit_suite and test cases.

Change the Kconfig entry from bool to tristate and stick to the naming
conventions to avoid style issues with future tests.

Link: https://docs.kernel.org/dev-tools/kunit/style.html#test-kconfig-entries  [1]
Link: https://www.kernel.org/doc/html/latest/dev-tools/kunit/style.html  [2]
Acked-by: Daniel Latypov &lt;dlatypov@google.com&gt;
Signed-off-by: José Expósito &lt;jose.exposito89@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
