From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 18 21:10:23 2015 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBAFCCF9; Sun, 18 Jan 2015 21:10:22 +0000 (UTC) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (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 9F580E8A; Sun, 18 Jan 2015 21:10:22 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id tr6so104263ieb.4; Sun, 18 Jan 2015 13:10:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gcIa6JFSJflhG7Bld8eIpCW+ZzPn3PLejhva/EhGWlA=; b=R+oATDHsx8VGDj4WmyjP+tjHxtOVZi4qPQKh1vkk5SXzzJn0GMJVCFwV1ZZOe9VpMp Y9AjMP04knPZibQXVBUqRiRyrFK+EEnhJz5pTbmqhp4zZJ7QAnY6Om3csWXLE2ikk3Tf hZLDnZYSqUce773OSMrKrcIjo9NYgoVuLJD9C0GBnqwRDiqCfNTiG3NoHf6f6isQ8gGT bKb0Zsv3ej6gsCQ6h/zWXVq/rVifTSGpi7lZTDlNFnoG+H93TSZdYNkKe4ck7k50wh0y ttlc1ivLroLobWsglrnKWttDds+n60yq/2j4KPA8FWIHHK3T6kB03W9WAax7NICWu/ic PG9w== MIME-Version: 1.0 X-Received: by 10.107.168.88 with SMTP id r85mr15261165ioe.76.1421615421938; Sun, 18 Jan 2015 13:10:21 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.107.52.19 with HTTP; Sun, 18 Jan 2015 13:10:21 -0800 (PST) In-Reply-To: References: Date: Sun, 18 Jan 2015 13:10:21 -0800 X-Google-Sender-Auth: sTV5u180nZNGOIkzXTzM1OnFO5E Message-ID: Subject: Re: Fwd: svn commit: r270516 - head/sys/dev/drm2/i915 From: Kevin Oberman To: Hrant Dadivanyan Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Adrian Chadd , "freebsd-mobile@freebsd.org" 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: Sun, 18 Jan 2015 21:10:23 -0000 On Mon, Aug 25, 2014 at 11:37 AM, Hrant Dadivanyan wrote: > > This fixes the brightness on a Lenovo X230. The buttons don't yet work > > - they end up setting the value +1 or -1 from the current setting, but > > no further. > > > > The same on Lenovo X1 Carbon with 10-STABLE - buttons do +1 or -1 only, > but hw.acpi.video.lcd0.brightness accepts any value. Not all values > actually changes the brightness, but some do - all tenths for example. > hw.acpi.video.lcd0.fullpower and .economy are also ignored, but custom > entry on /etc/devd.conf solves this by setting .brightness directly, > depending on AC status. > > Finally can enjoy long battery life, thank you very much ! > Hrant > > Hmm. This worked fine for me with 10-STABLE, but only when I don't use '-j'. I instaled the patch on my 10-STABLE system back on January 1, 2015. Since I wanted readable output should I get n error, I did not use '-j'. It worked just fine. Today I updated my sources to r277334, deleted /usr/obj/*, made buildworld, and then tried "make -DNO_CLEAN -j6 buildkernel". It failed to make depend in sys/dev/drm2. The error message just has: --- depend_subdir_drm2 --- mkdep: compile failed --- depend_subdir_dtrace --- --- /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/dtrace/fasttrap/machine --- --- depend_subdir_drm2 --- *** [.depend] Error code 1 make[5]: stopped in /usr/src/sys/modules/drm2/i915kms 1 error make[5]: stopped in /usr/src/sys/modules/drm2/i915kms *** [_sub.depend] Error code 2 make[4]: stopped in /usr/src/sys/modules/drm2 1 error If I than either clean out MODULES and "make -DNO_CLEAN buildkernel" or just do the parallel build and, after the failure, do "make -DNO_CLEAN buildkernlel", the build works fine. I'm unsure how to get detail error information from the modern make used today, so I have no added information. I'll be happy to try again if I know how to get verbose build output from buildkernel. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com make[4]: stopped in /usr/src/sys/modules/drm2 *** [depend_subdir_drm2] Error code 2