From owner-freebsd-current@FreeBSD.ORG Wed Aug 9 19:29:24 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9B6D16A4DD; Wed, 9 Aug 2006 19:29:24 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 134B843D46; Wed, 9 Aug 2006 19:29:23 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k79JTLcp005313; Wed, 9 Aug 2006 23:29:22 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Wed, 9 Aug 2006 23:29:21 +0400 (MSD) From: Maxim Konovalov To: Vladimir Grebenschikov In-Reply-To: <1155024745.2601.2.camel@localhost> Message-ID: <20060809232722.C4889@mp2.macomnet.net> References: <1155024745.2601.2.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: acpi@freebsd.org, current Subject: Re: ACPI power source detection 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: Wed, 09 Aug 2006 19:29:24 -0000 On Tue, 8 Aug 2006, 12:12+0400, Vladimir Grebenschikov wrote: > Hi > > Something broken with ACPI power profiles on recent (yesterday) > 7-CURRENT > > Below configuration, that always works fine for me, now lead to instant > screen brightness blinking while activity. > > # cat /etc/devd/acpi_power.conf > notify 20 { > match "system" "ACPI"; > match "subsystem" "ACAD"; > action "/usr/local/etc/acpi_power $notify"; > action "/etc/rc.d/power_profile $notify"; > }; > > # cat /usr/local/etc/acpi_power > #!/bin/sh > > case "$1" in > 0x01) > sysctl dev.acpi_sony.0.brightness=8 > ;; > 0x00) > sysctl dev.acpi_sony.0.brightness=2 > ;; > esac > > Any hints about this case ? IIRC you have the same notebook I do (sony pcg505bx). The config above works fine for me on week old -current. Will try fresh -current in a couple of days. -- Maxim Konovalov