Re: Delaying actions on network availability

2010-02-21 Thread olle
On Sat, Feb 20, 2010 at 09:49:48PM +0100, koos vriezen wrote:
 
  I've set up OpenVPN to tunnel all traffic on my N900 and it works 
  beautifully with /etc/network/if-up / down scripts.
 
  Problem is, while OpenVPN is connecting, the IM clients all connect and 
  then when the tunnel is up and default route is re-set it takes ages for 
  them to time-out and reconnect.
 
  Is there any way to delay actions that happen on network availability (IM 
  connect, mail sync, etc.)?
 
 Interesting, I have a similar problem with kmplayer's download page
 detecting the network connection has gone.
 Looking a bit inside /proc/sys/net/ipv4/ I see that tcp_keepalive_*
 might be useful in this respect. According to
 http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html the
 connection is terminated 9*75+7200 secs, i.e. about 2:11:15.
 No idea if lowering these values will help though.

I'd rather not tweak the actual timeouts but delay the connections til after 
the VPN is up.
Another possible solution I thought about is faking a network 
disconnect/connect over dbus after th VPN is up to make all apps reconnect. 
Thoughts?

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


Re: Delaying actions on network availability

2010-02-21 Thread koos vriezen
2010/2/21 olle o...@nxs.se:
 On Sat, Feb 20, 2010 at 09:49:48PM +0100, koos vriezen wrote:

  I've set up OpenVPN to tunnel all traffic on my N900 and it works 
  beautifully with /etc/network/if-up / down scripts.
 
  Problem is, while OpenVPN is connecting, the IM clients all connect and 
  then when the tunnel is up and default route is re-set it takes ages for 
  them to time-out and reconnect.
 
  Is there any way to delay actions that happen on network availability (IM 
  connect, mail sync, etc.)?

 Interesting, I have a similar problem with kmplayer's download page
 detecting the network connection has gone.
 Looking a bit inside /proc/sys/net/ipv4/ I see that tcp_keepalive_*
 might be useful in this respect. According to
 http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html the
 connection is terminated 9*75+7200 secs, i.e. about 2:11:15.
 No idea if lowering these values will help though.

 I'd rather not tweak the actual timeouts but delay the connections til after 
 the VPN is up.
 Another possible solution I thought about is faking a network 
 disconnect/connect over dbus after th VPN is up to make all apps reconnect. 
 Thoughts?

Yeah and whether SO_KEEPALIVE is at all.

A wifi disconnect doesn't close sockets, so the app has to response to
the CON_IC_STATUS_DISCONNECTED signal to close its sockets. I always
assumed that sockets can survive a fast reconnection (NAT connection
tables might be flushed in case the hotspot is the NAT router, dunno).
I guess you can simulate this by disconnecting/connecting your wifi/3g
connection?

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


Re: N900 kernel module recompile

2010-02-21 Thread Nils Faerber
Frantisek Dufka schrieb:
 Nils Faerber wrote:
 Then kernel config:
 cp arch/arm/configs/rx51_defconfig ./.config
 make oldconfig
 A make modules does cleanly compile the modules. Fine so far (except
 for that te modules are *huge* and a arm-none-linux-gnueabi-strip -R
 .not -R .comment --strip-unneeded seems reasonable).
 
 Looks like this strips module version symbols too. Tried similar
 approach with same result before.

Just tried it - works like a charm ;)
And the module shrinks from ~200k to ~20k.

Cheers
  nils

-- 
kernel concepts GbR  Tel: +49-271-771091-12
Sieghuetter Hauptweg 48  Fax: +49-271-771091-19
D-57072 Siegen   Mob: +49-176-21024535
http://www.kernelconcepts.de
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Maemo Official Platform Bug Jar 2010.08

2010-02-21 Thread Stephen Gadsby
A Quick Look at Maemo Official Platform in Bugzilla (https://bugs.maemo.org/).
2010-02-15 through 2010-02-21

As of 2010-02-22 Maemo Official Platform contains 3092 items (+54 this week),
including 692 open issues (+23 this week):
* 490 open bugs (+16 this week)
* 28 critical/blocker (+2 this week)
* 6 easyfix (no change this week)
* 105 moreinfo (+5 this week)
* 25 crash (no change this week)
* 18 patch (-3 this week)
* 19 reopened (no change this week)
* 161 unconfirmed (+17 this week)
* 202 open enhancements (+7 this week)
* 1 easyfix (no change this week)
* 8 moreinfo (+1 this week)
* 5 patch (no change this week)
* 8 reopened (no change this week)
* 35 unconfirmed (+3 this week)

==--- New Items ---==

44 bugs were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=9057,9058,9059,9069,9073,9074,9076,9077,9088,9092,9099,9100,9101,9102,9104,9105,9106,9107,9108,9111,9113,9114,9116,9117,9118,9124,9127,9131,9132,9137,9138,9142,9144,9146,9147,9150,9153,9156,9158,9184,9190,9193,9194,9198
):
* [9057] Wifi wont connect after update to 2.2009.51-1
* [9058] UNABLE DIAL * OR #
* [9059] Status bar icons shown on top of the virtual keyboard.
* [9069] low battery warning sound in full volume over headphones
* [9073] callerid displays as Unknown number even though it is
received by the N900
* [9074] Paused video does not continue smoothly
* [9076] Rapid circular swiping of panoramic desktop leads to black screen
* [9077] Redialling a saved contact's SIP call from the calls log
dials using a cell connection
* [9088] Accelerometer no longer works with pr1.1.1 (coincidence?)
* [9092] Rotating device during call reverses volume up/down key (not
if proximity sensor is covered)
* [9099] Some contacts not syncing to exchange
* [9100] poor Bluetooth headset audio quality when connected issues
* [9101] Wifi doesn't enter power saving mode properly
* [9102] N900 reboots when connecting to a specific Wi-Fi access point
* [9104] N900 does not charge if MicroUSB cable is connected BEFORE
turning on external Power Source
* [9105] Bluetooth passcode asked when connecting to Nokia CK-7W
carkit even device is trusted
* [9106] tracker-search never finds any results
* [9107] Automatic Time received from Telenor (Sweden) several minutes wrong
* [9108] Attachments in mails signed with S/MIME aren't shown
* [9111] Large HTML-attachments can only be viewed once
* [9113] Volume keys not working after installing
* [9114] Volume buttons don't work in 3.2010.02-8
* [9116] N900 reboots when connected to 3G
* [9117] Wrong IAP set for SFR (France)
* [9118] Device stutters when screen is touched
* [9124] can't update Maemo 5, due to infinite loop with prompt to create backup
* [9127] perl: missing utf8_heavy.pl for UTF-8 support
* [9131] Bluetooth headset HB-903 and N900 is flipping with volume,
making ears ache !!
* [9132] some calendar events are not synced to n900 calendar from exchange
* [9137] need to take out battery twice for changing SIM card
* [9138] HildonFancyButton - request to have its licensing changed to LGPL 2.1
* [9142] SMS messages stay marked as unread
* [9144] Nazwa autora in camera general settings
* [9146] Wifi is still transmitting when not connected, even in offline mode.
* [9147] Using certain aliases in a .profile bricks device
* [9150] Device doesn't respond via UI. syslog reports
HWRecoveryResetSGX: SGX Hardware Recovery triggered, sgx_misr eating
all CPU
* [9153] Swapping connections locks wlancond and drains battery.
* [9156] SMS fails after latest upgrade. No messages is delivered
* [9158] Device doesn't return to landscape mode after closing Phone app
* [9184] Font in the internet connection selection list becomes larger
when interupted with a phone call in portrait mode, and the large font
in the internet connection selection list stays till i reboot the
nokia N900.
* [9190] Always Ask functionality for Data Roaming doesn't ask when
Connect Automatically set to Any Connection
* [9193] Charger unplug notification is displayed when the charger is unplugged
* [9194] hildon_pannable_area_scroll_to example is wrong (pointer
instead of struct)
* [9198] Backlight turns off if battery full when charger connected

Of these, 2 were critical/blockers -
( https://bugs.maemo.org/buglist.cgi?bug_id=9147,9150 ):
* [9147] Using certain aliases in a .profile bricks device
* [9150] Device doesn't respond via UI. syslog reports
HWRecoveryResetSGX: SGX Hardware Recovery triggered, sgx_misr eating
all CPU

5 enhancements were opened -
( https://bugs.maemo.org/buglist.cgi?bug_id=9067,9078,9098,9145,9166 ):
* [9067] Consider using RPM Package Manager instead of dpkg
* [9078] Add WPA/2 Support for ad-hoc wireless mode
* [9098] Some contacts not syncing to NuevaSync
* [9145] Permission to modify and redistribute OS2008 Feature
upgrade metapackages
* [9166] Audible feedback on failures


==--- Resolved Bugs ---==

15 bugs were resolved fixed 

maemo.org Website Bug Jar 2010.08

2010-02-21 Thread Stephen Gadsby
A Quick Look at maemo.org Website in Bugzilla (https://bugs.maemo.org/).
2010-02-15 through 2010-02-21

As of 2010-02-22 maemo.org Website contains 1423 items (+11 this week),
including 277 open issues (+5 this week):
* 199 open bugs (+4 this week)
* 4 critical/blocker (-1 this week)
* 4 easyfix (no change this week)
* 3 moreinfo (no change this week)
* 0 crash (no change this week)
* 0 patch (no change this week)
* 4 reopened (+1 this week)
* 56 unconfirmed (+1 this week)
* 78 open enhancements (+1 this week)
* 1 easyfix (no change this week)
* 0 moreinfo (no change this week)
* 2 patch (no change this week)
* 2 reopened (no change this week)
* 17 unconfirmed (no change this week)

==--- New Items ---==

10 bugs were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=9068,9070,9081,9082,9090,9109,9123,9140,9165,9189
):
* [9068] Separate bug template for 'Licensing Change Requests' product
to Bugzilla
* [9070] Autobuilder can't find sharing-dialog-dev (the package is
in the SDK repo)
* [9081] Huge extras package lists waste space in rootfs and slow down device
* [9082] Tools repository has no Release file
* [9090] Unclear that FIXED means Fixed internally and not released
for public
* [9109] SSL certificate expired
* [9123] Fatal error when searching on n900 keyboard
* [9140] Diablo packages interface says maemo-installer-utils dependency missing
* [9165] Thanks disappeared from a post
* [9189] ...not using one of the allowed user/* sections should
point to wiki page

0 bugs were critical/blocker.

1 enhancement was opened -
( https://bugs.maemo.org/buglist.cgi?bug_id=9097 ):
* [9097] Rename INVALID resolution to something more neutral


==--- Resolved Bugs ---==

6 bugs were resolved fixed -
( https://bugs.maemo.org/buglist.cgi?bug_id=6567,7854,9018,9024,9123,9165 ):
* [6567] Inconsistency in the arrangement of the downloads page.
* [7854] undef error - Insecure dependency in exec while running with
-T switch at /usr/share/perl5/Mail/Mailer/sendmail.pm line 22.
* [9018] Profile list sorted by Brainstorm category doesn't exist
* [9024] Repository packages not updating properly
* [9123] Fatal error when searching on n900 keyboard
* [9165] Thanks disappeared from a post

0 bugs were resolved invalid.

1 bug was resolved wontfix -
( https://bugs.maemo.org/buglist.cgi?bug_id=7797 ):
* [7797] Bugs got lost during server move?

0 bugs were resolved duplicate.

0 bugs were resolved worksforme.

0 bugs were resolved moved.


==--- Resolved Enhancements ---==

0 enhancements were resolved fixed.

0 enhancements were resolved invalid.

0 enhancements were resolved wontfix.

0 enhancements were resolved duplicate.

0 enhancements were resolved worksforme.

0 enhancements were resolved moved.


==--- Confirmed Items ---==

0 bugs were confirmed.

0 enhancements were confirmed.


==--- Reopened Items ---==

1 bug was reopened -
( https://bugs.maemo.org/buglist.cgi?bug_id=9039 ):
* [9039] Quarantine doesn't apply to non-free

0 enhancements were reopened.


==--- Unloved Items ---==

10 bugs were needing love -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=4820,7030,7528,4614,5893,6902,8872,5219,5220,8265
):
* [4820] Cannot modify and save Personal web under my profile
* [7030] Profile component tries to load nonexistant CSS file
* [7528] Images in wiki are always aligned to the left
* [4614] Logged in name not aligned, may benefit from Welcome prefix
* [5893] Product name is duplicated in path
* [6902] Wrong sources.list information
* [8872] maemo-developers archive for Feb 2010 is gzipped twice
* [5219] list of thanks overlap the nickname of the next poster in minimalism
* [5220] broken javascript in minimalism theme
* [8265] talk.maemo.org Control Panel  Edit Options CSS bugs

7 enhancements were needing love -
( https://bugs.maemo.org/buglist.cgi?bug_id=4372,6952,5125,6723,6914,7022,5131
):
* [4372] Aggregate multiple news sources into a single news stream.
* [6952] Add possibility to save bugzilla styled searches
* [5125] Choosable sort order on downloads list
* [6723] Would be great if it would be possible to see build log of
in-progress build
* [6914] Allow commenter to follow comments on a package under testing
* [7022] maemo.org on downloads category links when viewing list
* [5131] Poll edit or update on t.m.o.


==--- Top Tens ---==

Ten biggest open bugs by number of votes -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=5818,9070,6187,3354,6393,5035,5963,3363,4472,5700
):
1. (43%) [5818] We need servers
2. (9%) [9070] Autobuilder can't find sharing-dialog-dev (the
package is in the SDK repo) (new this week)
3. (6%) [6187] XB-Maemo-Upgrade-Description is displayed way too soon
(-1 this week)
4. (3%) [3354] Publishing packages to garage.maemo.org oftens results
in lost connection and permission denied from scp (-1 this week)
5. (3%) [6393] Download statistics not available even after the two
weeks have long passed 

maemo.org Extras Bug Jar 2010.08

2010-02-21 Thread Stephen Gadsby
A Quick Look at Extras in Bugzilla (https://bugs.maemo.org/).
2010-02-15 through 2010-02-21

As of 2010-02-22 Extras contains 1357 items (+43 this week),
including 607 open issues (+11 this week):
* 389 open bugs (+3 this week)
* 21 critical/blocker (+2 this week)
* 2 easyfix (no change this week)
* 4 moreinfo (no change this week)
* 1 crash (no change this week)
* 4 patch (no change this week)
* 4 reopened (no change this week)
* 179 unconfirmed (no change this week)
* 218 open enhancements (+8 this week)
* 1 easyfix (no change this week)
* 1 moreinfo (no change this week)
* 2 patch (no change this week)
* 1 reopened (no change this week)
* 71 unconfirmed (+8 this week)

==--- New Items ---==

28 bugs were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=9060,9061,9083,9087,9093,9112,9119,9120,9121,9122,9125,9133,9135,9136,9151,9152,9159,9161,9163,9164,9167,9173,9177,9183,9191,9195,9197,9200
):
* [9060] [Qt] Kinetic scrolling with QtWebKit
* [9061] [Conversations Inbox] While loading, widget shows weird things
* [9083] [Gnuplot] gnuplot doesn't install
* [9087] [Personal Photo Frame] Can't select a single Picture
* [9093] [gPodder] getting my.gpodder.org subscriptions not possible
with freshly installed gpodder
* [9112] [Pyrecipe] Shopping List can't be saved if items include special chars
* [9119] [freecell4maemo] Can't see the suit of the 2's. Need to know
if it's diamonds, hearts, spades or clubs.
* [9120] [freecell4maemo] Can't see the suit of the 2's. Need to know
if it's diamonds, hearts, spades or clubs.
* [9121] [shortcutd] Disabling proximity sensor by long touch does not
disable vibration feedback
* [9122] [shortcutd] Proximity sensor fault
* [9125] [Mauku] Mauku no longer works with Twitter
* [9133] [ejpi] Entering large values can wrap
* [9135] [ejpi] Errors get cutoff
* [9136] [GBoggle] GBoggle lacks instructions to play it
* [9151] [OpenConnect] Stack trace when attempting to connect to a VPN
with a group
* [9152] [fMMS] Unable to download MMS on US/Tmobile
* [9159] [gPodder] Screen orientation will change if slider is opened
* [9161] [Ukeyboard] Problem Arabic Keyboard
* [9163] [PasswordSafe] passwordsafe cannot open record if then
selected by hardware joystick
* [9164] [openvpn] Unable to use password protected digital certificates
* [9167] [OmWeather] Automatic update doesn't always work
* [9173] [Digg Home Widget] Widget settings menu makes the desktop
unresponsive and creates strange behaviours
* [9177] [stopwatch] Time appears shaky
* [9183] [PyGTKEditor] Exception in portrait.py / get_current_orientation
* [9191] [FM Radio] pressing power button shuts off sound for an
extended period.
* [9195] [PyMaemo] thank you
* [9197] [SuperTux] Level crash
* [9200] [gPodder] Unable to start gpodder

Of these, 4 were critical/blockers -
( https://bugs.maemo.org/buglist.cgi?bug_id=9125,9164,9173,9200 ):
* [9125] [Mauku] Mauku no longer works with Twitter
* [9164] [openvpn] Unable to use password protected digital certificates
* [9173] [Digg Home Widget] Widget settings menu makes the desktop
unresponsive and creates strange behaviours
* [9200] [gPodder] Unable to start gpodder

15 enhancements were opened -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=9063,9110,9115,9134,9148,9149,9160,9170,9172,9174,9178,9179,9180,9181,9185
):
* [9063] [PasswordSafe] Add Finnish translation for PasswordSafe
* [9110] [Qt] PostgreSQL package for Qt not available
* [9115] [shortcutd] proximity sensor feedback active when vibration
is disabled from display profile
* [9134] [ejpi] Want to enter with keyboard
* [9148] [The One Ring] Ability to cancel a call
* [9149] [The One Ring] Default Avatars per Phone Type
* [9160] [Hermes] Support for identi.ca
* [9170] [BlueMaemo] suggestion
* [9172] [Digg Home Widget] Add the possibility to select more
categories at once
* [9174] [Digg Home Widget] Add the possibility to set an automatic
update interval
* [9178] [stopwatch] Update the About menu with current version
* [9179] [stopwatch] Add the possibility to keep backlight on during the count
* [9180] [stopwatch] Keep the countdown finishing time on screen
without disappearing
* [9181] [stopwatch] Add the possibility to select a custom alarm sound
* [9185] [Digg Home Widget] Add the possibility to open the mobile
version of the site


==--- Resolved Bugs ---==

17 bugs were resolved fixed -
( 
https://bugs.maemo.org/buglist.cgi?bug_id=5568,6000,6127,6488,8424,8582,8680,8824,8847,8873,8895,8922,8950,8975,9061,9119,9163
):
* [5568] [PasswordSafe] Opening password file dosn't show file size
* [6000] [Qt Maemo 6 UI Preview] Build fails because contextproperty.h
can't be found.
* [6127] [OmWeather] Change Virgin Islands, U.S
* [6488] [OmWeather] Cannot use desktop when omweather details open
* [8424] [OmWeather] Updating via 3G/GPRS unsuccessful
* [8582] [Dialcentral] International number formats displayed incorrectly
* [8680]