Re: [PATCH v2 1/1] cap11xx: add runtime PM support

2015-08-16 Thread Dmitry Torokhov
Hi Matt, On Thu, Jun 25, 2015 at 09:20:23PM -0700, Matt Ranostay wrote: > Puts device into DEEP SLEEP when no LEDs are in in the on-state, and no > input_handlers are in use. Also uses *_autosuspend to prevent a LED > trigger from constantly suspending and resuming device. > > Signed-off-by: Matt

Re: [PATCH RESEND 2/2] cap11xx: add LED support

2015-08-16 Thread Dmitry Torokhov
On Tue, Aug 04, 2015 at 09:24:56PM -0700, Matt Ranostay wrote: > Several cap11xx variants have LEDs that be can be controlled, this > patchset implements this functionality. > > Signed-off-by: Matt Ranostay Folded both together and applied with minor edits, thank you. > --- > drivers/input/key

Re: Adding an interface to evdev for tablet orientation

2015-08-16 Thread Bastien Nocera
On Sun, 2015-08-16 at 22:12 +0200, Hans de Goede wrote: > > Interesting, so you're suggesting to not add any new evdev event > types for this at all, and to instead use a sysfs attribute + > change kevents on orientation changes so that userspace will know > when to re-read the sysfs attribute ?

Re: Adding an interface to evdev for tablet orientation

2015-08-16 Thread Hans de Goede
Hi, On 16-08-15 21:58, Bastien Nocera wrote: Hey Hans, On Thu, 2015-08-06 at 15:19 +0200, Hans de Goede wrote: Hi All, Many accelerometers used in tablets not only offer acceleration data along 3 axis, but also have a notion of the orientation of the tablet (right side up, upside down, rotate

Re: Adding an interface to evdev for tablet orientation

2015-08-16 Thread Bastien Nocera
Hey Hans, On Thu, 2015-08-06 at 15:19 +0200, Hans de Goede wrote: > Hi All, > > Many accelerometers used in tablets not only offer acceleration > data along 3 axis, but also have a notion of the orientation of > the tablet (right side up, upside down, rotated 90 degrees > left/right), > currentl

Re: [PATCH] Input: psmouse - add small delay for IBM trackpoint pass-through mode

2015-08-16 Thread Andreas Mohr
Hi, [rogue out-of-band reply, sorry - lkml.org mail info is broken] > There are trackpoint devices that fail to respond to the PS2 command > PSMOUSE_CMD_GETID if immediately queried after the parent device is > deactivated. Add a small delay for the hardware to get in a sane state > before sendin