Page MenuHomeFreeBSD

Support vt(4) console screen rotation for panels mounted at non-native orientations.
AcceptedPublic

Authored by crahman_gmail.com on Jul 29 2022, 6:55 AM.
Tags
None
Referenced Files
F102761186: D35983.diff
Sat, Nov 16, 7:32 PM
Unknown Object (File)
Mon, Oct 28, 5:13 PM
Unknown Object (File)
Oct 5 2024, 4:08 AM
Unknown Object (File)
Oct 2 2024, 10:39 AM
Unknown Object (File)
Sep 30 2024, 6:55 PM
Unknown Object (File)
Sep 30 2024, 8:18 AM
Unknown Object (File)
Sep 25 2024, 8:10 PM
Unknown Object (File)
Sep 8 2024, 2:07 AM

Details

Reviewers
manu
gbe
pauamma_gundo.com
Group Reviewers
manpages
Summary

Based upon initial work posted by Stefan Grundmann <sg2342@googlemail.com> to
freebsd-hackers and later posted here for review on https://reviews.freebsd.org/D34221,
this is one of three patches adding support for non-native panel orientation to
the vt(4) console

The other two patches add similar support to /boot/loader and to the drm module.

Each of these patches may be applied separately or not, but consistent
rotation through all phases of bootstrapping and running the system console
will require all three.

The screen orientation is set by adding

screen.rotate="angle"

to /boot/loader.conf. The drm-kms driver has independent support for
discovering the correct orientation through BIOS flags (which are, however,
not yet in much use by manufacturers) and through (unimplemented on FreeBSD)
quirk tables. Once KMS is loaded, if it discovers the correct panel orientation,
the screen orientation will be set without the loader.conf setting.

Test Plan

Edit /boot/loader.conf to add the screen.rotate key/value, and reboot.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46672
Build 43561: arc lint + arc unit

Event Timeline

gbe added a subscriber: gbe.

LGTM for the man page parts.

This revision is now accepted and ready to land.Jul 29 2022, 2:52 PM
pauamma_gundo.com added inline comments.
share/man/man4/vt.4
27

Bump.

364
365
This revision now requires changes to proceed.Jul 30 2022, 12:59 AM
crahman_gmail.com marked 2 inline comments as done.
  • Modified in response to reviews for D35983.
  • Modified (further) in response to reviews for D35983 (forgot to bump date).
crahman_gmail.com added inline comments.
share/man/man4/vt.4
365

Thanks. I'll also be making a small change to loader.conf.5, below, so please look over it again.

English LGTM. Can't vouch for consistency with source code or correctness of that.

This revision is now accepted and ready to land.Aug 1 2022, 8:47 AM