From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 26 09:32:30 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 F162F106564A for ; Tue, 26 Jun 2012 09:32:30 +0000 (UTC) (envelope-from natbsd@instinctive.eu) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7703B8FC18 for ; Tue, 26 Jun 2012 09:32:29 +0000 (UTC) Received: by eeke49 with SMTP id e49so1902115eek.13 for ; Tue, 26 Jun 2012 02:32:28 -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=LHBdVdLl0DkEJKnbAi2q3kZoQw7jer7KRvqjlOjNvhY=; b=IfrEZHIJNPPb/QA5qFMmIhdyZzyTckG46rN+rbbA35Elu6TbLh6/KoXk8OYVUw5jgr DtCceGfy4alDYlGqhwbSWYd83d/SBBSWMDh+LL9CHtQpGfW03vCXcGBf4APeik8EBvgq uev4wJO9MQ0Io0R+KBkGiG+ALwGEHyIspyHmrHtDaR6u79pvivr98kb38HaPCXevJ2RI 03/RetSvjPMBlYfRf7HU1Hr92/oa4mfKVMrzY/y6/Z4Gag3Li42XC48jXcaQUmW48nLW //oUT6TvgwEvzPSlI8aU+sUA/M7vvzfKPzcsbOSsdpMaETp9bAWi7oqW4PpT1XSngkUC yXPg== Received: by 10.14.48.72 with SMTP id u48mr2963728eeb.151.1340703148307; Tue, 26 Jun 2012 02:32:28 -0700 (PDT) Received: from sigil.instinctive.eu ([2001:758:f00:340:78:41:233:119]) by mx.google.com with ESMTPS id h53sm147080145eea.1.2012.06.26.02.32.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jun 2012 02:32:26 -0700 (PDT) Date: Tue, 26 Jun 2012 11:32:18 +0200 From: Natacha =?iso-8859-1?Q?Port=E9?= To: =?utf-8?B?0JvRjtCx0L7QvNC40YAg0JPRgNC40LPQvtGA0L7Qsg==?= Message-ID: <20120626093217.GA16151@sigil.instinctive.eu> References: <20120523151357.GC97037@sigil.instinctive.eu> <20120529093812.GH97037@sigil.instinctive.eu> <20120530080148.GJ97037@sigil.instinctive.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQk5b1EitYI1jemoKF10IfXmzmcSDtyDN6iHoz2WVvsxHNugSQs3fADn9fC8OTMfrFpcFsxK 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, 26 Jun 2012 09:32:31 -0000 Hello, on Wednesday 30 May 2012 at 01:07, =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: > Natacha, have a look at this thread, esp. instructions by Toto: > http://forums.freebsd.org/showthread.php?t=3D21852&page=3D5 That's actually what I followed, except with merging from current instead of using external patches. > In either case if you messed up too much I recommend a clean install. > Follow Toto's instructions. That turned out to be the solution. I don't know exactly what was wrong, but it was somewhere in X: I deleted /usr/local /var/db/ports and /var/db/pkg and restarted from scratch, and since then video acceleration. I still have a few ACPI-related (I think) issues. For each of them, would you please tell me which ones are supposed to work (and I'm doing something wrong) and which ones are known not to work (and I'll try to figure out a solution)? * power button doesn't work: I'm used (on desktops too) to have ACPI somehow make it so that pressing the power button triggers a clean system shutdown, but it's not the case on my X220. Pressing the power button for several seconds does trigger a hard power off, but that's not what I'm interested in. * "Fn" key is registered as a sleep button: it is interpreted as XF86Sleep (keycode 150), but even when unbound in X it still triggers a suspend when pressed for a few seconds. Unintended suspends (e.g. when missing Ctrl key) are already uncomfortable by themselves, but they are made even worse by the nonfunctional resume. However, when I change sysctl hw.acpi.sleep_button_state to S5 (as a workaround for nonfunctional power button), "Fn" alone has no longer any effect other than sending XF86Sleep to X, and "Fn"+F4 correctly shuts down the system. * Disk led is never on, even when there is heavy disk activity. That's a very minor annoyance, but it would still be nice to see it solved. * "Fn"+"Fsomething" keys don't work, except for "Fn"+F4: I would consider them as functional if they sent some events to X (like "Fn"+arrows correctly send XF86AudioPlay, XF86AudioPrev, XF86AudioNext and XF86AudioStop) or if they were acted upon directly (like "Fn"+PgUp correctly switches the ThinkLight). * There is no way of selecting a pointing device. That's why I looked at "Fn"+F8 in the first place, since it's supposed to cycle between track-point only, touchpad only and both. Usually I'm fine with what I select from the BIOS, but there has been several times when I wished I could switch without rebooting. Ideally that would be hooked directly on "Fn"+F8 and/or through a sysctl, though having it through acpi_call would already be helpful for me. * The sysctl dev.acpi_ibm.0.wlan is read-only and always 1, no matter what the position of the physical radio switch is. * Something seems wrong with beeps (system bell): the first beep after booting sounds normal, but the following ones seem much faster (higher pitch and shorter), as if the sampling rate was suddenly much higher. Thanks for your help, Natacha Port=C3=A9