I'm out of ideas/clues trying to resurrect my printer after I "upgraded"
from SuSE 7.2 (2.4.4 kernel) to SuSE 8.0 (2.4.18 kernel). My system is
a Compaq Presario 5008US, about 1.5 years old, 386MB RAM, 40 GB disk,
an 800 Mhz Celeron,... nothing fancy.
The parallel port is at 0x378, irq=7, dma=3, io_hi=0x778 and fully
functional from Windoze. BIOS option are COMPAT, BI-DIR, EPP and ECP
with ECP being the default.
Printing was a no-brainer under 2.4.4. I used the Epson EKPD drivers from
their web-site to drive a Stylus Photo 820 (great results!). The relevant
messages from the boot log were:
May 27 22:26:49 timesink kernel: parport0: PC-style at 0x378 (0x778)
[PCSPP,TRISTATE,COMPAT,ECP]
May 27 22:26:49 timesink kernel: parport0: irq 7 detected
May 27 22:26:49 timesink kernel: parport0: cpp_daisy: aa5500ff(98)
May 27 22:26:49 timesink kernel: parport0: assign_addrs: aa5500ff(98)
May 27 22:26:49 timesink kernel: parport0: Printer, EPSON Stylus Photo 820
May 27 22:26:49 timesink kernel: lp0: using parport0 (polling).
After the "upgrade" I get:
Jul 7 15:32:11 timesink kernel: parport 0x378 (WARNING): CTR: wrote 0x0c,
read 0xff
Jul 7 15:32:11 timesink kernel: parport 0x378 (WARNING): DATA: wrote 0xaa,
read 0xff
Jul 7 15:32:11 timesink kernel: parport 0x378: You gave this address, but
there is probably no parallel port there!
Jul 7 15:32:11 timesink kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
At this point /dev/lp0 is a functional equivalent of /dev/null
The /proc/... files for parport are all devoid of signs of functionality.
I have search the parport archives and tried probably all suggestions
to no avail. Among the things I tried were:
1. Use the most recent RedHat parport and parport_pc sources: they are nearly
identical, load fine and produce the same unsatifactory result.
2. Go back to use the 2.4.4 modules for parport(_pc) under the new kernel:
same difference (slightly different messages, but no printer).
3. Tried to compile with different config-options:
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set (<<< setting it make no diff)
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set (<<< setting it make no diff)
CONFIG_PARPORT_1284=y
CONFIG_PARIDE_PARPORT=m
CONFIG_I2C_PARPORT=m
4. I tried numerous variants of the /etc/modules.conf file (suggested here
and elsewhere): no luck
5. I noticed that without io=0x378 given at either modules.conf or
explicitly at insmod-time, the parport_pc will not load, claiming
the device is busy. I guessed that the superio-chip in my system
is miss-configured by some other module, so I tried to load
parport_pc as early as possible: no luck
here is a list of the loaded modules:
Module Size Used by
i810 68664 1
agpgart 29664 7 (autoclean)
snd-maestro3 13732 1
snd-pcm 58528 0 [snd-maestro3]
snd-timer 11456 0 [snd-pcm]
snd-ac97-codec 24196 0 [snd-maestro3]
snd 31720 4 [snd-maestro3 snd-pcm snd-timer
snd-ac97-codec]
ipv6 123424 -1 (autoclean)
isa-pnp 27816 0 (unused)
joydev 5728 0 (unused)
evdev 3904 0 (unused)
audio 36864 0
soundcore 3268 2 [snd audio]
pwc 37152 0 (unused)
st 25844 0 (autoclean) (unused)
sg 23620 0 (autoclean)
af_packet 11528 0 (autoclean)
natsemi 14760 1
scanner 8480 0 (unused)
tuner 8164 1 (autoclean)
tvaudio 9696 0 (autoclean) (unused)
msp3400 14128 1 (autoclean)
bttv 59200 1
i2c-algo-bit 7052 1 [bttv]
i2c-core 12320 0 [tuner tvaudio msp3400 bttv i2c-algo-bit]
videodev 4480 5 [pwc bttv]
parport_pc 18564 0
parport 23328 0 [parport_pc]
ide-scsi 7648 0
mousedev 3872 0 (unused)
keybdev 1664 0 (unused)
hid 17824 0 (unused)
input 3072 0 [joydev evdev mousedev keybdev hid]
usb-uhci 20996 0 (unused)
usbcore 55136 1 [audio pwc scanner hid usb-uhci]
6. I tried all bios options for the parallel port - made no difference.
At this point, I'm out of ideas. I figure that the parallel port is
really not there due to some module messing with the superio chip.
But I'm not a kernel hacker and have no idea how to figure this out.
Any suggestions (short of printing only in Windoze) are highly
welcomed.
Kind regards,
-- A. Nowatzyk
PS: SuSE's installation support (I bought the 'professional' version)
explicitly
excludes help regarding printers. They were most unhelpful - this
is definitely the last distribution I ever bought from them.
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Sun Jul 14 2002 - 03:50:06 EDT