Re: [PATCH v3] Add sysfs interface for touchpad state

2017-02-17 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, 2017-02-17 at 18:12 +0200, Andy Shevchenko wrote: > > +static ssize_t touchpad_store(struct device *dev, > > +    struct device_attribute *attr, > > +    const char *buf, size_t count) >

Re: [PATCH v3] Add sysfs interface for touchpad state

2017-02-17 Thread Andy Shevchenko
On Fri, Feb 17, 2017 at 4:48 PM, Ritesh Raj Sarraf wrote: > Lenovo Yoga (many variants: Yoga, Yoga2 Pro, Yoga2 13, Yoga3 Pro, Yoga 3 > 14 etc) has multiple modles that are a hybrid laptop, working in laptop > mode as well as tablet mode. > > Currently, there is no easy interface to determine the t

[PATCH v3] Add sysfs interface for touchpad state

2017-02-17 Thread Ritesh Raj Sarraf
Lenovo Yoga (many variants: Yoga, Yoga2 Pro, Yoga2 13, Yoga3 Pro, Yoga 3 14 etc) has multiple modles that are a hybrid laptop, working in laptop mode as well as tablet mode. Currently, there is no easy interface to determine the touchpad status, which in case of the Yoga family of machines, can al