Reply
Thread Tools
Posts: 9 | Thanked: 0 times | Joined on May 2014
#221
I got a question about the power consumption because I managed to reflash the phone 3 times ^^

1. First time I flashed both:
RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin
RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin
to achieve condition as from the box. Then after a few days I realized that the power consumption was big enough: about 20% discharge over the nigt.

2. after some reserch of forums I decided to install CSSU testing, so after that the consumption of battery power normalised and the phone was able to work few days with normal usage.

The next thing was to install usbmode, but it requires kernel power. I don't know why, but kernel power v52 does not wanted to install on top of CSSU.

3.Therefore I re-flashed my phone again, installed kp52 and then CSSU. Straight after installed usbmode. Day later I noticed that power consumption became higher again..

Log from powertop with wifi/bluetooth OFF, 2G network ON :
Code:
~ $ root 

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) 
Enter 'help' for a list of built-in commands. 

Nokia-N900:~# powertop 
Powertop 1.13.3 
status: Unknown job: pmtrackerdaemon 
Sleeping for 11 seconds before sampling 
Collecting data for 30 seconds 
Sample interval was 00m 30s 10376us 

C# | Ratio | Avg/dura | Frequency | Ratio 
--------+--------+----------+-----------+--------+ 
C0 | 14.2% | | 1150 MHz | nan% | 
C1 | 0.5% | 2.5ms | 
C2 | 52.7% | 14.3ms | 
C3 | 13.4% | 103.1ms | 
C4 | 19.2% | 821.0ms | 

IRQ# | Activity | Type | Name 
--------+------------+----------------+--------------------------- 
37 | 1100 | INTC | gp 
61 | 974 | INTC | i2c_omap 
11 | 634 | INTC | prcm 
56 | 437 | INTC | i2c_omap 
57 | 270 | INTC | i2c_omap 
86 | 85 | INTC | mmc1 
21 | 52 | INTC | SGX 
12 | 23 | INTC | DMA 
25 | 1 | INTC | OMAP 

PID# | Activity | Name | Function Entry (Expire) 
--------+------------+----------------+--------------------------- 
0 | 878 | <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer) 
782 | 141 | mce | schedule_hrtimeout_range (hrtimer_wakeup) 
38 | 81D| awk | cpufreq_governor_dbs (delayed_work_timer_fn) 
0 | 24 | <kernel core> | hrtimer_start (tick_sched_timer) 
15231 | 19 | osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup) 
679 | 18 | dsme | __enqueue_rt_entity (sched_rt_period_timer) 
590 | 8 | mmcqd | queue_delayed_work (delayed_work_timer_fn) 
709 | 6 | bme_RX-51 | sys_timer_settime (posix_timer_fn) 
847 | 5 | Xorg | hrtimer_start (it_real_fn) 
847 | 5 | Xorg | queue_delayed_work (delayed_work_timer_fn) 
590 | 5 | mmcqd | schedule_timeout (process_timeout) 
782 | 4 | mce | tsc2005_start_scan (tsc2005_esd_timer_handler) 
1190 | 3 | location-proxy | queue_delayed_work (delayed_work_timer_fn) 
679 | 3 | dsme | do_nanosleep (hrtimer_wakeup) 
1 | 3D| <kernel core> | queue_delayed_work (delayed_work_timer_fn) 
782 | 3 | mce | queue_delayed_work (delayed_work_timer_fn) 
809 | 2 | sgx_perf | queue_delayed_work (delayed_work_timer_fn) 
29675 | 2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn) 
709 | 2 | bme_RX-51 | sys_timer_settime (posix_timer_fn) 
709 | 2 | bme_RX-51 | do_nanosleep (hrtimer_wakeup) 
709 | 2 | bme_RX-51 | schedule_timeout (process_timeout) 
1106 | 2 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup) 
18455 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
6223 | 1 | apt-worker | addrconf_verify (addrconf_verify) 
18481 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
1113 | 1 | hildon-home | schedule_hrtimeout_range (hrtimer_wakeup) 
18507 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
18533 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
758 | 1 | hald | schedule_hrtimeout_range (hrtimer_wakeup) 
18559 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
18585 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
1 | 1 | <kernel core> | inet_initpeers (peer_check_expire) 
18611 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
18637 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
590 | 1 | mmcqd | schedule_timeout (process_timeout) 
18663 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
18689 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
590 | 1 | mmcqd | cfq_completed_request (cfq_idle_slice_timer) 
1115 | 1 | hildon-desktop | queue_delayed_work (delayed_work_timer_fn) 
23608 | 1 | browserd | futex_wait (hrtimer_wakeup) 
782 | 1 | mce | schedule_timeout (process_timeout) 
18715 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
18759 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
1082 | 1 | iphbd | schedule_hrtimeout_range (hrtimer_wakeup) 
30 | 1 | mount | setup_wb_timer (wb_timer_fn) 
18785 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
18321 | 1 | powertop | do_nanosleep (hrtimer_wakeup) 

Power domain activity breakdown 
Domain | % of time spent in states 
--------+---------+---------+---------+---------+---------- 
usbhost |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) 
sgx |OFF: 96%|RET: 0%|INA: 0%| ON: 3%| now:(OFF) 
per |OFF: 32%|RET: 52%|INA: 0%| ON: 15%| now:(ON) 
dss |OFF: 23%|RET: 0%|INA: 0%| ON: 76%| now:(OFF) 
cam |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) 
core |OFF: 14%|RET: 4%|INA: 62%| ON: 19%| now:(ON) 
neon |OFF: 19%|RET: 13%|INA: 52%| ON: 15%| now:(ON) 
mpu |OFF: 19%|RET: 13%|INA: 52%| ON: 15%| now:(ON) 
iva2 |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) 

Clock activity breakdown at end of period 
Domain | Active clocks 
--------+---------------+---------------+------------------ 
core | SDRC | HSOTGUSB_IDLE | OMAPCTRL 
| MAILBOXES | 
wkup | GPT1 | 32KSYNC | GPIO1 
| WDT1 | SR1 | SR2 
| 
ckgen | CORE | PERI | 96M 
| 48M | 12M | 54M 
| EMU_CORE | 
per | GPIO2 | GPIO3 | GPIO4 
| GPIO5 | GPIO6 | 

Total wakeups 4819, 160.6/s | IRQ 3576, 119.2/s | Timers 1243, 41.4/s 
HW wakeups 122, 4.1/s | Real gp_timers expired 76, 2.5/s 
Nokia-N900:~#
I made logs when the phone was in Offline mode i.e. all radios turned OFF
Over the night in offline mode battery drained by 10%
log from powertop :
Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash) 
Enter 'help' for a list of built-in commands. 

Nokia-N900:~# powertop 
Powertop 1.13.3 
status: Unknown job: pmtrackerdaemon 
Sleeping for 11 seconds before sampling 
Collecting data for 30 seconds 
Sample interval was 00m 30s 67505us 

C# | Ratio | Avg/dura | Frequency | Ratio 
--------+--------+----------+-----------+--------+ 
C0 | 19.5% |            | 1150 MHz | nan% |
C1 | 0.0% | 0.1ms | 
C2 | 3.5% | 7.2ms | 
C3 | 10.0% | 130.1ms | 
C4 | 67.0% | 958.8ms | 

IRQ# | Activity | Type | Name 
--------+------------+----------------+--------------------------- 
37 | 882 | INTC | gp 
56 | 276 | INTC | i2c_omap 
11 | 135 | INTC | prcm 
86 | 34 | INTC | mmc1 
57 | 22 | INTC | i2c_omap 
21 | 9 | INTC | SGX 
12 | 4 | INTC | DMA 

PID# | Activity | Name | Function Entry (Expire) 
--------+------------+----------------+--------------------------- 
0 | 806 | <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer) 
38 | 46D| awk | cpufreq_governor_dbs (delayed_work_timer_fn) 
679 | 21 | dsme | __enqueue_rt_entity (sched_rt_period_timer) 
10407 | 19 | osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup) 
0 | 17 | <kernel core> | hrtimer_start (tick_sched_timer) 
590 | 6 | mmcqd | schedule_timeout (process_timeout) 
590 | 4 | mmcqd | queue_delayed_work (delayed_work_timer_fn) 
709 | 4 | bme_RX-51 | sys_timer_settime (posix_timer_fn) 
809 | 3 | sgx_perf | queue_delayed_work (delayed_work_timer_fn) 
679 | 3 | dsme | do_nanosleep (hrtimer_wakeup) 
1 | 3 | <kernel core> | queue_delayed_work (delayed_work_timer_fn) 
18785 | 3 | sh | queue_delayed_work (delayed_work_timer_fn) 
27 | 2 | kondemand/0 | queue_delayed_work (delayed_work_timer_fn) 
709 | 2 | bme_RX-51 | sys_timer_settime (posix_timer_fn) 
709 | 2 | bme_RX-51 | do_nanosleep (hrtimer_wakeup) 
709 | 2 | bme_RX-51 | schedule_timeout (process_timeout) 
29675 | 2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn) 
23608 | 2 | browserd | futex_wait (hrtimer_wakeup) 
847 | 1 | Xorg | hrtimer_start (it_real_fn) 
1106 | 1 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup) 
10855 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
847 | 1 | Xorg | queue_delayed_work (delayed_work_timer_fn) 
30 | 1 | mount | setup_wb_timer (wb_timer_fn) 
13 | 1 | pdflush | blk_plug_device (blk_unplug_timeout) 
590 | 1 | mmcqd | schedule_timeout (process_timeout) 
10883 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
10909 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
10935 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
10961 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
10987 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
11013 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
758 | 1 | hald | schedule_hrtimeout_range (hrtimer_wakeup) 
11039 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
11065 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
782 | 1 | mce | schedule_hrtimeout_range (hrtimer_wakeup) 
11091 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
11119 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
11145 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
11171 | 1 | sleep | do_nanosleep (hrtimer_wakeup) 
10542 | 1 | powertop | do_nanosleep (hrtimer_wakeup) 

Power domain activity breakdown 
Domain | % of time spent in states 
--------+---------+---------+---------+---------+---------- 
usbhost |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) 
sgx |OFF: 97%|RET: 0%|INA: 0%| ON: 2%| now:(OFF) 
per |OFF: 76%|RET: 3%|INA: 0%| ON: 19%| now:(ON) 
dss |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) 
cam |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) 
core |OFF: 66%|RET: 8%|INA: 1%| ON: 22%| now:(ON) 
neon |OFF: 66%|RET: 9%|INA: 3%| ON: 19%| now:(ON) 
mpu |OFF: 66%|RET: 9%|INA: 3%| ON: 19%| now:(ON) 
iva2 |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) 

Clock activity breakdown at end of period 
Domain | Active clocks 
--------+---------------+---------------+------------------ 
core | SDRC | HSOTGUSB_IDLE | OMAPCTRL 
| MAILBOXES | 
wkup | GPT1 | 32KSYNC | GPIO1 
| WDT1 | SR1 | SR2 
| 
ckgen | CORE | PERI | 96M 
| 48M | 12M | 54M 
| EMU_CORE | 
per | GPIO2 | GPIO3 | GPIO4 
| GPIO5 | GPIO6 | 

Total wakeups 2331, 77.7/s | IRQ 1362, 45.4/s | Timers 969, 32.3/s 
HW wakeups 135, 4.5/s | Real gp_timers expired 114, 3.8/s 
Nokia-N900:~#
And yes, I did all tests with closed keyboard and blank screen.
Now I am not sure, whether usbmode or kernel power itself eats the battery.
what about 1150 MHz frequency? is it kp52 settings or just lag?
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#222
Originally Posted by evropean View Post
I got a question about the power consumption because
Taking it to this thread where I will reply when I have had coffee...
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 9 | Thanked: 0 times | Joined on May 2014
#223
ok, thanx, I will do it right now )
 
Posts: 669 | Thanked: 433 times | Joined on May 2010
#224
I started using this app - thanks. I was using h-e-n before and wanted to stop using it and use usbmode only, but there is one issue I'm having with it - It doesn't support write operation to NTFS. h-e-n had the same issue, but I was able to modify its script to support it using debian's "ntfs-3g".

I've attached the modified script which was located in /opt/h-e-n/mount.sh

Is it possible to add this support to usbmode also?
Attached Files
File Type: zip mount.zip (1.4 KB, 80 views)
 

The Following User Says Thank You to impeham For This Useful Post:
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#225
@impeham:

usbmode has nothing to do with usb disk... usbmode is just application which switch between usb modes (peripheral & host) and is independent of attached usb device (mouse, keyboard, usb disk...).

what mouting usb disk is ke-recv daemon. source code is on gitorious: https://gitorious.org/community-ssu/ke-recv

so if you want to support ntfs-3g you need to add it into ke-recv
 

The Following 7 Users Say Thank You to pali For This Useful Post:
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#226
Lately I have been getting the blue indicator light staying on even after I switch back to normal USB mode, takes a reboot to fix even if I get another status like charging that should override it.
Code:
~ $ uname -a
Linux Nokia-N900 2.6.28.10-power53 #1 PREEMPT Wed Dec 10 13:52:39 UTC 2014 armv7l GNU/Linux
.
Running CSSU-thumb testing
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#227
Hi,

I was looking at amazon for the new raspberry pi 2 to eventually buy one and make a retropi out off it, but than I thought that I have a n900 lying around. As the ps3 sixaxis controller seems to be quite pricey I thought usb host mode and some snes usb controllers would be nice (just like with the pi). Is it possible to buy a otg usb cable install hostmode on cssu thumb and use 2 snes usb controllers with emulators like snes, nes and so on?

Would be a nice project to show off at our next retro meeting in April!
 

The Following User Says Thank You to For This Useful Post:
Posts: 18 | Thanked: 9 times | Joined on May 2013
#228
Greetings fellow N900 fans!

I've recently been consumed by the idea of using the N900 as a 'modem' (internet will be powered by 3g) and hooking it up to my router so I can use the N900's 3g as internet while remain connected to my LAN. Reason being my ISP is not very reliable.

Some new high end routers have this feature already:


http://www.snbforums.com/threads/sha...ethering.9624/

The router I have is:

http://www.netgear.com/home/products...#tab-techspecs

On page 13 and 15 of this thread the user '
handaxe mentions:

Tested hard-drive enclosure, flash-drive, mouse, and network dongle, all work. Thanks.
My router DOES NOT allow 3g tether through USB, atleast with stock firmware.

Before doing something drastic like a complete firmware change for just one feature, I was hoping to use the N900 through a usb-RJ45 adaptor and connecting it straight to the routers WAN ethernet port. (the lan port through which the dsl modem connects)

Another post here:

http://www.tomshardware.com/forum/43...tspot#15803921

I've been able to make use of a very old laptop (around 15 years old) with a broken screen. I installed a Linux onto it and then used it's bridging ability to bridge its wifi connection to its LAN connection, then connected it to the router's WAN connection.

Tl;dr: want to use the n900 as a dsl modem by activating 3g and connecting to router through usb-to-rj45 convertor.

Is this doable?
 
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, España
#229
Hi, I've followed this entire thread and have successfully installed USBmode. Problem is, no matter what I plug in, nothing is detected. I have tried several different usb thumb drives; 2GB, 8GB, 16GB and 32GB, keyboard dongles, basically anything I could find that is USB.

I read some saying that when they plug a device in, a GUI of sorts pops up showing the mounted drive/peripheral (I'm also prepared to accept I'm missing something or simply misunderstanding the purpose of this application) but I'm not getting anything, no errors, no interface, nothing - what am I doing wrong or what have I missed?

My N900 has CSSU Testing installed, the correct kernel and the usbmode app itself, of course.

Any info gratefully received,

Regards,
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#230
try to use external power supply for your usb device
 
Reply

Tags
usbmode

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:12.