From owner-freebsd-current@FreeBSD.ORG Thu Jul 19 16:30:22 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E76F106564A for ; Thu, 19 Jul 2012 16:30:22 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id A61DB8FC12 for ; Thu, 19 Jul 2012 16:30:21 +0000 (UTC) Received: by wibhq12 with SMTP id hq12so5264185wib.1 for ; Thu, 19 Jul 2012 09:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yeVUgftgYSiyUGuyt9q3+/rOYNvu51BPPftysy2cM0A=; b=wvI5Qiq7H+B1zugy3Utgbv6GACsyJTQksOY3Dd1xuiQoqSnt67at2FVEMzdP73Ny32 VH6vpnFAbkVXq9tlAGPrT9tAITsRziNJdLuC65tgyBt6AnJ4FU8cFqnj98r1WACR4dSk aVXkryyDO0ohUSZmBq8eqwoVUhGCuhMkAPZvNHi/5mE2VH5DGb7kpvRA/smkdcLUn8fM 4SLM2O2QkYAJq3ZZsdpkpc1OClSaZg1gfF8ldIn7suTI4GyXQxmX4i8YzluyAXO3OT8G PGperTWUjCHSlkuY+2Kkrc7rZpmk9po9s0jN6jWBvmqF9P/eAV3yIkQqN4A8gqsG0+II maGg== MIME-Version: 1.0 Received: by 10.180.82.164 with SMTP id j4mr6219596wiy.18.1342715420598; Thu, 19 Jul 2012 09:30:20 -0700 (PDT) Received: by 10.223.60.147 with HTTP; Thu, 19 Jul 2012 09:30:20 -0700 (PDT) In-Reply-To: <201207192006.35471.erichfreebsdlist@ovitrap.com> References: <201207192006.35471.erichfreebsdlist@ovitrap.com> Date: Thu, 19 Jul 2012 09:30:20 -0700 Message-ID: From: Kevin Oberman To: Erich Dollansky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current@freebsd.org Subject: Re: 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 16:30:22 -0000 On Thu, Jul 19, 2012 at 6:06 AM, Erich Dollansky wrote: > 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. Thanks for posting these, especially the second for brightness. I am curious about the reason you load i915kms before starting X, though. I have not had to do this for some time. All of the code has been added to load this module on Xorg start-up and it has always worked for me. Admittedly, I am on a T520, not an X220, but everything else that has been suggested for the X220 has worked fine on the T520. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com