Re: Problem with ACPI video

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-09-05 at 03:44 +0800, Luis Henriques wrote:
> 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?
No, because the video driver tries to register two "VGA" procfs entry,
we get two "VGA" dirs in /proc...

> >> 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)
> 
that's great.
thanks for testing, we'll try to push these patches upstream.

thanks,
rui

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux