From: Jonathan Steinert <hachi-rIxVFxJalAJeoWH0uzbU5w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: lcd backlight
Date: Sat, 12 Jul 2003 23:11:09 -0500 [thread overview]
Message-ID: <3F10DBDD.20607@kuiki.net> (raw)
In-Reply-To: <m365m7jjkk.fsf-eUECQUGGJJCHAtaq1fIXeWD2FQJk+8+b@public.gmane.org>
I'm in a jam, I've got an Nvidia Geforce 4 440 Go, and /every/ time I
see a backlight control it is for a radeon. Does anyone have one for
nvidia chipsets? or does anyone have hints on how to build one? I'm not
much of a C programmer, but I might be able to fiddle my way though it.
Now, the reasoning why I posted this to the ACPI list? Because when I
enable ACPI (with a patched DSDT) on my Dell Inspiron 8200, and create
any events (S1, close lid, etc.) the display is off (both the LCD and
the backlight turn off) until I reboot. If you have any hints on how to
fix this instead, that would be much appreciated.
Thanks much,
Jonathan Steinert
James H. Cloos Jr. wrote:
>A bios setting causes a regular screen blank, but w/ acpi the lcd's
>backlight is left on.
>
>The following function (based on 's radeontools) controls the
>backlight perfectly:
>
>void radeon_cmd_light(int param)
>{
> unsigned long dac_cntl;
>
> dac_cntl = radeon_get(RADEON_LVDS_GEN_CNTL,"RADEON_LVDS_GEN_CNTL");
> if(param != 0) {
> dac_cntl |= RADEON_LVDS_ON;
> } else {
> dac_cntl &= ~ RADEON_LVDS_ON;
> }
> radeon_set(RADEON_LVDS_GEN_CNTL,"RADEON_LVDS_GEN_CNTL",dac_cntl);
>}
>
>
>What needs to be done, given this info on how to control the
>backlight and the bios's dsdt, to convince the kernel to toggle
>the backlight when the screen blanks?
>
>-JimC
>
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by: Parasoft
>Error proof Web apps, automate testing & more.
>Download & eval WebKing and get a free book.
>www.parasoft.com/bulletproofapps1
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
>
>
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
prev parent reply other threads:[~2003-07-13 4:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-13 1:34 lcd backlight James H. Cloos Jr.
[not found] ` <m365m7jjkk.fsf-eUECQUGGJJCHAtaq1fIXeWD2FQJk+8+b@public.gmane.org>
2003-07-13 4:11 ` Jonathan Steinert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F10DBDD.20607@kuiki.net \
--to=hachi-rixvfxjalajeowh0uzbu5w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.