From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 16 21:38:41 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9914E7B0 for ; Tue, 16 Sep 2014 21:38:41 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F699F47 for ; Tue, 16 Sep 2014 21:38:41 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id y10so474326wgg.15 for ; Tue, 16 Sep 2014 14:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=N17IiT4+9X8VCHXNA+dE46sSI+twb8Jwk6eJBwPtIeg=; b=NFAXK2eMgx+ExUxGhcBdw9seRsI74/5x+dwVGx6dY/zSjWxka2RFUpNn4BXd4jprnV IC2tJ6bZRELjIQwSL6drGH44vjIjBaEtJlkvEbhg/Ukt71FFMKgl6o3noK0B48s8QPs7 YdgoyEWKOig49qbFuJfr6Fb/bq/q7blZLxSkacp/JVn3IBimwEKe2e9o7gkB5Ff9vg5u Mk/9Wk8hlxe6UBSGvzGhtapQlNPPqeW7SCopaQ63qmwn1mlyQJFiHWS0pQRSwBk7fBXh K70+/L2r4H1La7YeCfK/zIjKTih+YYxJtsYex/VxSzk9u851PGfmrDHEAinnIytZyNwR 78SQ== X-Received: by 10.194.189.233 with SMTP id gl9mr44720117wjc.2.1410903518507; Tue, 16 Sep 2014 14:38:38 -0700 (PDT) Received: from smtp.gmail.com:587 ([89.101.111.64]) by mx.google.com with ESMTPSA id v4sm19773855wjv.6.2014.09.16.14.38.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Sep 2014 14:38:37 -0700 (PDT) Received: by smtp.gmail.com:587 (sSMTP sendmail emulation); Tue, 16 Sep 2014 22:38:35 +0100 Date: Tue, 16 Sep 2014 22:38:35 +0100 From: isdtor To: freebsd-mobile@freebsd.org Subject: Re: ThinkPad support Message-ID: <20140916213835.GA4575@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 21:38:41 -0000 I have done some more research and I think the problem is that I don't have a devd configuration that matches my hardware. After discovering :) and enabling acpi_ibm and setting dev.acpi_ibm.0.events to 1, I found that any Fn+F[0-9] results in a call to /etc/rc.suspend. Sep 16 21:44:21 host devd: Executing '/etc/rc.suspend acpi 0x03' Sep 16 21:44:21 host acpi: suspend at 20140916 21:44:21 ... Sep 16 21:48:23 host devd: notify_clients: send() failed; dropping unresponsive client Sep 16 21:48:23 host devd: Executing '/etc/rc.d/moused stop ums0' Sep 16 21:48:23 host devd: Executing '/etc/rc.resume acpi 0x03' Stopping devd entirely and pressing just the Fn results in suspend as well. Adding the acpi_ibm(4) example config for the T41p to devd.conf doesn't help much. A subsequent service devd stop/service devd start did not launch devd into the background as I would expect. Also, related or not, there are a number of syslog entries Sep 16 21:43:18 host kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) and Sep 16 21:48:23 host kernel: pci0: failed to set ACPI power state D2 on \_SB_.PCI0.EXP1: AE_BAD_PARAMETER