"special" key when Lenovo Yoga 900 in tablet mode

From: Nish Aravamudan
Date: Tue Dec 15 2015 - 14:27:48 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/