The stick device does not work after resume, add U1_SP_ABS_MODE flag can
make the device work after resume.
Signed-off-by: Kai-Heng Feng <redacted>
---
drivers/hid/hid-alps.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Kai Heng Feng <hidden> Date: 2016-09-19 15:57:57
On Mon, Sep 19, 2016 at 8:37 PM, Jiri Kosina [off-list ref] wrote:
On Mon, 19 Sep 2016, Kai-Heng Feng wrote:
quoted
The stick device does not work after resume, add U1_SP_ABS_MODE flag can
make the device work after resume.
Do you happen to have any more details on why it doesn't work without
U1_SP_ABS_MODE? Or was this a pure guesswork?
It' pure guesswork, based on how the existing code uses U1_TP_ABS_MODE flag
on both initialization and resume.
I also tested the the patch on an ALPS touchpad without stick device,
did not notice
any side effect on suspend/resume, so I made the U1_SP_ABS_MODE flag mandatory.
The stick device does not work after resume, add U1_SP_ABS_MODE flag can
make the device work after resume.
Do you happen to have any more details on why it doesn't work without
U1_SP_ABS_MODE? Or was this a pure guesswork?
It' pure guesswork, based on how the existing code uses U1_TP_ABS_MODE flag
on both initialization and resume.
I also tested the the patch on an ALPS touchpad without stick device,
did not notice
any side effect on suspend/resume, so I made the U1_SP_ABS_MODE flag mandatory.
I'll fold this information into the patch changelog before comitting; if
you disagree, please let me know.
--
Jiri Kosina
SUSE Labs
From: Kai Heng Feng <hidden> Date: 2016-09-22 05:12:18
On Wed, Sep 21, 2016 at 8:00 PM, Jiri Kosina [off-list ref] wrote:
On Mon, 19 Sep 2016, Kai Heng Feng wrote:
quoted
quoted
quoted
The stick device does not work after resume, add U1_SP_ABS_MODE flag can
make the device work after resume.
Do you happen to have any more details on why it doesn't work without
U1_SP_ABS_MODE? Or was this a pure guesswork?
It' pure guesswork, based on how the existing code uses U1_TP_ABS_MODE flag
on both initialization and resume.
I also tested the the patch on an ALPS touchpad without stick device,
did not notice
any side effect on suspend/resume, so I made the U1_SP_ABS_MODE flag mandatory.
I'll fold this information into the patch changelog before comitting; if
you disagree, please let me know.