From owner-freebsd-questions@freebsd.org Wed Nov 18 14:12:14 2015 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 796FDA30FBD for ; Wed, 18 Nov 2015 14:12:14 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (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 415461DB8 for ; Wed, 18 Nov 2015 14:12:14 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by igcto18 with SMTP id to18so38748489igc.0 for ; Wed, 18 Nov 2015 06:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ara-ler-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=LmsuFQcCLj9lErnJgiiteDryPMJpu6Mc1QsnV7qGrGM=; b=kDV0DYJeScKhEwqYPkqqdbl/MbES3Nn/8mNfDhGMZsD3QRSfKTU503AEdDKRcrlIZX XDBgEQa6AyMjnr4tAcEr8cf7azMI5oL5+tTJWWS3L7i0NH45w0e/4eEMDEpAM01XHmKl BV9OhGEDOmFfTejL2JxIDd02NhQ6naRmRWxfbxKL6/M8Uo3x+SglNIS8CpKdVEU52Ok8 Ud97umjK5Qa5pRH71LUbb6Qkztiu90swqycu6SrhLKMo/cE3h6npvjpADv/wxC2Gbk0u AtU+iuBXoICZTq3xjEqfY5fivJNGcfrkyJlyzlA8Y941JOsz2ARFD8KU4JM2uvKsy/Ua HhkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=LmsuFQcCLj9lErnJgiiteDryPMJpu6Mc1QsnV7qGrGM=; b=Qc8N5Knobn/THphCeQVX3MHO3Hd91K8zTNp0T3nTkRz4qvtm3hxSR1nVd4MTwWbDTD AU8jS5f+Mc+02ApdBAVAH4qijVWhZVWu+4HKTorvA43XlXoacgswfo2QtW2q5rPYWVLO lQw4t/qAlIfQRnYTGUBATqV2ry6WrCzSOFMLR50wnYAvWHCnZcyznwBEjY20qNANGjGd PBFObC8akwIv11O8NbfmF3Gw6pkx0NB1yL/yftUObT2Ayr4DC5J2pTHgbWzX2Kg/7WgO uU2meHYo0gQ48BW6UNfWyrUuiNAMdx0Vupdd06G0yOjtV0Rr/0VIgToLu3fgDQNdvlaO Flfw== X-Gm-Message-State: ALoCoQkOi41ZFVnAiFf/R0qceDWLuOAwUbnusYeQyjUK6KAyNUZ777T6seC1TqmaY9BB9/4KWVKZ X-Received: by 10.50.46.36 with SMTP id s4mr3256476igm.84.1447855933470; Wed, 18 Nov 2015 06:12:13 -0800 (PST) Received: from dendrobates.araler.com (97-124-177-136.hlrn.qwest.net. [97.124.177.136]) by smtp.gmail.com with ESMTPSA id 90sm1289978ioq.29.2015.11.18.06.12.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Nov 2015 06:12:12 -0800 (PST) Date: Wed, 18 Nov 2015 07:12:10 -0700 From: Sergey Manucharian To: "darwinsurvivor@gmail.com" Cc: freebsd-questions@freebsd.org Subject: Re: ThinkPad LEDs Message-ID: <20151118141210.GB75246@dendrobates.araler.com> References: <20151118054438.GA75246@dendrobates.araler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 14:12:14 -0000 Excerpts from darwinsurvivor@gmail.com's message from Tue 17-Nov-15 23:56: > On Tue, Nov 17, 2015 at 9:44 PM, Sergey Manucharian wrote: > > > Is it possible to control ThinkPad LEDs? > > The driver acpi_ibm(4) is supposed to provide (some of) such functionality. > > Under /dev/led I have: > > > > .... > > em0 > > thinklight > > > > "em0' is the network connector LED. I can echo 0 or 1 or output of morse > > to it and it works. > > > > "thinklight" works somehow strangely (this is keyboard backlight and > > overhead > > light), although some people report it's working properly. > > > > However there are no other LEDs, e.g. power button, speaker, mic, sleep > > indicator, battery. > I haven't use freebsd on my thinkpad, but you may want to take a look at > tp_smapi. If you can get sysfs working, it may be an option. > Thanks, Doug! However it may not work either, since my ThinkPad is T430 and I've found at thinkwiki.org: If you are installing on a recent Thinkpad that has an Ivy Bridge or newer processor (X230, T430, T530, etc.), tp_smapi will not work. You will be mostly limited to thinkpad-acpi capabilities. Since acpi_ibm in Linux does work, it's probably not so hard to port those features to FreeBSD. I'll take a look when have spare time. Sergey