I've had similar problems and would be happy to try to help debug the problems
- but need some hints of what to look at next. Mainly, how do I get parport_pc
to behave like it did in 2.2.18 [SPP,ECP,ECPEPP,ECPPS2]
I did two things to somewhat fix them:
Turned on FIFO and rebuilt my kernel. (CONFIG_PARPORT_PC_FIFO)
Added these two lines (as documented in /usr/src/linux/Documentation/parport)
to modules.conf:
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7 io_hi=0x778 verbose_probing=1
Actually did this via adding them to /etc/modutils/aliases
Then running update-modules
It made things a little better. Here is a summary of my output in various
configs. Things worked great in 2.2.18, but not in 2.4 with Debian. Where is
my EPP mode? Or should I not care about it?
******* this is with kernel 2.2.18
Nov 9 00:43:12 bonzopad kernel: parport0: PC-style at 0x378 (0x778)
[SPP,ECP,ECPEPP,ECPPS2]
Nov 9 00:43:12 bonzopad kernel: parport0: detected irq 7; use procfs to
enable interrupt-driven operation.
Nov 9 00:43:12 bonzopad kernel: parport_probe: succeeded
Nov 9 00:43:12 bonzopad kernel: parport0: Printer, EPSON Stylus Photo 750
Nov 9 00:43:12 bonzopad kernel: lp0: using parport0 (polling).
***** this is with kernel 2.4.13 and BIOS set to EPP only (I think).
Nov 11 17:08:41 bonzopad kernel: parport0: PC-style at 0x378
[PCSPP,TRISTATE,EPP]
Nov 11 17:08:41 bonzopad kernel: parport0: Printer, EPSON Stylus Photo 750
Nov 11 17:08:41 bonzopad kernel: parport_pc: Via 686A parallel port: io=0x378
Nov 11 17:08:41 bonzopad kernel: lp0: using parport0 (polling).
***** this is with kernel 2.4.13 BIOS set to ECP+EPP 1.9
Nov 11 17:17:33 bonzopad kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
Nov 11 17:17:33 bonzopad kernel: parport0: Printer, EPSON Stylus Photo 750
Nov 11 17:17:33 bonzopad kernel: parport_pc: Via 686A parallel port: io=0x378
Nov 11 17:17:33 bonzopad kernel: lp0: using parport0 (polling).
**** Kernel 2.4.13, without FIFO
Nov 15 14:50:31 bonzopad kernel: Adding Swap: 128484k swap-space (priority -1)
Nov 15 14:50:31 bonzopad kernel: <6>parport0: PC-style at 0x378, irq 7
[PCSPP,TRISTATE]
Nov 15 14:50:31 bonzopad kernel: parport0: cpp_daisy: aa5500ff(18)
Nov 15 14:50:31 bonzopad kernel: parport0: assign_addrs: aa5500ff(18)
Nov 15 14:50:31 bonzopad kernel: parport0: Printer, EPSON Stylus Photo 750
Nov 15 14:50:31 bonzopad kernel: lp0: using parport0 (interrupt-driven).
Nov 15 14:50:31 bonzopad kernel: PCI: Found IRQ 9 for device 00:10.0
Nov 15 14:50:31 bonzopad kernel: PCI: Sharing IRQ 9 with 00:04.3
Nov 15 14:50:31 bonzopad kernel: PCI: Sharing IRQ 9 with 00:04.2
Nov 15 14:50:31 bonzopad kernel: 3c59x: Donald Becker and others.
www.scyld.com/network/vortex.html
*** Kernel 2.4.13, with FIFO and /etc/modules.conf WITHOUT this line:
# alias parport_lowlevel parport_pc
# options parport_pc io=0x378 irq=7 io_hi=0x778 verbose_probing=1
Nov 15 16:02:25 bonzopad kernel: <6>parport0: PC-style at 0x378
[PCSPP,TRISTATE]
Nov 15 16:02:25 bonzopad kernel: parport0: cpp_daisy: aa5500ff(98)
Nov 15 16:02:25 bonzopad kernel: parport0: assign_addrs: aa5500ff(98)
Nov 15 16:02:25 bonzopad kernel: parport0: Printer, EPSON Stylus Photo 750
Nov 15 16:02:25 bonzopad kernel: parport_pc: Via 686A parallel port: io=0x378
***** Same, but now with the /etc/modules.conf lines "active"
Nov 15 16:05:57 bonzopad kernel: TEJ EPP+ECP result <NULL> end
Nov 15 16:05:57 bonzopad kernel: <6>parport0: PC-style at 0x378, irq 7<7>
0x378: FIFO is 16 bytes
Nov 15 16:05:57 bonzopad kernel: 0x378: writeIntrThreshold is 8
Nov 15 16:05:57 bonzopad kernel: 0x378: readIntrThreshold is 8
Nov 15 16:05:57 bonzopad kernel: 0x378: PWord is 8 bits
Nov 15 16:05:57 bonzopad kernel: 0x378: Interrupts are ISA-Pulses
Nov 15 16:05:57 bonzopad kernel: 0x378: ECP port cfgA=0x10 cfgB=0x00
Nov 15 16:05:57 bonzopad kernel: 0x378: ECP settings irq=<none or set by other
means> dma=<none or set by other means>
Nov 15 16:05:57 bonzopad kernel: , using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
Nov 15 16:05:57 bonzopad kernel: parport0: cpp_daisy: aa5500ff(98)
Nov 15 16:05:57 bonzopad kernel: parport0: assign_addrs: aa5500ff(98)
Nov 15 16:05:58 bonzopad kernel: parport0: Printer, EPSON Stylus Photo 750
-----
Timothy Jedlicka, bonzo@lucent.com, 1-630-713-4436
Network Entomologist, Lucent Technologies, Offer Verification Testing
----------------------------------------------------------------
From: Ludo Vangilbergen <ludo@vangilbergen.net>
Sent: 19 Nov 2001 06:05:46 +0100
-------------- SAID --------------
I've got a flatbed scanner that forces me to configure my parallel
bidirectionally.
I'm running Debian Linux, kernel version 2.4.12.
Though I have switched the the parallel ports to EPP mode in the BIOS,
my system reports the following info, when I load the parport_pc module:
parport0: PC-style at 0x378 [PCSPP(,...)]
parport1: PC-style at 0x278 [PCSPP(,...)]
Strangely enough, when I boot my system with the SuperRescue CD (which is
RedHat based - kernel 2.4.5), the system reports:
parport0: PC-style at 0x378 [PCSPP,TRISTATE,COMPAT,ECP]
parport1: PC-style at 0x278 [PCSPP,TRISTATE,EPP]
How can I make my debian system behave in a similar way? Is there some module
in the kernel that I have to load first, or should I have to tweak an option in
a config file?
Thanks for helping me out
-- Ludo Vangilbergen Rotselaar, Belgium-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
-- 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 : Mon Nov 19 2001 - 14:29:20 EST