Difference between revisions of "CM-QS600: Android: Operating instructions"

From Compulab Mediawiki
Jump to: navigation, search
Line 39: Line 39:
  
 
{{Note|If after making the selection with ''SoundAbout'' nothing happens, restart the application.}}
 
{{Note|If after making the selection with ''SoundAbout'' nothing happens, restart the application.}}
 +
 +
=== P9 100mil header ===
 +
* SPI.0
 +
: By default, SPI.0 is routed to the P9 header:
 +
: pin 1 : Clk
 +
: pin 3 : nCS
 +
: pin 5 : MOSI
 +
: pin 7 : MISO
 +
 +
* UART (<code> /dev/ttyHSL1 </code>)
 +
: In order to override the default routing, the kernel should be [[CM-QS600: Android: Building from source code#Build_boot_image_.28kernel_.2B_initramfs.29 | rebuilt]] with patched CM-QS600 board file (<code> kernel/arch/arm/mach-msm/board-cm-qs600.c </code>):
 +
<pre>
 +
- #define CM_QS600_GSBI4_AS_SPI
 +
+ // #define CM_QS600_GSBI4_AS_SPI
 +
</pre>
 +
UART routing to the P9 header:
 +
: pin 5 : TX
 +
: pin 7 : RX
  
 
[[Category:Android]]
 
[[Category:Android]]
 
[[Category:CM-QS600]]
 
[[Category:CM-QS600]]

Revision as of 07:08, 22 March 2015

Overview

Most CM-QS600 supported features are operated using normal Android controls.
This page contains information about features and services, which are less straight-forward to operate, or are less widely known.

Operating instructions

Automatic suspend when inactive

By default, CM-QS600 is configured to stay awake while connected to the power.
In order to change this behavior, proceed to Settings->Developer options, uncheck Stay awake ... while charging to enable the device going to suspended state.

Admolition note.png If Developer options item is hidden, re-introduce it proceeding to Settings->About tablet and clicking on Build number 7 times consequently.

Start-up script

/system/etc/startup-svc.sh script is run upon system boot by Android init process with root permissions.
As system partition is mounted 'read-only', one should remount system 'rw', prior to attempting to edit the script.

Networking

Normal Android behavior is to prioritize network interfaces (in descend order):

  • Ethernet
  • Wi-Fi
  • 3G

Whenever higher-priority network interface is available, the lower-priority interfaces will be torn down.

(Optional) 3G Modem

In case Telit HE910-XX 3G modem is installed, it will be detected automatically, by start-up service, with no additional action required.

Audio sink selection

CM-QS600 may use either HDMI or analog audio device. Audio sink selection should be done with a designated application, e.g. SoundAbout, available via Google Play Store.

audio device sink name
HDMI Aux Digital (HDMI)
analog Wired Headphones


Admolition note.png If after making the selection with SoundAbout nothing happens, restart the application.

P9 100mil header

  • SPI.0
By default, SPI.0 is routed to the P9 header:
pin 1 : Clk
pin 3 : nCS
pin 5 : MOSI
pin 7 : MISO
  • UART ( /dev/ttyHSL1 )
In order to override the default routing, the kernel should be rebuilt with patched CM-QS600 board file ( kernel/arch/arm/mach-msm/board-cm-qs600.c ):
- #define CM_QS600_GSBI4_AS_SPI
+ // #define CM_QS600_GSBI4_AS_SPI

UART routing to the P9 header:

pin 5 : TX
pin 7 : RX