I found a bug in the controlfb.c file for the kernel.
(/usr/src/linux-2.4.18/drivers/video/controlfb.c)
The kernel commandline video options ("video=controlfb:vmode:17" for
example) do not work.
The routine "control_setup" reads the commandline correctly and sets
"default_vmode".
The problem is in the routine "init_control".
It does not use "default_vmode" to set "vmode".
(The exception is when there is no commandline option, then
"default_vmode == VMODE_NVRAM")
Reviewing the 2.2.20 kernel shows that the NVRAM "if" checks in
"init_control" need "else" statements.
["else vmode=default_vmode;"]
The same applies to "default_cmode".
Thank you.
Sincerely,
Keith Velleux
P.S. It is 4:00 AM, and I can no longer think.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/