MBT console settings are not forced to video console
We have code in source:src/etc/inc/pfsense-utils.inc#L1226 that checks for the MBT models and sets
$hdmi_only but that variable isn't used after it is set.
Thus, restoring a configuration set for serial console to an MBT will disable the console since it doesn't have an exposed serial port.
Also see #8978 because this needs to be set to EFI and not vidconsole.
Make MBT prefer video console. Fixes #9094
Avoids foot-shooting by restoring a config with serial enabled.
#2 Updated by Steve Wheeler 10 months ago
- Status changed from Feedback to Assigned
The console order appears to be correctly forced:
Despite having set:
However the primary console appears to remain set as serial. The boot output that is exclusively on the primary console is still seen only on the serial console.
#3 Updated by Jim Pingle 10 months ago
- Assignee deleted (
- Target version deleted (
Looks like that might be something in FreeBSD but needs more research. It doesn't seem to matter if
console="comconsole,efi" is used, the behavior is the same, the full output goes to serial.
Needs tested/confirmed with an MBT on FreeBSD 11.2. If it still happens there, we need to raise a PR with FreeBSD.
As far as our code goes, we're setting it as it's supposed to be now, so it's better than before at least.