Hello,
I've also had problems with a PCI add-on card (with a SUNIX SUN1888 chip).
The vendor claims it supports EPP and ECP.
First I had Linux 2.3.50 installed and the PCI-card was not detected by
parport (although the on-board port was detected), see the following output
from dmesg:
0x278: FIFO is 16 bytes
0x278: writeIntrThreshold is 8
0x278: readIntrThreshold is 8
0x278: PWord is 8 bits
0x278: Interrupts are ISA-Pulses
0x278: ECP port cfgA=0x14 cfgB=0x40
0x278: ECP settings irq=<none or set by other means> dma=<none or set by
other means>
parport0: PC-style at 0x278 (0x678) [PCSPP,TRISTATE,EPP,ECP]
parport0: irq 5 detected
parport0: cpp_daisy: aa5500ff(08)
parport0: assign_addrs: aa5500ff(08)
parport0: cpp_daisy: aa5500ff(08)
parport0: assign_addrs: aa5500ff(08)
Unknown PCI parallel I/O card (1409/7268)
Please send 'lspci' output to tim@cyberelk.demon.co.uk
----------------------------------------------------------------------------
------------
And this is what could be found in /proc/pci
Bus 0, device 14, function 0:
Parallel controller: PCI device 1409:7268 (Timedia Technology Co Ltd)
(rev 1).
IRQ 10.
I/O at 0xdcd8 [0xdcdf].
I/O at 0xdcc8 [0xdccf].
----------------------------------------------------------------------------
------------
As the SUNIX-card appears to be a "clone" of a Timedia-chip 4008, I
realised that I'd need at least Linux 2.4.0 to get the right parport-code.
However, installing kernel 2.4.0 rendered some problems... it wouldn't
compile!!!
To workaround it, I installed the 2.3.99-pre9 (which compiled perfectly)
but I replaced the parport-sources with the sources found in 2.4.0 =)
Finally I got parport as modules which seemed to work... here's the output
from dmesg:
0x278: FIFO is 16 bytes
0x278: writeIntrThreshold is 8
0x278: readIntrThreshold is 8
0x278: PWord is 8 bits
0x278: Interrupts are ISA-Pulses
0x278: ECP port cfgA=0x14 cfgB=0x40
0x278: ECP settings irq=<none or set by other means> dma=<none or set by
other means>
parport0: PC-style at 0x278 (0x678) [PCSPP,TRISTATE,COMPAT,EPP,ECP]
parport0: irq 5 detected
parport0: cpp_daisy: aa5500ff(08)
parport0: assign_addrs: aa5500ff(08)
parport0: cpp_daisy: aa5500ff(08)
parport0: assign_addrs: aa5500ff(08)
PCI parallel port detected: 1409:7268, I/O at 0xdcd8(0xdcc8)
0xdcd8: FIFO is 16 bytes
0xdcd8: writeIntrThreshold is 8
0xdcd8: readIntrThreshold is 1
0xdcd8: PWord is 8 bits
0xdcd8: Interrupts are ISA-Pulses
0xdcd8: ECP port cfgA=0x10 cfgB=0x40
0xdcd8: ECP settings irq=<none or set by other means> dma=<none or set by
other means>
parport1: PC-style at 0xdcd8 (0xdcc8) [PCSPP,TRISTATE,COMPAT,ECP]
parport1: cpp_daisy: aa5500ff(38)
parport1: assign_addrs: aa5500ff(38)
parport1: cpp_daisy: aa5500ff(38)
parport1: assign_addrs: aa5500ff(38)
----------------------------------------------------------------------------
------------
Now to the problem: It seems that it does NOT support EPP???
Who is right, the vendor or parport_pc?
I must have EPP but I don't know how to deal with it in parport_pc (it's
beyond my competence to dig into that code =)
Where do I go from here? Can I do something with the ECP ECR-register to to
set the EPP mode or is it already taken care of in parport_pc?
Thanx for nay help!
Mohammed
____________________________________________________________________
Mohammed El Shobaki, PhD Student Tel: +46 21 - 10 14 58
Dept. of Real-Time Computer Systems Fax: +46 21 - 10 31 10
Mälardalens högskola Mob: +46 70 - 717 35 85
Box 883 E-mail: mei@mdh.se
721 23 Västerås,
SWEDEN URL: http://www.idt.mdh.se/mei/
-- 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 : Fri Feb 09 2001 - 11:40:23 EST