FreeBSD Bugzilla – Attachment 194623 Details for
Bug 229235
vt(4) of 11.2-RELEASE is broken with hardware dependent problem.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch #1
file_229235.txt (text/plain), 1.27 KB, created by
Roger Pau Monné
on 2018-06-25 07:05:54 UTC
(
hide
)
Description:
proposed patch #1
Filename:
MIME Type:
Creator:
Roger Pau Monné
Created:
2018-06-25 07:05:54 UTC
Size:
1.27 KB
patch
obsolete
>diff --git a/share/man/man4/vt.4 b/share/man/man4/vt.4 >index 489ed31f61d4..4b9e87c2e8b6 100644 >--- a/share/man/man4/vt.4 >+++ b/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 @@ prompt or in > 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 >diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c >index daf53df8538d..a30e0101b5cb 100644 >--- a/sys/dev/vt/hw/vga/vt_vga.c >+++ b/sys/dev/vt/hw/vga/vt_vga.c >@@ -1217,6 +1217,12 @@ vga_acpi_disabled(void) > 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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229235
:
194555
| 194623