From 8136f448fefbf78dbfee2a53e44e8840823173cc Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 21 May 2014 09:38:19 +0300 Subject: doc: move adb connection change info to customization This should be under customization and not under build your own embedded linux. Change-Id: Idcc5723b43cdff4d74f75f562f4265bf7abd4555 Reviewed-by: Kalle Viironen Reviewed-by: Eirik Aavitsland --- src/doc/src/b2qt.qdoc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/doc/src/b2qt.qdoc b/src/doc/src/b2qt.qdoc index 7423178..b06929e 100644 --- a/src/doc/src/b2qt.qdoc +++ b/src/doc/src/b2qt.qdoc @@ -1101,6 +1101,23 @@ change \c /init.rc, or simply rename the \c {/system/bin/surfaceflinger} executable. \endlist + + \section1 Using Network Connection for ADB + + By default, \B2Q uses USB cable for communication between device and Qt Creator. + On \B2QL, you can change the device to use ethernet network connection for the + communication. To enable network connection, you need to modify file + \c /etc/default/adbd located on the devices, and change value of \c USE_ETHERNET + to \c 'yes'. This can also be done with \c adb, while the device is still + connected via USB. + + \badcode + /Tools/b2qt/adb shell sed -i -e 's/USE_ETHERNET=no/USE_ETHERNET=yes/' /etc/default/adbd + \endcode + + \note You need to restart the device for this change to take effect. + + \include b2qt-post-install-setup.qdocinc configuring network device */ /*! @@ -1241,23 +1258,6 @@ This will set up a new kit in Qt Creator, using the toolchain and Qt from your build directory. The new kit is visible under \b Tools > \b Options > \b {Build & Run} > \b Kits. - - \section1 Using Network Connection for ADB - - By default, \B2Q uses USB cable for communication between device and Qt Creator. - On \B2QL, you can change the device to use ethernet network connection for the - communication. To enable network connection, you need to modify file - \c /etc/default/adbd located on the devices, and change value of \c USE_ETHERNET - to \c 'yes'. This can also be done with \c adb, while the device is still - connected via USB. - - \badcode - /Tools/b2qt/adb shell sed -i -e 's/USE_ETHERNET=no/USE_ETHERNET=yes/' /etc/default/adbd - \endcode - - \note You need to restart the device for this change to take effect. - - \include b2qt-post-install-setup.qdocinc configuring network device */ /*! -- cgit v1.2.3