From owner-freebsd-questions@FreeBSD.ORG Sat Apr 12 16:32:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C4C337B401 for ; Sat, 12 Apr 2003 16:32:25 -0700 (PDT) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BCDA43F75 for ; Sat, 12 Apr 2003 16:32:24 -0700 (PDT) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 194UTv-0002Oe-00; Sat, 12 Apr 2003 16:32:23 -0700 Date: Sat, 12 Apr 2003 16:32:23 -0700 From: Nathan Kinkade To: "J. Seth Henry" Message-ID: <20030412233223.GJ280@sub21-156.member.dsl-only.net> Mail-Followup-To: Nathan Kinkade , "J. Seth Henry" , questions@freebsd.org References: <20030412151834.G16751-100000@whitetower.gambrl01.md.comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+Hr//EUsa8//ouuB" Content-Disposition: inline In-Reply-To: <20030412151834.G16751-100000@whitetower.gambrl01.md.comcast.net> User-Agent: Mutt/1.4i Sender: Nathan Kinkade cc: questions@freebsd.org Subject: Re: Screen saver weirdness X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nkinkade@fastmail.fm List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 23:32:25 -0000 --+Hr//EUsa8//ouuB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 12, 2003 at 05:21:33PM -0400, J. Seth Henry wrote: > Hello, > I am trying to modify the "blank" screensaver module to clear/set a bit in > a PCI control register to make the LCD on my Compaq IA-1 turn off/on - as > it doesn't respond to DPMS (green) signals. I took some working code I > already have, and plopped it into a copy of the blank_saver source: > I think I have correctly written the code, though I am still having > problems testing it. It does compile, and I can kldload the resulting > .ko (and nothing weird happens), but I seem to be having another > problem. The original screen saver still works, even after it is unloaded. > I'm not sure if my code is working, or if it is even being run at all. Have you looked at xset(1)? X will blank your screen after a given interval unless specifically told not to. You can turn the screen blanking off with the command `xset s off`. Take a look at the manpage for more info. If you want X screen blanking off by default then maybe you could add the above command to your .xinitrc file (or .xsession if you are using xdm). Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --+Hr//EUsa8//ouuB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+mKIHWZYS9EJQoEwRAgx5AKDC2Y2IZBCCyKlcJJ3WBNOz3GiBUwCfVCjH BMDY+5cNqMp4/z7dJd8PQ4Q= =cWj9 -----END PGP SIGNATURE----- --+Hr//EUsa8//ouuB--