Re: [PATCH] CONSOLE_LP_STRICT Kconfig option

Luca Falavigna
2006-02-15T09:03:33Z

Oops, I noticed I sent twice my email. Sorry.

14 Feb 2006 15:59:56 +0100, Andi Kleen <ak@suse.de>:
> This shouldn't be a CONFIG. This should be a runtime option.
> It's ridiculous to have to recompile your kernel just to fix some
> problem with your printer.
>
> e.g. sysctl, ioctl, sysfs entry, module parameter. Whatever is en
> vogue these days. Easiest would be probably a module_param().

This feature only gets involved when passing console=lp0 parameter to
the bootloader. I never tried to load a new system console while
system was running so I'm not sure if it behaves correctly. If it
does, I will modify this patch following your advices.

Regards,

--
Luca