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. BTW. I'm curious what you are trying to do. There is actually quite a bit of movement in this code right now. cheers, -Len On Thursday 06 September 2007 06:16, Alan Hourihane wrote: > I'm looking at the currently exported function calls to other kernel > modules to obtain ACPI data. > > For example, if I want to access _DOD for graphics, the pathname would > be something like... > > \\_SB_.PCI0.GFX0._DOD > > And I'm currently doing this... > > status = acpi_evaluate_object(NULL, PATHNAME, NULL, &buffer); > > where PATHNAME is the path above. > > But there's no guarantees that it's called PCI0, or even GFX0. > > What's the best way to search the namespace and get this data ?? > > Alan. > > - > 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 > - 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