Re: Battery drain with Diablo 4.2008.23-14

2008-08-14 Thread Poussa Sakari (Nokia-D/Helsinki)
ext Juan A. Suarez Romero wrote:
> On Wed, 2008-08-13 at 21:25 +0200, Philippe Midol-Monnet wrote:
>   
>> I have exactly the same problem but the R&D mode is disabled on my device!
>>
>> Have you got another idea ?
>> 
>
> I had also rd-flags=serial-console and usb-host-mode enabled.
>
> Check also if you have swap enabled (maybe it is corrupted).
It's the serial-console setting, not the rd-mode that is causing the 
battery to drain very fast.

-sakari
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-13 Thread Juan A. Suarez Romero
On Wed, 2008-08-13 at 21:25 +0200, Philippe Midol-Monnet wrote:
> I have exactly the same problem but the R&D mode is disabled on my device!
> 
> Have you got another idea ?

I had also rd-flags=serial-console and usb-host-mode enabled.

Check also if you have swap enabled (maybe it is corrupted).


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-13 Thread Philippe Midol-Monnet

Hello


Kimmo Ha"ma"la"inen wrote:
> On Mon, 2008-08-11 at 12:26 +0200, ext Juan A. Suarez Romero wrote:
>> Hello, maemoers!
>>
>> The battery of my N810 lasts a day after reflashing it with Diablo
>> version 4.2008.23-14.
>>...
>> Any clue about why this happens?
> 
> Do you have the R&D mode enabled?  It can drain the battery in a day.
> 
> BR; Kimmo

I have exactly the same problem but the R&D mode is disabled on my device!

Have you got another idea ?

--
Philippe
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-12 Thread Eero Tamminen
Hi,

ext Juan A. Suarez Romero wrote:
> On Mon, 2008-08-11 at 21:59 +0200, olle wrote:
>> Had a similar experience when upgrading an N800 a while ago.
>> IIRCC the fix then was to delete and recreate the swap file.
> 
> Thanks for your tip. But I didn't use any swap file.
> 
> Anyway, seems that disabling R&D mode fixes the problem.
> 
> Moreover, besides having that mode, I had activated usb-host-mode and
> rd-flags=serial-console, so I'm not sure if some of this sets were
> draining the battery.

Serial-console R&D setting will definitely drain your battery and
if you don't have anything connected to the device serial connection
pins, it will cause random reboots and other funny effects (because
random serial input sometimes manages to match SysRq keyboard
shortcuts).

Note that R&D settings aren't cleared when the device is flashed
and in general users should have any need for them...


> But thank you everyone for your help!


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-12 Thread Juan A. Suarez Romero
On Mon, 2008-08-11 at 21:59 +0200, olle wrote:
> Had a similar experience when upgrading an N800 a while ago.
> IIRCC the fix then was to delete and recreate the swap file.

Thanks for your tip. But I didn't use any swap file.

Anyway, seems that disabling R&D mode fixes the problem.

Moreover, besides having that mode, I had activated usb-host-mode and
rd-flags=serial-console, so I'm not sure if some of this sets were
draining the battery.

But thank you everyone for your help!

B.R.


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread olle
On Mon, Aug 11, 2008 at 12:26:23PM +0200, Juan A. Suarez Romero wrote:
> 
> The battery of my N810 lasts a day after reflashing it with Diablo
> version 4.2008.23-14.

Had a similar experience when upgrading an N800 a while ago.
IIRCC the fix then was to delete and recreate the swap file.

/olle
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
On Mon, 2008-08-11 at 15:42 +0300, Kimmo Hämäläinen wrote:
> I don't know the details. Disabling R&D mode would at least eliminate
> the possibility.
> 

Ok. I'll try it. Thank you very much.

> BR; Kimmo
> 
> > 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Kimmo Hämäläinen
On Mon, 2008-08-11 at 12:04 +, Igor Stoppa wrote:
> On Mon, 2008-08-11 at 12:17 +0100, ext Andrew Flegg wrote:
> > On Mon, Aug 11, 2008 at 12:13 PM, Kimmo Hämäläinen
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > Do you have the R&D mode enabled?  It can drain the battery in a day.
> > 
> > It can? Previous information has been that R&D mode on its own (i.e.
> > without enabling the serial console etc.) has no effect on battery
> > life; and solely enables `sudo gainroot'.
> 
> And that should still hold true, afaik
> 
> > What does "plain" R&D mode do which affects battery so greatly?
> 
> Nothing unless somebody had the bright idea to hook something to the
> plain R&D mode flag. Which i really hope is not the case.
> 
> Kimmo: can you please detail?

I don't know the details. Disabling R&D mode would at least eliminate
the possibility.

BR; Kimmo

> 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Faheem Pervez
RD-Mode is an interesting one. All enabling it does is set a flag in the
CAL. The bulk of what happens in in /mnt/initfs/linuxrc and
/etc/rc2.d/S99ttyusb0 which just read that flag and do things if that flag
is set.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Igor Stoppa
On Mon, 2008-08-11 at 12:17 +0100, ext Andrew Flegg wrote:
> On Mon, Aug 11, 2008 at 12:13 PM, Kimmo Hämäläinen
> <[EMAIL PROTECTED]> wrote:
> >
> > Do you have the R&D mode enabled?  It can drain the battery in a day.
> 
> It can? Previous information has been that R&D mode on its own (i.e.
> without enabling the serial console etc.) has no effect on battery
> life; and solely enables `sudo gainroot'.

And that should still hold true, afaik

> What does "plain" R&D mode do which affects battery so greatly?

Nothing unless somebody had the bright idea to hook something to the
plain R&D mode flag. Which i really hope is not the case.

Kimmo: can you please detail?

-- 

Cheers, Igor

---

Igor Stoppa
Maemo Software - Nokia Devices R&D - Helsinki
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
On Mon, 2008-08-11 at 14:13 +0300, Kimmo Hämäläinen wrote:
> Do you have the R&D mode enabled?  It can drain the battery in a day.
> 

Sure? Yes, I've R&D mode enabled. But I've been using that mode in
previous flashes, and never had any problem.

K.R.


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
On Mon, 2008-08-11 at 14:09 +0300, Eero Tamminen wrote:
> Hi,
> 
> ext Juan A. Suarez Romero wrote:
> > The battery of my N810 lasts a day after reflashing it with Diablo
> > version 4.2008.23-14.
> 
> What packages you've installed on top of it?
> 

None. As I said, I've reflashed it and nothing more. Even I've tested it
by uninstalled applications that come with flash. No luck.

> When the device is in offline mode with MMC out, if you run "top" in
> XTerm, does anything else besides the top, xterm (maemo-launcher) and
> Xomap show up using *any* CPU?

No, nothing.

> 
> What if you disable all Home applets and close all applications
> also (if you already haven't)?
> 

After reflashing it, I've powered on device, and left in standby-mode. I
didn't open any application, nor aplet.

> 
> > I've repeated the process several times, even uninstalling all programs
> > that comes with flash, and no luck.
> > 
> > Any clue about why this happens?
> 
> Have you added multimedia (audio, video) files to the internal
> memory card?

No. Even I've formatted the internal card to have nothing.



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Andrew Flegg
On Mon, Aug 11, 2008 at 12:13 PM, Kimmo Hämäläinen
<[EMAIL PROTECTED]> wrote:
>
> Do you have the R&D mode enabled?  It can drain the battery in a day.

It can? Previous information has been that R&D mode on its own (i.e.
without enabling the serial console etc.) has no effect on battery
life; and solely enables `sudo gainroot'.

What does "plain" R&D mode do which affects battery so greatly?

Thanks in advance,

Andrew

-- 
Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Kimmo Hämäläinen
On Mon, 2008-08-11 at 12:26 +0200, ext Juan A. Suarez Romero wrote:
> Hello, maemoers!
> 
> The battery of my N810 lasts a day after reflashing it with Diablo
> version 4.2008.23-14.
> 
> Really I don't know why this happens. I've googled and seems this
> problem is reported in several places.
> 
> Moreover, after a full recharge, I've flashed it, put the device in
> offline-mode and removed the MMC card.
> 
> Without using the device at all, after one day it powers off due to lack
> of battery.
> 
> I've repeated the process several times, even uninstalling all programs
> that comes with flash, and no luck.
> 
> Any clue about why this happens?

Do you have the R&D mode enabled?  It can drain the battery in a day.

BR; Kimmo

> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Eero Tamminen
Hi,

ext Juan A. Suarez Romero wrote:
> The battery of my N810 lasts a day after reflashing it with Diablo
> version 4.2008.23-14.

What packages you've installed on top of it?


> Really I don't know why this happens. I've googled and seems this
> problem is reported in several places.
> 
> Moreover, after a full recharge, I've flashed it, put the device in
> offline-mode and removed the MMC card.
> 
> Without using the device at all, after one day it powers off due to lack
> of battery.

This usually means that some process in the device is waking up
at about second interval (which doesn't really show up in top
unless it does also something else).

When the device is in offline mode with MMC out, if you run "top" in
XTerm, does anything else besides the top, xterm (maemo-launcher) and
Xomap show up using *any* CPU?

What if you disable all Home applets and close all applications
also (if you already haven't)?


> I've repeated the process several times, even uninstalling all programs
> that comes with flash, and no luck.
> 
> Any clue about why this happens?

Have you added multimedia (audio, video) files to the internal
memory card?


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Battery drain with Diablo 4.2008.23-14

2008-08-11 Thread Juan A. Suarez Romero
Hello, maemoers!

The battery of my N810 lasts a day after reflashing it with Diablo
version 4.2008.23-14.

Really I don't know why this happens. I've googled and seems this
problem is reported in several places.

Moreover, after a full recharge, I've flashed it, put the device in
offline-mode and removed the MMC card.

Without using the device at all, after one day it powers off due to lack
of battery.

I've repeated the process several times, even uninstalling all programs
that comes with flash, and no luck.

Any clue about why this happens?


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers