<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style id="css_styles" type="text/css">blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] { list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt; }</style></head>
<body><div>Hello,</div><div><br /></div><div>Thanks to the several people who gave advice on my problem, I have made progress.</div><div>a) I updated my Jolla phone to the latest update it was offering: 3.0.0.8</div><div>b) I updated VirtualBox on Ubuntu to the new version 6</div><div>c) I uninstalled and reinstalled the Sailfish SDK, same version as before, 2.1.1, but this time I ticked the boxes to add images for my updated phone OS, 3.0.0.8</div><div>d) I made no changes to my settings for the phone Developer Mode, but I did open the terminal and issue the command devel-su</div><div>e) Now, when I tried to add the phone hardware, the result was successful.</div><div><br /></div><div>I then built a skeleton Sailfish app in Qt Creator with the phone being the target. I added no code to the default code created. As you would expect, it builds fine. Now I am confused as what to do next. In Xamarin-Android development one naturally proceeds to the deploy stage, so I did that in QtCreator and chose the Build / Deploy option, and it told me RPMs had been created OK, but, under the Issues tab, I get the message "No RPM validation suite is available for the current Sailfish OS build target, the package will not be validated"</div><div><br /></div><div> Then I clicked Debug / Start and Break on Main, but nothing happens. I've searched for info on how to debug on Sailfish with QtCreator but haven't found anything. Can anyone suggest a url for a step by step page of instructions?</div><div><br /></div><div>PS Having updated my phone to 3.0.0.8, I see a message telling me 3.1.0.11 is available. I wonder if it is going to work its way incrementally through the available updates :)</div><div><br /></div><div>Regards,</div><div><br /></div><div>Sahlan</div>
<div><br /></div>
<div>------ Original Message ------</div>
<div>From: "David Llewellyn-Jones" <<a href="mailto:david@flypig.co.uk">david@flypig.co.uk</a>></div>
<div>To: <a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a></div>
<div>Sent: 19/07/2019 11:04:27</div>
<div>Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box</div><div><br /></div>
<div id="x1e47b743adf643a" class="plain"><blockquote cite="bc99f6d5-0bc1-3219-350e-46c9bbedc732@flypig.co.uk" type="cite" class="cite2">
<tt style="word-wrap:break-word"><div class="plain_line">On 19/07/2019 12:27, Sahlan wrote:</div>
<div class="plain_line">[snip]</div>
<blockquote type="cite" class="cite">
<div class="plain_line"> I have</div>
<div class="plain_line"> purchased a phone which is running Sailfish 3 and have set up Developer</div>
<div class="plain_line"> Mode on it. On Ubuntu 18.04 LTS, I installed the Sailfish Qt Creator IDE</div>
<div class="plain_line"> and built a simple test app.</div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Which phone are you using? Did you flash it over USB to install</div>
<div class="plain_line">Sailfish? Your setup with Ubuntu is pretty standard, so it should work.</div>
<div class="plain_line"> </div>
<div class="plain_line">It's an obvious question, but did you, activate the Remote connection</div>
<div class="plain_line">option, and give yourself a root password?</div>
<div class="plain_line"> </div>
<div class="plain_line"><a href="https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode">https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode</a></div>
<div class="plain_line"> </div>
<blockquote type="cite" class="cite2">
<div class="plain_line"> I connected the Sailfish phone via USB and</div>
<div class="plain_line"> confirmed with lsusb that the device is recognised as being connected.</div>
<div class="plain_line"> Under Tools / Options / Devices, I try to add the phone as a Sailfish OS</div>
<div class="plain_line"> Physical Device. The IP address, username and password correctly</div>
<div class="plain_line"> correspond to those on the phone, but clicking "Test Connection" always</div>
<div class="plain_line"> gives me the message "Host unreachable". Increasing the SSH timeout does</div>
<div class="plain_line"> not help. I also tried pinging the i.p. address of the phone from a</div>
<div class="plain_line"> terminal window, and it is not found, though I am not sure whether ping</div>
<div class="plain_line"> should work with i.p. over usb.</div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Pinging should work over USB, and personally I'd focus on getting that</div>
<div class="plain_line">to work first, since until you can ping it's unlikely ssh will work.</div>
<div class="plain_line"> </div>
<div class="plain_line">It might also be worth trying to ping in the opposite direction (i.e</div>
<div class="plain_line">pinging your computer from the phone over USB) by opening a console on</div>
<div class="plain_line">the phone and using something like this:</div>
<div class="plain_line"> </div>
<div class="plain_line">su-devel ping 192.16.2.6</div>
<div class="plain_line"> </div>
<div class="plain_line">Some of the advice on this page may also be useful (if not now, then</div>
<div class="plain_line">once you have a connection!):</div>
<div class="plain_line"> </div>
<div class="plain_line"><a href="https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet">https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet</a></div>
<div class="plain_line"> </div>
<div class="plain_line">David</div>
<div class="plain_line">--</div>
<div class="plain_line">Website: <a href="http://www.flypig.co.uk">http://www.flypig.co.uk</a></div>
<div class="plain_line">_______________________________________________</div>
<div class="plain_line">SailfishOS.org Devel mailing list</div>
<div class="plain_line">To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></div>
</tt></blockquote></div>
</body></html>