Re: [PATCH 1/2] HID: Use multitouch driver for Type Covers

2015-12-18 Thread Akihiko Odaki
The "Charm" keys seem to issue short-cut key combinations. I also found Microsoft's document by searching for the combinations. https://msdn.microsoft.com/en-us/library/windows/hardware/dn614461(v=vs.85).aspx So the behavior of hid-multitouch is completely fine. On 12/18/2015 03:28 PM, Akihiko O

Re: [PATCH 1/2] HID: Use multitouch driver for Type Covers

2015-12-18 Thread Benjamin Tissoires
On Fri, Dec 18, 2015 at 10:12 AM, Akihiko Odaki wrote: > The "Charm" keys seem to issue short-cut key combinations. > I also found Microsoft's document by searching for the combinations. > > https://msdn.microsoft.com/en-us/library/windows/hardware/dn614461(v=vs.85).aspx > > So the behavior of hid

Re: [PATCH 000/182] Rid struct gpio_chip from container_of() usage

2015-12-18 Thread Linus Walleij
On Mon, Dec 14, 2015 at 1:46 PM, Johan Hovold wrote: > Ok, but let's take a step back. So you have all this in place and a > consumer calls gpiod_get_value() that returns an errno because the device > is gone. Note that this wasn't even possible before e20538b82f1f ("gpio: > Propagate errors from

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-18 Thread Mika Westerberg
On Wed, Dec 16, 2015 at 02:58:11PM -0800, Nish Aravamudan wrote: > With the patch applied to my patched 4.4-rc5, things seem to be > working now. I do get one "failed to reset device" message in the > logs, but then I'm guessing the second one succeeds and I don't see > the "failed to resume" messa

Re: [PATCH 000/182] Rid struct gpio_chip from container_of() usage

2015-12-18 Thread Linus Walleij
On Tue, Dec 15, 2015 at 8:25 AM, Dmitry Torokhov wrote: > On Mon, Dec 14, 2015 at 1:18 AM, Linus Walleij > wrote: >> At this point we have to cross-reference the pointer to my chip to >> find the chip to remove. This goes for anything that takes the struct >> gpio_chip * >> as parameter, like g

Re: [PATCH 1/2] HID: Use multitouch driver for Type Covers

2015-12-18 Thread Bastien Nocera
On Mon, 2015-12-14 at 21:50 +0900, Akihiko Odaki wrote: > Use multitouch driver instead of microsoft one for Microsoft Surface > Type Covers. > > By using MT_CLS_EXPORT_ALL_INPUTS, the keyboards function as well as > the multitouch pads do. > > Signed-off-by: Akihiko Odaki All the multimedia ke

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-18 Thread Mika Westerberg
On Fri, Dec 18, 2015 at 04:42:09PM +0200, Mika Westerberg wrote: > On another occasion the faulty input report was received immediatelly > after we call i2c_hid_set_power(). > > With below hack patch suspend/resume works fine but it is far from being > suitable for merging. Still, it would be nice

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-18 Thread Benjamin Tissoires
On Dec 18 2015 or thereabouts, Mika Westerberg wrote: > On Fri, Dec 18, 2015 at 04:42:09PM +0200, Mika Westerberg wrote: > > On another occasion the faulty input report was received immediatelly > > after we call i2c_hid_set_power(). > > > > With below hack patch suspend/resume works fine but it i

Re: iio/hid-sensor-accel-3d: no output from /dev/iio:device*?

2015-12-18 Thread Pandruvada, Srinivas
On Thu, 2015-12-17 at 19:06 -0800, Nish Aravamudan wrote: > On Thu, Dec 17, 2015 at 6:50 PM, Pandruvada, Srinivas > wrote: > > On Thu, 2015-12-17 at 18:33 -0800, Nish Aravamudan wrote: > > > On Thu, Dec 17, 2015 at 5:11 PM, Pandruvada, Srinivas > > > wrote: > > > > On Thu, 2015-12-17 at 17:08 -08

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-18 Thread Nish Aravamudan
On Fri, Dec 18, 2015 at 7:38 AM, Mika Westerberg wrote: > On Fri, Dec 18, 2015 at 04:42:09PM +0200, Mika Westerberg wrote: >> On another occasion the faulty input report was received immediatelly >> after we call i2c_hid_set_power(). >> >> With below hack patch suspend/resume works fine but it is

[PATCH] HID: sensor-hub: Add quirk for Lenovo Yoga 900 with ITE Chips

2015-12-18 Thread Srinivas Pandruvada
This needs same quirk as applied to other YOGA sensor hubs. Refer to 47eeca8a48 (" HID: sensor-hub: Add in quirk for Lenovo Yogas with ITE") Signed-off-by: Srinivas Pandruvada Tested-by: Nishanth Aravamudan --- drivers/hid/hid-ids.h| 1 + drivers/hid/hid-sensor-hub.c | 3 +++ 2 files ch

Re: [PATCH] CHROMIUM: Input: elants_i2c: fixed wake-on-touch issue

2015-12-18 Thread Dmitry Torokhov
Hi James, On Fri, Dec 18, 2015 at 10:48:48AM +0800, james.chen wrote: > From: "james.chen" > > Something wrong in suspend/resume of kernel v3.14 for the function of > wake-on-touch. The function of device_may_wakeup will return true if > the device supports wake-on-touch (for example, kitty and

Re: [PATCH 1/2] HID: Use multitouch driver for Type Covers

2015-12-18 Thread Akihiko Odaki
No, it doesn't work. On 12/19/2015 12:06 AM, Bastien Nocera wrote: > On Mon, 2015-12-14 at 21:50 +0900, Akihiko Odaki wrote: >> Use multitouch driver instead of microsoft one for Microsoft Surface >> Type Covers. >> >> By using MT_CLS_EXPORT_ALL_INPUTS, the keyboards function as well as >> the mul

Re: [PATCH v3] Input: uinput - add new UINPUT_DEV_SETUP and UI_ABS_SETUP ioctl

2015-12-18 Thread Dmitry Torokhov
On Wed, Oct 28, 2015 at 11:10:06AM -0400, Benjamin Tissoires wrote: > Hi, > > On Oct 25 2015 or thereabouts, David Herrmann wrote: > > Hi > > > > On Sun, Oct 25, 2015 at 12:53 AM, Dmitry Torokhov > > wrote: > > > Hi Benjamin, > > > > > > On Tue, Aug 25, 2015 at 11:12:59AM -0400, Benjamin Tissoir

Re: [PATCH v2 2/2] Input: uinput: Sanity check on ff_effects_max and EV_FF

2015-12-18 Thread Dmitry Torokhov
On Sun, Nov 08, 2015 at 06:37:34PM +0100, Elias Vanderstuyft wrote: > Currently the user can set ff_effects_max to zero with the EV_FF bit > (and the FF_GAIN and/or FF_AUTOCENTER bits) set, > in this case the uninitialized methods > ff->set_gain and/or ff->set_autocenter can be dereferenced, > resu

Re: [PATCH] HID: sensor-hub: Add quirk for Lenovo Yoga 900 with ITE Chips

2015-12-18 Thread Nish Aravamudan
On Fri, Dec 18, 2015 at 10:34 AM, Srinivas Pandruvada wrote: > This needs same quirk as applied to other YOGA sensor hubs. > Refer to > 47eeca8a48 (" HID: sensor-hub: Add in quirk for Lenovo Yogas with ITE") > > Signed-off-by: Srinivas Pandruvada > Tested-by: Nishanth Aravamudan Ok, maybe I spo

[git pull] Input updates for 4.4-rc5

2015-12-18 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Just a few assorted driver fixes. Changelog: - Charles Keepax (1): Input: arizona-haptic - fix disabling of haptics device Charl