mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5] Local printer not supported in 2.5?
@ 2003-01-22 21:58 Bill Davidsen
  2003-01-22 22:27 ` Bill Davidsen
  2003-01-22 22:29 ` David Woodhouse
  0 siblings, 2 replies; 3+ messages in thread
From: Bill Davidsen @ 2003-01-22 21:58 UTC (permalink / raw)
  To: Linux Kernel Mailing List

I still can't print from any 2.5 kernel. I have the printer driver loaded, 
using:
  alias parport_lowlevel parport_pc
in the /etc/modprobe.conf (generated with 0.9.9pre).

Modules loaded:
  Module                  Size  Used by
  eepro100               20076  - 
  mii                     4064  - 
  parport_pc             21992  - 
  parport                35520  - 

There are no parport messages in dmesg, but when I did the first build I 
missed modules_install and it complained that I had the wrong (with 
preempt) modules. This persist with every kernel tried on this machine, 
from 2.5.50 forward.

Booting with 2.4.18 redhat or 2.4.20 kernel.org both work just fine and 
can use the printer.

>From config:
  # Parallel port support
  CONFIG_PARPORT=m
  CONFIG_PARPORT_PC=m
  CONFIG_PARPORT_PC_CML1=m
  # CONFIG_PARPORT_SERIAL is not set
  CONFIG_PARPORT_PC_FIFO=y
  CONFIG_PARPORT_PC_SUPERIO=y
  # CONFIG_PARPORT_OTHER is not set
  CONFIG_PARPORT_1284=y


dmesg reports:
  pnp: the driver 'parport_pc' has been registered
  pnp: match found with the PnP device '00:12' and the driver 'parport_pc'


What have I missed?

-- 
bill davidsen


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

* Re: [2.5] Local printer not supported in 2.5?
  2003-01-22 21:58 [2.5] Local printer not supported in 2.5? Bill Davidsen
@ 2003-01-22 22:27 ` Bill Davidsen
  2003-01-22 22:29 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: Bill Davidsen @ 2003-01-22 22:27 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Linux Kernel Mailing List

On Wed, 22 Jan 2003, Bill Davidsen wrote:

> I still can't print from any 2.5 kernel. I have the printer driver loaded, 
> using:
>   alias parport_lowlevel parport_pc
> in the /etc/modprobe.conf (generated with 0.9.9pre).
> 
> Modules loaded:
>   Module                  Size  Used by
>   eepro100               20076  - 
>   mii                     4064  - 
>   parport_pc             21992  - 
>   parport                35520  - 
> 
> There are no parport messages in dmesg, but when I did the first build I 
> missed modules_install and it complained that I had the wrong (with 
> preempt) modules. This persist with every kernel tried on this machine, 
> from 2.5.50 forward.

Hum, that's no longer true, it appears the Linux PnP support didn't set up 
the card, because if I tell the BIOS that the OS is *not* PnP aware, I 
then get messages:
  pnp: the driver 'parport_pc' has been registered
  pnp: pnp: match found with the PnP device '00:12' and the driver 'parport_pc'
  parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
  parport0: irq 7 detected
  parport0: cpp_daisy: aa5500ff(00)
  parport0: assign_addrs: aa5500ff(00)
  Module parport cannot be unloaded due to unsafe usage in include/linux/module.h:430
  Module parport_pc cannot be unloaded due to unsafe usage in include/linux/module.h:430
  parport0: Legacy device

Infortunately the lpd still says it can't find the printer, the irq isn't 
in /proc/interrupts, and is the "unloaded" stuff informational or does it 
indicate that the modules are being deactivated?

> Booting with 2.4.18 redhat or 2.4.20 kernel.org both work just fine and 
> can use the printer.
> 
> From config:
>   # Parallel port support
>   CONFIG_PARPORT=m
>   CONFIG_PARPORT_PC=m
>   CONFIG_PARPORT_PC_CML1=m
>   # CONFIG_PARPORT_SERIAL is not set
>   CONFIG_PARPORT_PC_FIFO=y
>   CONFIG_PARPORT_PC_SUPERIO=y
>   # CONFIG_PARPORT_OTHER is not set
>   CONFIG_PARPORT_1284=y
> 
> 
> dmesg reports:
>   pnp: the driver 'parport_pc' has been registered
>   pnp: match found with the PnP device '00:12' and the driver 'parport_pc'

See above, this has been addressed.
> 
> What have I missed?

I miss 2.4.20, is what I miss.


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

* Re: [2.5] Local printer not supported in 2.5?
  2003-01-22 21:58 [2.5] Local printer not supported in 2.5? Bill Davidsen
  2003-01-22 22:27 ` Bill Davidsen
@ 2003-01-22 22:29 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2003-01-22 22:29 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Linux Kernel Mailing List


davidsen@tmr.com said:
> I still can't print from any 2.5 kernel. I have the printer driver
> loaded,  using:
>   alias parport_lowlevel parport_pc 

That's just the parallel port driver. Enable CONFIG_PRINTER and/or load 
lp.ko?

--
dwmw2



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

end of thread, other threads:[~2003-01-22 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22 21:58 [2.5] Local printer not supported in 2.5? Bill Davidsen
2003-01-22 22:27 ` Bill Davidsen
2003-01-22 22:29 ` David Woodhouse

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

all inboxes | Powered by JetHome®