From owner-freebsd-questions Fri Dec 20 10:58:20 2002 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 859D137B401 for ; Fri, 20 Dec 2002 10:58:19 -0800 (PST) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C81B43EDC for ; Fri, 20 Dec 2002 10:58:19 -0800 (PST) (envelope-from jshenry@comcast.net) Received: from whitetower (bgp01561290bgs.gambrl01.md.comcast.net [68.50.33.221]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with ESMTP id <0H7F00MOMM1214@mtaout02.icomcast.net> for freebsd-questions@freebsd.org; Fri, 20 Dec 2002 13:58:14 -0500 (EST) Date: Fri, 20 Dec 2002 13:58:14 -0500 (EST) From: "J. Seth Henry" Subject: blank saver question X-X-Sender: jshenry@whitetower.gambrl01.md.comcast.net To: freebsd-questions@freebsd.org Message-id: <20021220135235.K57534-100000@whitetower.gambrl01.md.comcast.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I am working on adapting FreeBSD to a Compaq IA-1. The display on this system is not DPMS compliant, so shutting off the backlight requires writing to a PCI register. I currently have a small C program which I can use to manipulate this register from the command line, and I would like to either integrate, or call, this code from the blanksaver module. Unfortunately, I don't know enough about how it works to change it. Could someone give me some tips on how to do this? Is it as simple as simply adding the code to the blank_saver() function, and adding the appropriate header and include files? I'm a bit nervous mucking in modules, as I understand they can cause "problems" that are hard to recover from. If it is, this would be a good place to initialize all of the front panel LED's as well :) Thanks, Seth Henry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message