From owner-freebsd-questions@FreeBSD.ORG Thu May 21 12:01:26 2015 Return-Path: Delivered-To: freebsd-questions@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 B31DC2B4 for ; Thu, 21 May 2015 12:01:26 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 748DE117D for ; Thu, 21 May 2015 12:01:26 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 516693CE69; Thu, 21 May 2015 14:01:24 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4LC1N2T003169; Thu, 21 May 2015 14:01:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 May 2015 14:01:23 +0200 From: Polytropon To: Avinash Sonawane Cc: FreeBSD Questions Subject: Re: Brightness control in FreeBSD 10.1-RELEASE Message-Id: <20150521140123.a18aadc2.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Thu, 21 May 2015 12:01:26 -0000 On Thu, 21 May 2015 17:17:45 +0530, Avinash Sonawane wrote: > Another observation: > I can change the brightness (increase/decrease) while FreeBSD is > booting so it looks like FreeBSD does properly loads the driver > controlling the brightness change. (?) Is this really a thing of "driver"? Yes, I know: "Modern" laptops use software to "connect" the keys to the brightness, whereas old laptops did that "in hardware" somehow - independent from the OS, even working in BIOS or during bluescreens. I could imagine that somehow, when the OS and the GUI is loaded, the keys designed to adjust brightness emit a "normal" key code that the GUI (here: X's keyboard input machanism) picks up and does something stupid with it. You can easily check for that possibility: install the "xev" (X event viewer) port and press those keys. Look for "KeyPress" entries. What happens? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...