public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Configure.help:
@ 2001-06-06 10:24 Remi Turk
  2001-06-06 10:46 ` Tim Waugh
  0 siblings, 1 reply; 2+ messages in thread
From: Remi Turk @ 2001-06-06 10:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Axel Boldt, Phil Blundell

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

Hi,
it seems the Configure.help text for CONFIG_LP_CONSOLE
is incorrect: The default is to stall until the printer
is ready while the help text says the opposite.
(vi +540 drivers/char/lp.c)

Attached is a patch for 2.4.6-pre1 which fixes the help text.

Also, shouldn't CONFIG_LP_CONSOLE depend on CONFIG_PRINTER=y?
(it doesn't work when CONFIG_PRINTER=m, at least for me)

-- 
Linux 2.4.5-ac9 #3 Wed Jun 6 11:15:40 CEST 2001

[-- Attachment #2: Configure.help.patch --]
[-- Type: text/plain, Size: 982 bytes --]

diff -ur --new-file linux-2.4.6-pre1/Documentation/Configure.help linux-2.4.6-pre1.new/Documentation/Configure.help
--- linux-2.4.6-pre1/Documentation/Configure.help	Wed Jun  6 11:54:24 2001
+++ linux-2.4.6-pre1.new/Documentation/Configure.help	Wed Jun  6 11:54:32 2001
@@ -13014,10 +13014,12 @@
   doing that; to actually get it to happen you need to pass the
   option "console=lp0" to the kernel at boot time.
 
-  Note that kernel messages can get lost if the printer is out of
-  paper (or off, or unplugged, or too busy..), but this behaviour
-  can be changed. See drivers/char/lp.c (do this at your own risk).
-
+  If the printer is out of paper (or off, or unplugged, or too
+  busy..) the kernel will stall until the printer is ready again.
+  By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
+  can make the kernel continue when this happens,
+  but it'll lose the kernel messages.
+  
   If unsure, say N.
 
 Support for user-space parallel port device drivers

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Configure.help:
  2001-06-06 10:24 [PATCH] Configure.help: Remi Turk
@ 2001-06-06 10:46 ` Tim Waugh
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Waugh @ 2001-06-06 10:46 UTC (permalink / raw)
  To: linux-kernel, Axel Boldt, Phil Blundell

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

On Wed, Jun 06, 2001 at 12:24:34PM +0200, Remi Turk wrote:

> Attached is a patch for 2.4.6-pre1 which fixes the help text.

Thanks.

> Also, shouldn't CONFIG_LP_CONSOLE depend on CONFIG_PRINTER=y?  (it
> doesn't work when CONFIG_PRINTER=m, at least for me)

It works for me with CONFIG_PRINTER=m.  You need to have booted the
kernel with the appropriate console= arguments, though.  Also, you
can't unload the module afterwards (the code should be changed to
allow that).

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-06 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-06 10:24 [PATCH] Configure.help: Remi Turk
2001-06-06 10:46 ` Tim Waugh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox