From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LbtMp-0005TH-NH for garchives@archives.gentoo.org; Tue, 24 Feb 2009 09:14:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C790AE0271; Tue, 24 Feb 2009 09:14:18 +0000 (UTC) Received: from mail-fx0-f161.google.com (mail-fx0-f161.google.com [209.85.220.161]) by pigeon.gentoo.org (Postfix) with ESMTP id 6F2D8E0271 for ; Tue, 24 Feb 2009 09:14:18 +0000 (UTC) Received: by fxm5 with SMTP id 5so2524700fxm.10 for ; Tue, 24 Feb 2009 01:14:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cAI/iI26OeYtLO0AUWAfnMD+2WwPuIkUt2XnRZa5idc=; b=FyI4WP+plOHfaXK0E0/ggiGUsBziBDILlnv0TIP/CxnGv5p8W0XfKL/sGE3nXVCTGc fdfBkqXMm9QNdHiHL3/HO/Y00fbZXSlcWb9EVzia6D1IDEUrZrz+d1V+C+i67b5QGZbw /RBFIiSEFx/6i6A623L8owTTfIrM0kHzxG6dQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=sHDADA/tODvnHnJKbgvNihmRclVkT5nq2ZnurkVnbGQgkWWDhYVq1sNdwZbf3JDeg+ QEs07jc5hH8qQpoOz3xqsqyHaZE2AlrGZgDPE4Zl7pxe9wCgNJNpStjsshiCmG12yHUl YdS8IBK7sDXKgbt2dT19o/MWc9g+PQu+SgnIw= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.103.176.20 with SMTP id d20mr4137416mup.27.1235466857783; Tue, 24 Feb 2009 01:14:17 -0800 (PST) In-Reply-To: <47a330c50902231257v3bfd082bx1dfd7b968e919709@mail.gmail.com> References: <47a330c50902230119k5e7bffdbj7b9bff9daccabb68@mail.gmail.com> <20090223120331.GB29590@marvin.heimnetz.local> <47a330c50902231020s68f9134fy9c8fa6cc16cd98d5@mail.gmail.com> <20090223193034.GA1228@marvin.heimnetz.local> <47a330c50902231257v3bfd082bx1dfd7b968e919709@mail.gmail.com> Date: Tue, 24 Feb 2009 10:14:17 +0100 Message-ID: <47a330c50902240114x5c6165ebhb7d8bfc3ddd2d75a@mail.gmail.com> Subject: Re: [gentoo-user] How to dim the display brightness From: Damian To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 53f6570a-c225-4ac2-8a73-170446c76db7 X-Archives-Hash: 76e15d86e5520322a8943223e47a7854 On Mon, Feb 23, 2009 at 9:57 PM, Damian wrote: > Hi Sebastian, > >> acpi_os-name =3D "Linux" as kernel parameter might help. > Ok, I've changed the grub menu.lst file. After the reboot I will write > if something changes. Nope :( >> >> and take a look if /sys/class/backlight/acpi_video0/ is present: >> this is the kernel interface to set the brightness. > I have it, but running > =A0 =A0cho 2 > /sys/class/backlight/acpi_video0/brightness > has no effect in the display brightness. > >> CONFIG_BACKLIGHT_LCD_SUPPORT >> >> is the appropriate kernel config category to look at in recent kernels. > Yes, that variable is set. > >> BTW which kernel are you using? > 2.6.27-r2 > >> No doubt: the first dimms the videocard output, the latter the LCD. > I didn't know the reasons for this "missmatch", thanks a lot for this > brief but useful explanation. > >> You can use xev to see which keycode is emmitted and then look in your >> desktop environment if this is match with some action. > In fact, Fn + dimming keys produces output. Now, to do something > useful, I need to know how to dim the light of the LCD. > >> Well. it should be somehow applicable, because it is rather generic. > I don't know how to replace this line > =A0 =A0echo "level ${LEVEL}" > /proc/acpi/ibm/brightness > > I have a file > =A0 =A0/proc/acpi/video/C14B/C160/brightness > whose contents look like > =A0 =A0levels: =A0100 51 30 37 44 51 58 65 72 79 86 93 100 > =A0 =A0current: 72 > > I did some echoes to that file, but no luck so far :( >