Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161682775
D16003.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16003.diff
View Options
Index: head/share/man/man4/vt.4
===================================================================
--- head/share/man/man4/vt.4
+++ head/share/man/man4/vt.4
@@ -44,6 +44,7 @@
In
.Xr loader.conf 5 :
.Cd hw.vga.textmode=1
+.Cd hw.vga.acpi_ignore_no_vga=1
.Cd kern.vty=vt
.Cd kern.vt.color.<colornum>.rgb="<colorspec>"
.Cd kern.vt.fb.default_mode="<X>x<Y>"
@@ -196,6 +197,10 @@
Set to 1 to use virtual terminals in text mode instead of graphics mode.
Features that require graphics mode, like loadable fonts, will be
disabled.
+.It Va hw.vga.acpi_ignore_no_vga
+Set to 1 to force the usage of the VGA driver regardless of whether
+ACPI IAPC_BOOT_ARCH signals no VGA support.
+Can be used to workaround firmware bugs in the ACPI tables.
.It Va kern.vty
Set this value to
.Ql vt
Index: head/sys/dev/vt/hw/vga/vt_vga.c
===================================================================
--- head/sys/dev/vt/hw/vga/vt_vga.c
+++ head/sys/dev/vt/hw/vga/vt_vga.c
@@ -1217,6 +1217,12 @@
ACPI_TABLE_FADT *fadt;
vm_paddr_t physaddr;
uint16_t flags;
+ int ignore;
+
+ TUNABLE_INT_FETCH("hw.vga.acpi_ignore_no_vga", &ignore);
+
+ if (ignore)
+ return (false);
physaddr = acpi_find_table(ACPI_SIG_FADT);
if (physaddr == 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 10:21 PM (12 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34771316
Default Alt Text
D16003.diff (1 KB)
Attached To
Mode
D16003: vt: add option to ignore NO_VGA flag in ACPI
Attached
Detach File
Event Timeline
Log In to Comment