Skip site navigation (1)Skip section navigation (2)
Date:      03 May 1997 20:21:50 +0200
From:      Assar Westerlund <assar@sics.se>
To:        Matt Mosley <mattm@igloo.org>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: help!
Message-ID:  <5lsp04ju0x.fsf@assaris.sics.se>
In-Reply-To: Matt Mosley's message of Sat, 3 May 1997 01:43:53 -0400 (EDT)
References:  <199705030543.BAA03546@black-cat.igloo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Sat_May__3_20:21:50_1997-1
Content-Type: text/plain; charset=US-ASCII

Matt Mosley <mattm@igloo.org> writes:
> Hi.  I am running FreeBSD-2.2.1 on a ThinkPad 560.  It's model
> 2640-50A, and has what appears to be the 11 inch screen on it.
> It also has what appears to be a cyber9385 graphics card.  I
> have been unable to make it work at anything greater than 640x480.
> I've hit all of the numerous web pages out there with the cyber9382
> program, etc, and nothing any of them have said to try has worked.
> The cyber9382 program will not run, it detects the card as being
> different.

We've have run the cyber9382 program successfully on ThinkPad 560's
with 9385by just commenting out the second 'return 0' in `isitcyber'.

/assar

--Multipart_Sat_May__3_20:21:50_1997-1
Content-Type: text/plain; charset=US-ASCII

/*
 * are we running on a cyber 9382?
 *
 * (presumably, we could be more liberal, i.e., accept
 * more boards.  however, since i don't know the impact
 * of trying this on random boards, i am into being
 * as conservative as possible.)
 */

int
isitcyber(void)
{
	if (g_etx(0x3c5, 0xb) != 0xd3) {
		fprintf(stderr,
			"does not appear to be a Trident 9660/80/9385/2\n");
		return 0;
	}
	if (g_etx(0x3c5, 0x9) != 0x33) {
		fprintf(stderr, "does not appear to be a 9382\n");
/*		return 0; Comment out this line */
	}
	return 1;		/* Yes! */
}

--Multipart_Sat_May__3_20:21:50_1997-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lsp04ju0x.fsf>