From jnuevo at depeca.uah.es Thu Oct 1 11:46:32 2009 From: jnuevo at depeca.uah.es (Jesus Nuevo Chiquero) Date: Thu, 01 Oct 2009 13:46:32 +0200 Subject: [Pommed-devel] pommed + nvidia_bl Message-ID: <4AC49698.9000707@depeca.uah.es> Hi all, I'm using pommed 1.28 from source in a Macbook pro 5,5 under debian lenny + kernel from squeeze. I have not been able to make pommed work with the nvidia_bl module from the ubuntu mactel PPA, because pommed does not support it. mbp_nvidia_bl driver does not work for me. Just in case someone is interested, the following patch for sysfs_backlight.c adds support for nvidia_bl. 44a45 > SYSFS_DRIVER_MBP_NVIDIA, 61a63 > "/sys/class/backlight/nvidia_backlight/actual_brightness", 74a77 > "/sys/class/backlight/nvidia_backlight/brightness", 87a91 > "/sys/class/backlight/nvidia_backlight/max_brightness", 398a403,407 > ret = sysfs_backlight_probe(SYSFS_DRIVER_MBP_NVIDIA); > > if (ret == 0) > return 0; Kind regards, J. -- *************************************************************** * Jes?s Nuevo Chiquero * PhD Candidate - Research Assistant * Robesafe Research Group * Departamento de Electr?nica | Department of Electronics * Escuela Polit?cnica. Universidad de Alcal? * 28871 Alcal? de Henares, Madrid ESPA?A (SPAIN) * email: jnuevo at depeca.uah.es * phone: (+34) 653217732 *************************************************************** From jb at jblache.org Thu Oct 1 16:38:14 2009 From: jb at jblache.org (Julien BLACHE) Date: Thu, 01 Oct 2009 18:38:14 +0200 Subject: [Pommed-devel] pommed + nvidia_bl In-Reply-To: <4AC49698.9000707@depeca.uah.es> (Jesus Nuevo Chiquero's message of "Thu, 01 Oct 2009 13:46:32 +0200") References: <4AC49698.9000707@depeca.uah.es> Message-ID: <878wfvjci1.fsf@sonic.technologeek.org> Jesus Nuevo Chiquero wrote: Hi, > I have not been able to make pommed work with the nvidia_bl module > from the ubuntu mactel PPA, because pommed does not support > it. mbp_nvidia_bl driver does not work for me. Just in case someone is > interested, the following patch for sysfs_backlight.c adds support for > nvidia_bl. >> "/sys/class/backlight/nvidia_backlight/actual_brightness", The sysfs layout has changed, yay. Thanks for the patch, I'll apply it. JB. -- Julien BLACHE GPG KeyID 0xF5D65169