From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 1 10:45:56 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3D7616A41F for ; Tue, 1 Nov 2005 10:45:55 +0000 (GMT) (envelope-from kaspar.schleiser@gmx.de) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1B6ED43D46 for ; Tue, 1 Nov 2005 10:45:54 +0000 (GMT) (envelope-from kaspar.schleiser@gmx.de) Received: (qmail invoked by alias); 01 Nov 2005 10:45:53 -0000 Received: from e178093171.adsl.alicedsl.de (EHLO [192.168.1.10]) [85.178.93.171] by mail.gmx.net (mp034) with SMTP; 01 Nov 2005 11:45:53 +0100 X-Authenticated: #24978394 Message-ID: <4367475F.7070702@gmx.de> Date: Tue, 01 Nov 2005 11:45:51 +0100 From: Kaspar Schleiser User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fabian Keil References: <20051030230423.2C9325D04@ptavv.es.net> <200510311429.07362.kaspar.schleiser@gmx.de> <20051101111828.653e9d6b@localhost> In-Reply-To: <20051101111828.653e9d6b@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad X31 ACPI Problems X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 10:45:56 -0000 Fabian Keil wrote: >>>>radeontool light off >>>>radeontool light on >>>> >>>> >>The tool works on the command line, but rc.suspend and rc.resume >>don't get executed when I close the lid, only acpiconf -s 3 executes >>them. Is there any way to have them executed on lid-close? >> >> > >Did you set hw.acpi.lid_switch_state? > Yes that was set, so devd didn't catch the lid events. I had to unset lid_switch_state and add events for the lid to devd.conf... But there are more problems: 1. X crashed on resume. Only disabling dri fixes that, 2. When X is running, the backlight doesn't turn off... Isn't there a way to collect all these machine-specific tweaks in a package? I'd love to prepare eg. a port so every other X31-owner can just du "cd tweaks/x31; make install" and everything just works... Thanks! Kaspar