Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For 6.6 #391

Merged
merged 7 commits into from
Aug 31, 2023
Merged

For 6.6 #391

merged 7 commits into from
Aug 31, 2023

Conversation

Joshua-Dickens
Copy link
Member

No description provided.

Ping Cheng and others added 7 commits August 31, 2023 20:32
With this patch, the following distros will not be supported:

Distro                          Kernel  EOL
Debian 8                        3.16    2020-07-01
RHEL 7.3-                       3.7     2017-07-31 (Kernel changed to 3.17)
SuSE Linux Enterprise 12 SP1    3.12    2019-11-13
Ubuntu 14.04.4                  3.16    2019-03-06

This patch also removed those old kernels in .github/workflows/main.yml.

Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Ensure we have an up-to-date version of the package index before trying
to install packages. Otherwise we may try to install an outdated version
of something that has been deleted from Ubuntu's servers.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Currently the EKR battery remains even after we stop getting information
from the device. This can lead to a stale battery persisting indefinitely
in userspace.

The remote sends a heartbeat every 10 seconds. Delete the battery if we
miss two heartbeats (after 21 seconds). Restore the battery once we see
a heartbeat again.

Signed-off-by: Aaron Skomra <skomra@gmail.com>
Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Fixes: 9f1015d45f62 ("HID: wacom: EKR: attach the power_supply on first connection")
CC: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
[joshua.dickens@wacom.com: Imported into input-wacom repository (9ac6678b95b0)]
Signed-off-by: Joshua Dickens <joshua.dickens@wacom.com>
The 'connected' variable was poorly named, and this has led to some
confusion. We can get the same information by checking if a serial number
exists in the specified EKR slot.

Signed-off-by: Aaron Skomra <skomra@gmail.com>
Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
[joshua.dickens@wacom.com: Imported into input-wacom repository (2834e38048f1)]
Signed-off-by: Joshua Dickens <joshua.dickens@wacom.com>
Help differentiate the two remote related "serial" struct variables by
renaming "wacom_remote_data" to "wacom_remote_work_data".

Signed-off-by: Aaron Skomra <skomra@gmail.com>
Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
[joshua.dickens@wacom.com: Imported into input-wacom repository (55ab9b2c42f4)]
Signed-off-by: Joshua Dickens <joshua.dickens@wacom.com>
Adding some versions to check compilation on for any version
checks/flags we have setup in the code.

4.19 - For a check in 4.5/wacom_sys.c in wacom_map_usage for
the compare_device_paths method.

4.2 - For a method in 3.17/wacom_sys.c hid_field_extract.
@Joshua-Dickens Joshua-Dickens merged commit f67bffb into master Aug 31, 2023
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants