[ltp] Getting parport into ECP mode?

Felix E. Klee linux-thinkpad@linux-thinkpad.org
Fri, 18 Aug 2006 08:38:19 +0200


I've unsuccessfully tried to get the parallel port into ECP mode under
LINUX 2.6.14.4 on my T41.  The BIOS settings that I tried (mode was
always ECP):

  I/O   IRQ   DMA
  3bc     7     0
  3bc     7     1
  3bc     7     3
  378     7     3

With the last combination, I at least got it into EPP mode:

  ~# modprobe parport_pc irq=7 dma=3 io=0x378 init_mode=ecp
  ~# dmesg |tail -n 1
  parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]

With the first three BIOS settings I only got it into PCSPP, TRISTATE
modes.

Interestingly the parallel port DMA channel is *not* visible in
"/proc/dma".  With either of the above combinations:

  ~$ cat /proc/dma 
   4: cascade

Does anyone know what needs to be done to get the port into ECP mode?

-- 
Felix E. Klee