From mboxrd@z Thu Jan 1 00:00:00 1970 From: Romano Giannetti Subject: Re: [PATCH] Rationalise ACPI backlight implementation Date: Wed, 06 Feb 2008 11:09:20 +0100 Message-ID: <1202292560.21858.5.camel@localhost> References: <20071226020325.GA21099@srcf.ucam.org> <20080128012549.GA24166@srcf.ucam.org> <20080127211013.1ddaa6a1.akpm@linux-foundation.org> <200802012246.13162.lenb@kernel.org> <20080202113008.GA4251@khazad-dum.debian.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from antispam.upcomillas.es ([130.206.70.245]:52772 "EHLO antispam.upcomillas.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760848AbYBFKJW (ORCPT ); Wed, 6 Feb 2008 05:09:22 -0500 In-Reply-To: <20080202113008.GA4251@khazad-dum.debian.net> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Henrique de Moraes Holschuh Cc: Len Brown , Andrew Morton , Matthew Garrett , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org On Sat, 2008-02-02 at 09:30 -0200, Henrique de Moraes Holschuh wrote: > On Fri, 01 Feb 2008, Len Brown wrote: > > You might check if CONFIG_ACPI_VIDEO=3Dm is set and you can load th= e "video" module. > > While the sony may be non-standard and not load, your thinkpad may = work. [...] >=20 > We really need to solve the userspace mess, though. >=20 I do not know if this is relevant... but for example, with a i915 hw here (toshiba laptop): #cat max_brightness=20 100 #echo 50 > brightness ; cat actual_brightness=20 0 #echo 60 > brightness ; cat actual_brightness=20 0 #echo 70 > brightness ; cat actual_brightness=20 70 #echo 80 > brightness ; cat actual_brightness=20 0 #echo 90 > brightness ; cat actual_brightness=20 0 #echo 100 > brightness ; cat actual_brightness=20 100 #uname -a Linux rukbat 2.6.24 #13 SMP PREEMPT Fri Feb 1 13:12:23 CET 2008 i686 GN= U/Linux which is at least strange (and probably broken). actual_brightness is real, when it says 0 backlight is off. You can imagine what happens using the backlight up/down control... flashing lights!=20 Romano --=20 Sorry for the disclaimer --- =A1I cannot stop it! -- La presente comunicaci=F3n tiene car=E1cter confidencial y es para el e= xclusivo uso del destinatario indicado en la misma. Si Ud. no es el des= tinatario indicado, le informamos que cualquier forma de distribuci=F3n= , reproducci=F3n o uso de esta comunicaci=F3n y/o de la informaci=F3n c= ontenida en la misma est=E1n estrictamente prohibidos por la ley. Si Ud= =2E ha recibido esta comunicaci=F3n por error, por favor, notif=EDquelo= inmediatamente al remitente contestando a este mensaje y proceda a con= tinuaci=F3n a destruirlo. Gracias por su colaboraci=F3n. This communication contains confidential information. It is for the exc= lusive use of the intended addressee. If you are not the intended addre= ssee, please note that any form of distribution, copying or use of this= communication or the information in it is strictly prohibited by law. = If you have received this communication in error, please immediately no= tify the sender by reply e-mail and destroy this message. Thank you for= your cooperation.=20 - To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761887AbYBFKJd (ORCPT ); Wed, 6 Feb 2008 05:09:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760915AbYBFKJY (ORCPT ); Wed, 6 Feb 2008 05:09:24 -0500 Received: from antispam.upcomillas.es ([130.206.70.245]:52772 "EHLO antispam.upcomillas.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760848AbYBFKJW (ORCPT ); Wed, 6 Feb 2008 05:09:22 -0500 Subject: Re: [PATCH] Rationalise ACPI backlight implementation From: Romano Giannetti To: Henrique de Moraes Holschuh Cc: Len Brown , Andrew Morton , Matthew Garrett , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org In-Reply-To: <20080202113008.GA4251@khazad-dum.debian.net> References: <20071226020325.GA21099@srcf.ucam.org> <20080128012549.GA24166@srcf.ucam.org> <20080127211013.1ddaa6a1.akpm@linux-foundation.org> <200802012246.13162.lenb@kernel.org> <20080202113008.GA4251@khazad-dum.debian.net> Content-Type: text/plain; charset=ISO-8859-1 Date: Wed, 06 Feb 2008 11:09:20 +0100 Message-Id: <1202292560.21858.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2008-02-02 at 09:30 -0200, Henrique de Moraes Holschuh wrote: > On Fri, 01 Feb 2008, Len Brown wrote: > > You might check if CONFIG_ACPI_VIDEO=m is set and you can load the "video" module. > > While the sony may be non-standard and not load, your thinkpad may work. [...] > > We really need to solve the userspace mess, though. > I do not know if this is relevant... but for example, with a i915 hw here (toshiba laptop): #cat max_brightness 100 #echo 50 > brightness ; cat actual_brightness 0 #echo 60 > brightness ; cat actual_brightness 0 #echo 70 > brightness ; cat actual_brightness 70 #echo 80 > brightness ; cat actual_brightness 0 #echo 90 > brightness ; cat actual_brightness 0 #echo 100 > brightness ; cat actual_brightness 100 #uname -a Linux rukbat 2.6.24 #13 SMP PREEMPT Fri Feb 1 13:12:23 CET 2008 i686 GNU/Linux which is at least strange (and probably broken). actual_brightness is real, when it says 0 backlight is off. You can imagine what happens using the backlight up/down control... flashing lights! Romano -- Sorry for the disclaimer --- ¡I cannot stop it! -- La presente comunicación tiene carácter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribución, reproducción o uso de esta comunicación y/o de la información contenida en la misma están estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicación por error, por favor, notifíquelo inmediatamente al remitente contestando a este mensaje y proceda a continuación a destruirlo. Gracias por su colaboración. This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation.