|
2011-09-19
, 20:02
|
Posts: 74 |
Thanked: 19 times |
Joined on Oct 2008
|
#2
|
|
2011-09-19
, 21:01
|
Posts: 176 |
Thanked: 190 times |
Joined on Jun 2011
@ Italy
|
#3
|
Before anyone asks, I forgot to mention that I've tried a reflash (incl MMC) so it's definitely a hardware problem.
The Following User Says Thank You to blackjack4it For This Useful Post: | ||
|
2011-09-19
, 21:18
|
Posts: 74 |
Thanked: 19 times |
Joined on Oct 2008
|
#4
|
|
2011-09-20
, 07:05
|
Posts: 176 |
Thanked: 190 times |
Joined on Jun 2011
@ Italy
|
#5
|
The Following User Says Thank You to blackjack4it For This Useful Post: | ||
|
2011-09-20
, 13:17
|
Posts: 701 |
Thanked: 585 times |
Joined on Sep 2010
@ London, England
|
#6
|
stop bme
start bme
The Following User Says Thank You to retsaw For This Useful Post: | ||
|
2011-09-20
, 16:36
|
Posts: 74 |
Thanked: 19 times |
Joined on Oct 2008
|
#7
|
|
2011-09-21
, 12:50
|
|
Posts: 1,918 |
Thanked: 3,118 times |
Joined on Oct 2010
@ My pants
|
#8
|
kernel-config lock 125
|
2011-09-21
, 17:39
|
Posts: 74 |
Thanked: 19 times |
Joined on Oct 2008
|
#9
|
I can fix your problem, create a dbus-script that locks the CPU to 125MHz when locked, and back to your case when unlocked. I just want you to try this:
Does it make any changes?Code:kernel-config lock 125
Nokia-N900:~# kernel-config show current kernel configuration: current frequency: 500 supported frequencies: 125 250 500 550 600 700 750 805 850 900 950 1000 1100 1150 min. frequency: 125 max. frequency: 600 avoid frequencies: 125 active frequencies: 0:30,90 250:38,180 500:48,360 550:54,400 600:60,430 700:60,430 750:60,430 805:60,430 850:60,500 900:60,500 950:60,500 1000:60,500 1100:72,520 1150:72,520 SmartReflex VDD1=0, VDD2=0 governor ondemand: ignore nice load= 0, up threshold= 95, sampling rate= 300000, powersave bias= 0
Nokia-N900:~# kernel-config lock 125 locking frequency 125000
Nokia-N900:~# kernel-config show current kernel configuration: current frequency: 500 supported frequencies: 125 250 500 550 600 700 750 805 850 900 950 1000 1100 1150 min. frequency: 125 max. frequency: 125 avoid frequencies: active frequencies: 0:30,90 125:30,90 250:38,180 500:48,360 550:54,400 600:60,430 700:60,430 750:60,430 805:60,430 850:60,500 900:60,500 950:60,500 1000:60,500 1100:72,520 1150:72,520 SmartReflex VDD1=0, VDD2=0 governor ondemand: ignore nice load= 0, up threshold= 95, sampling rate= 300000, powersave bias= 0
|
2011-10-16
, 20:12
|
Posts: 74 |
Thanked: 19 times |
Joined on Oct 2008
|
#10
|
static void rx51_usb_set_pm_limits(struct device *dev, bool set) { - omap_pm_set_max_mpu_wakeup_lat(dev, set ? 10 : -1); - omap_pm_set_min_mpu_freq(dev, set ? 500000000 : 0); + omap_pm_set_max_mpu_wakeup_lat(dev, -1); + omap_pm_set_min_mpu_freq(dev, 0); }
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 73822us C# | Ratio | Avg/dura | Frequency | Ratio --------+--------+----------+-----------+--------+ C0 | 1.6% | | 600 MHz | 1.0% | C1 | 0.1% | 0.8ms | 550 MHz | 0.0% | C2 | 2.3% | 13.8ms | 500 MHz | 3.5% | C3 | 8.1% | 101.3ms | 250 MHz | 95.4% | C4 | 88.0% | 1763.3ms |
I broke some of the charging hardware on my n900 by plugging it in to a cheap car charger. The consequence is that now the n900 always thinks it's attached to a dumb-charger (so it's the charger-detect logic that's broken). Charging from a dumb charger doesn't work but I can plug it into a PC via USB and it charges properly, likely because the charging is negotiated in software. Anyway that's fine with me. Here's the annoying gotcha though...
I didn't notice this before, but apparently when charging the CPU only uses the C0 and C1 states, and avoids the deeper C2/C3/C4 sleep states (tested with powertop). This is a problem now because it thinks it's always charging so the CPU stays awake all the time. My battery life (on a brand new genuine Nokia battery) is about 6 hours of standby (no usage)! So, this should be easy to fix in software but I can't figure out how. Obviously the CPU has two sleep profiles -- one for when on AC power and the other for on battery. All I need to do is copy the settings from the battery profile over to the AC one, and it should be fixed. I just can't find these profiles! Anyone have any ideas?
Thanks for any help you can provide,
Jonathan