From owner-freebsd-desktop@FreeBSD.ORG Sun May 13 07:55:39 2012 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C90DA106566C for ; Sun, 13 May 2012 07:55:39 +0000 (UTC) (envelope-from ykrapiva@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9236F8FC17 for ; Sun, 13 May 2012 07:55:39 +0000 (UTC) Received: by obcni5 with SMTP id ni5so7540564obc.13 for ; Sun, 13 May 2012 00:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FKW6pdMYV44EiPEbfsK4Nm+Bo//DDxceUvg+uxrKYxw=; b=H0FWeGecEGdTEC7EiNxUM2NdN64JelbPiUKCXqyAESWv+jdZuC5Uj5QJlD2PS7Wx+U vfjQ/H9h8P0n/utZ4QJM7ETGqX6QkMudLyI8X/81izyFA5Lw4hSeRa+WDfT1yo1HsChJ nlc5BUPmgM2GtGCbc8rzb9L6w8Gw+g4hUmPoktpXnRkXzRXpW3clh71ZdhrpgTTK1c2X P8sqn0Py9oqWKKtDPkhGunBfVe7TxQzN+RFmYkvd3xTgKDJqpcySePSKzXFq/BXiPgTx SzqqJWlKsRYtIg3eHiuax4xxK0eM8dkysMyC5NP4ibnggqRPRwJBx60rb4jFmpDHmu+H K3tQ== MIME-Version: 1.0 Received: by 10.50.203.99 with SMTP id kp3mr1995906igc.16.1336895738992; Sun, 13 May 2012 00:55:38 -0700 (PDT) Received: by 10.231.199.133 with HTTP; Sun, 13 May 2012 00:55:38 -0700 (PDT) Date: Sun, 13 May 2012 10:55:38 +0300 Message-ID: From: Yevgen Krapiva To: freebsd-desktop@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How is monitor brightness is controlled ? X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2012 07:55:40 -0000 Hi everyone. Could somebody tell me what thing in FreeBSD is managing the monitor brightess ? I've got Dell Inspiron laptop, FreeBSD 9.0 RELEASE and KDE4. Pressing the functional combintation of Fn+F4/F5 does not have any effect. In order to understand what's wrong I need to know in what direction I should move. Thanks a lot. Some system configuration details: FreeBSD devel-pc 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Apr 27 15:19:53 EEST 2012 root@devel-pc:/usr/obj/usr/src/sys/GENERIC amd64 Xorg: 7.5.2 kde4: 4.7.3 xf86-video-intel: 2.17.0 devel-pc# kldstat Id Refs Address Size Name 1 54 0xffffffff80200000 11d2570 kernel 2 1 0xffffffff81612000 1582 fdescfs.ko 3 1 0xffffffff81614000 42a7 linprocfs.ko 4 1 0xffffffff81619000 1e1cb linux.ko 5 1 0xffffffff81638000 328d ng_ubt.ko 6 1 0xffffffff8163c000 8b3d ng_hci.ko 7 3 0xffffffff81645000 a79 ng_bluetooth.ko 8 5 0xffffffff81646000 8e12 netgraph.ko 9 1 0xffffffff8164f000 b4a2 ng_l2cap.ko 10 1 0xffffffff8165b000 1695e ng_btsocket.ko 11 1 0xffffffff81672000 1ba9 ng_socket.ko 12 1 0xffffffff81674000 a96b fuse.ko 13 1 0xffffffff8167f000 5f29b i915.ko 14 1 0xffffffff816df000 1241 iicbb.ko 15 4 0xffffffff816e1000 1307 iicbus.ko 16 1 0xffffffff816e3000 dc9 iic.ko 17 1 0xffffffff816e4000 2c4b2 drm.ko 18 1 0xffffffff81711000 248d acpi_video.ko From owner-freebsd-desktop@FreeBSD.ORG Tue May 15 09:37:03 2012 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96826106566C for ; Tue, 15 May 2012 09:37:03 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 5577D8FC16 for ; Tue, 15 May 2012 09:37:03 +0000 (UTC) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) by lauren.room52.net (Postfix) with ESMTPSA id 29B817E88D; Tue, 15 May 2012 19:37:02 +1000 (EST) Message-ID: <4FB223BD.3070208@freebsd.org> Date: Tue, 15 May 2012 19:37:01 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120311 Thunderbird/10.0.2 MIME-Version: 1.0 To: Yevgen Krapiva References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lauren.room52.net Cc: freebsd-desktop@freebsd.org Subject: Re: How is monitor brightness is controlled ? X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 09:37:03 -0000 On 05/13/12 17:55, Yevgen Krapiva wrote: > Hi everyone. > > Could somebody tell me what thing in FreeBSD is managing the monitor > brightess ? Given that the function keys don't work, check if you have any relevant sysctl options to play with. Most likely to find them under hw.acpi, but try grepping "sysctl -a" output for bright or lcd to see if anything comes up. > I've got Dell Inspiron laptop, FreeBSD 9.0 RELEASE and KDE4. > Pressing the functional combintation of Fn+F4/F5 does not have any effect. > In order to understand what's wrong I need to know in what direction I > should move. Getting the fn keys working requires some ACPI voodoo I'm not familiar with, so I'll have to defer to someone else to advise on that. The info at [1] might be a good starting point. The fn keys on my Toshiba R600 laptop started working only after I loaded the acpi_toshiba.ko kernel module. I note there's no similar module for Dell's so getting them working will probably require some fiddling. Cheers, Lawrence [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html From owner-freebsd-desktop@FreeBSD.ORG Tue May 15 09:54:30 2012 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06583106567B; Tue, 15 May 2012 09:54:30 +0000 (UTC) (envelope-from develloper.unix@hotmail.fr) Received: from blu0-omc1-s33.blu0.hotmail.com (blu0-omc1-s33.blu0.hotmail.com [65.55.116.44]) by mx1.freebsd.org (Postfix) with ESMTP id ACB318FC21; Tue, 15 May 2012 09:54:29 +0000 (UTC) Received: from BLU0-SMTP221 ([65.55.116.9]) by blu0-omc1-s33.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 15 May 2012 02:54:28 -0700 X-Originating-IP: [163.5.191.32] X-Originating-Email: [develloper.unix@hotmail.fr] Message-ID: Received: from freebsd-schwer-q.local ([163.5.191.32]) by BLU0-SMTP221.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 15 May 2012 02:54:26 -0700 Date: Tue, 15 May 2012 11:54:23 +0200 From: Quentin Schwerkolt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120513 Thunderbird/12.0.1 MIME-Version: 1.0 To: Lawrence Stewart References: <4FB223BD.3070208@freebsd.org> In-Reply-To: <4FB223BD.3070208@freebsd.org> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 May 2012 09:54:26.0365 (UTC) FILETIME=[B68F26D0:01CD3280] Cc: freebsd-desktop@freebsd.org Subject: Re: How is monitor brightness is controlled ? X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 09:54:30 -0000 The sysctl key for brightness run under X? I have never succeeded to increase or decrease the screen brightness under X. I must use a tty for perform it. Cordially. Q. Schwerkolt On 05/15/12 11:37, Lawrence Stewart wrote: > On 05/13/12 17:55, Yevgen Krapiva wrote: >> Hi everyone. >> >> Could somebody tell me what thing in FreeBSD is managing the monitor >> brightess ? > > Given that the function keys don't work, check if you have any relevant > sysctl options to play with. Most likely to find them under hw.acpi, but > try grepping "sysctl -a" output for bright or lcd to see if anything > comes up. > >> I've got Dell Inspiron laptop, FreeBSD 9.0 RELEASE and KDE4. >> Pressing the functional combintation of Fn+F4/F5 does not have any >> effect. >> In order to understand what's wrong I need to know in what direction I >> should move. > > Getting the fn keys working requires some ACPI voodoo I'm not familiar > with, so I'll have to defer to someone else to advise on that. The info > at [1] might be a good starting point. The fn keys on my Toshiba R600 > laptop started working only after I loaded the acpi_toshiba.ko kernel > module. I note there's no similar module for Dell's so getting them > working will probably require some fiddling. > > Cheers, > Lawrence > > [1] > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html > _______________________________________________ > freebsd-desktop@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-desktop > To unsubscribe, send any mail to "freebsd-desktop-unsubscribe@freebsd.org" > > From owner-freebsd-desktop@FreeBSD.ORG Tue May 15 13:10:24 2012 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8075410656AE; Tue, 15 May 2012 13:10:24 +0000 (UTC) (envelope-from ykrapiva@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D30008FC16; Tue, 15 May 2012 13:10:23 +0000 (UTC) Received: by bkvi18 with SMTP id i18so5239032bkv.13 for ; Tue, 15 May 2012 06:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:references:in-reply-to:cc :mime-version:content-type:content-transfer-encoding:message-id; bh=SjiwoY+FZejNONsE2uPIALCHl9vAec0scc15Il+mgJs=; b=Kq9NZc0dk56EK2Kw2WzHPzBmyQ+BBWayOXfWnuqoz9QR9SE8rnbLgDC/lWCfvD0JEt hyiqctdnp1WdKpoLR8JBKdoAkQFx2Y3xnthFzxIiV/U9sVf0lk9iKcYeRigX+2Mj6fCT gERF45A0CETQToCwLtazLveaztrBxAfDyRdXR7qHzNT4+LbMawfyWG6rjiEMYs8vLGSM DM03rcff3RRHzbv+KuNdsQAYCJ9VtNwreYUl4EMjN8gA3oaoP2q3YwEd7N/0/Qs5TuJb sEPA0iX5SlDF7zaV3ZIBwf0GauYWfvHQ0R8Nnb9va1OaAE2zEOjsfe7oX8oKRMX4HEeA LNmQ== Received: by 10.204.153.6 with SMTP id i6mr1362189bkw.114.1337087422608; Tue, 15 May 2012 06:10:22 -0700 (PDT) Received: from devel-pc.localnet ([87.245.220.4]) by mx.google.com with ESMTPS id u8sm41649046bks.0.2012.05.15.06.10.17 (version=SSLv3 cipher=OTHER); Tue, 15 May 2012 06:10:20 -0700 (PDT) From: Ievgen Krapyva To: Lawrence Stewart Date: Tue, 15 May 2012 16:10:15 +0300 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RELEASE; KDE/4.7.3; amd64; ; ) References: <4FB223BD.3070208@freebsd.org> In-Reply-To: <4FB223BD.3070208@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205151610.15817.ykrapiva@gmail.com> Cc: freebsd-desktop@freebsd.org Subject: Re: How is monitor brightness is controlled ? X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 13:10:24 -0000 Thank you, Stewart, I've already got some knowledge and looked throught the variables, there is nothing similar in there. devel-pc# sysctl -a | grep lcd devel-pc# sysctl -a | grep brightness I've also tried loading acpi_video.ko, that also does not work. In fact none of the Fn+ combintations work on my laptop, except of Fn+F2 (turns on/off Wireless devices). I feel it's not under control of FreeBSD rather BIOS is doing it (correct me if I'm wrong). Pressing this combination just turns off Wi-Fi on a hardware level, in FreeBSD I can see the effect by examining the contents of dmesg: wlan0: link state changed to DOWN I assume I should move in the direction of ACPI, right ? Best regards, Ievgen On Tuesday 15 May 2012 12:37:01 you wrote: > On 05/13/12 17:55, Yevgen Krapiva wrote: > > Hi everyone. > > > > Could somebody tell me what thing in FreeBSD is managing the monitor > > brightess ? > > Given that the function keys don't work, check if you have any relevant > sysctl options to play with. Most likely to find them under hw.acpi, but > try grepping "sysctl -a" output for bright or lcd to see if anything > comes up. > > > I've got Dell Inspiron laptop, FreeBSD 9.0 RELEASE and KDE4. > > Pressing the functional combintation of Fn+F4/F5 does not have any > > effect. In order to understand what's wrong I need to know in what > > direction I should move. > > Getting the fn keys working requires some ACPI voodoo I'm not familiar > with, so I'll have to defer to someone else to advise on that. The info > at [1] might be a good starting point. The fn keys on my Toshiba R600 > laptop started working only after I loaded the acpi_toshiba.ko kernel > module. I note there's no similar module for Dell's so getting them > working will probably require some fiddling. > > Cheers, > Lawrence > > [1] > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html