From owner-freebsd-current@FreeBSD.ORG Wed Sep 28 19:25:13 2011 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 34C30106566B for ; Wed, 28 Sep 2011 19:25:13 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E40E88FC16 for ; Wed, 28 Sep 2011 19:25:12 +0000 (UTC) Received: by vcbf13 with SMTP id f13so6890359vcb.13 for ; Wed, 28 Sep 2011 12:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qo4Yd4BYmlco6vjgYe45b4Dn02z9H1W0aEfha8Bt8eo=; b=jn5qQqMzqBfvB8TukB7+T1BS0GU2f3S0GxLtopcGLkMkEqFMJoFkYRY8bQYSf7/hHK 7oHfkJ1QdjM+1jy7DpLsXrMoPLNbhDXAKHMIZvLGG8s/WraVEvcJ4ll3joqe8WhnjBhn SOvqbI1MrjNBRslOsTkjvvlEGHYT/d4GXStN8= Received: by 10.68.14.129 with SMTP id p1mr39211976pbc.35.1317237911736; Wed, 28 Sep 2011 12:25:11 -0700 (PDT) Received: from sidhe.local (adsl-67-118-230-86.dsl.pltn13.pacbell.net. [67.118.230.86]) by mx.google.com with ESMTPS id e3sm10530012pbi.7.2011.09.28.12.25.09 (version=SSLv3 cipher=OTHER); Wed, 28 Sep 2011 12:25:10 -0700 (PDT) Message-ID: <4E8374A7.90105@gmail.com> Date: Wed, 28 Sep 2011 12:25:27 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110921 Thunderbird/6.0.2 MIME-Version: 1.0 To: Garrett Cooper References: <4E836C06.9070405@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: x220 notes 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, 28 Sep 2011 19:25:13 -0000 On 09/28/11 11:52, Garrett Cooper wrote: > On Wed, Sep 28, 2011 at 11:48 AM, Matt wrote: >> I just picked up an X220 and have been trying to get FreeBSD running well. >> >> Some tips >> ichsmb >> acpi_video (attaches but doesn't work) >> aesni >> coretemp >> >> powerd is a must, these processors seem to be designed to run very hot >> unless throttled. Somehow my C3 state disappears when on AC, I think that's >> a bios setting? >> >> acpi_ibm needs "LEN0068" added to the list of ibm ids at the beginning of >> /usr/src/sys/dev/acpi_support/acpi_ibm.c...I'd write a patch but that >> machine is in a world of ports hurt right now :). >> With this many of the sysctls and leds work, still no brightness (w or wout >> intel DRI from Konstantin...thanks Konstantin!!) >> >> sleep/resume work, but screen is off after resume and cannot be awakened >> (even w/ dpms and or acpi_video). > This is probably another driver bug. Try kldunloading and kldloading > your wlan driver to see if that works, and/or start stripping your > kernel of unnecessary options until you find the magic formula for > what works, and just apply that to rc.suspend // rc.resume and file a > PR for the driver bug if there isn't one already. > HTH, > -Garrett > Driver bug in wireless can leave the screen off? I can for instance type reboot and reboot etc. I also noticed that acpi_video attaches, but nothing works. Looking at AML it appears that the correct "hooks" are present, but lcd0 shows as inactive and does not go to "1" in sysctl. ibm_acpi lcd_brightness hooks do not work either. debug.acpi.reset_video does VERY bad things, involving a reboot loop and flashing thinklight Is there anything else I can do to turn the damn thing back on? Any other logging or things to look at? I will try a minimal kernel shortly. Thanks, Matt