From: Luis Henriques <henrix@sapo.pt>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Problem with ACPI video
Date: Thu, 04 Sep 2008 20:44:07 +0100 [thread overview]
Message-ID: <48C03A87.5050109@sapo.pt> (raw)
In-Reply-To: <1220491149.24775.229.camel@rzhang-dt>
Zhang Rui wrote:
>> It seems that acpi_video_bus_add function is invoked twice and, the
>> second time, it fails (maybe it is supposed to be invoked twice...).
>>
> There are two ACPI video bus devices both named "VGA" in the ACPI
> namespace, and each of them tries to create an entry "VGA"
> under /proc/acpi/video/.
> that's why this message is printed out.
Sorry about my ignorance on the topic but... does this mean I do
actually have 2 devices? If this is true, then I should actually have
"VGA1" and "VGA2" dirs in /proc, right?
>> Please let me know whether you need any additional information to help
>> me solving this problem.
> There is a patch from Matthew that should solve this problem, which has
> already hit the acpi test tree.
> it would be great if you can get the source code and give it a try. :)
>
> how to get the source code:
>> git-clone git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6 acpi_test
>> git-branch -r
>> git-branch --track test origin/test
>> git-checkout test
Ok, tried this (or similar...) and it seems to be working just fine.
Or, at least, no more error message from kernel. Also, in
/proc/acpi/video only one directory 'VGA' is being created. Here's the
relevante dmesg part:
[ 14.657009] ACPI: AC Adapter [ACAD] (on-line)
[ 14.661005] acpi device:04: registered as cooling_device2
[ 14.664019] input: Video Bus as /class/input/input4
[ 14.716892] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
Thanks!
--
Luis
next prev parent reply other threads:[~2008-09-04 19:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 21:45 Problem with ACPI video Luis Henriques
2008-09-04 1:19 ` Zhang Rui
2008-09-04 19:44 ` Luis Henriques [this message]
2008-09-05 1:02 ` Zhang Rui
2008-09-08 0:20 ` Thomas Renninger
2008-09-08 3:33 ` Henrique de Moraes Holschuh
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=48C03A87.5050109@sapo.pt \
--to=henrix@sapo.pt \
--cc=linux-acpi@vger.kernel.org \
--cc=rui.zhang@intel.com \
/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