Bug 19804

Summary: printer port 3bc
Product: Base System Reporter: Norbert Koch <NKoch>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Norbert Koch 2000-07-09 16:50:01 UTC
The computer is an old-fashioned dx2/66 eisa pc.
Allocation of io-port-range fails for parallel port on an old
monochrome graphics card.

Fix: 

Either change the port allocation function in the parallel driver to
only allocate 4 ports (which I did for this specific machine) or
create a new flag for that driver.
Comment 1 Norbert Koch 2000-07-10 20:01:10 UTC
Hello Sheldon.
I do not know how much of my problem report appeared in the public. But I
found solutions for
both problems I described.
For the dx50: Installation fails because of pnp-scanning of port 3c3.
Without pnp-scanning it works.
For the eisa/dx266: Allocation of 8 io addresses at 3bc fails. Allocation of
4 addresses works.
Bye
Norbert.

> -----Original Message-----
> From: Sheldon Hearn [mailto:sheldonh@axl.ops.uunet.co.za]On Behalf Of
> Sheldon Hearn
> Sent: Monday, July 10, 2000 2:17 PM
> To: NKoch@gmx.de
> Subject: Re: misc/19804: printer port 3bc
>
>
>
>
> On Sun, 09 Jul 2000 08:44:16 MST, NKoch@gmx.de wrote:
>
> > >Description:
> > The computer is an old-fashioned dx2/66 eisa pc.
> > Allocation of io-port-range fails for parallel port on an old
> > monochrome graphics card.
>
> You haven't actually explained what the problem is, here. :-)
>
> Ciao,
> Sheldon.
>
Comment 2 Sean Winn 2000-07-11 11:14:30 UTC
Norbert Koch wrote:
> 
> The following reply was made to PR misc/19804; it has been noted by GNATS.
> 
> From: "Norbert Koch" <NKoch@gmx.de>
> To: "Sheldon Hearn" <sheldonh@uunet.co.za>
> Cc:
> Subject: RE: misc/19804: printer port 3bc
> Date: Mon, 10 Jul 2000 21:01:10 +0200
> 
>  Hello Sheldon.
>  I do not know how much of my problem report appeared in the public. But I
>  found solutions for
>  both problems I described.

For reference, part of this is documented in the FAQ, under "for hackers
only"

http://www.freebsd.org/FAQ/hackers.html#AEN4419

To quote the interesting part of it:

"Microsoft took over some of the primary printer status ports to do PnP,
on the logic that no boards decoded those addresses for the opposing I/O
cycles. I found a genuine IBM printer board that did decode writes of
the status port during the early PnP proposal review period, but MS said
``tough''. So they do a write to the printer status port for setting
addresses, plus that use that address + 0x800, and a third I/O port for
reading that can be located anywhere between 0x200 and 0x3ff."

Of course, no-one should be using a 19 y/o video card in a recent
machine in MS's eyes...it can't run Windows 95 after all... 

>  For the dx50: Installation fails because of pnp-scanning of port 3c3.
>  Without pnp-scanning it works.
>  For the eisa/dx266: Allocation of 8 io addresses at 3bc fails. Allocation of
>  4 addresses works.
>  Bye
>  Norbert.
> 
>  > -----Original Message-----
>  > From: Sheldon Hearn [mailto:sheldonh@axl.ops.uunet.co.za]On Behalf Of
>  > Sheldon Hearn
>  > Sent: Monday, July 10, 2000 2:17 PM
>  > To: NKoch@gmx.de
>  > Subject: Re: misc/19804: printer port 3bc
>  >
>  >
>  >
>  >
>  > On Sun, 09 Jul 2000 08:44:16 MST, NKoch@gmx.de wrote:
>  >
>  > > >Description:
>  > > The computer is an old-fashioned dx2/66 eisa pc.
>  > > Allocation of io-port-range fails for parallel port on an old
>  > > monochrome graphics card.
>  >
>  > You haven't actually explained what the problem is, here. :-)
>  >
>  > Ciao,
>  > Sheldon.
>  >
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-bugs" in the body of the message
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-14 13:37:08 UTC
State Changed
From-To: open->closed

The originator regards this PR as an FYI and does not expect any 
work to be done.  It will remain for posterity for those who 
need more information than the FAQ provides. :-)