[Linux-parport] Kernel & libieee1284 report BIOS ECP mode as EPP

vdb128 at picaros.org vdb128 at picaros.org
Thu Sep 30 00:34:41 EDT 2004

> It's a Medion 8080XL (Aldi PC). There's no brand on the motherboard,
> but I've read somewhere that it's an MSI board. I have no idea what
> parport chipset it uses (the manual mentions Intel Springdale-865PE
> and Intel ICH5 chipsets, but that's probably not what you are
> interested in). How can I find the PCI ID?
lspci -vv  but in this case it won't show useful information.

Your onboard parport is located in the super-io chip (floppy, serial) 
which is not a PCI device.  It usually connects to the ISA bridge 
and is located close to the floppy disk connector.

> ppdev: user-space parallel port driver
> parport_ECR_present(@3bc): ok=-1
> parport_SPP_supported(@3bc): dsr=0xff ok=0
> parport_ECR_present(@378): ok=1
> parport_SPP_supported(@378): dsr=0x8f ok=1
> parport_EPP_supported(parport0): result=1
> parport_PS2_supported(parport0): ok=2
> programmable_irq_support(parport0): irq=7
> parport0: irq 7 detected
> parport0: PC-style at 0x378 (0x778), irqshare 7<7>0x378: FIFO is 16  
> bytes
> 0x378: writeIntrThreshold is 9
> 0x378: readIntrThreshold is 9
> 0x378: PWord is 8 bits
> 0x378: Interrupts are ISA-Pulses
> 0x378: ECP port cfgA=0x10 cfgB=0x48
> 0x378: ECP settings irq=7 dma=<none or set by other means>
> parport_ECR_present(@278): ok=-1
> parport_SPP_supported(@278): dsr=0xff ok=0
> ppdev0: registered pardevice
> ppdev0: unregistered pardevice
> lp0: using parport0 (polling).

You have a fully working EPP port (result=1) as seen from software side.  
The BIOS allows access to the registers, base+[3..7] and the timeout is
working.  The only way left to correctly detect your ECP-only setting is 
by reading back the chip setup configuration register (CR).  Alas, for 
non-PCI devices there is no standard, so it requires a chip-unique 
extension in parport_pc.

Best regards,

More information about the Linux-parport mailing list