From owner-freebsd-questions@FreeBSD.ORG Mon Aug 16 14:26:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7747110656AE for ; Mon, 16 Aug 2010 14:26:33 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 416F58FC1D for ; Mon, 16 Aug 2010 14:26:32 +0000 (UTC) Received: by ywk9 with SMTP id 9so2361797ywk.13 for ; Mon, 16 Aug 2010 07:26:32 -0700 (PDT) Received: by 10.151.103.4 with SMTP id f4mr199750ybm.370.1281968792168; Mon, 16 Aug 2010 07:26:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.9 with HTTP; Mon, 16 Aug 2010 07:26:08 -0700 (PDT) From: Eitan Adler Date: Mon, 16 Aug 2010 10:26:08 -0400 Message-ID: To: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 Subject: enabling the "fn-f7" switch monitor functionality 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: Mon, 16 Aug 2010 14:26:33 -0000 I have a key which is meant to switch between the built in and an external monitor. This key is activated by fn-f7. xev does not report any activity when it is pressed. How get I run a script when it is pressed? I think this key is supposed to report some sort of ACPI event. % uname -rms FreeBSD 8.1-RELEASE i386 Laptop model is Lenovo G530. -- Eitan Adler