Date: Wed, 18 Aug 2010 20:09:38 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Antonio Vieiro <antonio@antonioshome.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Can't control laptop's lid... how to debug? Message-ID: <20100818180938.GA35935@slackbox.erewhon.net> In-Reply-To: <4C6C174B.5000900@antonioshome.net> References: <4C6C174B.5000900@antonioshome.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2010 at 07:24:27PM +0200, Antonio Vieiro wrote: > Hi all, >=20 > I am unable to control my laptop's lid. Whenever I close the lid the=20 > system enters a weird state and I have to reboot. Are you sure you need to? My laptop automatically switches of the screen wh= en the lid is closed. > I've already added >=20 > #Lid switch > notify 0 { > match "system" "ACPI"; > match "subsystem" "Lid"; > match "notify" "0x00"; > action "xset dpms force off"; > }; >=20 > notify 0 { > match "system" "ACPI"; > match "subsystem" "Lid"; > match "notify" "0x01"; > action "xset dpms force on"; > }; >=20 >=20 > to my /etc/devd.conf >=20 > This seemed to work the very first time, but then the system entered a=20 > weird state and I couldn't recover it, so I had to reboot. >=20 > Is there any way to debug acpi events so that I can see what's going on= =20 > without having to reboot? Set the 'debug.acpi.resume_beep' sysctl(8) to 1 to make the speaker beep on resume. That can help you debug problems. Setting 'hw.acpi.verbose' might a= lso help.=20 Some systems need the sysctl 'hw.acpi.reset_video' set to 1 to get it to resume properly. See acpi(4). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxsIeIACgkQEnfvsMMhpyWQfACgkwK8nSH4kN7s3sB/i5Dvo2+h luoAn3/pJPV4T8gNEXOp6nl3hsd8X23l =MSRX -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100818180938.GA35935>