On Wed, Jan 29, 2014 at 02:59:10PM +0200, Paul Irofti wrote:
> It seems to me that the activate function was registered as a detach
> function. This diff puts the activate function in the proper cfattach
> position.
Erm, I forgot to state the obvious. People with asus, please test and
report back on both success and failure.
>
>
> Index: dev/acpi/acpiasus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpiasus.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 acpiasus.c
> --- dev/acpi/acpiasus.c 6 Dec 2013 21:03:02 -0000 1.15
> +++ dev/acpi/acpiasus.c 29 Jan 2014 12:57:26 -0000
> @@ -88,7 +88,7 @@ extern int wskbd_set_mixervolume(long, l
>
> struct cfattach acpiasus_ca = {
> sizeof(struct acpiasus_softc), acpiasus_match, acpiasus_attach,
> - acpiasus_activate
> + NULL, acpiasus_activate
> };
>
> struct cfdriver acpiasus_cd = {
>