Re: zaurus turns off when picogui running
Peter Hermsdorf <[email protected]> Wed, 07 May 2003 11:16:00 +0200
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
the error seems to be the timer_vidblank part.
when just commenting out
if (timer_vidblank && timer_eval(timer_vidblank + timer_lastactivity))
drivermessage(PGDM_POWER,PG_POWER_VIDBLANK,NULL);
the error does not appear.
i added some printf statements before these lines with
printf("timer_vidblank: %d\n\r",timer_vidblank);
printf("eval statement: %d\n\r",timer_eval(timer_vidblank +
timer_lastactivity));
the output right after starting pgserver on the zaurus is
# pgserver
timer_vidblank: 600
eval statement: 0
timer_vidblank: 600
eval statement: 1
all this in < 3 secs (so oviously not 60 as configured). so it seems the
timer_eval function behaves somehow different.
i wasn`t able to track this down further. hope that helps somehow !?
bye,peter
Peter Hermsdorf wrote:
>>
>>
>> I haven't looked at it yet, but I don't see how it could be anything but
>> the code in timer.c causing the problem. That code doesn't depend on
>> much else, so it shouldn't take much 'big picture' knowledge to find the
>> problem.
>>
>>
>
> ok. i`ll see what i can do.....
>
>>
>> PicoGUI suspends the zaurus by issuing a command in /proc, but it
>> shouldn't have any effect on poweron.
>>
>>
> this behaviour is the same in console only mode, so it has nothing
> specific to PicoGUI..... maybe i have to ask this question on
> openzaurus-dev.
> bye,peter
>
>>> Micah Dowty wrote:
>>>
>>>
>>>
>>>> I've seen this problem before now that you mention it, but I haven't
>>>> looked into it and it seems to have escaped from the collector :)
>>>>
>>>> The input driver for the zaurus includes a driver message handler to
>>>> support picogui's suspend timer. You can see this in
>>>> server/input/zaurus.c
>>>>
>>>> The suspend timer itself is in server/gcore/timer.c
>>>> In README.configfile, the timers.sleep property is shown to have the
>>>> default value zero, meaning that the timer is disabled. Check whether
>>>> your pgserver.conf is overriding this. If so, try commenting out that
>>>> line. If it looks correct, try adding printf()s or breakpoints to
>>>> timer.c
>>>>
>>>> If you don't feel like fixing this right away or at all, add
>>>> it to the collector and it will be eventually fixed.
>>>>
>>>> --Micah
>>>>
>>>> On Fri, May 02, 2003 at 03:40:21PM +0200, Peter Hermsdorf wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> hi all,
>>>>>
>>>>> i finally got hello.c running, but there is a funny effect: after
>>>>> starting pgserver the display immediately shuts down. when
>>>>> pressing a key, let`s say the OK-Key, the screen turns on and i
>>>>> can see the hello world window,when i release the key the screen
>>>>> immediately turns off. when again pressing a key, it turns on
>>>>> again and i have to keep the key pressed to see something.
>>>>>
>>>>> anybody knows what`s the problem? .... is this maybe some
>>>>> misconfigured energy saving feature or something ?
>>>>>
>>>>> thx for any help!
>>>>>
>>>>> bye,peter
>>>>>
>>>>>
>>>>
>
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> Pgui-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel
>
--
Mit freundlichen Grüssen
Peter Hermsdorf
/ATG Automatisierungstechnik GERA GmbH /
Keplerstrasse 10-12
D-07549 Gera
Tel.: ++49 (0) 365 734 93 73
Fax: ++49 (0) 365 734 93 60
email: [email protected] <mailto:[email protected]>
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com