On Mon, Jan 29, 2018 at 8:35 PM, <mario.limoncie...@dell.com> wrote: >> -----Original Message----- >> From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] >> Sent: Monday, January 29, 2018 12:57 PM >> To: Marco Martin <notm...@gmail.com> >> Cc: Platform Driver <platform-driver-...@vger.kernel.org>; Limonciello, Mario >> <mario_limoncie...@dell.com>; Andy Shevchenko <a...@infradead.org>; Pali >> Rohár <pali.ro...@gmail.com>; Darren Hart <dvh...@infradead.org>; Matthew >> Garrett <mj...@srcf.ucam.org>; Linux Kernel Mailing List <linux- >> ker...@vger.kernel.org>; Bhushan Shah <bhus...@gmail.com> >> Subject: Re: [PATCH v7] Support intel-vbtn based tablet mode switch >> >> On Sat, Jan 27, 2018 at 6:35 PM, Marco Martin <notm...@gmail.com> wrote: >> > Some laptops such as Dell Inspiron 7000 series have the >> > tablet mode switch implemented in Intel ACPI, >> > the events to enter and exit the tablet mode are 0xCC and 0xCD >> > >> >> It doesn't apply :-( > > Marco, I can see it applies on 4.15 but it's not applying on > platform-drivers-x86/testing. > It's most likely this commit you need to rebase on top of:
Ah, i see (i was trying on platform-drivers-x86 but master branch, sorry) latest version is rebased on top of it, i seen the reason it didn't apply was that the addition to sparse_keymap was already done in 1c8284 by Stefan Brüns (whoops :) However still needs the initialization part, so booting or modprobe with the device already in tablet mode would initialize the correct state -- Marco Martin