hi, alas Fn+{F5,F6} does not work and so the brightness can't change. the following is an humble patch against -current that makes Fn+{F5,F6} playing
Index: acpiasus.c =================================================================== RCS file: /cvs/src/sys/dev/acpi/acpiasus.c,v retrieving revision 1.12 diff -u -p -u -r1.12 acpiasus.c --- acpiasus.c 6 Jun 2011 06:13:46 -0000 1.12 +++ acpiasus.c 14 Jul 2012 16:00:45 -0000 @@ -88,6 +88,7 @@ void acpiasus_attach(struct device *, st void acpiasus_init(struct device *); int acpiasus_notify(struct aml_node *, int, void *); int acpiasus_activate(struct device *, int); +void brightness(int, struct acpiasus_softc *); #if NAUDIO > 0 && NWSKBD > 0 extern int wskbd_set_mixervolume(long dir, int out); @@ -151,9 +152,12 @@ int acpiasus_notify(struct aml_node *node, int notify, void *arg) { struct acpiasus_softc *sc = arg; + int val; if (notify >= ASUS_NOTIFY_BRIGHTNESSLOW && notify <= ASUS_NOTIFY_BRIGHTNESSHIGH) { + val = notify - 0x20; + brightness(val, sc); #ifdef ACPIASUS_DEBUG printf("%s: brightness %d percent\n", DEVNAME(sc), (notify & 0xf) * 100 / 0xf); @@ -237,4 +241,16 @@ acpiasus_activate(struct device *self, i break; } return (0); +} + +void brightness(int val, struct acpiasus_softc *sc) +{ + struct aml_value cmd; + + bzero(&cmd, sizeof(cmd)); + cmd.v_integer = val; + cmd.type = AML_OBJTYPE_INTEGER; + + if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "PBLS", 1, &cmd, NULL)) + printf("%s: no PBLS\n", DEVNAME(sc)); } 2012/7/11 giovanni <qgiova...@gmail.com>: > hi misc, > > anybody out there w/ an asus eepc 1000H model running openbsd? > I've found this netbook in a recycle hw store and I would be interested > in using it for some needs. > > thanks > > -- > see ya, > giovanni -- cya, giovanni