From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 22:57:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FE7E16A402 for ; Tue, 6 Mar 2007 22:57:33 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id B644713C47E for ; Tue, 6 Mar 2007 22:57:32 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so2136282muf for ; Tue, 06 Mar 2007 14:57:31 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jxxzUZ+ALkRrCXFNb6L8rzi8J5OkZlS7noR2J2xXRRUh+rhacNVbV2QPh0QCLrVkEkQke8pMfLGe8+e8f5LPW2kPQHB9kWflv3v//5xTNXmRWm+m+95sPw32tI53pXHGmwa/xlzuw8JiXZhBZpZq8M6VaXqlmguB1bHLEAujK5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kU6d37LEPxrotHM6PeZT2Rj28nf09ZISxo2sZ/n74Mjp4qcCQk1f5DttOIywyySbkXItrtlz7VnsdhshDIRNqfoe5CJlP/at2oemEj55DUcB0E1yhkLHH6MR6xqXRhn4OoUBXVGf1F/C/+ABXvo5/Ha0QrQIQpmH4Ewwlwy6VuU= Received: by 10.82.148.7 with SMTP id v7mr7952192bud.1173221851421; Tue, 06 Mar 2007 14:57:31 -0800 (PST) Received: by 10.82.139.19 with HTTP; Tue, 6 Mar 2007 14:57:31 -0800 (PST) Message-ID: <2942dae0703061457ycb0900difb0818183e56d240@mail.gmail.com> Date: Tue, 6 Mar 2007 17:57:31 -0500 From: frzburn To: "Norberto Meijome" In-Reply-To: <20070307005022.4a09c30f@localhost> MIME-Version: 1.0 References: <2942dae0703051328l6e0a26b4v4a41a2812b18dc9e@mail.gmail.com> <20070307005022.4a09c30f@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Laptop lid switch and ACPI 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: Tue, 06 Mar 2007 22:57:33 -0000 Well, I thought about it, and you're right... What I really need is to be able to do something upon an acpi event, like running a script when I close my lid... But I didn't find these info anywhere =( Please help me! =) acpi is working, it has control on my fan and monitors my CPU temperature. I tried devd -dD, and it reacts when I close my lid, but I don't know how to use this output... Thanks! frzburn On 3/6/07, Norberto Meijome wrote: > > On Mon, 5 Mar 2007 16:28:06 -0500 > frzburn wrote: > > > I need a hint on how to get my screen turn off (backlight too) on my > Dell > > Laptop. > > I have an Inspiron 6400 (e1505), and FreeBSD 6 - amd64. > > Hi there, > I am not sure how to switch off the screen on the dell (independent of > ACPI)... in all laptops I've seen, it's fully controlled by the hardware > (bios?). > Have you got acpi working ? > > If you *do* have ACPI working, and you want to see whether it is firing > acpi at > all when you close the lid, you can restart devd in debugging mode: > > /etc/rc.d/devd stop > devd -dD > > and then try your ACPI events. > > Also, you should be able to tell your ACPI module to let you handle the > events > manually. For example, with the acpi_ibm.ko, the knob > > dev.acpi_ibm.0.events = 1 > > tells acpi to pass all acpi messages to devd for handling. Search the logs > (in > mobile@ , i believe) - i've posted my config for some sample actions on > different ACPI events. > > BTW, you may be able to switch off the display using a user mode > application > that is related to your video card. For example, if you have a Radeon > card, the > radeontool allows you to switch off the panel and external monitor outputs > (although the ext monitor gets switched on when you switch to X's VT) > > HIH, > Beto > _________________________ > {Beto|Norberto|Numard} Meijome > > "Against logic there is no armor like ignorance." > Laurence J. Peter > > I speak for myself, not my employer. Contents may be hot. Slippery when > wet. > Reading disclaimers makes you go blind. Writing them is worse. You have > been > Warned. >