Active Topics

 


Reply
Thread Tools
Posts: 204 | Thanked: 754 times | Joined on Jan 2012 @ Finland
#211
@caveman

Somewhere along the enormous amounts of kernel patches I noticed power usage doubled and I cant think of anything particular that caused it or pinpont it in any way. Currently too busy to start poking with it.
 

The Following 5 Users Say Thank You to Skry For This Useful Post:
Posts: 204 | Thanked: 754 times | Joined on Jan 2012 @ Finland
#212
@caveman, again, and other interested parties..
Powertop:
The battery reports a discharge rate of 169 mW
The estimated remaining time is 22 hours, 18 minutes
Display off, kbleds off, wlan on. My not-that-good battery at 90%.

Anyway, display hogs quite a lot power, soo, I quickly put up replacement /etc/acpi/handler.sh for acpid to toggle display and kb leds on/off with lock switch. Note that though it puts display on/off, it does not disable input. There are ways to handle that from X. I'll see if I can figure something else too, will be reporting back.

EDIT: Well, I added few arguments to the script so you can lock the input too, you will need xinput and something to execute a script on XF86ScreenSaver keypress, like xbindkeys, which I use.

Last edited by Skry; 2013-03-07 at 22:27.
 

The Following 5 Users Say Thank You to Skry For This Useful Post:
Posts: 204 | Thanked: 754 times | Joined on Jan 2012 @ Finland
#213
Been quite busy this week, and will probably remain so, forgive me my absence. Here's the reply-to-all post..

Originally Posted by lucky88shp View Post
So how good is the performance and how well is everything working in Arch Linux on N900?
Probably depends on what you expect, I think both performance and functionality is pretty good. Most people who seem to actually use it, seem to be quite satisfied. Feel free to correct me if I'm wrong.

Originally Posted by MetalGearSolid View Post
Above all we have dedicated people working on the remaining stuff.
Well, a few at least. Though not related to this, Pali is doing a great job with upstream kernel. While following the progress there, I'll try to keep my old tree up to date, keep the distro running and try to experiment, test, fix, optimize, do everything better, document, help etc. People here and on IRC are also contributing in many ways, so, even though our user count is probably not that high, the activity in here is quite good indicator of dedication indeed.

Originally Posted by ArchiMark View Post
Any idea how performance of Arch compares to EasyDebian ?
Try it out and see? I still think it's somewhat useless/strange to compare native, full Linux distribution with a chroot environment. I don't know anything about EasyDebian, never used it and never will, but I suggest that you start comparing by setting up Arch chroot (plenty of guides and scripts to do that around) and perform whatever tests you may find relevant.

Originally Posted by caveman View Post
Next, following you clue, I enabled just sr_core. Let's see if that improves battery life.
Probably a quite tiny improvement, at best

Originally Posted by Alecsandru View Post
can this be mounted on emmc ? /and partition?
Not sure I understand you. This can be installed on both emmc or sd-card, partition does not matter as long it's big enough and extfs.

Originally Posted by int_ua View Post
Return doesn't work correctly in man while trying to search with "/" key. It prints "ESCOM" instead of submitting the entry. Try using ^M
Always wondered why it was set up as kp_enter. There's probably no-one against it if I change it to return?

Originally Posted by int_ua View Post
timedatectl can't change timezone, I've used
Code:
ln -s /usr/share/zoneinfo/Europe/Kiev /etc/localtime -f
Code:
[root@n900 ~]# timedatectl status | grep Timezone
Timezone: Europe/Helsinki (EET, +0200)
[root@n900 ~]# timedatectl set-timezone Europe/Kiev
[root@n900 ~]# timedatectl status | grep Timezone
Timezone: Europe/Kiev (MSK, +0300)
Arch installation guide tells you to create that symlink. I've heard timedatectl not working if you somehow managed to avoid running systemd, which I doubt. No other idea.

Originally Posted by int_ua View Post
Can't find a way to drag windows in openbox with ISO_Level3_Shift AKA AltGr AKA Fn, this is not working:
Usually window managers expect modifier + key combination for stuff like that, so try Mod5 (or mod5, might be something that is defined in a conf, depends) or whatever your IL3 Shift is mapped as. Just an idea, hopefully it helps.

Originally Posted by mihairu View Post
I am just wondering...wouldn't be possible to run firefox os builded on arch for n900?
Not sure that would be a good idea. Out of the mobile GUI's around, most are bloated ****. Then again, I don't know the details, but it's probably possible unless they've done something evil to tie the GUI to some particular platform/whatever. You're trying to get me interested, aren't you?
 

The Following 5 Users Say Thank You to Skry For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#214
Originally Posted by Skry View Post

EDIT: Well, I added few arguments to the script so you can lock the input too, you will need xinput and something to execute a script on XF86ScreenSaver keypress, like xbindkeys, which I use.
Out of curiosity, does it "only" disables input, or put digitizer to sleep too? Otherwise, even if unused, digitizer eats quite a lot of power, due to being "on voltage" (and awaiting for input, that is processed by it's hardware and send to system, then ignored, cause you disabled input).

As said, if you took care about it, scratch the above. If not, it may be something worth investigating (no idea how to achieve it, though - probably need to mimic something that maemo is doing).
---

Overall, awesome work. Going to install Arch soon, and experiment a little with things that made Easy Debian faster (like using eMMC for system and swap on microSD *only*).

BTW, I wonder, if performance boost could be achievable, by putting crucial components on rootfs *with compression off* (as many things, as possible to put on this limited space)?
---

I've heard, that hildon-desktop is running on arch too. It's more like a proof-of-concept only, or actually usable for something? IMO, it would be nice to have familiar and very good, lightweight Ui like hildon-desktop, on top of Arch (with other things as available alternative/for certain task, of course).
---

Any sights about utilizing telephone stack?

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 4 Users Say Thank You to Estel For This Useful Post:
Posts: 43 | Thanked: 50 times | Joined on Apr 2011 @ Ipoh, Malaysia
#215
Ofono works with outdated/patched pulseaudio but it breaks audio elsewhere. Tested two way calls and they worked fine. Although no GUI, everything needs to be done using ofono-scripts.
 

The Following 5 Users Say Thank You to MetalGearSolid For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#216
Maybe Ubuntu phone will create a reusable GUI phone. Related question, not answered yet:
What GSM middleware will “Ubuntu for phones” use?
 
Posts: 204 | Thanked: 754 times | Joined on Jan 2012 @ Finland
#217
Originally Posted by Estel View Post
Out of curiosity, does it "only" disables input, or put digitizer to sleep too?
"Only" disables input devices. No idea how to disable-disable the device, though I'd think that would/should be done by driver/xinput, in 2013. sysfs entry for runtime pm shows auto, if memory serves. Unfortunately that doesn't prove anything.[/QUOTE]

Originally Posted by Estel View Post
BTW, I wonder, if performance boost could be achievable, by putting crucial components on rootfs *with compression off* (as many things, as possible to put on this limited space)?
It's possible but you would need to either rebuild kernel or create initfs as onenand etc are as modules.

Originally Posted by Estel View Post
I've heard, that hildon-desktop is running on arch too. It's more like a proof-of-concept only
Proof-of-concept, though it does work as a window manager without a hick. Or did when I last tried, at least.
 

The Following 2 Users Say Thank You to Skry For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#218
Originally Posted by MetalGearSolid View Post
Ofono works with outdated/patched pulseaudio but it breaks audio elsewhere. Tested two way calls and they worked fine. Although no GUI, everything needs to be done using ofono-scripts.
GUI for ofono could be easily written, but what exactly you mean by "break sound elsewhere"? Break it at all, or only during call?

In case of future projects that would recreategui for phone, addressbook (or using some existing project?), and sms database (mms code could be borrowed from FMMS on maemo), this project could become what deblet failed to be - a full featured alternative system (without sacrificing phone functionality) for N900.
---

I suspect, that power-saving bits may be harder than phone things. IIRC, it was first major issue to overcome for Mer. I wonder if things of interest for disabling-disabling hardware parts may be found in their source code?

Maemo's idle power consumption (with offline mode, screen locked etc) is as low as 3-4 mA per hour. Quite a challenge to replicate it.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2013-03-09 at 03:21.
 
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#219
Originally Posted by Skry View Post
@caveman, again, and other interested parties..
Powertop:
The battery reports a discharge rate of 169 mW
The estimated remaining time is 22 hours, 18 minutes
Display off, kbleds off, wlan on. My not-that-good battery at 90%.
I post my results for comparison. Usecase: powertop at the console, and let it sit there for a while (+1 min) after the screen went blank, no X running, wifi on and connected.
discharge rate @ 66.6mW
estimated remaining is 57 hours
my battery reads 63% charged.

The only power-related changes applied were enabling SR and
Code:
setterm -blank 1
+ cpufrequtils.

Last edited by caveman; 2013-03-08 at 16:37. Reason: forgot to mention cpufrequtils
 

The Following 2 Users Say Thank You to caveman For This Useful Post:
Posts: 204 | Thanked: 754 times | Joined on Jan 2012 @ Finland
#220
Originally Posted by Estel View Post
GUI for ofono could be easily written
Yes, probably so. There is sphone which I think would be a great candidate. It needs updating regarding ofono, and some UI love at least but to me it appears as a good base for minimal GUI tool to handle this stuff. I do have some other expectations about this matter though, more about it later on this reply.

Originally Posted by Estel View Post
but what exactly you mean by "break sound elsewhere"? Break it at all, or only during call?
Nokia blobs require somewhat patched PA 0.9.x. We are going at version 3.x in Arch, so PA support breaks for everything, when downgrading. I'm not that fancy about the idea of recompiling, packaging and hosting everything that is linked with PA, so this is clearly a temporary solution for testing, and can generally be used as audio still works with alsa without any problems.

Now, I have PA3, with just about everything from Nemo, compiled and packaged in my testing repo, I'll move it to n900-extra as soon I've done enough testing with it so those enthusiast enough can start trying to get call audio out of it. Personally I would want everything to work with alsa, but I guess there is relatively little or no hope for that happening at all, ever.

Originally Posted by Estel View Post
In case of future projects that would recreategui for phone, addressboo (or using some existing project?), and sms database (mms code could be borrowed from FMMS on maemo)
The expectations I briefly mentioned.. I want to be able to do everything possible from command line, and without X. At this point, I want small, simple and suckless (carefully planned choice of a word) CLI C applications, as well as shell scripts, to do stuff that we need to do with this device, be it testing out something or just using it daily. That's my priority.

After that comes all the GUI stuff, applying the same expectations I have for CLI tools, preferably using them instead of reinventing the wheel.

Then, for the potential developers, and why not everyone else; I don't want any absurd forks used/created which will be soon left unmaintained an tie us with, let's say, a certain version of some dependency; if something needs patching, send the patch upstream if there's even a slightest chance it could get accepted. If not, keep it simple, minimal and public, so if you lose interest someone else can continue. Don't deviate too far from upstream, keeping changes at absolute minimum.

Of course, these are just my random thoughts of the matter.

Originally Posted by Estel View Post
this project could become what deblet failed to be - a full featured alternative system (without sacrificing phone functionality) for N900.
This is the goal I'm heading at, with a steady snail paced movement, and was the founding idea when I started. That and the distribution being a proper, real, lightweight, flexible, up-to-date, simple, efficient and fast Linux system.

I have a lot of plans (and a way too less time and almost no development skills), some of those including a thought about doing a complete spin-off (already is, in a way) of Arch/Alarm for our purposes, since there are lots of stuff in both that are either completely wrong or not suitable as-is for our use. We'll see where all of this leads us to.

Originally Posted by Estel View Post
I suspect, that power-saving bits may be harder than phone things. IIRC, it was first major issue to overcome for Mer. I wonder if things of interest for disabling-disabling hardware parts may be found in their source code?

Maemo's idle power consumption (with offline mode, screen locked etc) is as low as 3-4 mA per hour. Quite a challenge to replicate it.
Challenging indeed. Currently my focus is elsewhere, so I'm happy with what I got, though I do know there is got to be a way to decrease the power usage somehow and someone has to make it happen. Of course if I notice something, I'll share and I'm quite confident all our fine users will do the same.

Last edited by Skry; 2013-03-08 at 16:52.
 

The Following 3 Users Say Thank You to Skry For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 22:10.