Hardware buttons on Thinkpad X230 tablet disabled in tablet mode

Ryan Walklin ryan at testtoast.com
Thu Nov 1 14:44:50 UTC 2018


That's great thanks Peter, much easier than I thought! Will generate a 
similar entry for the X230.

On Thu, Nov 1, 2018 at 8:49 AM, Peter Hutterer 
<peter.hutterer at who-t.net> wrote:
> On Thu, Nov 01, 2018 at 10:32:06AM +1100, Ryan Walklin wrote:
>>  Hi,
>> 
>>  I have a Thinkpad X230 tablet running the Sway WM on Fedora 
>> Workstation
>>  29.
>> 
>>  I've set up the screen rotation button to rotate the screen 90 
>> degrees each press, however the button only works in laptop mode. In 
>> tablet mode the button is disabled.
>> 
>>  Investigating shows that the button is registered as part of the 
>> internal
>>  PS/2 keyboard (key code 153, XF86RotateWindows) and I suspect is 
>> being
>>  disabled by libinput along with the rest of the keyboard and 
>> trackpad as a
>>  result of this bug 
>> (https://bugs.freedesktop.org/show_bug.cgi?id=102729).
>> 
>>  Is there any way to prevent this from happening, either stopping the
>>  keyboard being disabled at all or whitelisting specific keys?
> 
> we just need an entry for that device, see the bug below for the x220,
> shouldn't be hard to add another entry for the 230. I'll glady accept 
> any
> merge requests :)
> 
> https://gitlab.freedesktop.org/libinput/libinput/issues/154
> 
> Cheers,
>    Peter
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20181101/cfbad84e/attachment.html>


More information about the wayland-devel mailing list