2007/4/16, Eero Tamminen <[EMAIL PROTECTED]>:
Hi,
[...]
>> > Could you check what was the boot reason from /proc/bootreason?
>>
>> ~ $ cat /proc/bootreason
>> charger
AFAIK means that device was booted because charger was connected
i.e. this doesn't seem a reboot, for some reason the device just
transfers from the charging mode to normal mode.
yes this is what is happening, both plugging in charger and then
switching off device,
or plugging charger with device already switched off.
Actually, once the battery is full, would it be better to turn
off the device, go to normal mode, or remain in charging mode?
:-)
Nice question :-). Personally, I would prefer to find device in the
same state I leaved it.
( except for the discharged battery, of course ;-) )
>> > You could also check the files in /var/lib/dsme/stats/ to see
>> > whether any system process had crashed.
>>
>> Here follows:
>> ===============================
>> ~ $ ls -la /var/lib/dsme/stats/
>> drwxr-xr-x 2 root root 0 Apr 16 15:27 .
>>
>> drwxr-xr-x 3 root root 0 Apr 16 15:29 ..
>>
>> -rw-r--r-- 1 root root 49 Apr 14 11:17 lifeguard_resets
>>
>> -rw-r--r-- 1 root root 303 Apr 16 15:27 lifeguard_restarts
>>
>> -rw-r--r-- 1 root root 2 Apr 14 11:18 sw_rst
>>
>>
>> ~ $ cat /var/lib/dsme/stats/lifeguard_resets
>> /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z : 1 *
>>
>>
>> ~ $ cat /var/lib/dsme/stats/lifeguard_restarts
>>
>> /usr/bin/osso-media-server : 2
>>
>> /usr/bin/esd : 3
>>
>> /usr/bin/ias : 3
>>
>> /usr/bin/osso_hss : 3
>>
>> /usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/dsp_dld_avs.conf : 3
>>
>> /usr/bin/hildon-input-method : 7 *
>>
>> /usr/bin/osso-connectivity-ui-conndlgs : 1
>>
>> /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z : 10
>>
>>
>> ~ $ cat /var/lib/dsme/stats/sw_rst
>> 2
Seems that at some point dnsmasq has caused device reboot by
dying too many times (10) in a row. Input method has been
restarted quite a few times too[1] and DSP reset has caused
it's clients to be restarted a few times too.
I see.
Anyway, i removed "/var/lib/dsme/stats/lifeguard_restarts" file,
powerd off the device, and plugged charger in. As usual the device
booted by himself, but the file /var/lib/dsme/stats/lifeguard_restarts
is still absent.
Bye,
Robero.
_______________________________________________
maemo-users mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-users