[Linux-parport] [PATCH 2.6.7] Parallel port detection via ACPI

Dino Klein dinoklein at hotmail.com
Sat Jul 3 14:07:23 EDT 2004


ACPI will identify the port either as a standard parallel port (PNP0400), or 
enhanced parallel port (PNP0401). Now, PNP0400 includes SPP and EPP modes, 
while PNP0401 is ECP and ECP+EPP.
I checked the ouput of the modes detected for the port for every setting in 
the BIOS, and the funny thing I noticed that even when set to SPP, the 
driver listed [PCSPP,EPP], while in EPP it listed [PCSPP,TRISTATE,EPP].
Perhaps somebody should review the detection code. I can't, because I'm not 
knowledgeable with parallel ports.


>From: Adam Baker <parport at baker-net.org.uk>
>To: linux-parport at lists.infradead.org
>Subject: Re: [Linux-parport] [PATCH 2.6.7] Parallel port detection via ACPI
>Date: Thu, 1 Jul 2004 22:45:02 +0100
>
>On Friday 18 June 2004 20:46, Dino Klein wrote:
> > Hi,
> > I've modified the parport_pc.c file to detect parallel ports via ACPI;
>
>Well the patch works for me (Suse 9.1 / kernel 2.6.5). I presume ACPI 
>doesn't
>provide any info on if EPP / ECP are supported so you still have to rely on
>the existing capability detection which doesn't like my motherboard. (It
>thinks EPP has got what the driver calls the Intel bug, even though it is 
>an
>Athlon / VIA board - EPP works fine if I comment out the test).
>
>_______________________________________________
>Linux-parport mailing list
>Linux-parport at lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/linux-parport

_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos. 
http://messenger.msn.com.br




More information about the Linux-parport mailing list