9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] nvidia driver fix
Date: Thu, 18 Jul 2002 10:01:47 -0400	[thread overview]
Message-ID: <7b6581cee06f494aed62b27ee084ae3f@plan9.bell-labs.com> (raw)

i'm not disputing there is a problem with the addition of the lcd
code, but your fix is confusing. unless you are using a flat panel,
the path through the orig code and your fixed code should be the same,
with the exception that the orig code reads crt registers 0x21, 0x53
and 0x54. there's only the xfree86 code to go on here, and that doesn't
read those registers and only sets them if it's a flat panel; that
might be the right answer.

in what way didn't it work?

On Thu Jul 18 08:50:48 EDT 2002, nickw@pobox.com wrote:
> 
>  Just updated my system from the net and my Geforce 2 MX no longer worked.
> The following changes fixed it.
> 
> 
> % diff nvidia.c nvidia.c.orig
> 41c41
> < 	0x19, 0x1A, 0x25, 0x28, 0x2D, 0x30, 0x31, -1
> ---
> > 	0x19, 0x1A, 0x21, 0x25, 0x28, 0x2D, 0x30, 0x31, 0x53, 0x54, -1
> 255a256,258
> > 		vga->crt[0x21] = 0xFA;
> > 		vga->crt[0x53] = 0;
> > 		vga->crt[0x54] = 0;
> 499,501d501
> < 		vgaxo(Crtx, 0x21, 0xFA);
> < 		vgaxo(Crtx, 0x53, 0);
> < 		vgaxo(Crtx, 0x54, 0);
> 


             reply	other threads:[~2002-07-18 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18 14:01 jmk [this message]
2002-07-18 21:38 ` Nicholas Waples
  -- strict thread matches above, loose matches on Subject: below --
2002-07-18 12:48 Nicholas Waples

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b6581cee06f494aed62b27ee084ae3f@plan9.bell-labs.com \
    --to=jmk@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).