Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1244026

thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020)

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020)
Date 2015-10-11 00:00 +0200
Message-ID <qialk-5a5-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The Lenovo ThinkPad Yogo 12 has a button on the side by the power and volume
keys with a padlock icon on it, I presume intended to be used as Screenlock.

It emits 0x6020 which means it falls into the hotkey_notify_6xxx() block. It
seems this should be handled similarly to the 0x1xxx events instead (as a
hotkey).

Is this a keymap change candidate? If so, How do I map 0x6020 to a scancode?

-- 
Darren Hart
Intel Open Source Technology Center
--
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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020) Darren Hart <dvhart@infradead.org> - 2015-10-11 00:00 +0200
  Re: thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020) Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2015-10-11 14:20 +0200
    Re: thinkpad_acpi: Lenovo ThinkPad Yoga 12 side lock button (0x6020) Darren Hart <dvhart@infradead.org> - 2015-10-11 19:10 +0200

csiph-web