Gpe-bugs Digest, Vol 5, Issue 5

[email protected] Wed, 28 Mar 2007 12:00:23 +0200
Newsgroups gmane.comp.handhelds.gpe
Message-ID <[email protected]>
Send Gpe-bugs mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gpe-bugs digest..."


Today's Topics:

   1. [Bug 42] New: gpe-conf is not detecting correctly lcd	power
      state in zaurus corgi ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Tue, 27 Mar 2007 18:58:15 +0200
From: [email protected]
Subject: [Gpe-bugs] [Bug 42] New: gpe-conf is not detecting correctly
	lcd	power state in zaurus corgi
To: [email protected]
Message-ID: <[email protected]/>

http://bugs.linuxtogo.org/show_bug.cgi?id=42

           Summary: gpe-conf is not detecting correctly lcd power state in
                    zaurus corgi
           Product: gpe-conf
           Version: 0.2.5
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P4
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
   Estimated Hours: 0.0


With gpe-conf 0.2.5, LCD seems to get off randomly. 

Investigating further, it seems that the reason is gpe-conf, task_backlight
module.
When called without args, with the LCD on, it's returning:
off <brightness value>

Looking at the code, it seems to me that the function sysclass_get_power in
modules/screen/brightness.c is using an incorrect sysfs file. It should be
SYS_BRIGHTNESS instead of SYS_POWER, as its counterpart sysclass_set_power is
using.

I'm attaching a patch.


-- 
Configure bugmail: http://bugs.linuxtogo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



------------------------------

_______________________________________________
Gpe-bugs mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs


End of Gpe-bugs Digest, Vol 5, Issue 5
**************************************