You are not logged in.

#1 2006-02-12 14:18:50

ToLo
Member
From: Flensburg/Germany
Registered: 2006-02-12
Posts: 36

no kernelmodules for the printer loaded

hallo to everyone

since the my last upgrade

-upgraded kernel26 (2.6.15.1-2 -> 2.6.15.3-2)
-upgraded mkinitrd (1.01-25 -> 1.01-26)
-upgraded module-init-tools (3.2.2-1 -> 3.2.2-2)
-upgraded udev (079-1 -> 084-3)
-upgraded initscripts (0.7.1-17 -> 0.7.1-20)

and later
-upgraded kernel26 (2.6.15.3-2 -> 2.6.15.4-1)

I don't get my printer to work.
lsmod says that lp, parport and parport_pc is not loaded automaticly. Loading this modules f.e. by modprobe lp etc. doesn't bring my parallelport-printer to work.

messages.log when starting modules by hand:

...
lp: driver loaded but no devices found
parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
parport0: Printer, HEWLETT-PACKARD DESKJET 690C
lp0: using parport0 (interrupt-driven).
parport_pc: VIA parallel port: io=0x378, irq=7


errorlog from cups if I try to print:

[Job 29] sh: hpijs: command not found
[Job 29] ESP Ghostscript 7.07.1: Can't start ijs server "hpijs"
[Job 29] **** Unable to open the initial device, quitting.
[Job 29] renderer return value: 1
[Job 29] renderer received signal: 1
[Job 29] tail process done writing data to STDOUT
[Job 29] KID4 finished
[Job 29] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
[Job 29] Possible error on renderer command line or PostScript error. Check options.
[Job 29] KID4 exited with status 0
[Job 29] KID3 exited with status 3
[Job 29] Renderer exit stat: 3
[Job 29] Renderer process finished
[Job 29] Killing process 2859 (KID3)
[Job 29] Process dying with "Error closing renderer", exit stat: 3
[Job 29] Error closing renderer
PID 2855 stopped with status 3!
...


The other thing ist, I've to start my audio-device from rc.conf. It is not autodetected at boot.
MODULES=( ... snd_via82xx ...).
Using alsaconf is crashing.

B.t.w. archlinux is great

thanks for any reply

greetings ToLo

Offline

#2 2006-02-12 14:28:19

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,964

Re: no kernelmodules for the printer loaded

I had similar problems with a parrallel printer, after searching a bit i added the lines below to /etc/modprobe.conf.
since then the printer works fine.

# Load lp support with parport_pc
install parport_pc modprobe -i parport_pc ; modprobe lp ; true

------------------

Sound problem : look for OSS compatibility lines in /etc/modprobe.conf and remove or comment them.

# OSS Compatibility
#install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
#install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true

This is one of the things that need to be done manually after the last upgrade.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2006-02-12 14:45:01

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,323

Re: no kernelmodules for the printer loaded

to me your post sounds like you are not using MOD_AUTLOAD="yes" in rc.conf.
add this and your printer and audio stuff will be loaded automatically, remove the oss stuff from modprobe.conf reboot and all should be fine

Offline

#4 2006-02-12 14:47:34

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,323

Re: no kernelmodules for the printer loaded

you cups problem sounds like you are not having installed hplip, please install that then hpijs should be there again.

Offline

#5 2006-02-12 15:39:00

ToLo
Member
From: Flensburg/Germany
Registered: 2006-02-12
Posts: 36

Re: no kernelmodules for the printer loaded

thanks to all of you

@Lone_wolf:

# Load lp support with parport_pc
install parport_pc modprobe -i parport_pc ; modprobe lp ; true

I don't get any effect for my printer. lsmod says, that there still is no
module for my printer

@tpowa:

--MOD_AUTOLOAD="yes"
  #
  # Module to load at boot-up (in this order)
  #   (prefix a module with a ! to disable it)
  #

--MODULES=(ppp_generic !usbserial !ide-scsi !lp !parport !parport_pc
snd_via82xx !snd_pcm_oss )

--my modprobe.conf is without any entry

--hplip is not installed, that's true. I've deinstalled hplip. My hpdeskjet
690C is not supported by these hpdrivers(Info from the hp-homepage). With
installed hplip-packet I get some errormessages. I've tested now the newest
version (hplip-0.9.8-4 ) without an change.

greetings ToLo

Offline

#6 2006-02-12 16:25:38

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,323

Re: no kernelmodules for the printer loaded

ok i found your problem:
you use ! in front of your modules, that means they are not loaded at all by udev.
i would strongly suggest put a # in front of MODULES= and look if all works after it.

Offline

#7 2006-02-12 17:22:21

ToLo
Member
From: Flensburg/Germany
Registered: 2006-02-12
Posts: 36

Re: no kernelmodules for the printer loaded

@tpowa

thanks, that was the solution. Everything runs like a charm.

fantastic, ToLo

Offline

Board footer

Powered by FluxBB