All of lore.kernel.org
 help / color / mirror / Atom feed
* "special" key when Lenovo Yoga 900 in tablet mode
@ 2015-12-15 19:27 Nish Aravamudan
  2015-12-20 15:15 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Nish Aravamudan @ 2015-12-15 19:27 UTC (permalink / raw)
  To: Ike Panhc; +Cc: Darren Hart, platform-driver-x86, linux-kernel

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 <keycode>' 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 <keycode>' 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?

Thanks,
Nish

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "special" key when Lenovo Yoga 900 in tablet mode
  2015-12-15 19:27 "special" key when Lenovo Yoga 900 in tablet mode Nish Aravamudan
@ 2015-12-20 15:15 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2015-12-20 15:15 UTC (permalink / raw)
  To: Nish Aravamudan; +Cc: Ike Panhc, Darren Hart, platform-driver-x86, linux-kernel

On Tue, Dec 15, 2015 at 9:27 PM, Nish Aravamudan
<nish.aravamudan@gmail.com> 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 <keycode>' 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 <keycode>' 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-20 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-15 19:27 "special" key when Lenovo Yoga 900 in tablet mode Nish Aravamudan
2015-12-20 15:15 ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.