Re: [PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-28 Thread Hans de Goede
Hi, On 10/21/20 12:29 AM, Samuel Čavoj wrote: > Hi, > > naturally I notice this right after I send the patch, but my whitespace > is wrong. Time to set a pre-commit hook up. I guess that means a v4, > unless you would fix it on your end? It's just a single line. > > Sorry about all the noise, >

Re: [PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-28 Thread Hans de Goede
Hi, On 10/21/20 12:09 AM, Samuel Čavoj wrote: > The UX360CA has a WMI device id 0x00060062, which reports whether the > lid is flipped in tablet mode (1) or in normal laptop mode (0). > > Add a quirk (quirk_asus_use_lid_flip_devid) for devices on which this > WMI device should be used to figure o

Re: [PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-28 Thread Samuel Čavoj
Hi, On 28.10.2020 12:50, Hans de Goede wrote: > Hi, > > On 10/21/20 12:09 AM, Samuel Čavoj wrote: > > The UX360CA has a WMI device id 0x00060062, which reports whether the > > lid is flipped in tablet mode (1) or in normal laptop mode (0). > > > > Add a quirk (quirk_asus_use_lid_flip_devid) for

Re: [PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-20 Thread Samuel Čavoj
Hi, naturally I notice this right after I send the patch, but my whitespace is wrong. Time to set a pre-commit hook up. I guess that means a v4, unless you would fix it on your end? It's just a single line. Sorry about all the noise, Sam On 21.10.2020 00:09, Samuel Čavoj wrote: > @@ -375,6 +376,

Re: [PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-20 Thread Samuel Čavoj
Hi, On 21.10.2020 00:09, Samuel Čavoj wrote: > The UX360CA has a WMI device id 0x00060062, which reports whether the > lid is flipped in tablet mode (1) or in normal laptop mode (0). > > Add a quirk (quirk_asus_use_lid_flip_devid) for devices on which this > WMI device should be used to figure ou

[PATCH v3] platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360

2020-10-20 Thread Samuel Čavoj
The UX360CA has a WMI device id 0x00060062, which reports whether the lid is flipped in tablet mode (1) or in normal laptop mode (0). Add a quirk (quirk_asus_use_lid_flip_devid) for devices on which this WMI device should be used to figure out the SW_TABLET_MODE state, as opposed to the quirk_asus