From owner-freebsd-current@FreeBSD.ORG Thu Jul 19 13:04:24 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2AAFD106566B for ; Thu, 19 Jul 2012 13:04:24 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id C7CE78FC17 for ; Thu, 19 Jul 2012 13:04:23 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q6JD4DaC027290 for ; Thu, 19 Jul 2012 07:04:15 -0600 From: Erich Dollansky To: freebsd-current@freebsd.org Date: Thu, 19 Jul 2012 20:06:35 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201207192006.35471.erichfreebsdlist@ovitrap.com> Subject: two scripts for X220 users 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: Thu, 19 Jul 2012 13:04:24 -0000 Hi, I would like to share two scripts I found useful running FreeBSD on an X220 with Intel KMS. Script to start X: http://www.alogreentechnologies.com/freebsd/XonX220 starts X after it loaded i915kms and acpi_call. The machine must have /usr/ports/sysutils/acpi_call installed. This script was inspired by http://wiki.freebsd.org/Intel_GPU Script to set LCD brightness: http://www.alogreentechnologies.com/freebsd/setbrightness sets the brightness of the LCD. As I only have one X220 with an Intel CPU, the scripts have not been tested on any other machine. Feel free to use them and comment on them. Erich