Re: [QtMoko] Dictopia Qgcide

2011-04-28 Thread sferic
Hi,

dictopia expect the dictionaries in the folder /usr/share/stardict/dict. I
have made a softlink from my dictionary-folder on the sd card to this folder
with success (e.g. ln -s /media/card/stardict/ /usr/share/). Subfolders
are not recognized, so you can use them as a stock for dictionaries which
you are not using.

Sincerly Sferic


--
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/QtMoko-Dictopia-Qgcide-tp6305674p6312918.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GSM Firmware Flashed, now UBIFS problem and Kernel Panic

2011-04-14 Thread sferic
Hi,
to mount a ubifs you should give another way a try:

cat /proc/mtd
ubiattach /dev/ubi_ctrl -m 6 -d 0 -O 2048
mkdir /tmp/qtmoko
mount -t ubifs ubi0_0 /tmp/qtmoko/

I found this at the ubuntu-wiki, a nice source for all linux-related questions
(as far they are not openmoko-specific - of course!)

Good luck
Sferic


At 14 Apr 2011 18:13:37 +0200 Thomas Franck wrote:
  --- On Thu, 4/14/11, Dave dave...@gmail.com wrote:
  On Thu, Apr 14, 2011 at 7:21 PM, Raphael Wimmer
  raphael.wim...@ifi.lmu.de wrote:
  If there is a better solution that preserves the FS,
  I would be happy to learn about it.
  I wonder if it would be possible to boot into a distro on the sd card
  and mount the nand partitions. Then you could save /home. Just a thought.
  
  Yes, it is: just mount  -t jffs2 /dev/mtdblock6 /mountpoint 
 
 Thank you all for your input..
 
 I put a qtmoko v35 on an SD card.. an on terminal I did:
 
 mkdir /home/root/nandfs
 mount -t ubifs /dev/mtdblock6 /home/root/nandfs
 
 but sadly that doesn't work.. dmesg tells me:
 
 UBIFS error: ubifs_get_sb: cannot open /dev/mtdblock6, error -22
 
 Any ideas?
 
 Cheers,
 -- 
 Thomas
 
 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
 Trying to outsmart a compiler defeats much of the purpose of using one.
   - Kernighan  Plauger, The Elements of Programming Style
 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko v31

2011-01-13 Thread sferic

Thank you for the hint!.
I followed the references and boot v31 with Qi. For this I created the empty
file 'noboot-GTA02' and put it to /boot in the partitions for debian and
shr-u. This works just fine.
But: 
After I use Debian on the 1st Partition and stopped it later and wanted to
start again QtMoko, Qi came in kernel panic. There was the message, that
mtdblocck6 can't be read (I don't  remember the the exact  content now).  I
suspect that wrong boot options had been created (in mtdblock6?) that do not
match with the file system for UBIFS. I had to reflash QtMoko completly
again (qi, kernel and filesystem).  Currently I do not want to start my
alternative distributions again because I fear the problem could occur
again. Is there perhaps another way to reconstruct the right Qi boot options
in this case than to reflash the freerunner?
Thanks in advance!
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/QtMoko-v31-tp5881425p5918157.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko v31

2011-01-07 Thread sferic

Hi, 

I would like to use the new QtMoko v31 as my Dailly-Phone on NAND parallel
to two other Distros and a big Documents-Partition on my SD-Card. Till v26 I
could boot QtMoko over U-Boot 1.3.2-moko 12 (AUX + Power) and the other two
over Qi (Power with or without AUX). With the new v31 this is no longer
possible: When I try to boot v31 with U-Boot, I get the Message No kernel
Image (or similar, the message shows only very short befor the U-Boot-Menu
shows up again). From the Discussion around v28 I have learned, that I have
to change the bootargs_base to use the new ubifs. I think, I have done this
right (with the parameters from v28) but with no success. When I remove my
SD-Card I can boot to v31 (with the new Qi). 

Please tell me the right parameters for U-Boot to use with v31 (and maybe
the right way to set them, when I'm logged into U-Boot?  - sorry for this
NOOB-Question...), or what else could be wrong?

Thanks in advance
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/QtMoko-v31-tp5881425p5898831.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko v26 Qtopia Documents System

2010-10-20 Thread sferic

Hi Nashin,

the document-informations are stored in several tables in the
sqlite3-database /home/root/Applications/Qtopia/qtopia_db.sqlite. You can
take a look into this database for example with sqliteman (and edit, if you
are sure what you are doing). 

Every time you rescan your documents the database should be updated - it
should, but it didn't. This is on my qtmoko v25 and on your qtmoko v26 too.
Only when I umount /media/card/ and rescan the documents, this database is
clear - all document-informations are cleaned up. When I mount this
partition again, the system finds all documents and update the database. 

As you described it seems to me, qtmoko v26 has a fault in this. 

Hope this helps - Greetings
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/QtMoko-v26-Qtopia-Documents-System-tp5650006p5653740.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko v26 Qtopia Documents System

2010-10-19 Thread sferic

Hi Nashin

in a similar situation I found it helpfus to umount the document-partition,
scan the system and after cleaning the sqlite3-document-database re-mount
the document-partition and scan again. After this I can reach my new
Documents.

Hope, this help.
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/QtMoko-v26-Qtopia-Documents-System-tp5650006p5650969.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[opkg] packeges-file not correct updated?

2010-07-30 Thread sferic

Hi List,

I tried to install pisi to my shr-u-distro but discovered, that the
packages-file for http://build.shr-project.org/shr-unstable/ipk//all/
doesn't contain the related information (so opkg can't find the ipk and the
dependencies). Same by a few other packages and/or repositories (I don't
remember now). What's going wrong here?

Many thanks ahead
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/opkg-packeges-file-not-correct-updated-tp5354144p5354144.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [opkg] packages-file incomplete?

2010-07-30 Thread sferic

OK, I've seen - pisi had been removed from the repository today. But - how to
synchronize PIM-data now?

In expectation of an answer
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/opkg-packages-file-incomplete-tp5354144p5354680.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [opkg] packages-file incomplete?

2010-07-30 Thread sferic

Thanks for answer. I was impatient ... and will wait till you have rebuild 
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/opkg-packages-file-incomplete-tp5354144p5354744.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[shr-u] Furthermore problems with USB-networking

2010-07-09 Thread sferic

Hello List,

The network connection via usb still gives me problems. After the
installation of shr unstable on sd card, it was even possible for me to
connect to internet on my pc (ubuntu 10:04) once and carry out an upgrade.
My freerunner has connected (and ist stillconnecting) to the PC via usb0
(Unlike my previous installation (see here
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Missing-UsbHost-tp5247792p5247792.html),
which was connected via eth8 (and is broken after a failed upgrade on
wifi).)

I suspect that something was installed through the upgrade on my freerunner,
which prevents internet access. But how can I find out? 

/usr/lib/opkg/info/ contains a large number of installation logs. Which of
them might have something to do with my problem, can not recognize myself.
If it helps, I can post a table of contents from the directory. But perhaps
the problem is already known and someone can give me a hint? For this ever
thank you
Sferic


-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/shr-u-Furthermore-problems-with-USB-networking-tp5273334p5273334.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-u] Furthermore problems with USB-networking

2010-07-09 Thread sferic

BTW, my Freerunner running on SHR-U is now eth again (eth4)?!?

Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/shr-u-Furthermore-problems-with-USB-networking-tp5273334p5273587.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-U] Missing UsbHost

2010-07-03 Thread sferic

OK, had no more problems. SHR-U appears as eth8 and I could connect without
problems through ssh. But I had made mistakes in the allocation of
performance rights for the various scripts that I need to get me to connect
through my PC to the Internet (at three different distrubution is perhaps
understandable ).

But anyway thanks for the quick answers!
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Missing-UsbHost-tp5247792p5250946.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[SHR-U] Missing UsbHost

2010-07-02 Thread sferic

I currently use shr unstable 2.6.32 on an ext3 partition of sd card.
Everything works fine except networking on usb. As far as I can see is the
USB host resource is not loaded: 

r...@om-gta02 / # shr-settings Connectivity shr_usb.Usb
SHR Settings
/usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning:
object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
DEBUG: creating window: ['Connectivity', '', ['shr_usb.Usb']]
Launcher loaded in 3.64 sec
Loading module shr_usb.Usb...
Module shr_usb.Usb can't be loaded!
Traceback (most recent call last):
  File /usr/bin/shr-settings, line 72, in renderModules
cont = mod2.createView()
  File /usr/lib/python2.6/site-packages/shr_settings_modules/shr_usb.py,
line 94, in createView
usbpolicy =  self.usb.GetResourcePolicy(UsbHost)
  File /usr/lib/python2.6/site-packages/dbus/proxies.py, line 68, in
__call__
return self._proxy_method(*args, **keywords)
  File /usr/lib/python2.6/site-packages/dbus/proxies.py, line 140, in
__call__
**keywords)
  File /usr/lib/python2.6/site-packages/dbus/connection.py, line 622, in
call_blocking
message, timeout)
DBusException: org.freesmartphone.Usage.ResourceUnknown: Resource UsbHost
had never been registered

Page loaded in 0.90 sec

The wifi connection works fine, however. The wifi connection works fine,
however, and updates are easily made. Who can help?

Many thanks in advance
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/SHR-U-Missing-UsbHost-tp5247792p5247792.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Again: Python Error No module named Tkinter

2010-05-20 Thread sferic

Thanks for the hint.

I have looked at tk_8.5 and above all at listbox.tcl and text.tcl. Both
files contain the section MouseWheel (from line 178 in listbox.tcl and from
line 446 in text.tcl). These sections in tk_8.4 caused the error messages in
idle (before I commented out the lines). I therefore believe that the newer
version of tk does not work (without having tried it).

In the meantime I have tested idle. And I've found that I can't use the
menus with the stylus on the touchscreen. I can select menu items, but I
can't execute the commands. This is possible only through the keyboard
shortcuts when they are defined for the menu items. I therefore believe that
the MouseWheel-sections have to be replaced by something like
touchscreen-action. Who can do such a thing? I can't do this, because I
can't program ... 

Greetings
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Again-Python-Error-No-module-named-Tkinter-tp5065357p5078673.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Again: Python Error No module named Tkinter

2010-05-19 Thread sferic

OK, a break for the night is a good idea, if one can think of nothing more:

Today I removed the MouseWheel-Sections from /usr/lib/tk8.4/listbox.tcl and
/usr/lib/tk8.4/text.tcl. After this idle starts and seems to be usable (I
will try later and report my experiences).

Would it be a good idea to remove those sections permanently, so that remain
idle even after an update of tk?

Anyway - Many thanks to Martin Jansa
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Again-Python-Error-No-module-named-Tkinter-tp5065357p5074031.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Again: Python Error No module named Tkinter

2010-05-18 Thread sferic

Thanks for the reply.

But what does this mean? (Apology for the stupid question. I am new in this
business...)

Do I have to wait for a recompiled version of python-tkinter (which I have
to reinstall with the option --force-reinstall)? Or can't I use python idle
at present? I removed libtk8.4-0 from ipk-pre-gcc-4.4.3 in any case.

Greetings
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Again-Python-Error-No-module-named-Tkinter-tp5065357p5069435.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Again: Python Error No module named Tkinter

2010-05-18 Thread sferic

Did I notice that I have installed SHR Testing? I believe, only indirectly by
the indication of the path of gcc-pre-4.4.3. 

So far I didn't notice an update of /shr-testing/ipk/armv4t - is it because
of that? And will python-tkinter in /shr-testing/ipk/armv4t be renewed and
libtk8.4 be supplemented?

Greetings
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Again-Python-Error-No-module-named-Tkinter-tp5065357p5070307.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Again: Python Error No module named Tkinter

2010-05-18 Thread sferic

Thank you very much for updating!

The download and installation of python-tkinter and libtk8.4-0 have worked
without problems.
But I get at the start of python idle a new error message:

r...@om-gta02 ~ $ idle
Traceback (most recent call last):
  File /usr/bin/idle, line 3, in module
from idlelib.PyShell import main
  File /usr/lib/python2.6/idlelib/PyShell.py, line 36, in module
import Debugger
  File /usr/lib/python2.6/idlelib/Debugger.py, line 2, in module
import bdb
ImportError: No module named bdb

I have installed python-debugger - now I got the following message after
calling idle:

r...@om-gta02 ~ $ idle
Traceback (most recent call last):
  File /usr/bin/idle, line 5, in module
main()
  File /usr/lib/python2.6/idlelib/PyShell.py, line 1386, in main
root = Tk(className=Idle)
  File /usr/lib/python2.6/lib-tk/Tkinter.py, line 1643, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive,
wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable tk.tcl in the following directories: 
/usr/lib/tcl8.4/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library
/tk8.4.19/library



This probably means that tk wasn't installed properly.


Now I found, that I have to install Tk and get the following:

r...@om-gta02 ~ $ idle
Traceback (most recent call last):
  File /usr/bin/idle, line 5, in module
main()
  File /usr/lib/python2.6/idlelib/PyShell.py, line 1386, in main
root = Tk(className=Idle)
  File /usr/lib/python2.6/lib-tk/Tkinter.py, line 1643, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive,
wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable tk.tcl in the following directories: 
/usr/lib/tcl8.4/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library
/tk8.4.19/library

/usr/lib/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
while executing
bind Listbox MouseWheel {
%W yview scroll [expr {- (%D / 120) * 4}] units
}
invoked from within
if {[tk windowingsystem] eq classic || [tk windowingsystem] eq aqua} {
bind Listbox MouseWheel {
%W yview scroll [expr {- (%D)}] uni...
(file /usr/lib/tk8.4/listbox.tcl line 181)
invoked from within
source /usr/lib/tk8.4/listbox.tcl
(in namespace eval :: script line 1)
invoked from within
namespace eval :: [list source [file join $::tk_library $file.tcl]]
(procedure SourceLibFile line 2)
invoked from within
SourceLibFile listbox
(in namespace eval ::tk script line 4)
invoked from within
namespace eval ::tk {
SourceLibFile button
SourceLibFile entry
SourceLibFile listbox
SourceLibFile menu
SourceLibFile panedwindow
SourceLibFile ...
invoked from within
if {$::tk_library ne } {
if {$tcl_platform(platform) eq macintosh} {
proc ::tk::SourceLibFile {file} {
if {[catch {
namespace eval :: ...
(file /usr/lib/tk8.4/tk.tcl line 407)
invoked from within
source /usr/lib/tk8.4/tk.tcl
(uplevel body line 1)
invoked from within
uplevel #0 [list source $file]


This probably means that tk wasn't installed properly.

If I understand correctly tk.tcl is missing a button or a scroll wheel. I am
finished with my opportunities. What can I do now? (Do I have to do without
idle? Thanks in advance

-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Again-Python-Error-No-module-named-Tkinter-tp5065357p5071912.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Again: Python Error No module named Tkinter

2010-05-17 Thread sferic
Hello to all,

I try straight to start python idle. I get the following messages: 

r...@om-gta02 ~ $ idle
Traceback (most recent call last):
  File /usr/bin/idle, line 3, in module
from idlelib.PyShell import main
  File /usr/lib/python2.6/idlelib/PyShell.py, line 14, in module
import macosxSupport
  File /usr/lib/python2.6/idlelib/macosxSupport.py, line 6, in module
import Tkinter
  File /usr/lib/python2.6/lib-tk/Tkinter.py, line 39, in module
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

On my Freerunner the following modules are installed: 

python-idle  - 2.6.4-ml8.1.4
python-tkinter - 2.6.4-ml8.1.4
libtcl8.4-0 - 8.4.19-r4.4
libtk8.4-0 - 8.4.19-r0.4 (manually downloaded by 
http://build.shr-project.org/shr-testing/ipk-pre-gcc-4.4.3/armv4t/ and 
installed because it's not (more?) contained in 
http://build.shr-project.org/shr-testing/ipk/armv4t/)

The references from the thread Python Error No module named Tkinter did not 
help me. Who can help?

Sincerly
Sferic
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Again: Python Error No module named Tkinter

2010-05-17 Thread sferic

Hello to all,

I try straight to start python idle. I get the following messages:

r...@om-gta02 ~ $ idle
Traceback (most recent call last):
  File /usr/bin/idle, line 3, in module
from idlelib.PyShell import main
  File /usr/lib/python2.6/idlelib/PyShell.py, line 14, in module
import macosxSupport
  File /usr/lib/python2.6/idlelib/macosxSupport.py, line 6, in module
import Tkinter
  File /usr/lib/python2.6/lib-tk/Tkinter.py, line 39, in module
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

On my Freerunner the following modules are installed:

python-idle  - 2.6.4-ml8.1.4
python-tkinter - 2.6.4-ml8.1.4
libtcl8.4-0 - 8.4.19-r4.4
libtk8.4-0 - 8.4.19-r0.4 (manually downloaded by
http://build.shr-project.org/shr-testing/ipk-pre-gcc-4.4.3/armv4t/ and
installed because it's not (more?) contained in
http://build.shr-project.org/shr-testing/ipk/armv4t/)

The references from the thread Python Error No module named Tkinter did
not help me. Who can help?

Sincerly
Sferic
-- 
View this message in context: 
http://openmoko-public-mailinglists.1958.n2.nabble.com/Again-Python-Error-No-module-named-Tkinter-tp5065357p5065357.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community