Lenovo Yoga Laptops Getting Tablet Mode Switch Driver With Linux 6.4

Written by Michael Larabel in Hardware on 13 April 2023 at 06:48 AM EDT. 1 Comment
For those with a Lenovo Yoga 2-in-1/convertible laptop, a tablet mode switch driver is set to be merged for Linux 6.4 to properly handle the tablet mode switching support for these devices while running the mainline Linux kernel.

Linux 6.4 is set to see the new "lenovo-ymc" driver added that is for tablet mode switching on Lenovo Yoga notebooks like the Yoga 7 14AIL7, Yoga C940, Ideapad Flex 14API, Yoga 9 14IAP7, Yoga 7 14ARB7, and other models.

Lenovo Yoga laptop

This is a cleaned up driver of code that had been out-of-tree as a GitHub project but now in good shape for merging. The tablet mode control switch in turn is mapped to the "SW_TABLET_MODE" input event so Linux user-space can behave properly when switching to/from the tablet mode with these laptops such as for disabling the keyboard and touchpad when in tablet mode.

This Lenovo Yoga Tablet Mode switch driver has been queued into the platform-drivers-x86.git for-next branch ahead of the Linux 6.4 merge window kicking off in a few weeks. With Linux 6.4+, the build-time option is LENOVO_YMC if wanting this Lenovo Yoga tablet mode switching driver support.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week