Re: [QtMoko] MokoFaen v2.1
On Wednesday, August 29, 2012 11:25:01 PM Neil Jerram wrote: > Sorry, wrong patch. Here's the right one. Tested and applied now in git, thanks! Btw those two numbers are nice, but they dont say much. IIRC symbian must have some database which could translate them to town name. Regards Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [QtMoko] MokoFaen v2.1
Neil Jerram writes: > If I've understood the code correctly, there appears to be a missing > link between QModemNetworkRegistration, which is the first place that > gets registration and cell location info, and CellModemManager, which is > the class that sets the Telephony/Status/CellLocation value that the UI > expects. > > The patch below tries to connect those two up. It builds, but I don't > have time this evening to quickly test it. If anyone else feels > brave... Sorry, wrong patch. Here's the right one. Neil >From fdb74f5f6c8a69f4f5e0b63ba4d549d1510821ab Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Wed, 29 Aug 2012 22:08:35 +0100 Subject: [PATCH] Connect the jigsaw pieces for displaying cell location --- .../telephony/callpolicymanager/cell/cellmodemmanager.cpp | 12 .../telephony/callpolicymanager/cell/cellmodemmanager.h|1 + 2 files changed, 13 insertions(+) diff --git a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp index 6607581..4293b66 100644 --- a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp +++ b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp @@ -205,6 +205,8 @@ CellModemManager::CellModemManager(QObject *parent) this, SLOT(registrationStateChanged())); QObject::connect(d->m_netReg, SIGNAL(currentOperatorChanged()), this, SLOT(currentOperatorChanged())); +QObject::connect(d->m_netReg, SIGNAL(locationChanged()), + this, SLOT(locationChanged())); // Rename signal for QAbstractCallPolicyManager. QObject::connect(this, SIGNAL(registrationStateChanged(QTelephony::RegistrationState)), @@ -340,6 +342,16 @@ void CellModemManager::registrationStateChanged() doAutoRegister(); } +void CellModemManager::locationChanged() +{ + QString cell_location; + QTextStream(&cell_location) +<< d->m_netReg->locationAreaCode() +<< "/" +<< d->m_netReg->cellId(); + setCellLocation(cell_location); +} + void CellModemManager::rfLevelChanged() { QPhoneRfFunctionality::Level level = d->m_rfFunc->level(); diff --git a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h index 77a6fd0..1d239d1 100644 --- a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h +++ b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h @@ -108,6 +108,7 @@ private slots: const QPinOptions&); void currentOperatorChanged(); void registrationStateChanged(); +void locationChanged(); void autoRegisterTimeout(); void planeModeChanged(bool); void queryCallForwarding(); -- 1.7.10.4 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [QtMoko] MokoFaen v2.1
francesco.dev...@mailoo.org writes: >>Just one nit: what's supposed to appear next to the globe? I'm guessing >>some kind of location, but I don't know what to do to make anything >>appear there? > > Yes it is the GSM cell location. To activate it go to Appearance, open the > options menu and select the main window settings, there check the location > box. > However, for me this feature doesn't work, nor in mokofaen nor in finxi. > Could someone check if it works? If I've understood the code correctly, there appears to be a missing link between QModemNetworkRegistration, which is the first place that gets registration and cell location info, and CellModemManager, which is the class that sets the Telephony/Status/CellLocation value that the UI expects. The patch below tries to connect those two up. It builds, but I don't have time this evening to quickly test it. If anyone else feels brave... Neil >From 828d7c687e2bc90b11d35b42c5a6d9b9785e5f5c Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Wed, 29 Aug 2012 22:08:35 +0100 Subject: [PATCH] Connect the jigsaw pieces for displaying cell location --- .../telephony/callpolicymanager/cell/cellmodemmanager.cpp | 12 .../telephony/callpolicymanager/cell/cellmodemmanager.h|1 + 2 files changed, 13 insertions(+) diff --git a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp index 6607581..a03b0c9 100644 --- a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp +++ b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp @@ -205,6 +205,8 @@ CellModemManager::CellModemManager(QObject *parent) this, SLOT(registrationStateChanged())); QObject::connect(d->m_netReg, SIGNAL(currentOperatorChanged()), this, SLOT(currentOperatorChanged())); +QObject::connect(d->m_netReg, SIGNAL(locationChanged()), + this, SLOT(locationChanged())); // Rename signal for QAbstractCallPolicyManager. QObject::connect(this, SIGNAL(registrationStateChanged(QTelephony::RegistrationState)), @@ -340,6 +342,16 @@ void CellModemManager::registrationStateChanged() doAutoRegister(); } +void CellModemManager::locationChanged() +{ + QString cell_location; + QTextStream(&cell_location) +<< m_netReg.locationAreaCode() +<< "/" +<< m_netReg.cellId(); + setCellLocation(cell_location); +} + void CellModemManager::rfLevelChanged() { QPhoneRfFunctionality::Level level = d->m_rfFunc->level(); diff --git a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h index 77a6fd0..1d239d1 100644 --- a/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h +++ b/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.h @@ -108,6 +108,7 @@ private slots: const QPinOptions&); void currentOperatorChanged(); void registrationStateChanged(); +void locationChanged(); void autoRegisterTimeout(); void planeModeChanged(bool); void queryCallForwarding(); -- 1.7.10.4 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: QtMoko v47 for Freerunner
On Wednesday, August 29, 2012 12:04:11 PM francesco.dev...@mailoo.org wrote: > Hi! > On v47 the alarm and the reminders do not work properly. If the gta02 is > in suspension, the alarm/reminder wakes it up but nothing happens or the > alarm/reminder starts after several minutes. Hi, i wanted to take a look at it in some near future. I'd also like to cleanup the alarm stuff and use atd from debian. I hope i can get to it soon. Regards Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [qtmoko] video player qmokoplayer / qmplayer
On Wednesday, August 29, 2012 01:25:09 PM robin wrote: > I just tried to play some video on qtmoko with qmplayer the controls are > mostly off the screen (this has already been reported), so now I tried > qmokoplayer but if I select video player there is only one entry now which > is SHARING. eventually I wanted to have something like the elephant dreams > presentation on qmoplayer running at 240x320 being scaled to 640x480. > any other suggestions what I could try? I think qmplayer is ok for that - drawing the controls is off screen, but they work: slide up for pause slide left/right for volume slide down to dim screen You can use the "encode" option to transcode the video for freerunner. Regars Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
gta02 bass and #1024 bug rework
Hi list I have a GTA02A7, is there someone in Europe who still offer the bass (not buzz) and #1024 bug rework? Thanks. Regards Joif ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[qtmoko] video player qmokoplayer / qmplayer
hi I just tried to play some video on qtmoko with qmplayer the controls are mostly off the screen (this has already been reported), so now I tried qmokoplayer but if I select video player there is only one entry now which is SHARING. eventually I wanted to have something like the elephant dreams presentation on qmoplayer running at 240x320 being scaled to 640x480. any other suggestions what I could try? best regards robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: QtMoko v47 for Freerunner
Hi! On v47 the alarm and the reminders do not work properly. If the gta02 is in suspension, the alarm/reminder wakes it up but nothing happens or the alarm/reminder starts after several minutes. Regards Joif ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[qtmoko] locale follow up
maybe someone can help me with my locale problem perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "de_DE.UTF-8" are supported and installed on your system. on qtmoko v47 I did the following and this is the output # apt-get install python-pyasn1 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: python-pyasn1 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 31.9 kB of archives. After this operation, 299 kB of additional disk space will be used. Get:1 http://cdn.debian.net/debian/ squeeze/main python-pyasn1 all 0.0.11a-1 [31.9 kB] Fetched 31.9 kB in 0s (82.7 kB/s) yperl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "de_DE.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory debconf: delaying package configuration, since apt-utils is not installed Selecting previously deselected package python-pyasn1. (Reading database ... 20963 files and directories currently installed.) Unpacking python-pyasn1 (from .../python-pyasn1_0.0.11a-1_all.deb) ... Setting up python-pyasn1 (0.0.11a-1) ... Processing triggers for python-support ... # anki Traceback (most recent call last): File "/usr/bin/anki", line 14, in import anki, aqt File "/usr/share/anki/libanki/anki/__init__.py", line 12, in raise Exception("Anki requires a UTF-8 locale.") Exception: Anki requires a UTF-8 locale. # on my desktop machine where I do not get any errors from anki I have the following : LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= any hints? (as mentioned earlier dpkg-reconfigure locale solves this but then I have huge fonts and apparently gps in neron gps is not working anymore). thanks a lot robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community