Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread Julius Loman
192.168.2.15 is Jolla's IP address. you have to set another IP address in the 
same
C class network to your usb0 interface. For example 192.168.2.14.

Julius

On Thu, Jan 23, 2014 at 03:01:08PM +0100, dcali...@free.fr wrote:
 Hello list members,
 
Sorry for asking this stupid question, but I can't connect to the device 
 with
 ssh when this one is connected via USB in developer mode. I can ssh to it when
 connecting through WLAN though.
 
What I'm doing:
 - enable developer mode and set-up a password (this one is working since I can
 connect through WLAN) ;
 - plug-in USB cable from the computer and choose developer mode connection ;
 - the settings page tell me that the 192.168.2.15 address is affected to the 
 USB
 interface.
 - I setup the computer to attribute 192.168.2.15/192.168.2.255 to the 
 interface
 on usb0, statically (it's working since ping 192.168.2.15 is responding).
 - I ssh at this address with nemo as login, it's responding since it proposes 
 to
 add the hw key to the known host list, and then it's asking for the password,
 but when I type it, I get permission denied. The password is alright since I 
 can
 ssh to the device when using WLAN connection.
 
I've tried with a generated password from the interface also but no luck
 neither. I've tried to find the logs of ssh, but was not able to find them,
 before they were located in /var/log/auth, but not here. I've tried to look at
 journalctl output but didn't found anything about rejected connection or ssh.
 I've tried to google a bit, found the page http://elinux.org/Jolla but still 
 get
 permission denied.
 
Can anyone help me on this, by pointing me where I can give a look to
 understand what's happening, or by pointing out what I'm doing wrong.
 
 Thanks in advance, and have a nice day,
 
 Damien.
 ___
 SailfishOS.org Devel mailing list

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread Julius Loman
Assign 192.168.2.14 to your computer and do ssh nemo@192.168.2.15
It seems to me you are just connecting to your computer, not to Jolla device.

On Thu, Jan 23, 2014 at 03:11:21PM +0100, dcali...@free.fr wrote:
 Hello,
 
 Selon Julius Loman l...@kyberia.net:
  192.168.2.15 is Jolla's IP address. you have to set another IP address in 
  the
  same
  C class network to your usb0 interface. For example 192.168.2.14.
 Thanks for replying promptly, but it's not working neither. Same results, I 
 can
 ping 192.168.2.14, but when I ssh to it with ssh nemo@192.168.2.14, I get 
 the
 password prompt (so ssh is indeed negociating with the device) but my password
 doesn't work#8230;
 
 Besides, I made a mistae in my first email, the netmask is indeed
 255.255.255.0#8230;
 
 Damien.
 ___
 SailfishOS.org Devel mailing list

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


[SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Julius Loman
Hi

this is for sure a beginners question, but I hope somebody can help me to sort
it out. I want to listen to connman dbus events to determine connection changes
(I'm interested in receiving signal as soon as device connects to particular
WLAN network).

Using some examples I was able to capture dbus events on my KDE desktop (albeit
not connman related), but same code for SailfishOS does nothing. I guess my
understanding of Dbus or QtBus is bad :)

Here is my piece of code:

#include wifimonitor.h
#include QtDBus

int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
WifiMonitor* receiver = new WifiMonitor;

qDebug()  Starting dbus monitor;
QDBusConnection system = QDBusConnection::systemBus();
if (!system.isConnected())
{
qFatal(Cannot connect to the D-Bus session bus.);
return 1;
}
system.connect(,
   /net/connman/technology/wifi,
   net.connman.Technology,
   PropertyChanged,
   receiver,
   SLOT(propertyChanged(const QDBusObjectPath))
   );

return a.exec();
}

 wifimonitor.h 

#ifndef WIFIMONITOR_H
#define WIFIMONITOR_H

#include QObject
#include QtDBus

class WifiMonitor : public QObject
{
Q_OBJECT
public:
explicit WifiMonitor(QObject *parent = 0);

signals:

public slots:
void propertyChanged(const QDBusObjectPath in);
};

#endif // WIFIMONITOR_H

 wifimonitor.cpp 

#include wifimonitor.h
#include QtDBus

WifiMonitor::WifiMonitor(QObject *parent) :
QObject(parent)
{
}

void WifiMonitor::propertyChanged(const QDBusObjectPath in)
{
qDebug()  DBus signal received;
qDebug()  PropertyChanged, ObjectPath:   in.path();
}


Thanks
Julius

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Status menu? OT answer

2014-01-19 Thread Julius Loman
On Sat, Jan 18, 2014 at 12:38:35AM +0100, Ruediger Schiller 
chem...@dostortugas.org wrote:
  https://sailfishos.org/core-events-article.html
 
 as it says on the page, a swipe from the bottom of the screen gets you to
 notifications, this still applies, for n950 maybe cause of the orientation bug
 from the left.
You probably didn't get the point. Notification screen is there and accessible 
of course. Agreed.
But it looks significantly different compared to notification screen seen in 
several (preproduction?)
videos and images. I'm talking about the combined notification screen (all
notifications in just one screen). Now we have system/user notifications and
links to 10 last tweets from twitter and link to web version of facebook.

For example see this image:
http://www.blogcdn.com/www.engadget.com/media/2013/05/widejolladevices2.jpg

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Devel USB-mode withouth battery charging?

2014-01-09 Thread Julius Loman
On Thu, Jan 09, 2014 at 09:38:05PM +0200, Tone Kastlunger 
users.giulie...@gmail.com wrote:
 This is a very good point, have been wondering the same...
I don't think so. I've never seen such a device (USB connected without 
charging). 

If you really don't want charning - use WLAN, not USB. Works well for me, but
it won't work in WLAN networks where clients are isolated (typically public
networks).
 
 
 On Thu, Jan 9, 2014 at 9:35 PM, Jarkko Lietolahti 
 jarkko.lietola...@gmail.com wrote:
 
  Hi,
   Is it possible to get developer mode USB connection but without battery
  charging?
 
 
  Br,
   Jarkko
 
  ___
  SailfishOS.org Devel mailing list
 

 ___
 SailfishOS.org Devel mailing list


-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No inbox?

2014-01-01 Thread Julius Loman
On Tue, Dec 31, 2013 at 01:50:20PM +, Chris Walker 
cdw_noki...@the-walker-household.co.uk wrote:
 I have installed the email app on the phone and have finally managed to
 send an email to another of my email addresses. I then replied to it
 and I can see that mail in the inbox on my PC. But there is no inbox on
 the phone. There's just Outbox, Deleted items, Sent and Drafts.
Is it a imap/pop3 or exchange type account?

Normally when you open your account in the email app and you swipe to the
right, you can see all available folders for this account.

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK in /opt

2014-01-01 Thread Julius Loman
If I remember correctly, you have to uninstall (completely remove) old SDK
first and install new version afterwards. I think I've seen this in release
notes.

Julius

On Wed, Jan 01, 2014 at 07:19:36PM +0100, christopher.l...@thurweb.ch wrote:
 Hi Marcin
 
 That is black and white confirmation that the SDK VM is not installed.
 
 You mentioned an earlier alpha. My (educated?) guess is that a
 remnant of that was still around when you installed the latest SDK.
 
 Maybe you should a complete (yes complete) deinstall, then reinstall.
 
 My experience is that before upgrading you need to deinstall, then
 hunt all out all the hidden directories and remove those
 (.scratchbox2 etc.). If you search the archives of this mailing list
 you will find reference to them.
 
 Upgrading a Sailfish SDK reminds me just a little of upgrading
 Oracle on Windows: hunting and eradicating every trace in the file
 system and registry before install the new version ...).
 
 Now I need to get a loaf of bread out of the oven ... It's smelling good!
 
 Grüsse
 
 Chris
 
 Zitat von Marcin M. marmistrz...@gmail.com:
 
 I'm using simply virtualbox-4.3 from the official repo:
 
 $ apt-cache policy virtualbox-4.3
 virtualbox-4.3:
   Installed: 4.3.6-91406~Ubuntu~raring
   Candidate: 4.3.6-91406~Ubuntu~raring
   Version table:
  *** 4.3.6-91406~Ubuntu~raring 0
 500
 http://download.virtualbox.org/virtualbox/debian/saucy/contrib
 amd64 Packages
 100 /var/lib/dpkg/status
  4.3.0-89960~Ubuntu~raring 0
 700 http://packages.linuxmint.com/ petra/import amd64 Packages
 
 $ vboxmanage list vms
 WinXP {4bfb163e-8537-470b-81ac-542629875e44}
 SailfishOS Emulator {10d6d122-6581-42da-b6e0-562266fced05}
 
 
 
 vboxmanage list runningvms shows nothing
 
 --
 Marcin
 
 
 2014/1/1 christopher.l...@thurweb.ch
 
 marcin
 
 What do the following commands give you (in a terminal)'
 
 vboxmanage list vms
 
 vboxmanage list runningvms
 
 
 The first should show installed VMS, the second those currently running.
 
 You may also have the Virtualbox-qt gui installed somewhere giving similar
 info.
 
 Grüsse
 
 Chrsi
 
 Zitat von Marcin M. marmistrz...@gmail.com:
 
 
  Hi,
 
 Thanks, it was a (partial) fix.
 
 Now, when trying to build, I get:
 
 Virtual Machine 'MerSDK' is not installed!
 
 --
 Marcin
 
 
 2014/1/1 christopher.l...@thurweb.ch
 
  Hi Marcin
 
 The project templates have changed quite a bit since then, and I am
 fairly
 sure I have seen the same behaviour.
 
 Try a new default project.
 
 If that works, then you can copy across your c++ / qml files from your
 alpha project into the new default project.
 
 Chris
 
 Zitat von Marcin Mielniczuk marmistrz...@gmail.com:
 
 
  Well, I should've said it more precisely :) - I open a project created
 by
 
 the first alpha. I click the emulator button. It grays out, nothing
 happens.
 --
 Sent from my Nokia N900
 Marcin
 
 On Wed Jan   1 15:56:45 2014 christopher.l...@thurweb.ch wrote:
 
  Marcin
 
 Do you have a project open? The Emulator and SDK launch buttons remain
 grey until you do
 
 Chris
 
 Zitat von Mikael Hermansson m...@7b4.se:
 
  That should work, I have it in opt and have no problem.
 
  Looks more like you have an issue with you project file?
 
  check the compile output/message screen if you get qmake errors or
  similar?
 
  also try build-clean all.
 
 
  On Wednesday 01 January 2014 11.12.58 Marcin M. wrote:
   Hi,
  
   I've installed the SDK into /opt, but I'm unable to launch the
   emulator nor the SDK VM - only the buttons are grayed out. Is there
   a known workaround, so that I can avoid reinstalling into
   /home/$USER/ ?
  
   thanks
   --
   Marcin
 
  --
  Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
  ___
  SailfishOS.org Devel mailing list
 
 
 
 
 ___
 SailfishOS.org Devel mailing list
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 ___
 SailfishOS.org Devel mailing list

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list


[SailfishDevel] Video playback in application

2014-01-01 Thread Julius Loman
Hi

I'm trying to play video content in my QML application using VideoOutput and
MediaPlayer types.  So far I haven't been able to get it working even on the
Jolla provided videos in /home/nemo/Videos/ , probably due to following error:

[W] QGstreamerPlayerSession::processBusMessage:1223 - Error: Internal data 
stream error. 

Anybody can provide a working example or give me some clues? Playing just audio
from same files using QML Audio type seems to work fine.

Thank you
Julius

-- 

[ Julius Loman ][ l...@kyberia.net ][ http://lomo.kyberia.net ][ icq:35732873 ]
___
SailfishOS.org Devel mailing list