System Info module not integrated with platform

Bug #1197542 reported by Pat McGowan
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Invalid
High
Loïc Molinari
qtsystems-opensource-src (Ubuntu)
In Progress
Undecided
Unassigned

Bug Description

The DeviceInfo item provides correct information for some functions on both desktop and Touch
The BatteryInfo items do not yield correct results in any case.
Did not try the other interfaces

libqt5systeminfo5:
  Installed: 5.0~git20130123-0ubuntu1~test2

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I can provide a test program if it is helpful

Revision history for this message
Florian Boucault (fboucault) wrote :

Yes it would be helpful to have a test program. Also a rundown of the methods/properties that do not return the appropriate values would help.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

See lp:~pat-mcgowan/+junk/SystemInfo

Running the test app will indicate which APIs are not yet integrated

Revision history for this message
Loïc Molinari (loic.molinari) wrote :

QtSystemInfo is a QML plugin exposing the QSystem* classes from the Qt Mobility Components. It currently has backends for Windows, Maemo, Symbian, Mac as well as a generic Linux one. We might need to provide our own Ubuntu backend.

Revision history for this message
Loïc Molinari (loic.molinari) wrote :
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

bumping priority based on recent discussions for system settings and networking info

Changed in ubuntu-ui-toolkit:
assignee: nobody → Loïc Molinari (loic.molinari)
importance: Medium → High
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Saucy received a qtsystems archive upload of a newer 20130614 snapshot last Friday. That build didn't add anything related to this bug directly, but shortly after that some oFono build fixes have been done upstream. On request from seb128 I did a test build of that, compiled with the non-default CONFIG+=ofono parameter, in qt5-beta2 PPA (https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2/+packages).

With that git master and oFono support, running Pat's test program on my Nexus 4, I get the attached backtrace related to imei reading. If the same code is compiled without CONFIG+=ofono, the test program again works (without IMEI or such information). It's probable the support was just made to compile, but is otherwise outdated and would need further fixing.

Loïc: Qt5 qtsystems upstream address http://qt.gitorious.org/qt/qtsystems

Revision history for this message
Sebastien Bacher (seb128) wrote :

> If the same code is compiled without CONFIG+=ofono, the test program again works (without IMEI or such information)

right, the IMEI information comes from ofono, without ofono the code just returns doing nothing... seems like a bug in the ofono integration, might be worth reporting upstream if they have a bug tracker

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Separated the crash issue to bug #1199813 and also filed upstream bug report, linked there.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Not sure if we want specific bugs about specific issues?

Currently get the model/manufacturer on the device fails, qtsystems is trying to read /sys/devices/virtual/dmi/id/product_name or there is not "dmi" in on the device (it works on an Ubuntu desktop though)

Revision history for this message
Sebastien Bacher (seb128) wrote :

same issue for the deviceid, it tries to read /sys/devices/virtual/dmi/id/product_uuid

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtsystems-opensource-src (Ubuntu):
status: New → Confirmed
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: Confirmed → Invalid
Revision history for this message
Lorn Potter (lorn-potter) wrote :

There is a manual test app included with qtsysteminfo called sysinfo-tester. You have to manually build this.

I can go though this on the phone, see what is missing, wrong, etc. and fix it up.

It tries a variety of ways to determine different values..

Revision history for this message
Lorn Potter (lorn-potter) wrote :

just a note, some of the missing values in deviceinfo can be gotten from hybris properties, such as in ubuntu-system-settings

Revision history for this message
Lorn Potter (lorn-potter) wrote :

another note to self: /etc/machine-info

Changed in qtsystems-opensource-src (Ubuntu):
assignee: nobody → Lorn Potter (lorn-potter)
Changed in qtsystems-opensource-src (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Lorn Potter (lorn-potter) wrote :
Changed in qtsystems-opensource-src (Ubuntu):
assignee: Lorn Potter (lorn-potter) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.