correct a few obvious errors - don't offer special text modes. - the vga guesser tries to match monitor and vga capabilities. when no edid information is available, we offer all the vga's capaiblities. the code to do this was slightly off. correct. Reference: /n/atom/patch/applied2013/instnoedid Date: Thu Dec 26 16:15:14 CET 2013 Signed-off-by: quanstro@quanstro.net --- /sys/lib/dist/amd64/install/vga Thu Dec 26 16:13:10 2013 +++ /sys/lib/dist/amd64/install/vga Thu Dec 26 16:13:10 2013 @@ -3,15 +3,19 @@ aux/realemu aux/vga -p >[2=] | awk ' -/^vesa mode/ {mode[$3] = $4; desc[$3] = $5} -/^edid [0-9]+x/ {s = $2; sub(/x0@.*/, "", s); edid[nedid++] = s} +/^vesa mode/ && $NF != "text" {mode[$3] = $4; desc[$3] = $5} +/^edid [0-9]+x/ {s = $2; sub(/x0@.*/, "", s); edid[nedid++] = s} END { if(nedid == 0){ last = "" for(m in mode){ s=mode[m] - if(s != last) - edid[nedid++] = s + if(s != last){ + l=s; + sub(/x[0-9]+$/, "", l) + edid[nedid++] = l + } + last=s; } }