Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Runonphone with coda on Ubuntu 11.10 Linux host
Forum Updated to NodeBB v4.3 + New Features

Runonphone with coda on Ubuntu 11.10 Linux host

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    harbaum
    wrote on last edited by
    #1

    I just upgraded my C7 to belle and had to learn that TRK isn't supported anymore. So i installed CODA. It took me some time to find a matching runonphone (which i finally found in the qt4.8 src tarball).

    The version in there needs a little patch to be able to detect the naming scheme of the current Linux kernels.

    Line 157 in serenu_unix.cpp has to changed from
    @ eligibleInterfaces << QString("usb-%1_%2-if%3")@
    to
    @ eligibleInterfaces << QString("usb-%1_%2_.*-if%3")@

    as the friendly name nowadays seems to include the serial number. E.g. my c7 shows up as:

    @
    usb-Nokia_C7-00_355960045842289-if00-port0
    usb-Nokia_C7-00_355960045842289-if01
    usb-Nokia_C7-00_355960045842289-if03
    @

    Another thing i have not figured out yet: Can i get the console output with coda? I am used to see the console log when running an application using trk, but with the latest runonphone and coda i don't get the qdebug output.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Could you please submit your patch as a "review request":http://wiki.qt-project.org/Code_Reviews ?

      We still can not accept changes via random channels:( The official channel got way nicer when we went to open governance, so it is really worth your while doing a review request nowadays:-)

      1 Reply Last reply
      0
      • H Offline
        H Offline
        harbaum
        wrote on last edited by
        #3

        I am pretty sure that this patch breaks setups with older/other kernels. So i'd rather have the hint here so people can find it and apply it if they encounter the same problems.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved