Re: [PATCH] Common backlight for kernel 2.6

Slavek Banko <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Organization axis, spol. s r. o.
Message-ID <[email protected]>
Dne úterý 06 červen 2006 04:15 jste napsal(a):
> On Tue, Jun 06, 2006 at 02:03:30AM +0200, Slavek Banko wrote:
> > Hi.
> >
> > Here is first version of patch, that prepare common code for
> > backlight on devices with kernels 2.6. I don't know, that code
> > belongs to odevice.cpp and that to odevice_abstractmobiledevice.cpp.
> > I put common code to odevice.cpp. In odevice_ipaq.cpp is
> > corresponding code removed and common methods is used. Method
> > iPAQ::setDisplayStatus will be completely removed. Some cases from
> > iPAQ::displayBrightnessResolution can be too removed (which models
> > use kernel 2.6?).
> >
> > If common code will be accepted, code for other devices than iPAQs
> > can be modified to use this common code.
> >
> > I expect suggestions and comments.
>
> How much testing have you given this code? Like have you tried a 2.4
> kernel supported handheld and seen it still working?
>
> Otherwise, it looks OK. I will attempt to get it compiled into my Opie
> builds.
>
> Thanks for working on this.
>
> E

I test this code on my newer H2210 (with kernel 2.6) and older H3630 (with 
kernel 2.4). On both models works. Usage of code with /sys/class/* is 
claused on existence /sys/class/.

Slavek
_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.