From owner-freebsd-acpi@FreeBSD.ORG Tue May 29 09:38:31 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 D761B106564A for ; Tue, 29 May 2012 09:38:31 +0000 (UTC) (envelope-from natbsd@instinctive.eu) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 58E738FC18 for ; Tue, 29 May 2012 09:38:30 +0000 (UTC) Received: by werg1 with SMTP id g1so3161461wer.13 for ; Tue, 29 May 2012 02:38:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent:x-gm-message-state; bh=PVGIGe20K8VNtt0LScl9PnKmYLQp7KW7MYrO18+wJho=; b=dWYjuQEY3kjD3XzosFIi+k40yBJvIQYgJ1ONMXpNQSeuv7uQDZw0OuWKcpt51jKBDd IGq6n8NDhIaV5nh9nwsvnBSCDeXxDZ9DtWUbCT8uBbK+gXEeRgFqNw3u1vmeF/s6j3+i e9rsystYVW6ol/BlIu3QzdsWAz/rUf/Qry9SEZbS/q9mS2Molw2ySjYBkmgRsHf5MSRv +SoVX2HRUiUja5VmZAW11ErYADADxBQN9L+5dT+OeZmxEYBHR7ng4FHz8f5dXT3doYc1 /2ebVXa2EZUgwRGMxly8MAqdmuOmbKc3HT1e3NUV1l7bLtATvOf4usJ1yx64KVx8NccH 6AHQ== Received: by 10.216.141.15 with SMTP id f15mr6787612wej.82.1338284309998; Tue, 29 May 2012 02:38:29 -0700 (PDT) Received: from sigil.instinctive.eu (sigil.instinctive.eu. [78.41.233.119]) by mx.google.com with ESMTPS id ei4sm43393338wid.5.2012.05.29.02.38.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 May 2012 02:38:28 -0700 (PDT) Date: Tue, 29 May 2012 11:38:12 +0200 From: Natacha =?iso-8859-1?Q?Port=E9?= To: =?utf-8?B?0JvRjtCx0L7QvNC40YAg0JPRgNC40LPQvtGA0L7Qsg==?= Message-ID: <20120529093812.GH97037@sigil.instinctive.eu> References: <20120523151357.GC97037@sigil.instinctive.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlArKikOyncOE4aprQCQF+BHYPLjLS7Q8JzraE1pquqIercZjnlZkpLUqheX+8b4K03zwBi 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: Tue, 29 May 2012 09:38:32 -0000 Hello, on Wednesday 23 May 2012 at 10:05, Любомир Григоров 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 this > 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=freebsd-current&m=133341372825281&w=2 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="YES" and WITH_KMS="YES" to /etc/make.conf and compiled x11/xorg metaport with default options, except for KMS=on 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 : it takes up 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? Thanks for your help, Natacha Porté