Plymouth Adds Device Rotation Support

Written by Michael Larabel in Red Hat on 11 April 2018 at 05:43 AM EDT. 4 Comments
RED HAT
Commits these days to Plymouth are fairly rare with this Red Hat developed project seeing its first commits of 2018 yesterday.

Plymouth doesn't seem commits too often since this Linux graphical boot system is largely in great shape, relies upon the stable DRM/KMS kennel APIs, and has largely hit feature completion for a simple graphical boot screen that is far better than the days of RHGB or alternatives. But a fair amount of new code did land yesterday in Plymouth for now supporting device rotation.

For some tablets or laptops, the LCD panel is mounted upside-down or rotated, but as of the newly-minted Linux 4.16 kernel there is detection code for this and automatic rotation of the frame-buffer console as well as exposing the panel orientation to user-space via a new property.

That code is now in Plymouth Git to be able to automatically respond to systems with a rotated display. While it's just a boot screen, it's mostly for aesthetic reasons in ensuring correct orientation for a right first impression and being less awkward if needing to type in a password for an encrypted disk, etc.
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