On Thu, 2007-09-06 at 07:43 -0400, Len Brown wrote:
> Hi Alan,
> 
> Yes, pathnames are arbitrary, don't use them.
> 
> Look in drivers/acpi/video.c for acpi_video_bus_check()
> As the video device has no HID, this routine is basically
> used to check all the drivers in the tree if they have _DOD
> and the other stuff a video device should have.

Mmm. It seems acpi_video_bus_check() is static and therefore not
available outside of video.c

> BTW. I'm curious what you are trying to do.
> There is actually quite a bit of movement in this code right now.

Think about fbdev drivers (or some video driver).... Rather than
bang on the hardware to try and do auto-detection of devices, it's much
easier (and sometimes required) to just ask the system BIOS via ACPI to
see what devices are available.

I want to parse _DOD myself to see what's available in kernel space.

What else can I use ?

Alan.

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

Reply via email to