Commit Graph

2021 Commits

Author SHA1 Message Date
Linux Build Service Account 86d46cafbe Merge "Bluetooth : Add 8909 to indicate SMD transport" 2014-10-21 06:13:26 -07:00
Anil kumar mamidala 1d3542c245 init: qcom: post_boot: Enable low power modes for 8909
Enable low power modes and bringup all the cores online for
msm8909 target.

Change-Id: I8805bb547b523cc0bcd1885f77bca473d95215ce
2014-10-21 05:39:24 -07:00
Ilia Lin 46c5797425 init: qcom: Set LCD density for Dragonboard APQ8094
Set proper LCD dencity for the FWVGA display on the
Dragonboard APQ8094.

Change-Id: I6bd657ee90a21ed8a13e6456b05feaf79b5c5c95
2014-10-21 14:01:57 +03:00
Nikhilesh Reddy 131a543f50 init.qcom.rc: Launch tftp_server process as root user.
The tftp_server daemon requires root privileges to open
the wakelock files and grab capabilities for accessing
wakelocks.
The tftp_server daemon will downgrade to user AID_SYSTEM
after enabling and retaining the necessary capabilities.

Change-Id: Iae5995f606e54152fdbe5e229c0c8d4c03b00382
2014-10-20 15:47:38 -07:00
Linux Build Service Account bef3337065 Merge "USB: init.qcom.usb.rc: Add new PIDs for rndis,modem,diag compositions" 2014-10-20 12:51:18 -07:00
guopingy 18f7edf5e0 usb uicc: use default persist prefix as sys.*
use default persist prefix as sys.*

Change-Id: Ie7a66a405a32314407bd2f5b638e8a99c281dd7d
2014-10-20 15:31:46 +08:00
Linux Build Service Account 07c680316e Merge "common: base: Add MSM_VIDC_TARGET_LIST" 2014-10-19 00:31:59 -07:00
Linux Build Service Account 97e3c46c51 Merge "init.qcom.usb: set default composition for MSM8909" 2014-10-18 15:31:55 -07:00
Ajay Kumar 2effcd285a Bluetooth : Add 8909 to indicate SMD transport
Adding 8909 for SMD channels

Change-Id: Ib902a91dfa3961fe08272e76d715850f073b5f44
2014-10-18 18:40:43 +05:30
Linux Build Service Account ee8547d756 Merge "Camera: Flash mode settings array values reordered" 2014-10-17 15:20:29 -07:00
Laxminath Kasam 361fed7c88 msm8909: add primary hardware and policy lib for 8909
Add audio hardware primary and policy libs for 8909

Change-Id: If07c05a0f6c126cbee495bfafc8894f37f07cc65
2014-10-17 23:14:43 +05:30
Linux Build Service Account 593cf35be6 Merge "init.qcom.rc: Add MBA debug parameters to persist properties" 2014-10-17 10:37:05 -07:00
Linux Build Service Account e7559bc971 Merge "USB: init.qcom.usb.sh: Use target name from ro.board.platform" 2014-10-17 10:37:03 -07:00
David Ng dbbe3f9476 common: fix Android build makefile rescan issue
Move logic of kernel module signing .config scan from
general section to under a make target.  This avoids
an issue that triggers a rescan of all Android
makefiles.

Change-Id: I1cb6d35e20bca72c9c228ad25288b593500ec20e
2014-10-16 18:51:19 -07:00
Pavankumar Kondeti 3544d577f2 init.qcom.usb: set default composition for MSM8909
Set DIAG + MODEM + RMNET + ADB as default USB composition.

Change-Id: I2b079ce6853dc4ba6cec52cba9eb8d57b56c4731
2014-10-17 00:50:12 +05:30
Sujeet Kumar 2b212f1ff4 USB: init.qcom.usb.sh: Use target name from ro.board.platform
ro.product.device gives the target name with _32/_64 post fix
depending upon which build is loaded currently. To overcome
the parsing issue and setting the default compostion for
targts, use ro.board.platform which gives target name
without such postfix attached.

Change-Id: Ic8cde3b21cc48119a3d2e27680862f32d74ca78f
2014-10-16 18:53:02 +05:30
Daqing Chen 4d40e3bfdd ueventd: add write permission for sensors device nodes on msm8916
The sensor HAL needs to write commands to the sensor device nodes to
control the sensor driver. Thus add rules to fix up the permissions
of "calibrate".

Change-Id: I28a7dd927ec43837fc8387cc6a4a7df861e9272e
2014-10-16 20:33:26 +08:00
Sujeet Kumar b9811077af USB: init.qcom.usb.rc: Add new PIDs for rndis,modem,diag compositions
Add new PIDs for rndis,modem,diag,adb based compositions.

0x90B3 - RNDIS + MODEM (DUN)
0x90B4 - RNDIS + MODEM (DUN) + ADB
0x90B5 - RNDIS + MODEM (DUN)+ DIAG
0x90B6 - RNDIS + MODEM (DUN)+ DIAG + ADB

CRs-Fixed: 740159
Change-Id: I0c7efd0e8c92eb7ec648a3db38e84822580a23f7
2014-10-16 14:43:50 +05:30
Linux Build Service Account 76c62e1560 Merge "init: qcom: post_boot: update soc IDs for 8916, 8936 and 8939" 2014-10-15 07:56:18 -07:00
Linux Build Service Account 3eaa071e64 Merge "init.qcom.usb: Add new channel for Diag to route cnss Diag traffic" 2014-10-15 07:55:54 -07:00
Guoping Yu f0167ac37d init.qcom.usb.rc: Change PID and function for charging
config

In usb driver layer, it enumerates charging function
to HID device, so change PID to F006.

Change-Id: I18150d8fcbcdc85ba9ec96216cb317d34f4cfe2d
2014-10-15 17:30:35 +08:00
Azhar Shaikh 9730c18469 init.qcom.usb: Add new channel for Diag to route cnss Diag traffic
Add new composition to route connectivity subsystem diag traffic.
Add new PIDs:
1. 0x90B2 - DIAG + DIAG(CNSS) + ADB + MODEM + NMEA +
QMI_RMNET + Mass Storage (Android)
2. 0x90B3 - DIAG + DIAG(CNSS) + MODEM + NMEA + QMI_RMNET +
Mass Storage (Android)

CRs-fixed: 734480
Change-Id: Id2e88d8c2c53c00ec1dbd4ef0793a7fd1ca646ea
2014-10-15 02:13:15 -07:00
Linux Build Service Account 5026c446e2 Merge "Add tcpbuffer parameters into overlay." 2014-10-14 22:37:50 -07:00
Vijay kumar Tumati c2bceb5a36 Camera: Flash mode settings array values reordered
Without this change, flash mode was being sent
to lower layers as 'off' when user enables flash
in the application and as 'torch' when user
disables flash.

Change-Id: I12b2630bc693923e956ca2bc9e742bbda39424ff
2014-10-14 17:03:10 +05:30
Yashdev Singh 65809c73f9 Add tcpbuffer parameters into overlay.
- Add the various RAT values in config_mobile_tcp_buffer array.
- These values are from init.qcom.rc.

Change-Id: Ie675c410915029d9ef1a2ef7ebad396201771c27
2014-10-13 17:56:13 -07:00
Tarun Gupta 612d549600 init.qcom.rc : remove /system/bin/usbhub* related changes and configuration
remove /system/bin/usbhub_init* related changes, these service are only
applicable for 7x30 Fusion which is now obselete.

Change-Id: I67cc1b9ce4267f286f47b9f67124a91f535e3e59
2014-10-13 15:56:21 +05:30
Sri Krishna Chaitanya Madireddy 7d8b35351d qcom/common: Added O_NOFOLLOW to avoid follow the symlink
open system call is added with NOFOLLOW flag

Change-Id: I402643635e3ee11b3ac5df63c3b71a9fd6f0d2db
2014-10-13 01:57:38 -07:00
Linux Build Service Account 2a83418d0f Merge "init.qcom.post_boot.sh: Add scheduler packing settings to 8994" 2014-10-12 08:40:35 -07:00
Linux Build Service Account 226f9dd880 Merge "init: create native cgroup" 2014-10-12 05:42:07 -07:00
Linux Build Service Account 69ba4785d9 Merge "msm8909: Add display support for 8909 target" 2014-10-12 00:52:39 -07:00
Linux Build Service Account 971669f574 Merge "init.qcom.usb.rc: Set serial string on init" 2014-10-12 00:52:38 -07:00
Linux Build Service Account ad052f8ca0 Merge "init.qcom.rc: Add service cnss-daemon to bootup" 2014-10-10 17:56:30 -07:00
Linux Build Service Account 7e375c6e9f Merge "init.qcom.post_boot: Enable scheduler inputs to governor" 2014-10-10 06:27:40 -07:00
Rohit Gupta dcfc342932 init.qcom.post_boot: Enable scheduler inputs to governor
This change enables interactive governor to use CPU runqueue loads
for each CPU over the last window from scheduler instead of just
getting CPU busy time. Task migration fixups are also enabled so
that task load can be adjusted at the source and destination CPU
runqueue during a migration.

Change-Id: I7a5c285c5061322dbb0b6d07d86520a981552d2e
2014-10-09 14:39:11 -07:00
Linux Build Service Account 9b00347636 Merge "init script: Start IPACM as net_admin" 2014-10-09 08:11:43 -07:00
Linux Build Service Account 98ba1d97a6 Merge "device: common: Add synaptics_dsx.kl to PRODUCT_PACKAGES" 2014-10-09 08:11:42 -07:00
Linux Build Service Account cb0e84ec5b Merge "init.qcom.post_boot.sh: Disable core control during governor config on MSM8994" 2014-10-09 08:11:41 -07:00
Jack Pham 3bece9982b uicc: add load/unload rules for MSM8994
Add support for MSM8994 USB controller. It is mostly the same
as MSM8974 with minor changes due to controller device name
and the module parameter location.

Change-Id: I80eb83def519c69369b50622907d3d1d3a295fe8
2014-10-08 17:05:40 -07:00
yuanliu 5abb37c836 init.qcom.rc: Add service cnss-daemon to bootup
Start service cnss-daemon on bootup which communicate with
WLAN host driver and QMI location server on LPSS.
The cnss-daemon starts with root permisson. It will
acquire suitble system permission and drop root
permission when it's running.

Change-Id: I799e1001a6fcb6cda872db425b4e2d41b443b0c0
CRs-Fixed: 655468
2014-10-08 12:51:00 -07:00
Naseer Ahmed da838ba05e common: Enable doze mode
Configure the system server and system UI to allow
the device to go into doze mode

Change-Id: I4f0e060c7d1ed1e34c01ab7731ad3dd7cdd775c2
2014-10-07 19:32:03 -04:00
Shiju Mathew e93f8f4451 init.qcom.post_boot.sh: Disable core control during governor config on MSM8994
Disable core control from thermal(KTM and BCL) during
governor configuration on MSM8994 in post boot script.

Change-Id: Id6d7058b2e6d2bd5bb240fe9397f65525d6ad5db
2014-10-07 18:10:13 -04:00
Shantanu Jain bc0c87f0dc device: common: Add synaptics_dsx.kl to PRODUCT_PACKAGES
Add key layout file to PRODUCT_PACKAGES so it will be included
in system image.

Change-Id: I13e78037b61d0384d0fc02f954be3f16edb4dc5b
2014-10-07 15:26:26 +05:30
Linux Build Service Account 984c8363fa Merge "init.qcom.post_boot: Enable bw_hwmon for MSM8939" 2014-10-06 22:53:41 -07:00
Skylar Chang 000598d386 init script: Start IPACM as net_admin
For more secure, IPACM needs to be run as
net_admin instead of root. Therefore those
device nodes which IPACM needs to access
should be put as net_admin with 066 write
read permissions when device bootup.

Change-Id: Idbb154adc44a0b21396973e07432a7fb783bcc55
2014-10-03 15:30:49 -07:00
Linux Build Service Account 21c89ab8e0 Merge "ueventd: add write permission for sensors device nodes on msm8939" 2014-10-02 21:39:26 -07:00
Linux Build Service Account 9103b46a63 Merge "ueventd.qcom.rc: Drop permission of subsystem ramdump nodes" 2014-10-02 21:39:25 -07:00
Linux Build Service Account 9a0d9c7ea9 Merge "init.qcom.rc: Add qcomsysd to the diag group" 2014-10-02 21:39:24 -07:00
Vince Leung de38a15237 init.qcom.post_boot.sh: Add scheduler packing settings to 8994
Enable Task Packing logic for 8994 and set small_task definition
to 30.

Change-Id: I2421dcfc8b92fde2042ae91d781c7362956b00ca
2014-10-02 16:56:41 -07:00
Srivatsa Vaddagiri 3f8c938fa4 init: create native cgroup
Cgroup feature provided by Linux kernel is one of the means used by
Android framework to control cpu usage of applications. Android
framework creates /apps and /apps/bg_non_interactive cgroups and
manages migration of tasks between those two cgroups. Tasks created
outside the scope of Android framework (kernel threads, mpdecision
etc) are however left in "root" cgroup, where each task is considered
to be a cgroup of its own, thus giving each such task more CPU
resource than desired. Such tasks have been found to interfere with
smooth functioning of Android application and have been responsible
for effects such as increased janks or bad user-experience.

Fix this problem by creating a /native cgroup to encapsulate all tasks
at bootup. /native cgroup is assigned shares of 1024 and real-time
bandwidth of 15% (150ms out of every 1sec). The real-time bandwidth is
unchanged (from what currently exists) while the combined shares of
1024 for all "native" tasks will help curb interference between native
and Android tasks.

Change-Id: I988b6145ab7cfbd94cbbab4d63fadc3bab6551fa
2014-10-02 16:37:42 -07:00
Linux Build Service Account f28984c8f8 Merge "init.qcom.rc: Restrict external sdcard write permission" 2014-10-02 16:00:31 -07:00