Re: [PATCH 2/2] Input: bcm5974 - report ABS_MT_PRESSURE + remove redundant emulation code

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

 



On Monday, 6 July 2015, at 9:44 pm, Henrik Rydberg wrote:
> >> I think your patch is a good reduction, all in accord with what we talked about,
> >> but I have doubts that it will not create regressions. From what I have seen so
> >> far, patch-wise, the best solution is to leave the code as it is.
> > 
> > So you believe that the current (in-tree) behavior is superior to either of my attempts thus far to fix it?
> 
> That is not at all what I said. I like the result of your patch set. The
> question is how it works with linux in general.

I don't understand "works with Linux in general." Does my patch set incorrectly call the evdev MT API? With what else in Linux might it be incompatible? Or are you talking more generally about the X.org synaptics input driver and various client applications that consume touch data? No input axes are removed by this patch set, and it maintains the (arguably incorrect) status quo of synthesizing ABS_PRESSURE from the major tool width axis, so why do you anticipate regressions?

> The constraints so far are:
> 
> 1. Make the situation on the problematic devices better
> 2. Do not invent sensor data
> 3. Do not create regressions
> 
> Taken together, it suggests that the patch should be similar, but not equal to,
> the original patch.

I believe that I have achieved #1 and #3. I am not sure how best to achieve #2, given that the *existing* code invents ABS_PRESSURE. If I were to change the code so that it no longer invents sensor data (to comply with #2), then I would almost certainly create regressions (thus violating #3).

Perhaps I could eliminate reporting of ABS_PRESSURE and also write a patch for the synaptics driver so that it can alternatively utilize ABS_TOOL_WIDTH in the absence of ABS_PRESSURE. But such a cross-project patch set would be difficult to apply and deploy.
--
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