<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/hid/tests/test_wacom_generic.py, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2026-02-24T08:41:21Z</updated>
<entry>
<title>selftests: hid: tests: test_wacom_generic: add tests for display devices and opaque devices</title>
<updated>2026-02-24T08:41:21Z</updated>
<author>
<name>Alex Tran</name>
</author>
<published>2026-01-31T23:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4f4fd947a2a6df7cf1f530dd1028d9f3849eff5'/>
<id>urn:sha1:b4f4fd947a2a6df7cf1f530dd1028d9f3849eff5</id>
<content type='text'>
Verify Wacom devices set INPUT_PROP_DIRECT on display devices and
INPUT_PROP_POINTER on opaque devices. Verify INPUT_PROP_POINTER
is not set on display devices and INPUT_PROP_DIRECT is not set
on opaque devices.

Moved test_prop_pointer into TestOpaqueTablet. Created a
DirectTabletTest mixin class for test_prop_direct that can be
inherited by display tablet test classes.Used DirectTabletTest
for TestDTH2452Tablet case.

Signed-off-by: Alex Tran &lt;alex.t.tran@gmail.com&gt;
Tested-by: Erin Skomra &lt;erin.skomra@wacom.com&gt;
Reviewed-by: Erin Skomra &lt;erin.skomra@wacom.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>selftests/hid: sync the python tests to hid-tools 0.8</title>
<updated>2025-07-10T14:20:27Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2025-07-09T09:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=642f9b2d608cc2239d22957ca1dc557d07470b50'/>
<id>urn:sha1:642f9b2d608cc2239d22957ca1dc557d07470b50</id>
<content type='text'>
Instead of backporting one by one each commits, let's pull them in bulk
and refer to the hid-tools project for a detailed history.

The short summary is:
- make use of dataclass when possible, to avoid tuples
- wacom: remove unused uhdev parameter
- various small fixes not worth mentioning

Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Link: https://patch.msgid.link/20250709-wip-fix-ci-v1-2-b7df4c271cf8@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/hid: run ruff format on the python part</title>
<updated>2025-07-10T14:20:23Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2025-07-09T09:08:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c85a8cb9b8d3a3dd9bb12879b28fc377dd24272b'/>
<id>urn:sha1:c85a8cb9b8d3a3dd9bb12879b28fc377dd24272b</id>
<content type='text'>
We aim at syncing with the hid-tools repo on
gitlab.freedesktop.org/libevdev/hid-tools. One of the commits is this
mechanical formatting, so pull it over here so changes are not hidden by
those.

Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Link: https://patch.msgid.link/20250709-wip-fix-ci-v1-1-b7df4c271cf8@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/hid: wacom: fix confidence tests</title>
<updated>2024-01-18T08:15:38Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2024-01-17T13:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d695869d3fb952d6f690bec0260ffe2a8b99b37'/>
<id>urn:sha1:4d695869d3fb952d6f690bec0260ffe2a8b99b37</id>
<content type='text'>
The device is exported with a fuzz of 4, meaning that the `+ t` here
is removed by the fuzz algorithm, making those tests failing.

Not sure why, but when I run this locally it was passing, but not in the
VM of the CI.

Fixes: b0fb904d074e ("HID: wacom: Add additional tests of confidence behavior")
Link: https://gitlab.freedesktop.org/bentiss/hid/-/jobs/53692957#L3315
Acked-by: Jason Gerecke &lt;jason.gerecke@wacom.com&gt;
Link: https://lore.kernel.org/r/20240117-b4-wip-wacom-tests-fixes-v1-1-f317784f3c36@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-6.8/wacom' into for-linus</title>
<updated>2024-01-08T20:15:36Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2024-01-08T20:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b43615af19742e1f4f71d332e72381430804804'/>
<id>urn:sha1:0b43615af19742e1f4f71d332e72381430804804</id>
<content type='text'>
- functional fix for handling Confidence in Wacom driver (Jason Gerecke)
- power management fix for Wacom userspace battery exporting (Tatsunosuke Tobita)

Conflicts:
	tools/testing/selftests/hid/tests/test_wacom_generic.py
</content>
</entry>
<entry>
<title>HID: wacom: Add additional tests of confidence behavior</title>
<updated>2023-12-19T23:01:50Z</updated>
<author>
<name>Jason Gerecke</name>
</author>
<published>2023-12-19T21:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0fb904d074e810c22c26883b8ed4489c17d1292'/>
<id>urn:sha1:b0fb904d074e810c22c26883b8ed4489c17d1292</id>
<content type='text'>
Test for proper driver behavior when the touch confidence bit is set
or cleared. Test the three flavors of touch confidence loss (tipswitch
cleared before confidence, tipswitch and confidence cleared at the same
time, and tipswitch only cleared when touch is actually removed). Also
test two flavors of touch confidence gain (confidence added to a touch
that was "never" confident, and confidence added to a touch that was
previously confident).

Signed-off-by: Jason Gerecke &lt;jason.gerecke@wacom.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
</entry>
<entry>
<title>selftests/hid: fix ruff linter complains</title>
<updated>2023-12-07T08:52:04Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2023-12-06T10:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f556aa957df8cb3e98af0f54bf1fa65f59ae47a3'/>
<id>urn:sha1:f556aa957df8cb3e98af0f54bf1fa65f59ae47a3</id>
<content type='text'>
rename ambiguous variables l, r, and m, and ignore the return values
of uhdev.get_evdev() and uhdev.get_slot()

Acked-by: Jiri Kosina &lt;jkosina@suse.com&gt;
Link: https://lore.kernel.org/r/20231206-wip-selftests-v2-15-c0350c2f5986@kernel.org
Signed-off-by: Benjamin Tissoires &lt;bentiss@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests: hid: Add touch tests for Wacom devices</title>
<updated>2023-06-08T13:56:00Z</updated>
<author>
<name>Joshua Dickens</name>
</author>
<published>2023-05-11T19:47:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c2216728f688da3c4478fec23be9bd820824664'/>
<id>urn:sha1:4c2216728f688da3c4478fec23be9bd820824664</id>
<content type='text'>
Adding a wacom touch device to use the test_multitouch tests.
Adding a 2 additional tests.
 - A test to check if a touch event is sent when the contact_id of the event is 0.
 - A test to check if a touch event is not sent when confidence is set to 0.

Signed-off-by: Joshua Dickens &lt;joshua.dickens@wacom.com&gt;
Reviewed-by: Jason Gerecke &lt;jason.gerecke@wacom.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>selftests: hid: import hid-tools wacom tests</title>
<updated>2023-04-12T15:13:38Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2023-02-17T12:37:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dec39d489be13b416ab03d19355c712f1bcb21b'/>
<id>urn:sha1:1dec39d489be13b416ab03d19355c712f1bcb21b</id>
<content type='text'>
These tests have been developed in the hid-tools[0] tree for a while.
Now that we have  a proper selftests/hid kernel entry and that the tests
are more reliable, it is time to directly include those in the kernel
tree.

[0] https://gitlab.freedesktop.org/libevdev/hid-tools

Cc: Jason Gerecke &lt;killertofu@gmail.com&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
</entry>
</feed>
