Acer laptop brightness hal support

Michal Majchrowicz m.majchrowicz at gmail.com
Fri Sep 7 06:38:37 PDT 2007


On 9/7/07, Doug Goldstein <cardoe at gentoo.org> wrote:
> Michal Majchrowicz wrote:
> > Hi.
> > I recently spent some time on adding software way of controling
> > brightness on my Acer laptop. There is acer_acpi module that adds this
> > support. It creates /proc/acpi/acer/brightness which allows to
> > set/read brightness. I have modified acpi.c to add to hal support for
> > this module. I hope you will accept it to main tree. I don't send
> > hal-system-lcd* since the contol of brightness is almost the same as
> > for panasonic (and others).
> > to read:
> > cat /proc/acpi/acer/brightness
> > to write:
> > (accept values from 0 to 15)
> > echo 4 > /proc/acpi/acer/brightness
> > Regards Michal.
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > hal mailing list
> > hal at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/hal
>
> The best thing to do would be to provide a diff against the current
> master branch files, rather then a whole acpi.c file.
>
> http://gitweb.freedesktop.org/?p=hal.git;a=blob;f=HACKING
>
> Provides a terse explaination of how to use git to pull the latest master.
>
> --
> Doug Goldstein <cardoe at gentoo.org>
> http://dev.gentoo.org/~cardoe/
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal
>
Please check if this is a correct patch.
Regards Michal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mydiff
Type: application/octet-stream
Size: 2139 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070907/d0e6799b/attachment.obj 


More information about the hal mailing list