From owner-freebsd-questions@FreeBSD.ORG Thu May 21 12:29:10 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 C684C8DF for ; Thu, 21 May 2015 12:29:10 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (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 8E6DC153B for ; Thu, 21 May 2015 12:29:10 +0000 (UTC) Received: by iebgx4 with SMTP id gx4so6797482ieb.0 for ; Thu, 21 May 2015 05:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=EXtrY+AwZxr/+scpWhnIiPrjkGSprUrHOIlJc3sVI6o=; b=zgs9PoQrAgdO2TaFAPTxZuRG2z9Cy+PY9DNTkjb9jctYGgVJFsR8XhcrteiE8qLgPx h5buwhFMuxxYBF//sAZ1OJQH9IPJO5Zq1GtyBBMcg58mAQS8UALOWME7bGX6WVvvFlVQ UL2iaiuoFmJ4ecMi5zILbdD04IQYgplpyam4RJZsfvztd79RTBD7xc5llBBg64LN6SEh 2DjV5sd8SAYu4cENR8+f7pWZM+3nFkwj4b3HpkTDUumVPzVqjV68CLd1kwnvqUrIVA9H jFMdMV4VUscuHz47WQFH5AGoUSQj+6XWjM9tlck6pDmNcEZ979ZlQVrCIQqjoFDKbesk GTqA== X-Received: by 10.107.132.87 with SMTP id g84mr2951097iod.25.1432211349966; Thu, 21 May 2015 05:29:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Thu, 21 May 2015 05:28:49 -0700 (PDT) In-Reply-To: <20150521140123.a18aadc2.freebsd@edvax.de> References: <20150521140123.a18aadc2.freebsd@edvax.de> From: Avinash Sonawane Date: Thu, 21 May 2015 17:58:49 +0530 Message-ID: Subject: Re: Brightness control in FreeBSD 10.1-RELEASE To: Polytropon Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 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:29:10 -0000 On Thu, May 21, 2015 at 5:31 PM, Polytropon wrote: > 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? My "decrease brightness" key is Fn+F(4) where "Fn" is a separate key. When I press the combination to decrease the brightness i.e. Fn+F(4) on terminal xev produces an infinitely long output which I abort by pressing the "Esc" key. Here are some of the sample entries from the sequence: http://pastebin.com/gxHdYW5u -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com