Re: LED blinking during suspend

2009-12-17 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timo Juhani Lindfors wrote:
> Lars-Peter Clausen  writes:
>> Leds can either be on or off during suspend. Blinking is not
>> possible.
>
> Really? Here with andy-tracking LEDs always turn off when I suspend
>
>
Yes, but that's a software limitation. I had leds on while the device
was suspended.

- - Lars
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksqq/kACgkQBX4mSR26RiPGCgCbBYj0sq0kIxGVLSteSwMiRcHm
P1AAn1yO5flR3lJi+V7pVfihr+wAILz3
=5nUp
-END PGP SIGNATURE-


___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: LED blinking during suspend

2009-12-16 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Werner Almesberger wrote:
> c_c wrote:
>> If I set the LED light on, and suspend the phone - does it stay
>> on automatically - or do I need more magic?
>
> As far as the hardware is concerned, it will stay on. I'm too lazy
> to check if the kernel will turn it off for you in suspend :)
>
You need a modified kernel, but it's a one liner. Add
.retain_state_suspended = 1,

to the led struct in arch/arm/mach-gta02.c

>> What about the current consumption?
>
> About 5 mA per LED. About 50 mA per LED if the LED has the base
> resistor problem. Normal suspend current with GSM on should be
> somewhere around 8 mA, maybe a bit less. So the LED would take a
> considerable bite out of that,
>
> From a usability point of view, I'm quite sceptical about this idea
> of using a LED as a permanent indicator. LEDs are very limited in
> the amount of information they can signal to a human being, and if
> you have a lot of different states to signal, the patterns may not
> be very intuitive.
>
> I think it would be interesting to try to find a way for resuming
> the display really quickly, so that one could just bring up the
> screen, check the status indicators for any news, and then send the
> device back to sleep.
Actually it is already pretty fast with a recent kernel and
xf86-video-glamo. I would say about a second.

A led as an indicator that something has happened is imo pretty nice,
because you don't have to press any buttons nor have to really focus
your eyes. And only if it's on you'll turn the device on to see what
actually happened.

- - Lars

>
> - Werner
>
> ___ hardware mailing
> list hardware@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/hardware

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkso4wIACgkQBX4mSR26RiMNzQCfa/B8vdfqoIVLLaXykIblnqRF
HmUAn1yJgafjKzaQoxBMNWiA/bIZDJni
=ZV2b
-END PGP SIGNATURE-


___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: LED blinking during suspend

2009-12-16 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dr. Michael Lauer wrote:
>> Leds can either be on or off during suspend. Blinking is not
>> possible. Same with vibrator.
>>
>> You can let the audio chip on during suspend. But since you won't
>> be able to send any audio data from the cpu it's not that useful,
>> except if you want to suspend the main cpu while having a phone
>> conversation.
>
> Speaking about that, have there been any improvement towards
> no-idle-ticks and/or clock-changing for s3c24x0 in 2.6.31?
>
> For some applications it'd be still very appealing to keep the CPU
> on, but with the least possible clock frequency.
>
> :M:
>
>
>
> ___ hardware mailing
> list hardware@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/hardware
Hi

Afaik Michael Trimarchi was working on it

- - Lars
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkso4DEACgkQBX4mSR26RiO5QwCfSGq9OVtYE+SvBCMhWKrWtQOC
Vn8Ani9HtJFyvMF/pmUQ3NLH0tZhziL0
=uM32
-END PGP SIGNATURE-


___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: LED blinking during suspend

2009-12-16 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

c_c wrote:
> Hi,
>   Is it possible to blink the FR's LED's (red/orange/blue - any / either)
> while the phone is in suspend?
>  I'm looking at this as a method to indicate to the user that some
> notification needs his attn (missed call/sms/task etc) while the phone is
> suspended.
>   Can the vibrator / audio system be used while in suspend?
>   Thanks.
Hi

Leds can either be on or off during suspend. Blinking is not possible.
Same with vibrator.

You can let the audio chip on during suspend. But since you won't be
able to send any audio data from the cpu it's not that useful, except
if you want to suspend the main cpu while having a phone conversation.

- - Lars
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksoqdoACgkQBX4mSR26RiNsEgCaAh81GX2nki5lpfZOBZT4tIBo
R2EAn3eAh92UijaoyL22NrHhLyRhBX6F
=gF7j
-END PGP SIGNATURE-


___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: can openmoko be in suspend and keep the backlight on?

2009-11-25 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nils Faerber wrote:
> Lars-Peter Clausen schrieb:
>> Timo Juhani Lindfors wrote:
>>> Hi, just out of curiosity, is it possible to suspend the main
>>> cpu but still keep the display backlight on? (I have no
>>> practical use for this, it would be useful only if we could
>>> keep screen contents visible too).
>> Yes it could be done, but whould be quite hackish. For screen
>> content the glamo needs to be running too.
>
> And glamo gets the contents from where? The DRAM? The DRAM cannot
> go into self-refresh and thus the CPU suspend mode only saves very
> little power.

Nope. At least not form the main memory the glamo has it's own memory.

- - Lars


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksNamsACgkQBX4mSR26RiMAKgCdEw65gBzVhUwSV8+kC0TtdWpp
p6YAn0GDP1e5qRRYXKsjh44CdvJr0P/s
=hAsT
-END PGP SIGNATURE-


___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: can openmoko be in suspend and keep the backlight on?

2009-11-24 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timo Juhani Lindfors wrote:
> Hi,
>
> just out of curiosity, is it possible to suspend the main cpu but
> still keep the display backlight on? (I have no practical use for
> this, it would be useful only if we could keep screen contents
> visible too).
>
Yes it could be done, but whould be quite hackish. For screen content
the glamo needs to be running too.

- - Lars

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksMCXAACgkQBX4mSR26RiO1RgCfQqQB60lOp8oFaix6sSHNYbCn
uQoAn2uptW1fJU5RZaOjaWmPjc15nfno
=yHJY
-END PGP SIGNATURE-


___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware