Re: CSSU: optification of /var/lib/dpkg and /var/lib/apt

2011-04-05 Thread Jan Knutar
On Tuesday 05 April 2011, Ville M. Vainio wrote:
 Possibly this has been discussed before, but -
 
 Would it make sense to optify the mentioned directories in CSSU?
 Altogether both dirs take 64megs of space for me.

/var/lib/apt is already optimized on my N900.

Maybe it's only optified after a reflash and never got optimized through 
SSU routes?

I wonder if de-optifying it will make HAM stop Checking for updates 
after every single tap in the interface...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: CSSU: optification of /var/lib/dpkg and /var/lib/apt

2011-04-05 Thread Jan Knutar
On Tuesday 05 April 2011, Paul Hartman wrote:
 On Tue, Apr 5, 2011 at 10:37 AM, Jan Knutar jknu...@nic.fi wrote:
  I wonder if de-optifying it will make HAM stop Checking for
  updates after every single tap in the interface...
 
 I filed a bug about that,
  https://bugs.maemo.org/show_bug.cgi?id=11463
 
 In my case I found a possible reason: I had changed the update
 interval to a really huge number. I changed it to a lesser number and
 then App Manager stopped checking after every single action.
 
 Of course it is still slow as hell and apt-worker is using 100% for
 several minutes, but that's normal. I use fapman anyway for
 everything except for PR updates.

In my case the update interval is at the default of 1440, and it still 
does Checking for updates for everything, even when I don't do any 
installing or uninstalling.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: N8xx series and wireless

2010-11-17 Thread Jan Knutar

 does anyone know if the N8xx series tablets can work with wireless
 dongles to offer broadband connectivity?

Easiest is probably using a cellphone through bluetooth. Then a mifi router is 
also easy.

Difficult: usb dongles
The N8xx can't provide sufficient power for 3g dongles, so you'd need a powered 
usb hub. The OS isn't setup to handle it automatically either, and the kernel 
modules for usbserial would need to be compiled. The kernel is quite old, so 
the drivers are probably a bit suboptimal at this point. You'd probably create 
a pppd script to initiate the connection from x-terminal.

So yeah, a mifi-like router (basically a battery powered 3g dongle with wifi 
to share the internet) is easiest solution, or a phone capable of running 
Joikuspot, which is a software shares a phone's 3g internet over the phone's 
wifi, would be easiest.

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


Re: Too much tinkering with the device?

2010-09-30 Thread Jan Knutar

 I wonder if we can try and debug it ? I have never experienced this in
 S60 for reference and I don't think this should go un noticed if it is
 a bug.

I get it on nearly all Nokia devices I have, with the exception of N8x0.

On 6230 it's quite extreme. It seems to switch on speaker with amp at full, 
putting out gsm dit-dit-dat loud enough to be heard across a room, then a 
second later it gets replaced by the ringtone.

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


Re: suspendprocess - poor man's power save

2010-09-20 Thread Jan Knutar
On Sunday 19 September 2010, Andrew Flegg wrote:
 On Sun, Sep 19, 2010 at 17:58, Robin Burchell virot...@viroteck.net 
wrote:
  Anyway: this was pretty much in keeping with my idea: move it into
  the task switcher (hildon-desktop/other) so that applications which
  are moved to background are stopped (unless they signal for
  whatever reason that they need to be kept running, but I'm not even
  sure that is necessary: if you really need to do background
  processing constantly, why do it in a GUI application?)
 
 I suggested something similar three years ago (wow, Maemo's old ;-))
 and the reaction was less favourable:

I tried doing something similar on Maemo 4, except my objective was to 
SIGSTOP processes for 5-30 seconds at a time during heavy swap load so 
that the tablet didn't blink into the blue Nokia logo and lose all 
unsaved work. 
Oddly what I discovered was that even with an unloaded system, stopping 
apps usually hung the entire thing, and upon sending SIGCONT, I was 
greeted by the $APP is not responding blah blah, quickly followed by 
the now responding message..

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


Re: Quality assurance of stable software: my battery drained in few hours

2010-06-06 Thread Jan Knutar
 Doesn't the userland carry some sort of process monitoring, killing
 malignant processes ? If not, we should develop something like this
 for MeeGo.

It's pretty hard to find out what's eating the battery on N900. First 
you have decide that the battery is being consumed too fast. The default 
charge meter occasionally realizes it's very wrong, and rapidly 
readjusts itself, giving potential misreadings there. bq27200 certainly 
helps there, though there's no production quality software available 
to use it yet. Nokia Energy Profiler still shines with its absence ;)

After that, running powertop (oh, oops, removed from the firmware images 
early on) is nice for finding processes that consume too much CPU /in 
idle/. Normal top can only find processes that just eat too much CPU 
alltogether.

If 3G internet connection is active, then it's a good idea to monitor it 
for traffic. If there's traffic moving occasionally (one packet every 
5-10 seconds seems to be enough to keep the power usage high enough to 
die in 6 hours), tcpdump can help find out what kind of traffic is 
moving and to where. Finding out what app is responsible almost needs 
lsof or similar.

Then the driver bugs, wlan can often wedge itself into consuming 
enormous amounts of power, /especially/ when it's /not/ used/active. 
'ifconfig wlan0 down' often helps with the runaway wlan issue.

Personally the most common causes for runaway power consumption is when 
someone tries to bruteforce my ssh password on the phone (which 
excercises the internet connection and also the cpu heavily), and the 
wlan bug.

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


Re: UK Maemo firmware location = Rapidshare??!

2010-02-24 Thread Jan Knutar
On Wednesday 24 February 2010, Tim Dobson wrote:
 Hey there,
 
 Does anyone know why the current N900 UK firmware is only available
  on rapidshare?
 
 http://wiki.maemo.org/Maemo_UK_variant_firmware
 
 I installed stuff from extras-devel and thus my n900 wants me to
  flash it - I'd be happy to do so, however downloading the firmware
  has proved somewhat of a challenge.

If you're going to flash, why not flash the global firmware? Or will Bad 
Things(TM) happen from that?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: MeeGo

2010-02-18 Thread Jan Knutar
On Thursday 18 February 2010, Jean-Christian de Rivaz wrote:

  basically 3 messages: 1) Maemo is no more. Even if it may survive
  for a last release. 2) The Maemo resulting work is now controlled
  officially by the Linux Fundation, but the real power are in the
  Intel hands.

I suspect the reality will be more in the lines of meego being both an 
upstream for Intel, Nokia and whoever, and a LSB-like spec for 
application interoperability on different systems.

I'd expect that Nokia's MeeGo devices will still have, for example, OVI 
APIs and Nokia Messaging that no other manufacturer will have, and 
perhaps other stuff too.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Qt 4.6 Extras

2010-02-10 Thread Jan Knutar
On Wednesday 10 February 2010, Quim Gil wrote:

 - When the Qt 4.6 libraries are final they will be integrated in the
 Maemo 5 official release.

Is the plan to upgrade the qt4.5 libs, or to have both? If the latter, 
will they be installed to /opt?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: ?Ogg Vorbis support hw-accelerated

2010-02-10 Thread Jan Knutar
On Wednesday 10 February 2010, Gunter Ohrner wrote:

 Does the OGG decoder utilise the CPU's media acceleration features
 (NEON), or is decoding performed in software only, probably draining
  the battery pretty quick?

I'd consider a decoder using NEON as being software too ;-)

 What battery run times do you get if continuously playing some MP3s
  and OGG Vorbis, in comparison?

Tuomas Kulve did some excellent tests:

http://tuomas.kulve.fi/blog/2009/11/07/n900-battery-duration-ogg-vs-mp3/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers