parallel port PCI card : changing modes
I recently installed a parallel port PCI card into my computer because the motherboard did not come with one. I need it for the Xilinx download cable used to program FPGAs, and it must run in ECP mode. Right now it is set up for [PCSPP, TRISTATE, EPP].
Here's the info:
Computer's running Red Hat Fedora Core 2 with a 2.6.5-1.358 kernel.
In the BIOS I set for the parallel port: address 0x378, mode ECP.
After booting I rang:
modprobe parport_pc io=0x378,0xc400
+From dmesg:
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
parport0: PC-style at 0x378 (0x778), irq 0 [PCSPP,TRISTATE,EPP]
parport0: irq 0 in use, resorting to polled operation
parport1: PC-style at 0xc400, irq 0 [PCSPP,TRISTATE,EPP]
parport1: irq 0 in use, resorting to polled operation
(parport0 is for a non-existent motherboard parallel port correct? Don't know why ECP isn't an option. I assume info before the lp0 is before modprobe and rest after modprobe run.)
+Relevant info from /proc/pci:
Bus 4, device 1, function 0:
Class 0780: PCI device 9710:9805 (rev 1).
IRQ 9.
Master Capable. Latency=64.
I/O at 0xc400 [0xc407].
I/O at 0xc000 [0xc007].
I/O at 0xb800 [0xb807].
I/O at 0xb400 [0xb407].
I/O at 0xb000 [0xb007].
I/O at 0xa800 [0xa80f].
So how can I change the mode for parport1 to ECP? Should I just try the BIOS again even though it didn't work the first time?
|