Re: v4.1 to v4.7: regression in tsc2005 driver
From: Michael Welling
Date: Sun Jul 17 2016 - 14:25:01 EST
On Sun, Jul 17, 2016 at 07:52:57PM +0200, Pavel Machek wrote:
> tsc2005 driver changed input device name, from
> drivers/input/touchscreen/tsc2005.c: input_dev->name = "TSC2005
> to "TSC200X touchscreen". Unfortunately, X seems to propagate that
> name to userspace, where it is needed to be able to do
> xinput --set-prop --type=int ...
> with the right arguments to calibrate touchscreen. (Touchscreen is
> unusable without calibration).
> What to do with that?
The input_dev name could be passed to the common probe function.
It could also be inferred from the bus_type or dev_name.
Pick a method and I will provide a patch.
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html