Reply
Thread Tools
Posts: 11 | Thanked: 2 times | Joined on Apr 2009 @ USA
#1
I'll ask while I have the logs visible...

Often right after I make a wifi connection the tablet immediately begins downloading. My proxy logs show requests to repository.maemo.org and catalogue.tableteer.nokia.com. I looked around and found that the URLs appear in files under /etc/hildon-application-manager/ and /home/user/.hildon-application-manager/ contains some related files.
Then I got lost in the gap between bringing up a network interface and what seems to be a GUI application. If there was some configuration setting, I missed it.

What can I do to prevent these downloads?
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
I think that it's the "normal" check for software updates available.
No idea where this is started from though.
__________________
maemo.org Bugmaster
 
Posts: 542 | Thanked: 117 times | Joined on Sep 2008 @ 52 N, 6 E
#3
Originally Posted by Andre Klapper View Post
I think that it's the "normal" check for software updates available.
No idea where this is started from though.
I think every time you start the application manager, otherwise the dl's do not take place.
__________________
Nokia N810 FW version 5.2008.43-7
iPad 2 (iOS 4.3.2) Macbook Pro (10.6.6)
Nokia 5800 phone FW 62.0.0125
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
~ $ cat /var/lib/alarmd/alarm_queue.xml | grep -i update
<parameter name="interface" type="string">com.nokia.hildon_update_notifier</parameter>
<parameter name="service" type="string">com.nokia.hildon_update_notifier</parameter>
<parameter name="path" type="string">/com/nokia/hildon_update_notifier</parameter>
<parameter name="name" type="string">check_for_updates</parameter>
.....................
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#5
Originally Posted by qwerty12 View Post
~ $ cat /var/lib/alarmd/alarm_queue.xml | grep -i update
Trying to summon Merlyn? ;-)

It will only do an automatic refresh once in a 24 hour period, and that can be tuned via the /apps/hildon/update-notifier/check_interval GConf key (value is in minutes).

Equivocal raises a valid point though, and it's something that's been bugging me for a while. Every time you connect there's all sorts of stuff on the tablet waking up (email accounts, rtcomm accounts, rss feeds, AGPS, weather applets and so on) and fighting each other for CPU cycles and bandwidth. In normal (read: WiFi) circumstances the "storm" is usually over after a few seconds but on slower links it can be quite bad and made worse by stuff timing out and retransmitting. I wonder if it's somehow possible to delay some less time-sensitive stuff from updating immediately upon connection. Eg one probably wants their SIP accounts registering asap, but it's ok if the application catalogue refreshes a minute later.
 

The Following 5 Users Say Thank You to lma For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
Originally Posted by lma View Post
Trying to summon Merlyn? ;-)
Yay, I win!

I forget that cat isn't needed but I've fallen into a bad habit of thinking that grep is most useful when things are piped into it. Like, I do "find | grep whatever" rather than "find -name whatever".
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#7
lma: excellent observation.

I want my e-mail, application catalogues, and weather forecast to be updated after I connect, but I agree, I don't need it so badly that it is acceptable to make my tablet grind nearly to a halt after connecting as everything fights for the bandwidth...

It would be nice if they had some kind of "if connected AND IDLE" setting for these auto-updates.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following 2 Users Say Thank You to qole For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
Originally Posted by qwerty12 View Post
Yay, I win!

I forget that cat isn't needed but I've fallen into a bad habit of thinking that grep is most useful when things are piped into it. Like, I do "find | grep whatever" rather than "find -name whatever".
Technically, those are non-equivalent; -name uses a shell pattern, and -regex matches the entire path and name. To exactly substitute, you'd want:
Code:
find -regex '.*whatever.*'


Anyway, imho, pointless cats, greps, etc. are no big deal for interactive shell work; the challenge is to remember to clean things up when you paste it into a file. OTOH, maybe if I were more rigorous about interactive work, my script-tidying would go better...
 

The Following User Says Thank You to Benson For This Useful Post:
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#9
I'm glad I'm not the only one that noticed this and wished he could adjust or turn it off and ONLY use manual updates. (I prefer the latter on my OWN schedule.)
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#10
Originally Posted by danramos View Post
I'm glad I'm not the only one that noticed this and wished he could adjust or turn it off and ONLY use manual updates. (I prefer the latter on my OWN schedule.)
Well, that's easy enough. If you've got gconf-editor installed, just go to /apps/hildon/update-notifier and set check_interval to something really huge. If not, then you really should install it, but this'll do the same thing:
Code:
gconftool -st int /apps/hildon/update-notifier/check_interval 2147483647
If you don't manually check for updates in the next 4083 years, it will still go ahead and try to check automatically, but bandwidth should be cheap enough by then for this to be a non-issue.
 

The Following 19 Users Say Thank You to Benson For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:54.