Skip to content

Generic suspend/resume for input devices

Dmitry Torokhov linux-input 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Input: libps2 - additional locking for i8042 portsdrivers/input/mouse/sentelic.c drivers/input/serio/i8042.c drivers/input/serio/libps2.c +4 more+116 -120 replies
2/3Input: add generic suspend and resume for input devicesdrivers/input/input.c include/linux/input.h+64 -20 replies
3/3Input: atkbd - rely on input core to restore state on resumedrivers/input/keyboard/atkbd.c+0 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Generic suspend/resume for input devices

Hi,

The following patches implement generic suspend and resume for input devices. As part of the suspend sequence input core will turn off leds and bell (if they were active) and upon resume the state of the leds, sound effects and repeat rate/delay will be restored without requiring and special handling in individual drivers.

The change required some additional locking in i8042/libps2 and while I don't particularly like it the positive thing is that the change should allow switching serio to the asynchronous suspend and resume, i8042 should be able to handle it now.

--
Dmitry