From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 8 08:12:28 2006 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7B1716A4E5; Tue, 8 Aug 2006 08:12:28 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B4143D49; Tue, 8 Aug 2006 08:12:27 +0000 (GMT) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GAMhO-0000hF-K3; Tue, 08 Aug 2006 12:12:26 +0400 From: Vladimir Grebenschikov To: current Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Tue, 08 Aug 2006 12:12:25 +0400 Message-Id: <1155024745.2601.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: acpi@freebsd.org Subject: ACPI power source detection X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 08:12:28 -0000 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 ? -- Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com