Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2003 11:31:55 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Adam Lofstedt <adaml@visimation.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Tell X to ignore onboard video card?
Message-ID:  <20030321010155.GB28061@wantadilla.lemis.com>
In-Reply-To: <008a01c2eeb4$da3d4e50$6501a8c0@5adam5>
References:  <008a01c2eeb4$da3d4e50$6501a8c0@5adam5>

next in thread | previous in thread | raw e-mail | index | archive | help

--DBIVS5p969aUjpLe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wednesday, 19 March 2003 at 23:46:43 -0800, Adam Lofstedt wrote:
> I have an onboard video chip that doesn't work with XFree86, so I got
> another cheap Cirrus Logic PCI video card that I know works with X.
> When I did XFree86 -configure, it generated device sections for both
> graphics chips.  I removed the incompatible one from the config file,
> but when I try to startx, it complains that there isn't a device section
> for the onboard video chip.

I'd guess you haven't removed everything you need to remove.  At the
top you'll have something like:

# $Id: XF86Config,v 1.9 2002/12/21 01:36:35 grog Exp $
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

You obviously have to remove the corresponding Screen line.  Then
remove the corresponding Screen section.  Assuming it's Screen 0,
you'll find:

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "left"
	DefaultDepth	24
(etc).

Remove that, the Device section identified with Card0 and the Monitor
section identified with "left".

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

--DBIVS5p969aUjpLe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+emSCIubykFB6QiMRAjNxAJ49Tth0Pf6/UlHtMVAIM1OWmrNOSgCggFjQ
aDEozAz0VrwWuRNP1XGGGLM=
=wldv
-----END PGP SIGNATURE-----

--DBIVS5p969aUjpLe--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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