From: "Tommy Ch." <tommy-c-hi6Y0CQ0nG0@public.gmane.org>
To: Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>,
acpi-devel
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: New insights about video module! Need help,please.
Date: Fri, 04 Mar 2005 14:42:23 +0100 [thread overview]
Message-ID: <422865BF.6090509@gmx.net> (raw)
In-Reply-To: <20050301183733.GF17731-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Bruno Ducrot wrote:
> There are _PS0, _PS3 and _PCS methods. I'm not sure if those methods are
> supported under linux-2.6.10 (or any other version of Linux, btw).
>
> I think you should try to call the \_SB_.PCI0.PCI1.VGA_._PS0 method
> somewhere.
>
> Add a line like this one:
> acpi_evaluate_object(NULL, "\\_SB_.PCI0.PCI1.VGA_._PS0", NULL, NULL);
>
> in function acpi_video_bus_add()
>
> Something like this:
>
> before:
> if (!device)
> return_VALUE(-EINVAL);
>
> video = kmalloc(sizeof(struct acpi_video_bus), GFP_KERNEL);
>
> after:
> if (!device)
> return_VALUE(-EINVAL);
>
> acpi_evaluate_object(NULL, "\\_SB_.PCI0.PCI1.VGA_._PS0", NULL, NULL);
> video = kmalloc(sizeof(struct acpi_video_bus), GFP_KERNEL);
>
> Of course, its ugly, but its only to test if _PS0 is supported or not by
> linux.
OK, it compiled cleanly. After loading the module dmesg said:
ACPI: Video Device [VGA] (multi-head: yes rom: yes post: no)
Nothing else I could observe. Should I do any other tests?
Bye
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-03-04 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-28 18:17 New insights about video module! Need help,please Tommy Ch.
[not found] ` <42236037.1010102-hi6Y0CQ0nG0@public.gmane.org>
2005-03-01 18:37 ` Bruno Ducrot
[not found] ` <20050301183733.GF17731-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-03-04 13:42 ` Tommy Ch. [this message]
[not found] ` <422865BF.6090509-hi6Y0CQ0nG0@public.gmane.org>
2005-03-07 17:50 ` Bruno Ducrot
2005-03-01 20:37 ` Sergio Monteiro Basto
2005-03-01 22:10 ` Tommy Ch.
[not found] ` <4224E85B.1040802-hi6Y0CQ0nG0@public.gmane.org>
2005-03-03 0:30 ` Sergio Monteiro Basto
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=422865BF.6090509@gmx.net \
--to=tommy-c-hi6y0cq0ng0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@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.