Hi, I've installed SuSE enterprise desktop 10 y my HP Laserjet 6L doesn't works. YaST2 detects it, test page can be printed correctry but when I restart the computer it stops working. After a restart: diamante:/ # lsmod | grep parport parport_pc 34916 0 parport 31944 1 parport_pc CUPS information at: http://localhost:631 Descripción: Hewlett-Packard HP LaserJet 6L. Ubicación: Impresora en paralelo en /dev/lp0 Estado de la impresora: procesando, aceptando trabajo. "Printer not connected; will retry in 30 seconds..." ^^^^^^^^^^^^^^^^^^^^^^^^ but printer is really connected. diamante:/ # modprobe parport_pc irq=7 io=0x378 io_hi=0x778 dma=none ------------/var/log/messages------------------- Aug 28 23:54:03 diamante kernel: parport 0x378 (WARNING): CTR: wrote 0x0c, read 0xff Aug 28 23:54:03 diamante kernel: parport 0x378 (WARNING): DATA: wrote 0xaa, read 0xff Aug 28 23:54:03 diamante kernel: parport 0x378: You gave this address, but there is probably no parallel port there! Aug 28 23:54:03 diamante kernel: parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] printer still does not works. Now, I run: YaST2 > Hardware > Printer (nothing more) ------------/var/log/messages------------------- Aug 28 23:56:18 diamante kernel: parport 0x378 (WARNING): CTR: wrote 0x0c, read 0xff Aug 28 23:56:18 diamante kernel: parport 0x378 (WARNING): DATA: wrote 0xaa, read 0xff Aug 28 23:56:18 diamante kernel: parport 0x378: You gave this address, but there is probably no parallel port there! Aug 28 23:56:18 diamante kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE] Aug 28 23:56:18 diamante kernel: pnp: Device 00:0a activated. Aug 28 23:56:18 diamante kernel: parport: PnPBIOS parport detected. Aug 28 23:56:18 diamante kernel: parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP] Aug 28 23:56:18 diamante kernel: parport0: Printer, Hewlett-Packard HP LaserJet 6L Aug 28 23:56:18 diamante kernel: lp0: using parport0 (interrupt-driven). ------------------------ and it starts printing all pending jobs. what can i do in order to make printer active on start up? Thanks in advance. -- Gabriel Dovalo --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2006-08-29 at 01:03 +0200, Gabriel Dovalo wrote:
------------/var/log/messages------------------- Aug 28 23:54:03 diamante kernel: parport 0x378 (WARNING): CTR: wrote 0x0c, read 0xff Aug 28 23:54:03 diamante kernel: parport 0x378 (WARNING): DATA: wrote 0xaa, read 0xff Aug 28 23:54:03 diamante kernel: parport 0x378: You gave this address, but there is probably no parallel port there! Aug 28 23:54:03 diamante kernel: parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
printer still does not works. Now, I run: YaST2 > Hardware > Printer (nothing more)
------------/var/log/messages------------------- Aug 28 23:56:18 diamante kernel: parport 0x378 (WARNING): CTR: wrote 0x0c, read 0xff Aug 28 23:56:18 diamante kernel: parport 0x378 (WARNING): DATA: wrote 0xaa, read 0xff Aug 28 23:56:18 diamante kernel: parport 0x378: You gave this address, but there is probably no parallel port there! Aug 28 23:56:18 diamante kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE] Aug 28 23:56:18 diamante kernel: pnp: Device 00:0a activated. Aug 28 23:56:18 diamante kernel: parport: PnPBIOS parport detected. Aug 28 23:56:18 diamante kernel: parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP] Aug 28 23:56:18 diamante kernel: parport0: Printer, Hewlett-Packard HP LaserJet 6L Aug 28 23:56:18 diamante kernel: lp0: using parport0 (interrupt-driven). ------------------------
and it starts printing all pending jobs.
Notice that the first time it is using IRQ 7, the second time IRQ 5. My guess is that you have incorrect info in the /etc/modprobe.* files, perhaps duplicate entries.
LLama Gratis a cualquier PC del Mundo.
P.D.: Existe otra lista de SuSE en español. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFE83qstTMYHG2NR9URAoqKAJ0enf8EkykPjs3rC/hNB4z6kGMw7gCfch8X hg1RvXctYw9JKOR86hGUeQo= =yUXM -----END PGP SIGNATURE-----
I've found the solution. lp module must be loaded. Gabriel Dovalo escribió:
After a restart:
diamante:/ # lsmod | grep parport parport_pc 34916 0 parport 31944 1 parport_pc
diamante:/ # rmmod parport_pc diamante:/ # modprobe lp diamante:/ # modprobe parport_pc irq=7 io=0x378 io_hi=0x778 dma=none diamante:/ # lsmod | grep parport parport_pc 34916 1 parport 31944 2 lp,parport_pc .... and all works fine. -- Gabriel Dovalo ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com
Hello, On Aug 29 01:03 Gabriel Dovalo wrote (shortened):
------------/var/log/messages------------------- Aug 28 23:54:03 diamante kernel: parport 0x378: You gave this address, but there is probably no parallel port there!
See https://bugzilla.novell.com/show_bug.cgi?id=185135
Now, I run: YaST2 > Hardware > Printer (nothing more) ... and it starts printing all pending jobs.
"YaST2 > Hardware > Printer" reloads the parport-related modules or parallel port printer autodetection, see http://lists.suse.com/archive/suse-linux-e/2005-Nov/1206.html Perhaps the "lp" module is not automatically loaded on your system. Do (as root) modprobe lp to load it manually. Make sure that all parallel port related kernel modules are loaded: parport, parport_pc, lp, and optionally ppdev. lsmod | egrep '^parport|^lp|^ppdev' must list at least parport, parport_pc, and lp. As a workaround to force loading of the "lp" module: Either add the "modprobe lp" command to /etc/init.d/boot.local (which is the old-stlye way) or add "lp" to MODULES_LOADED_ON_BOOT in /etc/sysconfig/kernel (which is the new-stlye way). Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
participants (4)
-
Carlos E. R.
-
Gabriel Dovalo
-
Gabriel Dovalo Carril
-
Johannes Meixner