What changed in input-wacom from 0 to 1

8 releases numbered after 0.49.0 up to and including v1.7.0, stable releases only. 0.49.0 and v1.7.0 are the newest stable releases of 0 and 1 we track; this page follows them as new ones ship.

83 changes across 8 releases · 1 landed on more than one version

Added 11

v1.7.0

  • add WACOM_KZALLOC_OBJ flag to handle new method
  • add multiple flags for newly defined methods and utilities
  • add WACOM_HID_REPORT_RAW_EVENT_BUFSIZE flag for API update

v1.6.0

  • Add a new Art Pen 2

v1.4.0

  • Add support for PCI Wacom devices
  • Add preliminary support for high-resolution wheel scrolling
  • Support touchrings with relative motion
  • Support devices with two touchrings

v1.1.0

  • Add the latest features

v1.0.0

  • Insert timestamp to packed Bluetooth (BT) events
  • Create new workflow to automate releases by tag
Changed 39

v1.7.0

  • use GFP_ATOMIC in wacom_wac_queue_flush()
  • use cleanup.h for wacom_wac_queue_flush() buffer management
  • use guard notation when acquiring mutex in wacom_w8001
  • switch wacom_i2c to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
  • pass buffer size to hid_report_raw_event
  • replace kmalloc with kmalloc_obj for non-scalar types
  • stop hardware after post-start probe failures
  • drop explicit initialization of struct i2c_device_id::driver_data to 0

v1.6.0

  • Rename from_timer() to timer_container_of() and move this API to the canonical timer_*() namespace
  • Add backward compatibility for timer function
  • Use pm_ptr instead of #ifdef CONFIG_PM to increase build coverage and drop an #ifdef
  • Replace curl with wget in main.yaml
  • Add lines in configure.ac for applying pm_ptr

v1.5.0

  • Add WACOM_TIMER_DELETE_SYNC flag to handle rename in timers

v1.4.0

  • Defer calculation of resolution until resolution_code is known
  • Support sequence numbers smaller than 16-bit
  • Interpret tilt data from Intuos Pro BT as signed values
  • Initialize brightness of LED trigger
  • Move asm/unaligned.h to linux/unaligned.h
  • Improve warning for tablets falling back to default resolution

v1.3.0

  • Update minimum supported kernel version to 4.18
  • Simplify and correct device name generation in wacom_w8001
  • Update github tagged-release workflow
  • Move from strlcpy with unused retval to strscpyalso inv1.0.0
  • Update release.sh script to accept --token value
  • Clean up source code for 4.18+
  • Update workflow kernel versions
  • Modify pen IDs in HID wacom driver
  • Apply more appropriate tool type categorization in HID wacom driver

v1.1.0

  • Use ktime_t rather than int when dealing with timestamps
  • Add Wacom modules to the same file and uninstall them all together
  • Verify the custom kernel module path before setup
  • Allow extra make flags to be passed to the kernel
  • Check for input_set_timestamp at configure time
  • Check what API is available for determining bus type at configure time
  • Replace version number check with WACOM_DEVM_OR_RESET check

v1.0.0

  • Lazy-init batteries
  • Set battery quirk only when we see battery data
  • Simplify comments
Fixed 29

v1.7.0

  • fix slab-out-of-bounds write in wacom_wac_queue_insert
  • fix OOB write in wacom_hid_set_device_mode()
  • avoid copying Bluetooth input reports

v1.6.0

  • Fix out-of-bounds read in wacom_intuos_bt_irq
  • Fix memory leak in bluetooth-IRQ

v1.5.0

  • Handle kzalloc() allocation failure in wacom_wac_queue_flush()
  • Fix memory leak on size mismatch in wacom_wac_queue_flush()
  • Fix shift OOB in kfifo allocation for zero pktlen
  • Fix memory leak on kobject creation failure
  • Fix memory leak on sysfs attribute creation failure
  • Fix kobject reference count leak
  • Fix crash in wacom_aes_battery_handler()

v1.4.0

  • Fix null pointer when getting product name
  • Do not warn about dropped packets for first packet
  • Hardcode non-inverted AES pens as BTN_TOOL_PEN
  • Set eraser status when either 'Eraser' or 'Invert' usage is set

v1.3.0

  • Use sizeof(*pointer) instead of sizeof(type) in touchscreen input code
  • Fix incorrect version file generation in github workflow

v1.2.0

  • Do not register input devices until after hid_hw_start
  • Avoid reporting a serial of '0' to userspace
  • Remove AES power_supply after extended inactivity
  • Correct behavior when processing some confidence == false touches

v1.1.0

  • Remove the EKR battery when connection to the EKR is lost

v1.0.0

  • Fix logic used for 3rd barrel switch emulation
  • Ensure bootloader PID is usable in hidraw mode
  • Check for string overflow from strscpy calls
  • Set a default resolution for older tablets
  • Avoid integer overflow in wacom_intuos_inout()
  • Add error check to wacom_parse_and_register()
Removed 4

v1.5.0

  • Remove static WACOM_PKGLEN_MAX limit

v1.3.0

  • Remove support for kernel 3.17 and 4.5

v1.2.0

  • Remove unused hid_data::pressure

v1.1.0

  • Drop support for the 3.7 branch

Original release notes, newest first

The list above is our reading of these notes; the originals from The Linux Wacom Project are here, one fold per release.

v1.7.0

This release contains various fixes and updates to various methods and definitions from upstream. With those updates to definitions and methods being the bulk of the commits we have added the proper flags and testing to ensure older kernels that do not contain the newer definitions and methods are still properly supported.

Commits

Dmitry Torokhov (1):

  • Input: wacom_w8001 - use "guard" notation when acquiring mutex

Jinmo Yang (3):

  • HID: wacom: fix slab-out-of-bounds write in wacom_wac_queue_insert
  • HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()
  • HID: wacom: use cleanup.h for wacom_wac_queue_flush() buffer management

Jonathan Cameron (1):

  • Input: wacom_i2c - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()

Joshua (1):

  • Upgrade main.yml and tagged-release.yml checkout and upload artifact

Joshua Dickens (3):

  • Add WACOM_KZALLOC_OBJ flag to handle new method
  • Add multiple flags for newly defined methods and utilities
  • input-wacom 1.7.0

Kees Cook (2):

  • treewide: Replace kmalloc with kmalloc_obj for non-scalar types
  • treewide: Replace kmalloc with kmalloc_obj for non-scalar types

Kori (2):

  • HID: pass the buffer size to hid_report_raw_event
  • 4.18: add WACOM_HID_REPORT_RAW_EVENT_BUFSIZE flag for API update

Lee Jones (1):

  • HID: wacom: Fix OOB write in wacom_hid_set_device_mode()

Linus Torvalds (2):

  • Convert 'alloc_obj' family to use the new default GFP_KERNEL argument
  • Convert 'alloc_obj' family to use the new default GFP_KERNEL argument

Myeonghun Pak (1):

  • HID: wacom: stop hardware after post-start probe failures

Ping Cheng (3):

  • Merge pull request #505 from flying-elephant/master
  • Merge pull request #510 from Korikashi/fix-kernel-7.0-hid-arguments
  • Merge pull request #513 from Joshua-Dickens/master

Ruoyu Wang (1):

  • HID: wacom: avoid copying Bluetooth input reports

Uwe Kleine-König (1):

  • Input: drop explicit initialization of struct i2c_device_id::driver_data to 0
Release

git tag: v1.7.0

md5: e2a3aabd6ea247e3459d292eef278d75 sha1: 863e0a851b515076ced6919859c1476b2effa32d sha256: 8feace212a8030a2270c830fcaab9123ac3fd83c4a60ef5aa218aac29607b7da

View originalPermalink

v1.6.0

This release of input-wacom includes a memory leak in blutooth-IRQ, a new pen support, and other additional backport compatibility in the main line kernel. The details can be checked in the list below.

Commits

Ping Cheng (5):

  • Merge pull request #474 from flying-elephant/patch-artpen
  • Merge pull request #481 from flying-elephant/applying-timer-patch-final
  • Merge pull request #502 from flying-elephant/modify-yaml-to-remove-defect
  • Merge pull request #503 from flying-elephant/fix-bt-irq
  • Merge pull request #504 from flying-elephant/replace-PM_COMFIG

Tatsunosuke Tobita (8):

  • HID: wacom: Add a new Art Pen 2
  • treewide, timers: Rename from_timer() to timer_container_of() Move this API to the canonical timer_*() namespace.
  • Backward compatibility for timer function
  • main.yaml: replacing curl to wget
  • HID: wacom: fix out-of-bounds read in wacom_intuos_bt_irq
  • HID: wacom: Use pm_ptr instead of #ifdef CONFIG_PM This increases build coverage and allows to drop an #ifdef.
  • configure.ac: add lines for applying pm_ptr
  • input-wacom 1.6.0
Release

git tag: v1.6.0

md5: 8db3731494adbf87beb724050bce334d sha1: 148a0b14e797a213622030d767eacd0090873574 sha256: c4dfbaad6128d71f43fe99581349d068689e0f578959a0a5fc1468a03cf67103

View originalPermalink

v1.5.0

This release contains memory fixes, a crash fix, and other minor changes.

Commits

Jason Gerecke (2):

  • HID: wacom: Remove static WACOM_PKGLEN_MAX limit
  • Merge branch 'for-6.15' into 'master'

Joshua Dickens (3):

  • input-wacom 1.5.0
  • Update ubuntu version in workflows
  • Add WACOM_TIMER_DELETE_SYNC flag to handle rename in timers

Ping Cheng (2):

  • Merge pull request #454 from Joshua-Dickens/master
  • Merge pull request #463 from Joshua-Dickens/master

Qasim Ijaz (6):

  • HID: wacom: handle kzalloc() allocation failure in wacom_wac_queue_flush()
  • HID: wacom: fix memory leak on size mismatch in wacom_wac_queue_flush()
  • HID: wacom: fix shift OOB in kfifo allocation for zero pktlen
  • HID: wacom: fix memory leak on kobject creation failure
  • HID: wacom: fix memory leak on sysfs attribute creation failure
  • HID: wacom: fix kobject reference count leak

Thomas Gleixner (1):

  • treewide: Switch/rename to timer_delete_sync

Thomas Zeitlhofer (1):

  • HID: wacom: fix crash in wacom_aes_battery_handler()
Release

git tag: v1.5.0

md5: 2451f33d2d3237031b0c8d8214c9f386 sha1: 6d11d83a312ca5e754a716912908b9a9b19c9f62 sha256: a3c6283d5b5d8f55cf6a6abe325918c41e27d2f37834049dd3d16c6c8ef400bd

View originalPermalink

v1.4.0

This release of input-wacom includes adding support for PCI Wacom Device, support for high resolution wheel scrolling, and other fixes/additions listed below.

Commits

Al Viro (1):

  • move asm/unaligned.h to linux/unaligned.h

Jason Gerecke (18):

  • Correct minor upstream differences
  • HID: wacom: Defer calculation of resolution until resolution_code is known
  • HID: wacom: Improve warning for tablets falling back to default resolution
  • HID: wacom: Support touchrings with relative motion
  • HID: wacom: Add preliminary support for high-resolution wheel scrolling
  • HID: wacom: Support devices with two touchrings
  • HID: wacom: Support sequence numbers smaller than 16-bit
  • HID: wacom: Do not warn about dropped packets for first packet
  • HID: wacom: Hardcode (non-inverted) AES pens as BTN_TOOL_PEN
  • HID: wacom: Set eraser status when either 'Eraser' or 'Invert' usage is set
  • HID: wacom: Interpret tilt data from Intuos Pro BT as signed values
  • Merge branch 'for-6.12' into 'master'
  • Merge branch 'for-6.13' into 'master'
  • HID: wacom: Initialize brightness of LED trigger
  • Merge branch 'for-6.13' into 'master'
  • github: Save build directory as a downloadable artifact for review
  • configure.ac: Ingore modpost errors from WACOM_LINUX_COMPILE_IFELSE
  • github: Add 6.10 kernel to our test-compile list

Joshua Dickens (1):

  • input-wacom 1.4.0

Ping Cheng (1):

  • Merge pull request #453 from flying-elephant/addition_for_intel-thc

Tatsunosuke Tobita (1):

  • HID: Wacom: Add PCI Wacom device support

WangYuli (1):

  • HID: wacom: fix when get product name maybe null pointer
Release

git tag: v1.4.0

md5: 9aae1ddeccd18b6b3dcd0d1c9c04e102 sha1: fa04d29801ae66639827e0302b9e39e114cf2558 sha256: bfb3b4fbb3f83d78786590f5e3739a96ed3732ffe4d65bbae63c60c67e064d9a

View originalPermalink

v1.3.0

This release of input-wacom removes 3.17 and 4.5 support and moves it up to 4.18. For the 3.17 and 4.5 kernels refer to the 1.2.0 release which still supports them.

Commits

Erick Archer (1):

  • Input: touchscreen - use sizeof(*pointer) instead of sizeof(type)

Jason Gerecke (6):

  • github: Temporarily set -Wno-error=unused-result to bypass upstream warning
  • Input: wacom_w8001 - simplify device name generation
  • github: Fix incorrect 'version' file generation
  • Input: wacom_w8001 - correct device name generation
  • Revert "github: Temporarily set -Wno-error=unused-result to bypass upstream warning"
  • github: Clean up and update tagged-release workflow

Joshua Dickens (1):

  • input-wacom 1.3.0

Ping Cheng (15):

  • release.sh: update to take a --token value (#340)
  • release.sh: default to '.' if no module was given
  • release.sh: drop --force and --moduleset
  • release.sh: Drop the ancient x"foo" != x comparisons
  • Merge pull request #417 from Pinglinux/sync_release_script_with_xf86
  • Merge pull request #419 from jigpu/w8001-imports
  • Merge pull request #425 from Joshua-Dickens/backports
  • Merge pull request #427 from jigpu/w8001-import
  • Merge pull request #426 from jigpu/release-fix
  • A file path change is not an error
  • Remove 3.17 and move 4.5->4.18 directory
  • Clean up source code for 4.18+
  • Update workflow kernel versions
  • Merge pull request #430 from Pinglinux/remove_older_then_4.18
  • Merge pull request #435 from Gavin-Hsia/6.11

Tatsunosuke Tobita (2):

  • HID: wacom: Modify pen IDs
  • HID: wacom: more appropriate tool type categorization

Wolfram Sang (1):

  • Input: move from strlcpy with unused retval to strscpy
Release

git tag: v1.3.0 https://github.com/linuxwacom/input-wacom/releases/download/v1.3.0/input-wacom-1.3.0.tar.bz2 md5: 8b8453c359d11d65b967a575c9256f9f sha1: 2c5da8eddad0a5a2b9e5cae484e5b6290adbf605 sha256: 00f39b06a3c29c2b8ae8592ef50791b6df31e91bf58b6e04e8dd0dadf78949c2 PGP: https://github.com/linuxwacom/input-wacom/releases/download/v1.3.0/input-wacom-1.3.0.tar.bz2.sig

View originalPermalink

v1.2.0
Commits

This release of input-wacom includes a few bug fixes which may cause issues in user experience, such as the input registration order, the serial ID update, and the clean-up of confidence bit logic.

Jason Gerecke (5):

  • Minimize permissions granted to automated workflows / jobs #400
  • wacom: Do not register input devices until after hid_hw_start
  • 3329c40: Merge branch 'for-6.9' into 'master'
  • HID: wacom: Do not register input devices until after hid_hw_start
  • Update to use 'checkout@v4' action to avoid Node.js warnings #411

Tatsunosuke Tobita (9):

  • wacom: generic: Avoid reporting a serial of '0' to userspace
  • wacom: Clean up use of struct->wacom_wac
  • HID: wacom: generic: Avoid reporting a serial of '0' to userspace
  • HID: wacom: Clean up use of struct->wacom_wac
  • wacom: Remove AES power_supply after extended inactivity #405
  • wacom: Correct behavior when processing some confidence == false touches #406
  • HID: wacom: Correct behavior when processing some confidence == false touches #408
  • 7ada989: git-version-gen: modify "TAG_PREFIX" content #413
  • 9cf3859: input-wacom 1.2.0

Jiri Slaby (2):

  • wacom: remove unused hid_data::pressure
  • HID: wacom: remove unused hid_data::pressure

git tag: v1.2.0 https://github.com/linuxwacom/input-wacom/releases/download/v1.2.0/input-wacom-1.2.0.tar.bz2 md5: 66d909c5e3de6b1a038da2a73f1461da sha1: 48354a64c3c5800f83eb45401c48b1637e34b061 sha256: 7ef9ff7e14bb27e192d0aa6be98fd6381ffd2aa33a76c003db389bc64472d836 PGP: https://github.com/linuxwacom/input-wacom/releases/download/v1.2.0/input-wacom-1.2.0.tar.bz2.sig

View originalPermalink

v1.1.0

This release of input-wacom has the major change of dropping support for the 3.7 branch. Anyone who still needs this support should use the last release of 1.0.0 where 3.7 is still present. Other than dropping support for 3.7 this release contains various fixes, tweaks, and additions such as a fix for the EKR battery not being removed when connection to the EKR is lost and various others detailed in commits below.

Commits

Jason Gerecke (14):

  • acd58c1: configure.ac: Use MODULE_LICENSE when compiling test code (Jason Gerecke) #368
  • 81387a5: 4.5: Replace version number check with WACOM_DEVM_OR_RESET check (Jason Gerecke) #368
  • b917053: 4.5: Check what API is available for determining bus type at configure time (Jason Gerecke) #368
  • 3f155c8: 4.5: Add include of config.h to wacom_i2c.c (Jason Gerecke) #368
  • a47088f: 4.5: Change signature of wacom_i2c_probe depending on available API (Jason Gerecke) #368
  • Install libelf-dev kernel compile dependency and fixup PIE #368 (Jason Gerecke)
  • Test-compile against the 6.3 kernel #368 (Jason Gerecke)
  • ab1275e: Makefile.in: Allow extra make flags to be passed to the kernel (Jason Gerecke) #368
  • Do not fail with error when modpost can't find symbols #368 (Jason Gerecke)
  • d95d4d8: 4.5: Check for input_set_timestamp at configure time (Jason Gerecke)
  • wacom: Use ktime_t rather than int when dealing with timestamps (Jason Gerecke)
  • f4e976f: Merge branch 'for-6.5' into 'master' (Jason Gerecke)
  • Run 'apt-get update' before 'apt-get install' #390 (Jason Gerecke)
  • Run 'apt-get update' before 'apt-get install' #388 (Jason Gerecke)

Ping Cheng (4):

  • 72cd1e6: Add Wacom modules to the same file and uninstall them all together (Ping Cheng) #377
  • 9da885b: Makefile.in: verify the custom kernel module path before setup (Ping Cheng) #377
  • 487f619: Remove 3.7 branch (Ping Cheng) #387
  • 6e5b80f: Remove 3.7 branch (Ping Cheng) #388

Tatsunosuke Tobita (1):

Aaron Armstrong Skomra (3):

Joshua Dickens (5):

  • 1575eb7: Update automated release workflow (Joshua) #372
  • 874a443: Updating main.yml with some extra versions to check (Joshua Dickens) #388
  • 950f0f1: Update checkpatch to run only when kernel files are touched (Joshua) #389
  • e905eb1: Merge branch 'master' into for-6.6 (Joshua Dickens) #391
  • d212d14: input-wacom 1.1.0 (Joshua Dickens)

git tag: v1.1.0

https://github.com/linuxwacom/input-wacom/releases/download/v1.1.0/input-wacom-1.1.0.tar.bz2 md5: 553e1367513f9925cf8fe2f125d6b032 sha1: e2745f79a4e8b01a4ad3b7017931a4305f40c988 sha256: e47752d8853e468fdbaaa758d9305565b9354b7377c32d53f52317489a6ab3f1 PGP: https://github.com/linuxwacom/input-wacom/releases/download/v1.1.0/input-wacom-1.1.0.tar.bz2.sig

View originalPermalink

v1.0.0

This release of input-wacom includes various fixes, tweaks, and other low impact changes. Included is also an automated release workflow for github actions that will simplify the release process along with some changes to how we format our release names and version tags.

  • Jason Gerecke (12):

    • HID: wacom: Fix logic used for 3rd barrel switch emulation
    • backport: HID: wacom: Fix logic used for 3rd barrel switch emulation
    • backport: HID: wacom: Simplify comments
    • HID: wacom: Ensure bootloader PID is usable in hidraw mode
    • backport: HID: wacom: Ensure bootloader PID is usable in hidraw mode
    • HID: wacom: Lazy-init batteries
    • HID: wacom: generic: Set battery quirk only when we see battery data
    • Sync trivial changes from upstream into trees
    • backport: HID: wacom: Lazy-init batteries
    • backport: HID: wacom: generic: Set battery quirk only when we see battery data
    • 3.17: Change conditional compilation of devm_add_action_or_reset
    • HID: wacom: Check for string overflow from strscpy calls
  • Ping Cheng (3):

    • HID: wacom: insert timestamp to packed Bluetooth (BT) events
    • HID: wacom: Set a default resolution for older tablets
    • backport: HID: wacom: Set a default resolution for older tablets
  • Joshua Dickens (4):

    • Create new workflow to automate releases by tag
    • backport: HID: wacom: avoid integer overflow in wacom_intuos_inout()
    • backport: HID: wacom: Add error check to wacom_parse_and_register()
    • input-wacom 1.0.0
  • Denis Arefev (1):

    • HID: wacom: Add error check to wacom_parse_and_register()
  • Nikita Zhandarovich (1):

    • HID: wacom: avoid integer overflow in wacom_intuos_inout()
  • Wolfram Sang (1):

    • HID: move from strlcpy with unused retval to strscpy
  • Christophe Jaillet (1):

    • HID: wacom: Simplify comments

git tag: v1.0.0

https://github.com/linuxwacom/input-wacom/releases/download/v1.0.0/input-wacom-1.0.0.tar.bz2 md5: 7c07633b5fafbb0c97d1d00ffd4dd975 sha1: f4cda23b42eb436a67e5869b78aba6fac0368416 sha256: 625a73c1455cc61fc2becbad21ec32ee106f0b012755507f9058189b6d125541 PGP: https://github.com/linuxwacom/input-wacom/releases/download/v1.0.0/input-wacom-1.0.0.tar.bz2.sig

View originalPermalink