Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754469AbbLTPPk (ORCPT ); Sun, 20 Dec 2015 10:15:40 -0500 Received: from mail-yk0-f172.google.com ([209.85.160.172]:34420 "EHLO mail-yk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751252AbbLTPPi (ORCPT ); Sun, 20 Dec 2015 10:15:38 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 20 Dec 2015 17:15:37 +0200 Message-ID: Subject: Re: "special" key when Lenovo Yoga 900 in tablet mode From: Andy Shevchenko To: Nish Aravamudan Cc: Ike Panhc , Darren Hart , platform-driver-x86@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1347 Lines: 32 On Tue, Dec 15, 2015 at 9:27 PM, Nish Aravamudan wrote: > So the Lenovo Yoga 900 has 4 "modes" (laptop, tent, stand and tablet). > In tablet mode, it appears that the following is printed roughly every > second: > > atkbd serio0: Unknown key pressed (translated set 2, code 0xbf on > isa0060/serio0). > atkbd serio0: Use 'setkeycodes e03f ' to make it known. > ideapad_laptop: Unknown event: 1 > atkbd serio0: Unknown key released (translated set 2, code 0xbf on > isa0060/serio0). > atkbd serio0: Use 'setkeycodes e03f ' to make it known. > ideapad_laptop: Unknown event: 1 > > What I would like to do is rotate the screen when I see the unknown > key (a la https://gist.github.com/emiller/6488449), although that's not > super-efficient, but is fine. But I'm wondering if the ideapad event > should actually be properly handled and how that would be done? I > guess it could also just emit a key like the other ideapad values? I might be able to reproduce this next week. Maybe we will come up with the solution. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/