Re: (om2008.8-update)(gta02) qpe hogs 80% of cpu, kills battery

2008-09-17 Thread vasco . nevoa
Citando Edgar D' Souza [EMAIL PROTECTED]:

 On Wed, Sep 17, 2008 at 5:21 PM, Tom Yates [EMAIL PROTECTED] wrote:
 [pid  1724] stat64(/home/root/.config/Trolltech.conf,  
 {st_mode=S_IFREG|0600, st_size=4470, ...}) = 0
 [pid  1724]  
 stat64(/opt/Qtopia/etc/default/Trolltech/qtmail_account.conf,  
 0xbefaed98) = -1 ENOENT (No such file or directory)
 [pid  1724]  
 stat64(/opt/Qtopia/etc/default/Trolltech/qtmail_account.conf,  
 0xa385f8) = -1 ENOENT (No such file or directory)
 [pid  1724] stat64(/opt/Qtopia/etc/default/Trolltech.conf,  
 0xbefaed98) = -1 ENOENT (No such file or directory)
 [pid  1724] stat64(/opt/Qtopia/etc/default/Trolltech.conf,  
 0x4cd618) = -1 ENOENT (No such file or directory)

 Hope you won't mind a possibly silly question, but: is your Qtopia
 rootfs on SDcard or on NAND flash?

It's in NAND. Only the /home dir is in the sdcard.
It is OM2008.8-upd (ex-ASU), not Qtopia itself.


 Cheers
 Ed.

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: (om2008.8-update)(gta02) qpe hogs 80% of cpu, kills battery

2008-09-17 Thread vasco . nevoa
Citando Tom Yates [EMAIL PROTECTED]:


 Hope you won't mind a possibly silly question, but: is your Qtopia
 rootfs on SDcard or on NAND flash?

 NAND flash, as is /home/root.  i have the SDcard mounted on /media/card,
 and i only keep audio tracks and OSM tiles on it.


So we both have our OSM tiles in the sdcard... (naturally!)

QPE is clever enough to know which partition is a card; when my  
sdcard was a FAT partition in /media/card, it created it's  
qtopia_db.sqlite file there; now that the card is an ext2 mounted at  
/home, it creates the file there (I deleted it to check). So it may  
have a special fetish about media cards... and index all files on  
them, independently of mount point (my theory).

If you strace qpe 21 | grep open and wait 5 minutes, do you see  
QPE opening your /media/card files a lot?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: (om2008.8-update)(gta02) qpe hogs 80% of cpu, kills battery

2008-09-17 Thread vasco . nevoa
Citando Yaroslav Halchenko [EMAIL PROTECTED]:

 if you have lots of files on your /media/card -- then you are doomed to
 wait for qpe to finish scanning them on start

 or just edit Storage.conf which is I believe under
 /opt/Qtopia/etc/default

 and say that your /media/card has nothing interesting for qtopia ;-)

 PS more details could be found in earlier posts on the lists


Thanks for the hint!
The file is /opt/Qtopia/etc/default/Trolltech/Storage.conf


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Thanks, Zack.

Yes, I had done that too (although I didn't put it in a script like  
you - I like your script, you bring down usb0 to clean up the routing  
table and call udhcpc eth0 again after ifup eth0 to make sure you get  
an IP).

However, I would like to see the GUI doing the right thing.  
Yesterday I did bite the bullet and copied my random-gen password byte  
by byte into the password field while looking at it displayed in my  
PC. It took me a couple of minutes to do it - you can't see what  
you're inputting, so it takes time to do it right.

But the frustrating part is that later I switched off wifi in the GUI,  
and when I turned it back on, IT ASKED FOR THE PASSWORD AGAIN  
RRGGGHHH!! Obviously, I won't go through that again.

So, now I have 3 complaints/wishes for the wifi gui:
1 - always allow pasting into password field;
2 - an option to allow visual feedback (see the actual chars) input  
into the password field;
3 - store the already input password!!!

Should I send this to another list to get developer attention?

Citando Zack Mollusc [EMAIL PROTECTED]:

 Vasco Névoa wrote:
 I have a 63 character random-generated password for my WPA network.
 The GUI asks for the password but apparently does not allow me to use
 copy-paste to insert it.
 Is there any other simple way to do this? Surely you don't expect me to
 input it by hand into Neo's GUI?!...


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support




 Hi, I can connect to my wpa with my   
 /etc/wpa_supplicant/wpa_supplicant.conf  
 http://wiki.openmoko.org/wiki/GTA02_WLAN#Sample_wpa_supplicant.conf file  
 thus:

 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1
 ap_scan=1
 fast_reauth=1
 # WPA:
 network={
ssid=OMFGmySSID

proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
scan_ssid=1
psk=omfgmysecretWPAkeyhere
priority=10
 }


 # Wildcard match for SSID (plaintext APs only). This example select any
 # open AP regardless of its SSID.
 network={
 key_mgmt=NONE
 priority=5
 }




 I have to run a script (i call mine wifi.sh)consisting of

 ifdown usb0
 ifdown eth0
 ifup eth0
 udhcpc eth0

 in order to get it to dhcp from the router. ie i power up the phone,
 open a terminal window and run the above wifi.sh script and wait
 (sometimes for a few minutes) until it discovers the ip settings from
 the router.

 This little shell script gets me onto my wpa router or any open router
 that is available.

 Please don't ask me for details as I am a non-programming nitwit
 cobbling stuff out of other people's help files.

 Good luck.




 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Oops! Sorry Marek, I missed your email before I answered Zack's. :(

So, password storing is there - great!!
A big *thank you* for that and for telling where the config file is. :)
Any chance that GUI pasting could be implemented in the near future?  
IMHO it's the last detail preventing a security-conscious non-geek  
from using the wifi in Neo/OM. If you have to go terminal, then  
something isn't quite ready yet. ;D

Citando Marek Lindner [EMAIL PROTECTED]:

 On Friday, 5. September 2008 05:33:59 Vasco Névoa wrote:
 I have a 63 character random-generated password for my WPA network.
 The GUI asks for the password but apparently does not allow me to use
 copy-paste to insert it.
 Is there any other simple way to do this? Surely you don't expect me to
 input it by hand into Neo's GUI?!...

 We are not that cruel.  :-)

 Recently, I added a password saving feature to settings. It will save all
 passwords after a successful connection attempt to a protected network in a
 file. This file (/etc/wifi.conf) is human readable. You could add a section
 for your network there. The format looks like that:

 [00:11:22:33:44:55] // your networks bssid
 password = 012345 // your password
 description = Openmoko // essid (optional)

 I guess it will take 1-2 days until this feature is through our  
 queue and ends
 up in Om2008.8-update.

 HTH,
 Marek



 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Citando Marek Lindner [EMAIL PROTECTED]:

 Any chance that GUI pasting could be implemented in the near future?

 Well, I don't know what your real problem is at the moment. How do you intend
 to copy from and why it does not work for you ?

Well, my problem is just a normal use-case: a regular user is not  
expected to go edit a configuration file when there is a GUI to do the  
job.
So, when a user has a pretty long and complex password, it is a big  
pain to introduce it letter-by-letter in the illume UI via keyboard  
when a simple ctrl-V or shift-ins would do the trick (copied from  
a file opened in the qtopia text editor or something like it).  
Inputting a 63 character password with all kinds of random-generated  
chars (including  / @ ^ ~ etc.) is a trial-and-error task (because  
there is no visual feedback) and also very time-consuming (because of  
all the keyboard shifting) that could simply be avoided.
It is not a big problem, but it is annoying as hell to a newcomer.
After all, openmoko is about a grand new friendly user experience,  
right? free your phone?... ;)


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Citando Marek Lindner [EMAIL PROTECTED]:

 On Friday, 5. September 2008 22:05:22 [EMAIL PROTECTED] wrote:
  Well, I don't know what your real problem is at the moment. How do you
  intend to copy from and why it does not work for you ?

 Well, my problem is just a normal use-case: a regular user is not
 expected to go edit a configuration file when there is a GUI to do the
 job.

 You misunderstood my question. Let me clarify:
 Please provide a step by step instruction on how you copy  paste your
 password into the field and outline at which point its failing.
 It is hard to fix a bug that you don't know how to reproduce.  :-)
Ah. Ok. :)
Software: OM2008.8-update, with today's opkg upgrade of /testing feed.

My WPA key is in a text file in my home dir.

Use case A (normal):
1 - launch a GUI text editor(like qtopia notes) and open the key file;
2 - select the relevant text (ctrl-a) and try to copy it with  
ctrl-c or ctrl-ins on the terminal-like keyboard;
3 - call the settings via the illume menu (already opened and  
running, just select it from drop-down list);
4 - pick wifi
5 - pick my WPA network;
6 - when prompted for password, tap the field to establish focus and  
try to paste the text copied from the terminal: keyboard ctrl-v or  
shift-ins won't do anything.

Use case B (desperate):
1 - do cat key.txt in a om terminal;
2 - select the relevant key text by dragging over the text;
3 - continue from step 3 of use case A.

None of these do anything visible to the password field.



 Marek

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [Qtopia] Address book and groups during import

2008-09-04 Thread vasco . nevoa
I have the same problem, but I don't have the group information inside  
my VCF file (the export process via vbscript described in the wiki  
does not export groups).
Do you have group information inside your VCF? If not, you should try  
that first...

Citando François TOURDE [EMAIL PROTECTED]:

 Hi.

 (Posted 1st in Community, but probably here is the best place)

 Short version:

 Is there a way to create qtopia address book Groups during .vcf import
 ? And to start qtopia address book on groups instead of contacts ?

 Long version:

 Each time I reflash my FR (and it's relatively frequent ^^), I need to
 re-import my whole address book. Easy to do, but when I want to call
 somebody, I need to scroll a lot of my book...

 Is there a way to auto create groups during import, or can I import a
 file containing group definitions?

 Thanks a lot.

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [Qtopia] Address book and groups during import

2008-09-04 Thread vasco . nevoa
Try playing around with the CATEGORIES field of vCards.
If that fails... happy reading!!!   http://www.ietf.org/rfc/rfc2426.txt
Also try scanning /opt/Qtopia/bin/addressbook (or some Qtopia libs)  
for recognizable strings...  maybe you can find the right vCard tag  
this way.

Citando François TOURDE [EMAIL PROTECTED]:

 Le 14126ième jour après Epoch,
 vasco nevoa écrivait:

 I have the same problem, but I don't have the group information inside
 my VCF file (the export process via vbscript described in the wiki
 does not export groups).
 Do you have group information inside your VCF? If not, you should try
 that first...

 Ok, but how and where should I insert group infos on my VCF ? Google
 doesn't help me, and I can't find docs about qtopia address book :(

 Any help appreciated ;)

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support