From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 17:26:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A64F1065673 for ; Wed, 18 Aug 2010 17:26:10 +0000 (UTC) (envelope-from antonio@antonioshome.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 373548FC16 for ; Wed, 18 Aug 2010 17:26:09 +0000 (UTC) Received: by ewy26 with SMTP id 26so651337ewy.13 for ; Wed, 18 Aug 2010 10:26:09 -0700 (PDT) Received: by 10.216.1.77 with SMTP id 55mr7256214wec.72.1282152369076; Wed, 18 Aug 2010 10:26:09 -0700 (PDT) Received: from antonio.localnet (79.pool85-49-200.dynamic.orange.es [85.49.200.79]) by mx.google.com with ESMTPS id n17sm364216weq.30.2010.08.18.10.26.07 (version=SSLv3 cipher=RC4-MD5); Wed, 18 Aug 2010 10:26:08 -0700 (PDT) Message-ID: <4C6C174B.5000900@antonioshome.net> Date: Wed, 18 Aug 2010 19:24:27 +0200 From: Antonio Vieiro User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Can't control laptop's lid... how to debug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2010 17:26:10 -0000 Hi all, I am unable to control my laptop's lid. Whenever I close the lid the system enters a weird state and I have to reboot. I've already added #Lid switch notify 0 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x00"; action "xset dpms force off"; }; notify 0 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x01"; action "xset dpms force on"; }; to my /etc/devd.conf This seemed to work the very first time, but then the system entered a weird state and I couldn't recover it, so I had to reboot. Is there any way to debug acpi events so that I can see what's going on without having to reboot? Thanks, Antonio