From owner-freebsd-arm@freebsd.org Thu Apr 27 06:19:59 2017 Return-Path: Delivered-To: freebsd-arm@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 36A7ED524DF for ; Thu, 27 Apr 2017 06:19:59 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (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 E588E12EE for ; Thu, 27 Apr 2017 06:19:58 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-qt0-x22a.google.com with SMTP id y33so18445551qta.2 for ; Wed, 26 Apr 2017 23:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xIfoQw9bGk8toTpU/LzkT0i/97hETu9LlGUVYZ97vt4=; b=x8ApLoNma1TU17F0GbAZ4FBhRAU2maGKAirNeljgTSCTX4QWZjt+9xolloYeQQ6Bxj L+0Ok7OUPEtxwW8CGT0rkgN5u9rwWs9YCncmfYGiQmGtLwUnyOL2sVw75VL29zg2Hw+E sHCoAAvPoVY3gOCgCD1OWtPYrUBBkf/Oe0J49OlWNQUYeD3ID1qmRaWGV4y8uZasoSyK YcFU5M+1v0t9erWqoqx9/X6qzDZCyJUMxPk3rlCwn6KBSYYDRtUtBIZ7UF4FJ/hQyT/Q UmbvtR3dxk1MqKRZhyatqAjOH35LxhMpJeg3Ny0p+mxPHS1nuGW8H21QTwSjBd/7V0qZ YBpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xIfoQw9bGk8toTpU/LzkT0i/97hETu9LlGUVYZ97vt4=; b=emuT5XWT9LYpxxyyz4VCQpVz4RTAYlnQxxeYHPmPanqlOUiphxymBYGHFnCVqbPshd a+uUhx5Rlb1bJno2KhSjwdoxHad5OhHAojU7DL5F/N8boXk2DJIMnwEB8utXfbA6IJwD HiKEGUIvpVuXE3eZ4YxwycJV8/FRi6GBDvPMhSbojSbboZ11NMNlVQC8vP4gdp2+mnMC Dg7uZN/ABbAs50dhRHL004lfBAyLxp3Of8DhQowIEHOj189dg/EZ6cytNm+Oc9/ruknJ KjAEuNZDdHQbsAtWazuhGXt2TleZwZUfgfsvFVtBHrrz7yxLD9jBgBEKYg9SschtkBwH Qomw== X-Gm-Message-State: AN3rC/4MvGI7QZg3Jowna/SNFUbrrdn1KtY/k16E+CnJGwy3kZgEwIPm zIYyE2MLU1FiXRc7aAPS8m6ZEjbvKoY6 X-Received: by 10.200.57.18 with SMTP id s18mr3340526qtb.1.1493273998016; Wed, 26 Apr 2017 23:19:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.108.102 with HTTP; Wed, 26 Apr 2017 23:19:57 -0700 (PDT) X-Originating-IP: [101.53.202.8] In-Reply-To: <543714FC-0F70-43F3-8836-AB943C87F5B1@cs.huji.ac.il> References: <543714FC-0F70-43F3-8836-AB943C87F5B1@cs.huji.ac.il> From: Jonathan Chen Date: Thu, 27 Apr 2017 18:19:57 +1200 Message-ID: Subject: Re: RPI2 LED indicators on STABLE-11 To: Daniel Braniss Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2017 06:19:59 -0000 On 27 April 2017 at 18:17, Daniel Braniss wrote: > >> On 27 Apr 2017, at 09:10, Jonathan Chen wrote: >> >> On 27 April 2017 at 15:15, Karl Denninger wrote: >>> On 4/26/2017 17:16, Jonathan Chen wrote: >>>> Hi, >>>> >>>> I recently updated my RPI2 to STABLE-11, r317393, and I notice that >>>> the LED lights do not behave as expected. The power LED lights up as >>>> expected with uldr, but when the FreeBSD kernel boot messages start >>>> appearing, the red power LED switches off. The green activity LED >>>> never powers up. Is there something I have to do to get >>>> FreeBSD-11/armv6 to turn on the LED indicators? >>>> >>> What you are observing is normal. If you want the green LED to power up >>> (flash, etc) you need to do it programmatically. >> >> Ah. Thanks for that. I've just noticed /dev/led/act and /dev/led/pwr. >> I'm now hunting for docs to see what I can do with them. >> > > man led Yup, got that. I esp. like the example: /usr/bin/morse -l "Soekris rocks" > /dev/led/error Cheers. -- Jonathan Chen