From owner-freebsd-questions@freebsd.org Sun Apr 17 18:13:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90344B11641 for ; Sun, 17 Apr 2016 18:13:24 +0000 (UTC) (envelope-from jhunt@lynden.on.ca) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57B551A33 for ; Sun, 17 Apr 2016 18:13:24 +0000 (UTC) (envelope-from jhunt@lynden.on.ca) Received: by mail-yw0-x22b.google.com with SMTP id t10so182531645ywa.0 for ; Sun, 17 Apr 2016 11:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lynden-on-ca.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=v1Xo1C21At5xfYGnPh2oSU58jGprRq82f1XrEvjODPI=; b=G5a2d1YsRAP/0SlYPgWqX9Xt9xSoX9tEeycl7m+CjypCn6/iYmOteHvXFplX5TIbwN 8brVlB/GTyA6tC7Fq3+9vIQaCklQivWmdmjDZhlwXPxbBOiDPKLqF0HlFJSD+ukFOssr 8wCOBqNvoiCR+wVyKdUzVGZXYYgkvtdGinpCRQmtK3eQuBDVifg+AzDgdlEH4rDMbaig yi0ltpXv6uFOVUyI0sAytAFHuhCKSPMXP01Mq3TNxmQyXMIhg6pXKQGmFB3c3ZtgSmNp HfnRolsCQdEcuC7e+oEBDMhWmBQQWqW1g3cx+hZntFXze0cmGta7uu1lycl6Y16LBa2J bcdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=v1Xo1C21At5xfYGnPh2oSU58jGprRq82f1XrEvjODPI=; b=VmUHc+gCRbeq1s/IILZ6DyshzX4wiRwJMVkbehy8Uj1YyjsSV6EQ8SZpbX7Zh2GlIm axRnObo3iOJvFn5iFnPkSK4IXwMitkaP2oZ74zVhhNw9oeJs1N0ssK05XzgZKGn7gIdM czOetuHzlI/mNLYOVDvTbOQZkzJ0NhiBdVCM9R+SxgOiRK8QRcSMSj214W6FFBYAYby4 EBsZXZ+vlQfJZuwth/ijlw8VVRCyAT5WCZ+jizmFXkPFsQscmQWJb2QSasd6cUlDXVOJ 4SAbIWTo+Ek/e8LsECL9ulu731LsA3nIZojrUhhnqbRwMIxEGUKfTg748fWMw252CZGL 2JuA== X-Gm-Message-State: AOPr4FUVGb5fAuFAqM9IjNO3pEXbxBpeWaarpNEjkdIcI7f9IJeNWFsee33PcyDPLC/JiCiXwmREzIy6OhvmAA== MIME-Version: 1.0 X-Received: by 10.37.203.2 with SMTP id b2mr6163390ybg.148.1460916803204; Sun, 17 Apr 2016 11:13:23 -0700 (PDT) Received: by 10.83.87.12 with HTTP; Sun, 17 Apr 2016 11:13:23 -0700 (PDT) X-Originating-IP: [173.33.69.78] In-Reply-To: <20160417142231.L1139@sola.nimnet.asn.au> References: <20160416000316.V1139@sola.nimnet.asn.au> <20160415180613.c066affb.freebsd@edvax.de> <20160417142231.L1139@sola.nimnet.asn.au> Date: Sun, 17 Apr 2016 14:13:23 -0400 Message-ID: Subject: Re: Cannot enter sleep mode as non-root user (Operation not permitted) From: Jason Hunt To: Ian Smith Cc: Polytropon , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 18:13:24 -0000 On Sun, Apr 17, 2016 at 12:30 AM, Ian Smith wrote: > > I mentioned the suspend button kind-of jokingly, but now I'm curious: > > What make/model of laptop does not have a suspend (aka sleep) button? > > Or is it that yours does not work properly? > It's a Thinkpad x230 and I actually kind of forgot about the "sleep" (quarter moon) icon on the F4 key; sure enough pressing Fn-F4 triggers sleep mode. Although within the last couple days I've discovered and set hw.acpi.lid_switch_state=S3 so now I'm just closing the lid to trigger sleep (which is how I normally configure it on other OS's/DE's, and works for me since I never close the lid unless it's not in use.) On the desktop there's no suspend button so I'm still using the "zzz" shortcut there. Although as I'm writing this I noticed hw.acpi.power_button_state in acpi(4); setting this to S3 on the laptop doesn't work (but I'm not worried about it as I already have three other ways to suspend), but it works perfectly on the desktop (Asus P8B75-M motherboard.)