From owner-freebsd-current@FreeBSD.ORG Thu Dec 21 12:05:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7686616A403; Thu, 21 Dec 2006 12:05:44 +0000 (UTC) (envelope-from Danovitsch@vitsch.net) Received: from amsfep20-int.chello.nl (amsfep20-int.chello.nl [62.179.120.15]) by mx1.freebsd.org (Postfix) with ESMTP id 8A2BB13C45D; Thu, 21 Dec 2006 12:05:43 +0000 (UTC) (envelope-from Danovitsch@vitsch.net) Received: from Tuinhuisje.Vitsch.net ([62.195.87.223]) by amsfep11-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20061221091142.KRGQ23162.amsfep11-int.chello.nl@Tuinhuisje.Vitsch.net>; Thu, 21 Dec 2006 10:11:42 +0100 Received: from self (f187184.upc-f.chello.nl [80.56.187.184]) (authenticated bits=0) by Tuinhuisje.Vitsch.net (8.13.1/8.13.1) with ESMTP id kBL9BbhT008301; Thu, 21 Dec 2006 10:11:38 +0100 (CET) (envelope-from Danovitsch@vitsch.net) From: "Daan Vreeken [PA4DAN]" Organization: Vitsch Electronics To: "Andrew Pantyukhin" Date: Thu, 21 Dec 2006 10:11:39 +0100 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612211011.40063.Danovitsch@vitsch.net> Cc: freebsd-current@freebsd.org Subject: Re: Laptop display stays on with lid closed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2006 12:05:44 -0000 Hi Andrew, On Wednesday 20 December 2006 21:01, Andrew Pantyukhin wrote: > On 12/20/06, Andrew Pantyukhin wrote: > > I only noticed this now, thought it is a hardware > > glitch. My laptop display - and its backlight - > > stay on when I close the lid. Shouldn't it be > > turned off like in an OS-independent way?.. > > To answer my own question, I ended up using a cool > app named radeontool (sysutils/). Clearly, I'm > lucky to have a Radeon in my laptop. Now I just > have to figure out how to call a script on lid > open/close event. Have a look at /etc/devd.conf . You should be able to add an event to it with system="ACPI" and subsystem="Lid". -- Daan