From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 19 17:20:20 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FDC2982 for ; Sun, 19 Oct 2014 17:20:20 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (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 ABA1EE74 for ; Sun, 19 Oct 2014 17:20:19 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hi2so5380924wib.9 for ; Sun, 19 Oct 2014 10:20:18 -0700 (PDT) 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=JIbFlcearu/HDiRfUKkTnEu5LUbeTlRj7zRPuJGZgW8=; b=EbI4a7GukB84FBeTQ2OBnYEMGYaG5gpNP2lyZyoSu0uAPhjhvBWswDn2SwUakiM25E XjZU1vTCpfu3BxXYM+dOCgC5DeNuSsOwkwb5JDWnlkzQMBARdBiQAhBqvSgyY/wKAG73 mYp0GUGuyM6rN/DYZIFQp1lZ6pKy3yezf++uoRfA96wyMupyJdUNsx65nQ1Z17SAmCqH PlOflxLoupMZwjQEJWQUpdc2ezrmb++voyTVK1hcHJSZ8DLn0gPUqn5ULNGtDnpTpTc5 njgwKaBxX+rkgXDiFObOtE3m8/1IjwlEAf05SwK0suMoXesEctyJugO0b/k8+xXo9hSo WP1g== MIME-Version: 1.0 X-Received: by 10.180.74.4 with SMTP id p4mr13995132wiv.20.1413739218019; Sun, 19 Oct 2014 10:20:18 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sun, 19 Oct 2014 10:20:17 -0700 (PDT) In-Reply-To: <86d29ot9dg.fsf@aguiar.info> References: <20141019102848.GR72082@e-new.0x20.net> <86d29ot9dg.fsf@aguiar.info> Date: Sun, 19 Oct 2014 10:20:17 -0700 X-Google-Sender-Auth: drzZlmstGgKNZVZUot-EPU-qaRI Message-ID: Subject: Re: help with backlight control and memory From: Adrian Chadd To: Renato Aguiar Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" , Lars Engels , Wojciech Puchar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 17:20:20 -0000 Is this running the latest -HEAD? Yes, some extra code was glued into the i915kms / drm2 code from Linux that correctly selected the right video output device for the brightness controls. (the opcontrol patch that I committed a couple months back.) The buttons don't work on my X series laptop, but the sysctl does. the buttons work for others on other X series laptops. It's likely some more ACPI and i915kms things need porting. -a On 19 October 2014 07:34, Renato Aguiar wrote: > Hi Lars, > > On my X230 I only can change brightness calling acpi directly using > acpi_call. Did you make some additional configuration to be able to use > sysctl to control brightness? > > Thanks, > > Lars Engels writes: > >> On Sat, Oct 18, 2014 at 11:03:38PM +0200, Wojciech Puchar wrote: >>> tried. jsut after kernel is loaded backlight control keys stops working. >>> tried loading every acpi_* kernel module that is available, with no >>> results >> >> On my X230 running HEAD brightness keys only work when acpi_video.ko is >> _not_ loaded. When it is loaded, I can control brightness with sysctl, >> though. > > -- > Renato Aguiar