Skip site navigation (1)Skip section navigation (2)
Date:      22 Dec 2002 10:15:50 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        "J. Seth Henry" <jshenry@comcast.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: blank saver question
Message-ID:  <44fzsq9ja1.fsf@be-well.ilk.org>
In-Reply-To: <20021220135235.K57534-100000@whitetower.gambrl01.md.comcast.net>
References:  <20021220135235.K57534-100000@whitetower.gambrl01.md.comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"J. Seth Henry" <jshenry@comcast.net> writes:

> 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.

Offhand, that looks like a good approach.
Try it and see; if you have problems, just change things back.

> If it is, this would be a good place to initialize all of the front panel
> LED's as well :)


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?44fzsq9ja1.fsf>