NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-i386/38321
The following reply was made to PR port-i386/38321; it has been noted by GNATS.
From: Juan Romero Pardines <xtraeme%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-i386/38321
Date: Wed, 2 Dec 2009 06:57:03 +0100
2009/12/2 Jukka Ruohonen <jruohonen%iki.fi@localhost>:
> =C2=A0Only a wild guess, but can you try the following simple patch?
>
> =C2=A0Also: the URL for the DSDT is unreachable.
>
>
> =C2=A0Index: src/sys/dev/acpi/acpi_lid.c
> =C2=A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =C2=A0RCS file: /cvsroot/src/sys/dev/acpi/acpi_lid.c,v
> =C2=A0retrieving revision 1.29
> =C2=A0diff -u -p -r1.29 acpi_lid.c
> =C2=A0--- src/sys/dev/acpi/acpi_lid.c =C2=A0 =C2=A0 =C2=A0 =C2=A029 Nov 2=
009 21:32:50 -0000 =C2=A0 =C2=A0 =C2=A01.29
> =C2=A0+++ src/sys/dev/acpi/acpi_lid.c =C2=A0 =C2=A0 =C2=A0 =C2=A02 Dec 20=
09 03:41:52 -0000
> =C2=A0@@ -126,6 +126,8 @@ acpilid_attach(device_t parent, device_t
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0if (!pmf_device_register(self, acpilid_suspend=
, NULL))
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0aprint_error_dev(s=
elf, "couldn't establish power handler\n");
> =C2=A0+
> =C2=A0+ =C2=A0 =C2=A0 =C2=A0acpilid_wake_event(self, 1);
> =C2=A0}
>
> =C2=A0static int
Thanks for the patch but I don't have the hardware nor NetBSD on any of
my machines so I can't test.
Feel free to close the PR or whatever... CU.
Home |
Main Index |
Thread Index |
Old Index