Re: [PATCH v2 1/2] HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Aug 2017, Jason Gerecke wrote:

> The wacom driver's IRQ handler for Bluetooth reports from the 2nd-gen
> Intuos Pro does not correctly process negative numbers. Values for
> tilt and rotation (which can go negative) are instead interpreted as
> unsigned and so jump to very large values when the data should be
> negative. This commit properly casts the data to ensure we report
> negative numbers when necessary.
> 
> Fixes: 4922cd2 ("HID: wacom: Support 2nd-gen Intuos Pro's Bluetooth classic interface")
> Cc: stable@xxxxxxxxxxxxxxx # v4.11
> Signed-off-by: Jason Gerecke <jason.gerecke@xxxxxxxxx>

Both patches applied to for-4.14/upstream-fixes.

-- 
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux