Sending to bugs@ as well -- don't know what gnats@ is doing...
Okay, the ASUS AML for _BCL is a total bust. It might need a separate
driver. Out of curiosity, can you tell me if with this patch your system
boots and brightness works?
Index: acpivout.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpivout.c,v
retrieving revision 1.9
diff -u -p -r1.9 acpivout.c
--- acpivout.c 23 May 2011 11:58:03 -0000 1.9
+++ acpivout.c 24 May 2011 13:50:07 -0000
@@ -260,6 +260,8 @@ acpivout_set_brightness(struct acpivout_
void
acpivout_get_bcl(struct acpivout_softc *sc)
{
+#define ASUS_LAPTOP
+#ifndef ASUS_LAPTOP
int i, j, value;
struct aml_value res;
@@ -296,6 +298,15 @@ acpivout_get_bcl(struct acpivout_softc *
err:
aml_freevalue(&res);
+#else
+ int i;
+ sc->sc_bcl_len = 0x10;
+ sc->sc_bcl = malloc(sc->sc_bcl_len * sizeof(int), M_DEVBUF,
+ M_WAITOK | M_ZERO);
+ for (i = 0; i < sc->sc_bcl_len; i++) {
+ sc->sc_bcl[i] = i;
+ }
+#endif
}