From owner-freebsd-acpi@FreeBSD.ORG Wed May 30 01:18:48 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E93461065672 for ; Wed, 30 May 2012 01:18:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 656CD8FC08 for ; Wed, 30 May 2012 01:18:47 +0000 (UTC) Received: by werg1 with SMTP id g1so3914991wer.13 for ; Tue, 29 May 2012 18:18:46 -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:content-transfer-encoding; bh=9d1mF5obHmxIO7odrb2Ps1JOm6oNZceR7ffoB09Tn9o=; b=JVipTClvesADT9ZoFiyKoWVA5XaPVpXnVPQlzneEDONUjqyxNKlzI4s9jNZ5jGORQX DU3WcqAkFz21Gc4ChA3uSkpE2sTb7gPw9QMIESiNBY/wjzYF+nqKmeBT+pWDR0QUEQz3 1GWADU4UNivXGs0tio4EWRFWwDOb2sk5H6+nVd9eedvkLpQZLp27xzmg1g1SFAk98Igc hFzG/OIKEA+6AZep+z7TUQHWiVa/e6X+AQOIL8mpA7vkwGEAsjKk758HE1fCp8lZlkkw qM+RRtv1l8eFH1EzI6VzdErQG9qQiNxp8Do3vEHsDBbak+K4j+mFC22EaaUJ5Jgj7UB+ AKfQ== MIME-Version: 1.0 Received: by 10.216.206.164 with SMTP id l36mr9024907weo.154.1338340726260; Tue, 29 May 2012 18:18:46 -0700 (PDT) Received: by 10.223.155.4 with HTTP; Tue, 29 May 2012 18:18:46 -0700 (PDT) In-Reply-To: <20120529093812.GH97037@sigil.instinctive.eu> References: <20120523151357.GC97037@sigil.instinctive.eu> <20120529093812.GH97037@sigil.instinctive.eu> Date: Tue, 29 May 2012 18:18:46 -0700 Message-ID: From: Kevin Oberman To: =?ISO-8859-1?Q?Natacha_Port=E9?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-acpi@freebsd.org Subject: Re: How can I help with thinkpad x220 issues? 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: Wed, 30 May 2012 01:18:48 -0000 On Tue, May 29, 2012 at 2:38 AM, Natacha Port=C3=A9 = wrote: > Hello, > > on Wednesday 23 May 2012 at 10:05, =D0=9B=D1=8E=D0=B1=D0=BE=D0=BC=D0=B8= =D1=80 =D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=BE=D0=B2 wrote: >> Well, brightness works with the command line, sooo.... I think it has to= be >> mapped to the hardware keys. There is a long thread where I discussed th= is >> with a couple other members (toward the bottom for the recent brightness >> discussion). >> http://comments.gmane.org/gmane.os.freebsd.current/135827 > > Thanks a lot for pointing this discussion, I found there information > more up-to-date than what I previously found. > > In particular, according to what I understand from > http://marc.info/?l=3Dfreebsd-current&m=3D133341372825281&w=3D2 > helping with the brightness seems to require a quite broad understanding > of ACPI and/or EC, and maybe also a good overview of how things work > currently in FreeBSD. Both of these seem to be far beyond anything that > I can reach in a reasonable amount of time :-( > > Still, my offer stands, and if anybody can think of anything useful I > can do or learn, please don't hesitate to tell me so. > >> Good news is that Konstantin's latest patch works with FreeBSD 9-STABLE = so >> no longer need to run HEAD. I would love to see resume work, though. > > I'm not sure whether this is the right place to ask for such help, but I > haven't been able to get it working as much as I would like. > > More specifically, I checked out 9-STABLE, and merged all 14 commits > listed at the end of http://wiki.freebsd.org/Intel_GPU > I then added WITH_NEW_XORG=3D"YES" and WITH_KMS=3D"YES" to /etc/make.conf > and compiled x11/xorg metaport with default options, except for > KMS=3Don for graphics/libdrm. > > It seems that adding i915kms in /boot/loader.conf freezes the system, > but that's only a minor inconvenience. Now I kldload it just before > starting slim. > > The screen resolution is correctly detected, everything in Xorg.0.log > and `dmesg` looks fine, DRI2 is enabled, xdriinfo reports i915 dri > activated for the screen. Well, all in all, as far as I can tell > everything is fine, except I don't see any acceleration=C2=A0: it takes u= p to > a whole second for my rxvt-unicode to refresh its 80x56 window (whether > scrolling or switching tmux window, and no image background is set), > opaque window moving is very jumpy (but I can live without it), and > armagetron runs at 7-12 fps (to test whether 3D acceleration fared > better than 2D acceleration). > > Do you see the same behavior? Would you have any idea on how to diagnose > whatever could be wrong? Have you applied the kernel patches? Installing the new Xorg stuff after building them with the two lines added to make.conf. only builds the tools to send the appropriate requests to the kernel, but, without the patches, the kernel does not know how to deal with them. The required kernel changes have been committed to HEAD,but not to 9-Stable, so y0ou still need to manually apply these. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com