Re: [PATCH 1/3] HID: google: whiskers: more robust tablet mode detection

2019-10-01 Thread Jiri Kosina
On Mon, 23 Sep 2019, Jiri Kosina wrote: > > > > The USB interface may get detected before the platform/EC one, so let's > > > > note the state of the base (if we receive event) and use it to correctly > > > > initialize the tablet mode switch state. > > > > > > > > Also let's start the HID

Re: [PATCH 1/3] HID: google: whiskers: more robust tablet mode detection

2019-09-23 Thread Jiri Kosina
On Sun, 15 Sep 2019, Dmitry Torokhov wrote: > > > The USB interface may get detected before the platform/EC one, so let's > > > note the state of the base (if we receive event) and use it to correctly > > > initialize the tablet mode switch state. > > > > > > Also let's start the HID interface

Re: [PATCH 1/3] HID: google: whiskers: more robust tablet mode detection

2019-09-15 Thread Dmitry Torokhov
On Sun, Sep 15, 2019 at 8:26 PM Nicolas Boichat wrote: > > On Sat, Sep 14, 2019 at 6:03 AM Dmitry Torokhov wrote: > > > > The USB interface may get detected before the platform/EC one, so let's > > note the state of the base (if we receive event) and use it to correctly > > initialize the tablet

Re: [PATCH 1/3] HID: google: whiskers: more robust tablet mode detection

2019-09-15 Thread Nicolas Boichat
On Sat, Sep 14, 2019 at 6:03 AM Dmitry Torokhov wrote: > > The USB interface may get detected before the platform/EC one, so let's > note the state of the base (if we receive event) and use it to correctly > initialize the tablet mode switch state. > > Also let's start the HID interface

[PATCH 1/3] HID: google: whiskers: more robust tablet mode detection

2019-09-13 Thread Dmitry Torokhov
The USB interface may get detected before the platform/EC one, so let's note the state of the base (if we receive event) and use it to correctly initialize the tablet mode switch state. Also let's start the HID interface immediately when probing, this will ensure that we correctly process "base