<div dir="ltr"><div><div><div><div><div><div>Hi Laurent,<br><br></div>I played around with a similar thing quite a while back, being snoopsnitch and osmo-qcdiag.</div><div>For compilation, installed gcc on the phone itself, since as you say only simple C code is needed.<br></div>There seemed to be problems with /dev/diag on my original Jolla that i never got past, however i seem to recall i got further on the Jolla C.<br></div>What got me stuck was the ridiculous amount of dependencies for osmo-qcdiag, hopefully your approach is easier to pull off.<br><br></div>Not that i don't mind sharing what i did and what i found, but i barely remember to be perfectly honest, so direct questions via #jollamobile on Freenode probably works better.</div>I'll probably not be there to often, so if you don't catch me there i'll try to help here too.<br></div><div><br></div><div>Br,<br></div>Anton (attah at TJC, Freenode, etc.)<br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-21 14:12 GMT+02:00 Schumacher L. <span dir="ltr"><<a href="mailto:laurent.schumacher@unamur.be" target="_blank">laurent.schumacher@unamur.be</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Dear Sailors,<br>
    <br>
    This is a newbie post. So far, I have not been able to find the
    information I have been looking for. Feel free to point me to
    relevant sources, should I have overlooked them.<br>
    <br>
    I am interested in reading the Qualcomm chipset messages going
    through /etc/diag according to the developers of Mobile Insight
    (<a class="m_-7857739098550061475moz-txt-link-freetext" href="http://www.mobileinsight.net/" target="_blank">http://www.mobileinsight.net/</a><wbr>). In a nutshell, I aim at porting
    diag_revealer
(<a class="m_-7857739098550061475moz-txt-link-freetext" href="https://github.com/mobile-insight/mobileinsight-mobile/blob/master/diag_revealer/qcom/jni/diag_revealer.c" target="_blank">https://github.com/mobile-<wbr>insight/mobileinsight-mobile/<wbr>blob/master/diag_revealer/<wbr>qcom/jni/diag_revealer.c</a>)
    to SFOS.<br>
    <br>
    Here are my questions:<br>
    <ol>
      <li>Is the Platform SDK the right tool to investigate such
        low-level hardware signalling? GCC compilation of a small piece
        of code went smoothly, but at runtime I get "open diag dev: No
        such file or directory"</li>
      <li>Is there a SFOS-specific sheet of IOCTL commands for
        diagnostic post? Are the Android's IOCTL commands applicable to
        SFOS as well?</li>
    </ol>
    Thanks in advance for your tips,<br>
    LS<br>
    <div class="m_-7857739098550061475moz-signature">-- <br>
      <div style="font-family:Verdana,Helvetica,Arial,sans-serif;font-size:8pt;font-weight:normal;color:#616365"> <img src="cid:part1.0430A163.6C776253@unamur.be" style="display:block;margin:1em 0em">
        <p style="margin:1em"> <span style="font-weight:bold">Laurent
            SCHUMACHER</span><br>
          <span style="color:#69be28">Professeur</span><br>
          <span>Faculté d'Informatique</span> </p>
        <p style="margin:1em">
          <span style="font-weight:bold">T.</span> +32 (0)81 724 980<br>
          <span style="font-weight:bold">F.</span> +32 (0)81 724 967<br>
          <a style="color:#69be28" href="mailto:laurent.schumacher@ieee.org" target="_blank">laurent.schumacher@ieee.org</a><br>
          <a style="color:#69be28" href="http://www.unamur.be/universite/personnes/page_view/01005249/" target="_blank">http://www.unamur.be/<wbr>universite/personnes/page_<wbr>view/01005249/</a><br>
          <a style="color:#69be28" href="http://be.linkedin.com/pub/laurent-schumacher/0/32b/7b7" target="_blank">http://be.linkedin.com/pub/<wbr>laurent-schumacher/0/32b/7b7</a><br>
        </p>
        <p style="margin:1em"> <span style="font-weight:bold;font-size:8pt">Université de Namur ASBL</span><br>
          <span>Rue de Bruxelles 61 - 5000 Namur</span><br>
        </p>
        <p style="margin:1em;font-size:6pt;color:#69be28"> <span>Let’s
            respect the environment together.</span><br>
          <span style="font-weight:bold">Only print this message if
            necessary!</span><br>
        </p>
      </div>
    </div>
  </div>

<br>______________________________<wbr>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.<wbr>sailfishos.org</a><br></blockquote></div><br></div>