From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh.kumar@linaro.org (Viresh Kumar) Date: Tue, 25 Apr 2017 10:36:33 +0530 Subject: Touchscreen failure with CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND In-Reply-To: References: <20170424040709.GG26900@vireshk-i7> <20170424112906.GR26900@vireshk-i7> <20170424114343.GS26900@vireshk-i7> Message-ID: <20170425050633.GV26900@vireshk-i7> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 24-04-17, 08:51, Fabio Estevam wrote: > On Mon, Apr 24, 2017 at 8:43 AM, Viresh Kumar wrote: > > > 110 ms is your sampling rate right now. Looks too high. > > > > Try doing this: > > > > echo 10000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate > > > > and retry your tests. > > Tried 10ms and also 1ms, but touchscreen also failed in both cases. Honestly, I don't have a clue on how can we fix it for you now :) @Rafael: Any idea apart from running at max all the time? what touchscreen driver are you using btw? Just curious to see if there is any bug in there. Handling touchscreen events shouldn't require us to run at max freq. @shawn: Saw something similar ever ? -- viresh