public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
To: Nils Faerber <nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: acpi4asus CVS updated
Date: Thu, 17 Jul 2003 18:55:20 +0200	[thread overview]
Message-ID: <20030717165520.GA296@hell.org.pl> (raw)
In-Reply-To: <1058436553.7682.39.camel-65LrUGLyukAb1SvskN2V4Q@public.gmane.org>

Thus wrote Nils Faerber:
> Hiw is disp coded, i.e. which value activates/deactivates which "head"?
> I suspect that it is binary and that bit-0 is the LCD, correct?
> What are the others?
> Which is the highest bit?

This in covered both in the README, and in the comments. Anyway, bit 0 is
LCD, 1 is CRT and 2 is TV-Out (the latter two may be swapped, I can't
remember that now, please consult either the README or the sources).

> I ask because it should be quite easy to fix the hotkey problem by
> simply adding a acpid script for it, simply counting up and flipping
> back to bit-0. The hotkey event seems to be ATKD 00000061.

Just pass the notification value NAND 0x60. The hotkey event is the desired
value OR'ed 0x60, FYI. The AML code does the necessary switching and
display detection, thus it only works when the other displays are actually
connected.

> Does not apply to the version in last ACPI patch (030619); but doesn't
> matter since one can use the complete source from sf.net anyway.

Just copying the asus_core.c onto asus_acpi.c should be enough. The patch
comes from cvs rdiff, and I didn't have time to test it. BTW: the M3N
prefix should really have the dot at the end, as Julien noted. The updated
patch on my site reflects this.

> Many many thanks to you and the others to make this working!

Actually, if you refer to the display switching, it has been working and
has been present in the code for at least a month or so. At least for L3C
and the like, for others, there are some problems that Julien tried to deal
with, unsuccessfully so far.
Best regards,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

      parent reply	other threads:[~2003-07-17 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16 21:09 acpi4asus CVS updated Karol Kozimor
     [not found] ` <20030716210914.GB17981-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-07-17 10:09   ` Nils Faerber
     [not found]     ` <1058436553.7682.39.camel-65LrUGLyukAb1SvskN2V4Q@public.gmane.org>
2003-07-17 16:55       ` Karol Kozimor [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=20030717165520.GA296@hell.org.pl \
    --to=sziwan-detuoxkzssqrdjvtcaxf/a@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox