Re: [ibm-acpi-devel] [PATCH v2] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-10-28 Thread Daniel Martin
(Sorry, I just subscribed to the list and I can't set a reply-to here.) Hi Lyude, I'm working on the same for a Yoga 260. Your patch works fine with one addition, the event number is 0x60f0 here. And when flipping the display for the first time I see one 0x60c0 before the 0x60f0. Just once, 0x60

Re: [ibm-acpi-devel] [PATCH v3 1/3] thinkpad_acpi: Move tablet detection into separate function

2016-11-09 Thread Daniel Martin
s < 0) > + goto err_exit; > + > + tabletsw_state = res; > + > /* Set up key map */ > hotkey_keycode_map = kmalloc(TPACPI_HOTKEY_MAP_SIZE, > GFP_KERN