on a laptop with a simplefb[1] display, wsconsctl shows display.type=unknown_71.
With the below patch, it shows display.type=efifb
I checked the other values, and it was the only missing display type.
[1] simplefb claims to be WSDISPLAY_TYPE_EFIFB
OK?
Index: sbin/wsconsctl/util.c
===================================================================
RCS file: /cvs/openbsd/src/sbin/wsconsctl/util.c,v
retrieving revision 1.64
diff -u -p -u -p -r1.64 util.c
--- sbin/wsconsctl/util.c 21 Jul 2017 20:38:20 -0000 1.64
+++ sbin/wsconsctl/util.c 2 Sep 2017 20:55:06 -0000
@@ -167,7 +167,8 @@ static const struct nameint dpytype_tab[
{ WSDISPLAY_TYPE_NEWPORT, "newport" },
{ WSDISPLAY_TYPE_LIGHT, "light" },
{ WSDISPLAY_TYPE_INTELDRM, "inteldrm" },
- { WSDISPLAY_TYPE_RADEONDRM, "radeondrm" }
+ { WSDISPLAY_TYPE_RADEONDRM, "radeondrm" },
+ { WSDISPLAY_TYPE_EFIFB, "efifb" }
};
static const struct nameint kbdenc_tab[] = {
--
"... the Mayo Clinic, named after its founder, Dr. Ted Clinic ..."
-- Dave Barry