diff options
author | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:36:09 +0900 |
---|---|---|
committer | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:36:09 +0900 |
commit | dde86fc3a8a9714ce631c00daa10188a721703b4 (patch) | |
tree | f7375d594456b9c9a42d5ae72254a08b0124b343 | |
parent | 3d35d1a52e6f265dfa3e6cce841be13535655163 (diff) | |
download | default-files-emulator-tizen_2.0.tar.gz default-files-emulator-tizen_2.0.tar.bz2 default-files-emulator-tizen_2.0.zip |
Tizen 2.0 Releasesubmit/tizen_2.0/20130215.191942tizen_2.0
129 files changed, 968 insertions, 59 deletions
@@ -1,9 +1,6 @@ -HyunGoo Kang <hyungoo1.kang@samsung.com> YeongKyoon Lee <yeongkyoon.lee@samsung.com> -DongKyun Yun <dk77.yun@samsung.com> -DoHyung Hong <don.hong@samsung.com> +DaiYoung Kim <daiyoung777.kim@samsung.com> SeokYeon Hwang <syeon.hwang@samsung.com> -Hyunjun Son <hj79.son@samsung.com> SangJin Kim <sangjin3.kim@samsung.com> KiTae Kim <kt920.kim@samsung.com> JinHyung Jo <jinhyung.jo@samsung.com> @@ -11,4 +8,6 @@ SungMin Ha <sungmin82.ha@samsung.com> MunKyu Im <munkyu.im@samsung.com> JiHye Kim <jihye1128.kim@samsung.com> GiWoong Kim <giwoong.kim@samsung.com> -Sooyoung Ha <yoosah.ha@samsung.com> +SooYoung Ha <yoosah.ha@samsnung.com> +HyunGoo Kang <hyungoo1.kang@samsung.com> + diff --git a/LICENSE.APLv2 b/LICENSE.APLv2 new file mode 100644 index 0000000..fc03349 --- /dev/null +++ b/LICENSE.APLv2 @@ -0,0 +1,206 @@ +Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + @@ -1 +1,3 @@ -Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved. +Except as noted, this software is licensed under Apache License, Version 2. +Please, see the LICENSE.APLv2 file for Apache License Version 2, terms and conditions. diff --git a/debian/changelog b/debian/changelog index 6e53c45..136bdb2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,171 @@ +default-files-emulator (0.2.4) unstable; urgency=low + + * Permission and vconfkey of S45vconf-menuscreen changed. + * Git: sdk/default-files-emulator + * Tag: default-files-emulator-0.2.4 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Thu, 17 Jan 2013 14:58:44 +0900 + +default-files-emulator (0.2.0) unstable; urgency=low + + * Fix display error when turn-off emulator. + * Git: sdk/default-files-emulator + * Tag: default-files-emulator-0.2.0 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Thu, 13 Dec 2012 15:50:50 +0900 + +default-files-emulator (0.1.27) unstable; urgency=low + + * Modefy menu-screen evas engine vconftool option. + * Git: sdk/default-files-emulator + * Tag: default-files-emulator-0.1.27 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Sat, 11 Aug 2012 00:19:16 +0900 + +default-files-emulator (0.1.23) unstable; urgency=low + + * modefy menu-screen evas engine vconf key. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.23 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Mon, 02 Jul 2012 23:53:06 +0900 + +default-files-emulator (0.1.19) unstable; urgency=low + + * modified rc.emul for sdcard support + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.19 + + -- Sungmin Ha <sungmin82.ha@samsung.com> Fri, 01 Jun 2012 17:21:40 +0900 + +default-files-emulator (0.1.18) unstable; urgency=low + + * spec file changed. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.18 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Mon, 21 May 2012 14:03:40 +0900 + +default-files-emulator (0.1.17) unstable; urgency=low + + * sw mesa gles support. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.17 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Fri, 18 May 2012 19:55:25 +0900 + +default-files-emulator (0.1.16) unstable; urgency=low + + * package upload problem + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.16 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Fri, 18 May 2012 08:54:48 +0900 + +default-files-emulator (0.1.15) unstable; urgency=low + + * spec file modified. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.15 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Thu, 17 May 2012 21:57:54 +0900 + +default-files-emulator (0.1.14) unstable; urgency=low + + * gles1_test_x86 file is removed. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.14 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Thu, 17 May 2012 21:35:15 +0900 + +default-files-emulator (0.1.13) unstable; urgency=low + + * menu-screen evas engine setting patch for windows version. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.13 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Thu, 17 May 2012 21:12:57 +0900 + +default-files-emulator (0.1.12) unstable; urgency=low + + * add make nfc file(sdkMsg) when boot time + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.12 + + -- Jihye Kim <jihye1128.kim@samsung.com> Thu, 4 May 2012 11:50:00 +0900 + +default-files-emulator (0.1.11) unstable; urgency=low + + * modified for initializing sensor values when boot time + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.11 + + -- Sooyoung Ha <yoosah.ha@samsung.com> Thu, 12 Apr 2012 22:57:01 +0900 + +default-files-emulator (0.1.10) unstable; urgency=low + + * change proxy environment variable to http_proxy + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.10 + + -- Munkyu Im <munkyu.im@samsung.com> Thu, 29 Mar 2012 13:58:40 +0900 + +default-files-emulator (0.1.9) unstable; urgency=low + + * rc script changed to support host gl driver capability check. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.9 + + -- Sangjin Kim <sangjin3.kim@samsung.com> Wed, 28 Mar 2012 17:02:40 +0900 + +default-files-emulator (0.1.8) unstable; urgency=low + + * change git address. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-emulator_0.1.8 + + -- Sooyoung Ha <yoosah.ha@samsung.com> Tue, 27 Mar 2012 23:05:17 +0900 + +default-files-emulator (0.1.7) unstable; urgency=low + + * change changelog and tag name + * Git: public/pkgs/d/default-files-emulator + * Tag: default-files-emulator_0.1.7 + + -- Sooyoung Ha <yoosah.ha@samsung.com> Tue, 27 Mar 2012 15:18:31 +0900 + +default-files-emulator (0.1.6) unstable; urgency=low + + * Modified mount script related with host file sharing. + * Git: public/pkgs/d/default-files-emulator + * Tag: default-files-simulator_0.1.6 + + -- Sooyoung Ha <yoosah.ha@samsung.com> Tue, 27 Mar 2012 01:31:50 +0900 + +default-files-emulator (0.1.5) unstable; urgency=low + + * rebase from public default-files-emulator repository. + * Git: slp/sdk/emulator/default-files-emulator + * Tag: default-files-simulator_0.1.5 + + -- Sooyoung Ha <yoosah.ha@samsung.com> Thu, 22 Mar 2012 18:30:21 +0900 + +default-files-emulator (0.1.4) unstable; urgency=low + + * change changelog. + * Git: public/pkgs/d/default-files-emulator + * Tag: default-files-simulator_0.1.4 + + -- Sooyoung Ha <yoosah.ha@samsung.com> Tue, 20 Mar 2012 23:30:15 +0900 + +default-files-emulator (0.1.3) unstable; urgency=low + + * modify postinst file and mmfw_player.ini_emul file to support codec. + * Git: public/pkgs/d/default-files-emulator + * Tag: default-files-simulator_0.1.3 + + -- Kitae Kim <kt920.kim@samsung.com> Tue, 20 Mar 2012 13:21:31 +0900 + default-files-emulator (0.1.2) unstable; urgency=low * modify postinst file and remove useless spec files. diff --git a/debian/postinst b/debian/postinst index 6956eb9..5ec6ff4 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,7 +1,7 @@ #!/bin/sh -e #declare varibles -GOALSTRING="element exclude keyword = ffdec_h264,ffdec_mpeg4,ffdec_h263,ffenc_mpeg4,ffenc_h263" +GOALSTRING="element exclude keyword = ffdec_" # create symbolic link if [ ! -e home ]; then @@ -20,14 +20,15 @@ else fi #modify ini file. -if [ -e opt/etc/mmfw_player.ini ]; then - FINDSTRING=`cat opt/etc/mmfw_player.ini | grep "element exclude keyword ="` - sed s/"${FINDSTRING}"/"${GOALSTRING}"/ opt/etc/mmfw_player.ini > opt/etc/mmfw_player.ini_changed - mv opt/etc/mmfw_player.ini_changed opt/etc/mmfw_player.ini - rm opt/etc/mmfw_player.ini_emul -else - mv opt/etc/mmfw_player.ini_emul opt/etc/mmfw_player.ini +if [ -e usr/etc/mmfw_player.ini ]; then + FINDSTRING=`cat usr/etc/mmfw_player.ini | grep "element exclude keyword ="` + sed s/"${FINDSTRING}"/"${GOALSTRING}"/ usr/etc/mmfw_player.ini > usr/etc/mmfw_player.ini_changed + mv usr/etc/mmfw_player.ini_changed usr/etc/mmfw_player.ini fi #apply fstab file mv etc/fstab_emul etc/fstab + +#change file owner and group of home directories. +chown -R 5000:5000 $BASE/opt/home/app +chown -R 5100:5100 $BASE/opt/home/developer diff --git a/filesystem/etc/inittab b/filesystem/etc/inittab index efced0c..e8c343d 100755 --- a/filesystem/etc/inittab +++ b/filesystem/etc/inittab @@ -6,7 +6,7 @@ id:1:initdefault: # Console #ttyS0::respawn:/bin/sh -con:12345:respawn:/sbin/getty -L 115200 ttySAC2 vt100 +#con:12345:respawn:/sbin/getty -L 115200 ttySAC2 vt100 #::askfirst:/bin/sh #Logging , move to rc.sysinit diff --git a/filesystem/etc/profile.d/proxy_setting.sh b/filesystem/etc/profile.d/proxy_setting.sh new file mode 100755 index 0000000..a017ab1 --- /dev/null +++ b/filesystem/etc/profile.d/proxy_setting.sh @@ -0,0 +1,35 @@ +#!/bin/sh +if grep -q "http_proxy=" /proc/cmdline ; then + __proxy=`sed 's/^.*http_proxy=\([^, ]*\).*$/\1/g' /proc/cmdline` + echo -e "[Export environment variable: http_proxy=${__proxy}]" + export "http_proxy=${__proxy}" +fi +if grep -q "https_proxy=" /proc/cmdline ; then + __proxy=`sed 's/^.*https_proxy=\([^, ]*\).*$/\1/g' /proc/cmdline` + echo -e "[Export environment variable: https_proxy=${__proxy}]" + export "https_proxy=${__proxy}" +fi +if grep -q "ftp_proxy=" /proc/cmdline ; then + __proxy=`sed 's/^.*ftp_proxy=\([^, ]*\).*$/\1/g' /proc/cmdline` + echo -e "[Export environment variable: ftp_proxy=${__proxy}]" + export "ftp_proxy=${__proxy}" +fi +if grep -q "socks_proxy=" /proc/cmdline ; then + __proxy=`sed 's/^.*socks_proxy=\([^, ]*\).*$/\1/g' /proc/cmdline` + echo -e "[Export environment variable: socks_proxy=${__proxy}]" + export "socks_proxy=${__proxy}" +fi +if grep -q "dns1=" /proc/cmdline ; then + __dns1=`sed 's/^.*dns1=\([^, ]*\).*$/\1/g' /proc/cmdline` + rm -rf /etc/resolv.conf + echo "nameserver ${__dns1}" >> /etc/resolv.conf +fi +if grep -q "dns2=" /proc/cmdline ; then + __dns2=`sed 's/^.*dns2=\([^, ]*\).*$/\1/g' /proc/cmdline` + echo "nameserver ${__dns2}" >> /etc/resolv.conf +fi +if grep -q "sdb_port=" /proc/cmdline ; then + __sdb_port=`sed 's/^.*sdb_port=\([^, ]*\).*$/\1/g' /proc/cmdline` + rm -rf /opt/home/sdb_port.txt + echo "${__sdb_port}" >> /opt/home/sdb_port.txt +fi diff --git a/filesystem/etc/profile.d/simulator-opengl.sh b/filesystem/etc/profile.d/simulator-opengl.sh new file mode 100644 index 0000000..406779c --- /dev/null +++ b/filesystem/etc/profile.d/simulator-opengl.sh @@ -0,0 +1,37 @@ +#!/bin/sh + +echo -e "[${_G} Opengl-es acceleration module setting. ${C_}]" +if grep "gles=1" /proc/cmdline ; then + echo -e "[${_G} Emulator support gles hw acceleration. ${C_}]" + echo -e "[${_G} Change permission of /dev/glmem. ${C_}]" + chmod 666 /dev/glmem + echo -e "[${_G} Apply to use hw gles library. ${C_}]" + ln -s -f /usr/lib/host-gl/libEGL.so.1.0 /usr/lib/libEGL.so + ln -s -f /usr/lib/host-gl/libEGL.so.1.0 /usr/lib/libEGL.so.1 + ln -s -f /usr/lib/host-gl/libGLESv1_CM.so.1.0 /usr/lib/libGLESv1_CM.so + ln -s -f /usr/lib/host-gl/libGLESv1_CM.so.1.0 /usr/lib/libGLESv1_CM.so.1 + ln -s -f /usr/lib/host-gl/libGLESv2.so.1.0 /usr/lib/libGLESv2.so + ln -s -f /usr/lib/host-gl/libGLESv2.so.1.0 /usr/lib/libGLESv2.so.1 + ln -s -f /usr/lib/host-gl/libGL.so.1.2 /usr/lib/libGL.so + ln -s -f /usr/lib/host-gl/libGL.so.1.2 /usr/lib/libGL.so.1 + ln -s -f /usr/lib/host-gl/libGL.so.1.2 /usr/lib/libGL.so.1.0 + rm /usr/lib/st_GL.so + rm /usr/lib/egl_gallium.so + rm /usr/lib/libglapi.so* +else + echo -e "[${_G} Emulator does not support gles hw acceleration. ${C_}]" + echo -e "[${_G} Apply to use sw mesa gles library. ${C_}]" + ln -s -f /usr/lib/mesa-gl/libEGL.so.1.0 /usr/lib/libEGL.so + ln -s -f /usr/lib/mesa-gl/libEGL.so.1.0 /usr/lib/libEGL.so.1 + ln -s -f /usr/lib/mesa-gl/libGLESv1_CM.so.1.1.0 /usr/lib/libGLESv1_CM.so + ln -s -f /usr/lib/mesa-gl/libGLESv1_CM.so.1.1.0 /usr/lib/libGLESv1_CM.so.1 + ln -s -f /usr/lib/mesa-gl/libGLESv2.so.2.0.0 /usr/lib/libGLESv2.so + ln -s -f /usr/lib/mesa-gl/libGLESv2.so.2.0.0 /usr/lib/libGLESv2.so.1 + ln -s -f /usr/lib/mesa-gl/st_GL.so /usr/lib/st_GL.so + ln -s -f /usr/lib/mesa-gl/egl_gallium.so /usr/lib/egl_gallium.so + ln -s -f /usr/lib/mesa-gl/libglapi.so.0.0.0 /usr/lib/libglapi.so + ln -s -f /usr/lib/mesa-gl/libglapi.so.0.0.0 /usr/lib/libglapi.so.0 + ln -s -f /usr/lib/mesa-gl/libglapi.so.0.0.0 /usr/lib/libglapi.so.0.0.0 + rm /usr/lib/libGL.so* +fi +. /etc/yagl.sh diff --git a/filesystem/etc/rc.d/rc.emul b/filesystem/etc/rc.d/rc.emul index e76c6f7..7904e2d 100755 --- a/filesystem/etc/rc.d/rc.emul +++ b/filesystem/etc/rc.d/rc.emul @@ -19,38 +19,69 @@ ln -sf /mnt/mmc /sdcard ln -sf /proc/mounts /etc/mtab echo -e "[${_G}Setting power manager state value ${C_}]" -/usr/bin/vconftool set -t int memory/pwrmgr/state 1 +/usr/bin/vconftool set -t int memory/pm/state 1 -f echo -e "[${_G}Initialize battery level ${C_}]" -/usr/bin/vconftool set -t int memory/Battery/Level 5 -/usr/bin/vconftool set -t int memory/Battery/Status/Low 4 +#/usr/bin/vconftool set -t int memory/Battery/Level 5 -f +/usr/bin/vconftool set -t int memory/sysman/battery_status_low 4 -f -echo -e "[${_G}Mount SD card ${C_}]" -mount -o umask=000 /dev/mmcblk0 /mnt/mmc -chmod 777 /opt/storage/sdcard +#echo -e "[${_G}Mount SD card ${C_}]" +#mount -o umask=000 /dev/mmcblk0 /mnt/mmc +#chmod 777 /opt/storage/sdcard -MMC_MOUNT=`/bin/mount | grep mmc` -if [ -n "$MMC_MOUNT" ]; then - echo -e "[${_G}MMC storage detected ${C_}]" - /usr/bin/vconftool set -t int memory/Device/Mmc 1 - /usr/bin/vconftool set -t int memory/filemanager/Mmc 2 -fi +#MMC_MOUNT=`/bin/mount | grep mmc` +#if [ -n "$MMC_MOUNT" ]; then +# echo -e "[${_G}MMC storage detected ${C_}]" +# /usr/bin/vconftool set -t memory/sysman/mmc 1 -f +# /usr/bin/vconftool set -t int memory/filemanager/Mmc 2 -f +#fi + +echo -e "[${_G}Mount host directory${C_}]" +test -d "/mnt/host" || mkdir "/mnt/host" +if grep "cifs=" /proc/cmdline ; then + cifs=`sed 's/^.*cifs=\([^, ]*\).*$/\1/g' /proc/cmdline` + opts=`sed 's/^.*cifs=\([^, ]*\),username=\([^, ]*\),password=\([^, ]*\).*$/username=\2,password=\3/g' /proc/cmdline` + cifs=`echo $cifs | tr [a-z] [A-Z]` + if mount -t cifs //10.0.2.2/$cifs /mnt/host -o $opts,file_mode=0777,dir_mode=0777; then + echo -e "[${_Y}Mount.cifs succeed${C_}]" + else + echo -e "[${_R}Mount.cifs fail!!!!${C_}]" + fi +fi +if grep "virtio-9p" /proc/cmdline ; then + if mount -t 9p -o trans=virtio fileshare /mnt/host -oversion=9p2000.L -o msize=65536; then + echo -e "[${_Y}Mount.9pfs succeed${C_}]" + else + echo -e "[${_R}Mount.9pfs fail!!!!${C_}]" + fi +fi + +if grep -q "enable_cam" /proc/cmdline ; then + if grep -q "enable_cam=1" /proc/cmdline ; then + echo -e "[${_Y}Webcam is connected. We can use '/dev/video0' for camera.${C_}]" + else + echo -e "[${_Y}Webcam is not connected! We will remove '/dev/video0'.${C_}]" + rm -rf /dev/video0 + fi +fi echo -e "[${_G}to generate modules.dep and map files${C_}]" depmod -a -echo -e "[${_G}to change brightness's group${C_}]" -chgrp system_bklight /sys/class/backlight/emulator/brightness -chmod g+w /sys/class/backlight/emulator/brightness +#--move to rc3.d/S30brgihtness +#echo -e "[${_G}to change brightness's group${C_}]" +#chgrp system_bklight /sys/class/backlight/emulator/brightness +#chmod g+w /sys/class/backlight/emulator/brightness -echo -e "[${_G}to change lcd_power's group${C_}]" -chown -R root:system_bklight /sys/devices/virtual/lcd/emulator/lcd_power +#echo -e "[${_G}to change lcd_power's group${C_}]" +#chown -R root:system_bklight /sys/devices/virtual/lcd/emulator/lcd_power +#-- echo -e "[${_G}Initialize display setting value${C_}]" -/usr/bin/vconftool set -t int db/setting/Brightness "24" -/usr/bin/vconftool set -t int db/MainLCD/Backlight/Normal "600" +#/usr/bin/vconftool set -t int db/setting/Brightness "24" -f +/usr/bin/vconftool set -t int db/sysman/lcd_backlight_normal "600" -f echo -e "[${_G}For menu_screen booting..${C_}]" -/usr/bin/vconftool set -t int memory/startapps/sequence 1 +/usr/bin/vconftool set -t int memory/startapps/sequence 1 -f echo -e "[${_G}rc.emul : script end ${C_}]" diff --git a/filesystem/etc/rc.d/rc.shutdown b/filesystem/etc/rc.d/rc.shutdown index c4e4c1f..adc4e3a 100755 --- a/filesystem/etc/rc.d/rc.shutdown +++ b/filesystem/etc/rc.d/rc.shutdown @@ -20,6 +20,15 @@ echo "Stopping all applications..." echo "Stopping indicator..." killall -9 indicator +value=1 +while [&value != "0"]; +do + value='vconftool get memory/boot_animation/finished | awk '{print $4}'' + sleep 0.5 +done +sleep 1 +echo "Turn off LCD after finishing boot-animation" +xset dpms force off # factory resetting... # flag set by factory-reset.sh diff --git a/filesystem/etc/rc.d/rc.sysinit b/filesystem/etc/rc.d/rc.sysinit index 2acbc75..6b20221 100755 --- a/filesystem/etc/rc.d/rc.sysinit +++ b/filesystem/etc/rc.d/rc.sysinit @@ -13,8 +13,16 @@ mount -t tmpfs tmpfs /tmp #for emulator : /var/run only for supporting dpkg command mount -t tmpfs tmpfs /var/run mount -t sysfs none /sys -#for emulator : comment out -#mount -t tmpfs tmpfs /dev # remount dev to make it writable + +echo -e "[${_G}make emulator /dev partition${C_}]" +mdev -s +cp -rf /dev /root/. 2> /dev/null +mount -t tmpfs runfs /run +mount -t devtmpfs devtmpfs /dev +cp -rf /dev/* /root/dev/. 2> /dev/null +cp -rf /root/dev/* /dev/. 2> /dev/null +rm -rf /root/dev + mkdir -p /dev/pts mkdir -p /dev/shm mount -t tmpfs none /dev/shm @@ -26,13 +34,19 @@ if [ ! -e /dev/snd ]; then mkdir /dev/snd fi -mdev -s -mknod /dev/ttySAC1 c 204 65 # UART1 device node for GPS (requested by youngae.kang) -mknod /dev/ttySAC2 c 204 66 +echo -e "[${_G}check codec dev node${C_}]" +test -c /dev/codec || mknod -m 666 /dev/codec c 240 0 #for emulator : comment out #mount -t ubifs -o bulk_read,no_chk_data_crc ubi0!dbfs /mnt/db +#echo -e "[${_G}Initialize display brightness.${C_}]" +#/usr/bin/vconftool set -t int db/setting/Brightness "24" -f +#echo 24 > /sys/class/backlight/emulator/brightness + +echo -e "[${_G}set env varible -LAUNCHER_ENGINE- for menu-screen${C_}]" +export LAUNCHER_ENGINE=x11 + echo -e "[${_G}loading MFC firmware${C_}]" #for emulator : comment out # loading firmware @@ -68,9 +82,13 @@ echo -e "[${_G}mount mmc storage${C_}]" #/usr/bin/mount_slp.sh -a mount -a +#emulator's swapon +echo -e "[${_G}mount swap /dev/vdb ${C_}]" +/sbin/swapon /dev/vdb + echo -e "[${_G}udev start${C_}]" UDEVD_MAX_CHILDS=1 /sbin/udevd --daemon -/sbin/udevadm trigger --subsystem-match=iio +/sbin/udevadm trigger echo -e "[${_G}create base directory in /opt, /var${C_}]" # construct directory hierarchy @@ -168,20 +186,19 @@ echo -e "[${_G}camera firmware update${C_}]" #for emulator : comment out #/usr/bin/camtest -t 1 +if [ -e /opt/etc/.coredump ]; then + # enable coredump + echo "/opt/usr/share/crash/core/%p_%s_%e.core" > /proc/sys/kernel/core_pattern + ulimit -c unlimited +else + echo "core dump disabled" + ulimit -c 0 +fi + echo -e "[${_G}run profile${C_}]" # Run profile . /etc/profile -if [ -e /opt/etc/.debugmode ]; then - echo "debug mode enabled" - # for bluescreen - export LD_PRELOAD=/usr/lib/libsys-assert.so - # enable coredump - echo "/opt/bs/core/core.%p" > /proc/sys/kernel/core_pattern - ulimit -c unlimited -else - echo "debug mode disabled" -fi # Check rw mode DEVEL_UPDATE_MODE=`grep devel_update_boot /proc/cmdline` if [ -f /opt/etc/.devel_update ] && [ -z "$DEVEL_UPDATE_MODE" ]; then @@ -228,9 +245,14 @@ else # Run all rc3 scripts echo -e "[${_G}run all rc3 scripts${C_}]" echo "normal boot" + # modify script for checking boot up progress... + NUMBER_OF_RCS=`ls /etc/rc.d/rc3.d/ | wc -l` + count=0; for i in /etc/rc.d/rc3.d/*; do echo -e "[${_G}${i} start${C_}]" $i start + count=$((count + 1)) + echo `expr $count \* 100 / $NUMBER_OF_RCS` > /dev/esm done #for i in /etc/rc3.d/S*; do diff --git a/filesystem/etc/rc.d/rc3.d/S01Init-sim b/filesystem/etc/rc.d/rc3.d/S01Init-sim index 3f5d72e..4ccf3a0 100755 --- a/filesystem/etc/rc.d/rc3.d/S01Init-sim +++ b/filesystem/etc/rc.d/rc3.d/S01Init-sim @@ -11,9 +11,7 @@ export FONTNAME=HelveN_Asia /etc/sensord_setting.sh # for emulator : init db -/usr/bin/ail_initdb - -/etc/proxy_setting.sh +#/usr/bin/ail_initdb ulimit -c unlimited diff --git a/filesystem/etc/rc.d/rc3.d/S30brightness b/filesystem/etc/rc.d/rc3.d/S30brightness index e6897f0..e79876d 100755 --- a/filesystem/etc/rc.d/rc3.d/S30brightness +++ b/filesystem/etc/rc.d/rc3.d/S30brightness @@ -1,4 +1,10 @@ # for emulator brightness level setting. -/usr/bin/vconftool set -t int db/setting/Brightness "24" +#/usr/bin/vconftool set -t int db/setting/Brightness "24" +echo -e "[${_G}to change brightness's group${C_}]" +chgrp system_bklight /sys/class/backlight/emulator/brightness +chmod g+w /sys/class/backlight/emulator/brightness + +echo -e "[${_G}to change lcd_power's group${C_}]" +chown -R root:system_bklight /sys/devices/virtual/lcd/emulator/lcd_power diff --git a/filesystem/etc/rc.d/rc3.d/S45vconf-menuscreen b/filesystem/etc/rc.d/rc3.d/S45vconf-menuscreen new file mode 100755 index 0000000..527b797 --- /dev/null +++ b/filesystem/etc/rc.d/rc3.d/S45vconf-menuscreen @@ -0,0 +1,3 @@ +#!/bin/sh +echo -e "[${_G}set a vconf for menu-screen sw backend${C_}]" +/usr/bin/vconftool set -t string file/private/org.tizen.menu-screen/engine "x11" -i -u 5000 -f diff --git a/filesystem/etc/sensord_setting.sh b/filesystem/etc/sensord_setting.sh index f76f905..ee0b9d5 100755 --- a/filesystem/etc/sensord_setting.sh +++ b/filesystem/etc/sensord_setting.sh @@ -7,6 +7,7 @@ CHECK_PROXI="/opt/sensor/proxi" CHECK_GEO="/opt/sensor/geo" CHECK_GYRO="/opt/sensor/gyro" CHECK_NFC="/opt/nfc" +CHECK_NFC_FILE="/opt/nfc/sdkMsg" if [ ! -d $CHECK_SENSOR ]; then mkdir /opt/sensor @@ -34,12 +35,12 @@ if [ ! -d $CHECK_SENSOR ]; then touch /opt/sensor/accel/name echo "accel_sim" > /opt/sensor/accel/name touch /opt/sensor/accel/xyz - echo "0, -256, 0" > /opt/sensor/accel/xyz + echo "0, 980665, 0" > /opt/sensor/accel/xyz touch /opt/sensor/light/name echo "light_sim" > /opt/sensor/light/name touch /opt/sensor/light/adc - echo "2000" > /opt/sensor/light/adc + echo "65535" > /opt/sensor/light/adc touch /opt/sensor/light/level echo "10" > /opt/sensor/light/level @@ -48,7 +49,7 @@ if [ ! -d $CHECK_SENSOR ]; then touch /opt/sensor/proxi/enable echo "1" > /opt/sensor/proxi/enable touch /opt/sensor/proxi/vo - echo "0" > /opt/sensor/proxi/vo + echo "8" > /opt/sensor/proxi/vo touch /opt/sensor/gyro/name echo "gyro_sim" > /opt/sensor/gyro/name @@ -62,13 +63,28 @@ if [ ! -d $CHECK_SENSOR ]; then touch /opt/sensor/geo/name echo "geo_sim" > /opt/sensor/geo/name touch /opt/sensor/geo/raw - echo "0 0 0 4" > /opt/sensor/geo/raw + echo "0 -90 0 3" > /opt/sensor/geo/raw touch /opt/sensor/geo/tesla echo "1 0 -10" > /opt/sensor/geo/tesla +else + echo "0, 980665, 0" > /opt/sensor/accel/xyz + echo "65535" > /opt/sensor/light/adc + echo "10" > /opt/sensor/light/level + echo "1" > /opt/sensor/proxi/enable + echo "8" > /opt/sensor/proxi/vo + echo "0" > /opt/sensor/gyro/gyro_x_raw + echo "0" > /opt/sensor/gyro/gyro_y_raw + echo "0" > /opt/sensor/gyro/gyro_z_raw + echo "0 -90 0 3" > /opt/sensor/geo/raw + echo "1 0 -10" > /opt/sensor/geo/tesla fi if [ ! -d $CHECK_NFC ]; then mkdir /opt/nfc touch /opt/nfc/sdkMsg +else + if [ ! -f $CHECK_NFC_FILE ]; then + touch /opt/nfc/sdkMsg + fi fi diff --git a/filesystem/etc/yagl.sh b/filesystem/etc/yagl.sh new file mode 100755 index 0000000..08d6fc4 --- /dev/null +++ b/filesystem/etc/yagl.sh @@ -0,0 +1,54 @@ +#!/bin/sh + +if [ -f "/usr/lib/yagl/libGLESv2.so" ] ; then + if grep "yagl=1" /proc/cmdline ; then + echo -e "[${_G} Emulator YaGL hw acceleration. ${C_}]" + # Backup + if [ ! -d /usr/lib/yagl/backup ] ; then + mkdir -p /usr/lib/yagl/backup + [ -f /usr/lib/libCOREGL.so.1.1 ] && mv /usr/lib/libCOREGL.so.1.1 /usr/lib/yagl/backup/ + [ -f /usr/lib/libEGL_drv.so ] && mv /usr/lib/libEGL_drv.so /usr/lib/yagl/backup/ + [ -f /usr/lib/libEGL_platform.so ] && mv /usr/lib/libEGL_platform.so /usr/lib/yagl/backup/ + [ -f /usr/lib/libGLESv1_CM.so.1.1 ] && mv /usr/lib/libGLESv1_CM.so.1.1 /usr/lib/yagl/backup/ + [ -f /usr/lib/libGLESv2_drv.so ] && mv /usr/lib/libGLESv2_drv.so /usr/lib/yagl/backup/ +# GL_LIBRARY="/usr/lib/libCOREGL.so.1.1" +# GL_LIBRARY="$GL_LIBRARY /usr/lib/libEGL_drv.so" +# GL_LIBRARY="$GL_LIBRARY /usr/lib/libEGL_platform.so" +# GL_LIBRARY="$GL_LIBRARY /usr/lib/libGLESv1_CM.so.1.1" +# GL_LIBRARY="$GL_LIBRARY /usr/lib/libGLESv2_drv.so" +# mv $GL_LIBRARY /usr/lib/yagl/backup/ + fi + + rm -f /usr/lib/libGLESv*.so* + rm -f /usr/lib/libEGLv*.so* + rm -f /usr/lib/libCOREGL*.so + rm -f /usr/lib/libGL.so* + rm -f /usr/lib/st_GL.so + rm -f /usr/lib/egl_gallium.so + rm -f /usr/lib/libglapi.so* + + ulimit -SHl unlimited + + if [ -c /dev/yagl ] ; then + chmod 666 /dev/yagl + fi + + export ELM_ENGINE="gl" + export YAGL_DEBUG=4 +# export YAGL_DEBUG_FUNC_TRACE=1 + + ln -s -f /usr/lib/yagl/libGLESv2.so /usr/lib/libGLESv2.so + + ln -s -f /usr/lib/libGLESv2.so /usr/lib/libGLESv2_drv.so + ln -s -f /usr/lib/libGLESv2.so /usr/lib/libGLESv2.so.1 + ln -s -f /usr/lib/libGLESv2.so.1 /usr/lib/libGLESv2.so.2 + + ln -s -f /usr/lib/yagl/libEGL.so /usr/lib/libEGL.so + ln -s -f /usr/lib/libEGL.so /usr/lib/libEGL.so.1 + ln -s -f /usr/lib/libEGL.so.1 /usr/lib/libEGL.so.1.4 + + ln -s -f /usr/lib/libGLESv2.so /usr/lib/libCOREGL.so + ln -s -f /usr/lib/libCOREGL.so /usr/lib/libCOREGL.so.1 + ln -s -f /usr/lib/libCOREGL.so.1 /usr/lib/libCOREGL.so.1.1 + fi +fi diff --git a/filesystem/usr/etc/sound/default.conf b/filesystem/usr/etc/sound/default.conf new file mode 100644 index 0000000..2f6e4a1 --- /dev/null +++ b/filesystem/usr/etc/sound/default.conf @@ -0,0 +1,56 @@ +Section "Scenario" + Identifier = "reset_playback" + File = "reset_playback" + PreSequenceFile = "reset_playback_pre" +EndSection +Section "Scenario" + Identifier = "reset_capture" + File = "reset_capture" + PreSequenceFile = "reset_capture_pre" +EndSection + +###### PLAYBACk ###### +Section "Scenario" + Identifier = "ap_to_speaker" + File = "ap_to_speaker" + PreSequenceFile = "ap_to_speaker_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_gain" + File = "ap_to_speaker_gain" + PreSequenceFile = "ap_to_speaker_gain_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_ringtone_gain" + File = "ap_to_speaker_gain" + PreSequenceFile = "ap_to_speaker_gain_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_headset" + File = "ap_to_headset" + PreSequenceFile = "ap_to_headset_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_headset_gain" + File = "ap_to_headset_gain" + PreSequenceFile = "ap_to_headset_gain_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_headset_ringtone_gain" + File = "ap_to_headset_gain" + PreSequenceFile = "ap_to_headset_gain_pre" +EndSection + +###### CAPTURE ###### + +Section "Scenario" + Identifier = "mainmic_to_ap" + File = "mainmic_to_ap" + PreSequenceFile = "mainmic_to_ap_pre" +EndSection +Section "Scenario" + Identifier = "mainmic_to_ap_gain" + File = "mainmic_to_ap_gain" + PreSequenceFile = "mainmic_to_ap_gain_pre" +EndSection + diff --git a/filesystem/usr/etc/sound/default/ap_to_bt b/filesystem/usr/etc/sound/default/ap_to_bt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_bt diff --git a/filesystem/usr/etc/sound/default/ap_to_bt_gain b/filesystem/usr/etc/sound/default/ap_to_bt_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_bt_gain diff --git a/filesystem/usr/etc/sound/default/ap_to_bt_pre b/filesystem/usr/etc/sound/default/ap_to_bt_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_bt_pre diff --git a/filesystem/usr/etc/sound/default/ap_to_bt_pre_gain b/filesystem/usr/etc/sound/default/ap_to_bt_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_bt_pre_gain diff --git a/filesystem/usr/etc/sound/default/ap_to_headset b/filesystem/usr/etc/sound/default/ap_to_headset new file mode 100644 index 0000000..9331169 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_headset @@ -0,0 +1,2 @@ +'Master Playback Switch':1:0 +'PCM Playback Switch':1:0 diff --git a/filesystem/usr/etc/sound/default/ap_to_headset_gain b/filesystem/usr/etc/sound/default/ap_to_headset_gain new file mode 100644 index 0000000..e97b603 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_headset_gain @@ -0,0 +1,2 @@ +'Master Playback Volume':2:50,50 +'PCM Playback Volume':2:50,50 diff --git a/filesystem/usr/etc/sound/default/ap_to_headset_gain_pre b/filesystem/usr/etc/sound/default/ap_to_headset_gain_pre new file mode 100644 index 0000000..c6e92fc --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_headset_gain_pre @@ -0,0 +1,2 @@ +kcontrol "Master Playback Volume" = "1" +kcontrol "PCM Playback Volume" = "1" diff --git a/filesystem/usr/etc/sound/default/ap_to_headset_pre b/filesystem/usr/etc/sound/default/ap_to_headset_pre new file mode 100644 index 0000000..043a628 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_headset_pre @@ -0,0 +1,2 @@ +kcontrol "Master Playback Switch" = "1" +kcontrol "PCM Playback Switch" = "1" diff --git a/filesystem/usr/etc/sound/default/ap_to_headset_pre_gain b/filesystem/usr/etc/sound/default/ap_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_headset_pre_gain diff --git a/filesystem/usr/etc/sound/default/ap_to_headset_ringtone_gain b/filesystem/usr/etc/sound/default/ap_to_headset_ringtone_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_headset_ringtone_gain diff --git a/filesystem/usr/etc/sound/default/ap_to_receiver b/filesystem/usr/etc/sound/default/ap_to_receiver new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_receiver diff --git a/filesystem/usr/etc/sound/default/ap_to_receiver_gain b/filesystem/usr/etc/sound/default/ap_to_receiver_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_receiver_gain diff --git a/filesystem/usr/etc/sound/default/ap_to_receiver_pre b/filesystem/usr/etc/sound/default/ap_to_receiver_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_receiver_pre diff --git a/filesystem/usr/etc/sound/default/ap_to_receiver_pre_gain b/filesystem/usr/etc/sound/default/ap_to_receiver_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_receiver_pre_gain diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker b/filesystem/usr/etc/sound/default/ap_to_speaker new file mode 100644 index 0000000..df8f01c --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker @@ -0,0 +1,2 @@ +'Master Playback Switch':1:1 +'PCM Playback Switch':1:1 diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_gain b/filesystem/usr/etc/sound/default/ap_to_speaker_gain new file mode 100644 index 0000000..e97b603 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_gain @@ -0,0 +1,2 @@ +'Master Playback Volume':2:50,50 +'PCM Playback Volume':2:50,50 diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_gain_pre b/filesystem/usr/etc/sound/default/ap_to_speaker_gain_pre new file mode 100644 index 0000000..c6e92fc --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_gain_pre @@ -0,0 +1,2 @@ +kcontrol "Master Playback Volume" = "1" +kcontrol "PCM Playback Volume" = "1" diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_left b/filesystem/usr/etc/sound/default/ap_to_speaker_left new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_left diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_left_pre b/filesystem/usr/etc/sound/default/ap_to_speaker_left_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_left_pre diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_pre b/filesystem/usr/etc/sound/default/ap_to_speaker_pre new file mode 100644 index 0000000..043a628 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_pre @@ -0,0 +1,2 @@ +kcontrol "Master Playback Switch" = "1" +kcontrol "PCM Playback Switch" = "1" diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_pre_gain b/filesystem/usr/etc/sound/default/ap_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_pre_gain diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_right b/filesystem/usr/etc/sound/default/ap_to_speaker_right new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_right diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_right_pre b/filesystem/usr/etc/sound/default/ap_to_speaker_right_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_right_pre diff --git a/filesystem/usr/etc/sound/default/ap_to_speaker_ringtone_gain b/filesystem/usr/etc/sound/default/ap_to_speaker_ringtone_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/ap_to_speaker_ringtone_gain diff --git a/filesystem/usr/etc/sound/default/bt_to_ap b/filesystem/usr/etc/sound/default/bt_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_ap diff --git a/filesystem/usr/etc/sound/default/bt_to_ap_gain b/filesystem/usr/etc/sound/default/bt_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_ap_gain diff --git a/filesystem/usr/etc/sound/default/bt_to_ap_pre b/filesystem/usr/etc/sound/default/bt_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_ap_pre diff --git a/filesystem/usr/etc/sound/default/bt_to_ap_pre_gain b/filesystem/usr/etc/sound/default/bt_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_ap_pre_gain diff --git a/filesystem/usr/etc/sound/default/bt_to_cp b/filesystem/usr/etc/sound/default/bt_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_cp diff --git a/filesystem/usr/etc/sound/default/bt_to_cp_gain b/filesystem/usr/etc/sound/default/bt_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_cp_gain diff --git a/filesystem/usr/etc/sound/default/bt_to_cp_pre b/filesystem/usr/etc/sound/default/bt_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_cp_pre diff --git a/filesystem/usr/etc/sound/default/bt_to_cp_pre_gain b/filesystem/usr/etc/sound/default/bt_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/bt_to_cp_pre_gain diff --git a/filesystem/usr/etc/sound/default/codec_disable_on_suspend b/filesystem/usr/etc/sound/default/codec_disable_on_suspend new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/codec_disable_on_suspend diff --git a/filesystem/usr/etc/sound/default/codec_disable_on_suspend_pre b/filesystem/usr/etc/sound/default/codec_disable_on_suspend_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/codec_disable_on_suspend_pre diff --git a/filesystem/usr/etc/sound/default/cp_to_ap b/filesystem/usr/etc/sound/default/cp_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_ap diff --git a/filesystem/usr/etc/sound/default/cp_to_ap_gain b/filesystem/usr/etc/sound/default/cp_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_ap_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_ap_pre b/filesystem/usr/etc/sound/default/cp_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_ap_pre diff --git a/filesystem/usr/etc/sound/default/cp_to_ap_pre_gain b/filesystem/usr/etc/sound/default/cp_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_ap_pre_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_bt b/filesystem/usr/etc/sound/default/cp_to_bt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_bt diff --git a/filesystem/usr/etc/sound/default/cp_to_bt_gain b/filesystem/usr/etc/sound/default/cp_to_bt_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_bt_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_bt_pre b/filesystem/usr/etc/sound/default/cp_to_bt_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_bt_pre diff --git a/filesystem/usr/etc/sound/default/cp_to_bt_pre_gain b/filesystem/usr/etc/sound/default/cp_to_bt_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_bt_pre_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_headset b/filesystem/usr/etc/sound/default/cp_to_headset new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_headset diff --git a/filesystem/usr/etc/sound/default/cp_to_headset_gain b/filesystem/usr/etc/sound/default/cp_to_headset_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_headset_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_headset_pre b/filesystem/usr/etc/sound/default/cp_to_headset_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_headset_pre diff --git a/filesystem/usr/etc/sound/default/cp_to_headset_pre_gain b/filesystem/usr/etc/sound/default/cp_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_headset_pre_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_headset_videocall_gain b/filesystem/usr/etc/sound/default/cp_to_headset_videocall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_headset_videocall_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_headset_voicecall_gain b/filesystem/usr/etc/sound/default/cp_to_headset_voicecall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_headset_voicecall_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_receiver b/filesystem/usr/etc/sound/default/cp_to_receiver new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_receiver diff --git a/filesystem/usr/etc/sound/default/cp_to_receiver_gain b/filesystem/usr/etc/sound/default/cp_to_receiver_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_receiver_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_receiver_pre b/filesystem/usr/etc/sound/default/cp_to_receiver_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_receiver_pre diff --git a/filesystem/usr/etc/sound/default/cp_to_receiver_pre_gain b/filesystem/usr/etc/sound/default/cp_to_receiver_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_receiver_pre_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_receiver_videocall_gain b/filesystem/usr/etc/sound/default/cp_to_receiver_videocall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_receiver_videocall_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_receiver_voicecall_gain b/filesystem/usr/etc/sound/default/cp_to_receiver_voicecall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_receiver_voicecall_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_speaker b/filesystem/usr/etc/sound/default/cp_to_speaker new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_speaker diff --git a/filesystem/usr/etc/sound/default/cp_to_speaker_gain b/filesystem/usr/etc/sound/default/cp_to_speaker_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_speaker_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_speaker_pre b/filesystem/usr/etc/sound/default/cp_to_speaker_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_speaker_pre diff --git a/filesystem/usr/etc/sound/default/cp_to_speaker_pre_gain b/filesystem/usr/etc/sound/default/cp_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_speaker_pre_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_speaker_videocall_gain b/filesystem/usr/etc/sound/default/cp_to_speaker_videocall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_speaker_videocall_gain diff --git a/filesystem/usr/etc/sound/default/cp_to_speaker_voicecall_gain b/filesystem/usr/etc/sound/default/cp_to_speaker_voicecall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/cp_to_speaker_voicecall_gain diff --git a/filesystem/usr/etc/sound/default/earmic_to_ap b/filesystem/usr/etc/sound/default/earmic_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_ap diff --git a/filesystem/usr/etc/sound/default/earmic_to_ap_gain b/filesystem/usr/etc/sound/default/earmic_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_ap_gain diff --git a/filesystem/usr/etc/sound/default/earmic_to_ap_pre b/filesystem/usr/etc/sound/default/earmic_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_ap_pre diff --git a/filesystem/usr/etc/sound/default/earmic_to_ap_pre_gain b/filesystem/usr/etc/sound/default/earmic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_ap_pre_gain diff --git a/filesystem/usr/etc/sound/default/earmic_to_cp b/filesystem/usr/etc/sound/default/earmic_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_cp diff --git a/filesystem/usr/etc/sound/default/earmic_to_cp_gain b/filesystem/usr/etc/sound/default/earmic_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_cp_gain diff --git a/filesystem/usr/etc/sound/default/earmic_to_cp_pre b/filesystem/usr/etc/sound/default/earmic_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_cp_pre diff --git a/filesystem/usr/etc/sound/default/earmic_to_cp_pre_gain b/filesystem/usr/etc/sound/default/earmic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/earmic_to_cp_pre_gain diff --git a/filesystem/usr/etc/sound/default/fmradio_to_ap b/filesystem/usr/etc/sound/default/fmradio_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_ap diff --git a/filesystem/usr/etc/sound/default/fmradio_to_ap_gain b/filesystem/usr/etc/sound/default/fmradio_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_ap_gain diff --git a/filesystem/usr/etc/sound/default/fmradio_to_ap_pre b/filesystem/usr/etc/sound/default/fmradio_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_ap_pre diff --git a/filesystem/usr/etc/sound/default/fmradio_to_ap_pre_gain b/filesystem/usr/etc/sound/default/fmradio_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_ap_pre_gain diff --git a/filesystem/usr/etc/sound/default/fmradio_to_headset b/filesystem/usr/etc/sound/default/fmradio_to_headset new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_headset diff --git a/filesystem/usr/etc/sound/default/fmradio_to_headset_gain b/filesystem/usr/etc/sound/default/fmradio_to_headset_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_headset_gain diff --git a/filesystem/usr/etc/sound/default/fmradio_to_headset_pre b/filesystem/usr/etc/sound/default/fmradio_to_headset_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_headset_pre diff --git a/filesystem/usr/etc/sound/default/fmradio_to_headset_pre_gain b/filesystem/usr/etc/sound/default/fmradio_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_headset_pre_gain diff --git a/filesystem/usr/etc/sound/default/fmradio_to_speaker b/filesystem/usr/etc/sound/default/fmradio_to_speaker new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_speaker diff --git a/filesystem/usr/etc/sound/default/fmradio_to_speaker_gain b/filesystem/usr/etc/sound/default/fmradio_to_speaker_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_speaker_gain diff --git a/filesystem/usr/etc/sound/default/fmradio_to_speaker_pre b/filesystem/usr/etc/sound/default/fmradio_to_speaker_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_speaker_pre diff --git a/filesystem/usr/etc/sound/default/fmradio_to_speaker_pre_gain b/filesystem/usr/etc/sound/default/fmradio_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/fmradio_to_speaker_pre_gain diff --git a/filesystem/usr/etc/sound/default/mainmic_to_ap b/filesystem/usr/etc/sound/default/mainmic_to_ap new file mode 100644 index 0000000..2656c09 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_ap @@ -0,0 +1 @@ +'Capture Switch':1:1 diff --git a/filesystem/usr/etc/sound/default/mainmic_to_ap_gain b/filesystem/usr/etc/sound/default/mainmic_to_ap_gain new file mode 100644 index 0000000..8ceeed8 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_ap_gain @@ -0,0 +1 @@ +'Capture Volume':2:15,15 diff --git a/filesystem/usr/etc/sound/default/mainmic_to_ap_gain_pre b/filesystem/usr/etc/sound/default/mainmic_to_ap_gain_pre new file mode 100644 index 0000000..20f8323 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_ap_gain_pre @@ -0,0 +1 @@ +kcontrol "Capture Volume" = "1" diff --git a/filesystem/usr/etc/sound/default/mainmic_to_ap_pre b/filesystem/usr/etc/sound/default/mainmic_to_ap_pre new file mode 100644 index 0000000..30589c7 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_ap_pre @@ -0,0 +1 @@ +kcontrol "Capture Switch" = "1" diff --git a/filesystem/usr/etc/sound/default/mainmic_to_ap_pre_gain b/filesystem/usr/etc/sound/default/mainmic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_ap_pre_gain diff --git a/filesystem/usr/etc/sound/default/mainmic_to_cp b/filesystem/usr/etc/sound/default/mainmic_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_cp diff --git a/filesystem/usr/etc/sound/default/mainmic_to_cp_gain b/filesystem/usr/etc/sound/default/mainmic_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_cp_gain diff --git a/filesystem/usr/etc/sound/default/mainmic_to_cp_pre b/filesystem/usr/etc/sound/default/mainmic_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_cp_pre diff --git a/filesystem/usr/etc/sound/default/mainmic_to_cp_pre_gain b/filesystem/usr/etc/sound/default/mainmic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mainmic_to_cp_pre_gain diff --git a/filesystem/usr/etc/sound/default/mute_playback b/filesystem/usr/etc/sound/default/mute_playback new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mute_playback diff --git a/filesystem/usr/etc/sound/default/mute_playback_pre b/filesystem/usr/etc/sound/default/mute_playback_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/mute_playback_pre diff --git a/filesystem/usr/etc/sound/default/reset b/filesystem/usr/etc/sound/default/reset new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/reset diff --git a/filesystem/usr/etc/sound/default/reset_capture b/filesystem/usr/etc/sound/default/reset_capture new file mode 100644 index 0000000..19082c0 --- /dev/null +++ b/filesystem/usr/etc/sound/default/reset_capture @@ -0,0 +1 @@ +'Capture Switch':1:0 diff --git a/filesystem/usr/etc/sound/default/reset_capture_pre b/filesystem/usr/etc/sound/default/reset_capture_pre new file mode 100644 index 0000000..30589c7 --- /dev/null +++ b/filesystem/usr/etc/sound/default/reset_capture_pre @@ -0,0 +1 @@ +kcontrol "Capture Switch" = "1" diff --git a/filesystem/usr/etc/sound/default/reset_playback b/filesystem/usr/etc/sound/default/reset_playback new file mode 100644 index 0000000..9331169 --- /dev/null +++ b/filesystem/usr/etc/sound/default/reset_playback @@ -0,0 +1,2 @@ +'Master Playback Switch':1:0 +'PCM Playback Switch':1:0 diff --git a/filesystem/usr/etc/sound/default/reset_playback_pre b/filesystem/usr/etc/sound/default/reset_playback_pre new file mode 100644 index 0000000..043a628 --- /dev/null +++ b/filesystem/usr/etc/sound/default/reset_playback_pre @@ -0,0 +1,2 @@ +kcontrol "Master Playback Switch" = "1" +kcontrol "PCM Playback Switch" = "1" diff --git a/filesystem/usr/etc/sound/default/reset_pre b/filesystem/usr/etc/sound/default/reset_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/reset_pre diff --git a/filesystem/usr/etc/sound/default/stereomic_to_ap b/filesystem/usr/etc/sound/default/stereomic_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/stereomic_to_ap diff --git a/filesystem/usr/etc/sound/default/stereomic_to_ap_gain b/filesystem/usr/etc/sound/default/stereomic_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/stereomic_to_ap_gain diff --git a/filesystem/usr/etc/sound/default/stereomic_to_ap_pre b/filesystem/usr/etc/sound/default/stereomic_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/stereomic_to_ap_pre diff --git a/filesystem/usr/etc/sound/default/stereomic_to_ap_pre_gain b/filesystem/usr/etc/sound/default/stereomic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/stereomic_to_ap_pre_gain diff --git a/filesystem/usr/etc/sound/default/submic_to_ap b/filesystem/usr/etc/sound/default/submic_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_ap diff --git a/filesystem/usr/etc/sound/default/submic_to_ap_gain b/filesystem/usr/etc/sound/default/submic_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_ap_gain diff --git a/filesystem/usr/etc/sound/default/submic_to_ap_pre b/filesystem/usr/etc/sound/default/submic_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_ap_pre diff --git a/filesystem/usr/etc/sound/default/submic_to_ap_pre_gain b/filesystem/usr/etc/sound/default/submic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_ap_pre_gain diff --git a/filesystem/usr/etc/sound/default/submic_to_cp b/filesystem/usr/etc/sound/default/submic_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_cp diff --git a/filesystem/usr/etc/sound/default/submic_to_cp_gain b/filesystem/usr/etc/sound/default/submic_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_cp_gain diff --git a/filesystem/usr/etc/sound/default/submic_to_cp_pre b/filesystem/usr/etc/sound/default/submic_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_cp_pre diff --git a/filesystem/usr/etc/sound/default/submic_to_cp_pre_gain b/filesystem/usr/etc/sound/default/submic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/submic_to_cp_pre_gain diff --git a/filesystem/usr/etc/sound/default/unmute_playback b/filesystem/usr/etc/sound/default/unmute_playback new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/filesystem/usr/etc/sound/default/unmute_playback diff --git a/packaging/default-files-emulator.manifest b/packaging/default-files-emulator.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/default-files-emulator.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/default-files-emulator.spec b/packaging/default-files-emulator.spec new file mode 100644 index 0000000..fab7287 --- /dev/null +++ b/packaging/default-files-emulator.spec @@ -0,0 +1,235 @@ +Summary: Default files of emulator +Name: default-files-emulator +Version: 0.2.5 +Release: 2 +License: Samsung +Group: System/Base +Source0: %{name}-%{version}.tar.gz +Source1001: packaging/default-files-emulator.manifest + +%description +Default files of emulator + +%prep + +%setup -q + +%build + +%install +find . -name .gitignore -exec rm -f {} \; +cp -arf filesystem/* %{buildroot} + +%post +mkdir -p /opt/usr +if [ -d /opt/media ]; then + cp -aprf /opt/media/* /opt/usr/media/. + rm -rf /opt/media +else + mkdir -p /opt/usr/media +fi +if [ -d /opt/apps ]; then + cp -aprf /opt/apps/* /opt/usr/apps/. + rm -rf /opt/apps +else + mkdir -p /opt/usr/apps +fi +if [ -d /opt/live ]; then + cp -aprf /opt/live/* /opt/usr/live/. + rm -rf /opt/live +else + mkdir -p /opt/usr/live +fi +if [ -d /opt/ug ]; then + cp -aprf /opt/ug/* /opt/usr/ug/. + rm -rf /opt/ug +else + mkdir -p /opt/usr/ug +fi +mkdir -p /opt/osp +mkdir -p /opt/usr/dbspace +ln -sf /opt/usr/apps /opt/apps +ln -sf /opt/usr/media /opt/media +ln -sf /opt/usr/live /opt/live +ln -sf /opt/usr/osp/share /opt/osp/share +ln -sf /opt/usr/ug /opt/ug + +%files +/bin/change-booting-mode.sh +/bin/ifconfig +/bin/mdev +/bin/route +/bin/ubimnt.sh +/csa/unused +/etc/fstab_emul +/etc/hosts_emul +/etc/inetd.conf +/etc/init.d/csa-tools +/etc/init.d/functions +/etc/init.d/inetd +/etc/init.d/network +/etc/inittab +/etc/mdev.conf +/etc/mtools.conf +/etc/nsswitch.conf +/etc/profile +/etc/profile.d/path.sh +/etc/profile.d/system.sh +/etc/protocols_emul +/etc/profile.d/proxy_setting.sh +/etc/profile.d/simulator-opengl.sh +/etc/rc.d/init.d/functions +/etc/rc.d/init.d/inetd +/etc/rc.d/init.d/network +/etc/rc.d/init.d/portmap +/etc/rc.d/init.d/syslod_svc +/etc/rc.d/rc.emul +/etc/rc.d/rc.firstboot +/etc/rc.d/rc.network +/etc/rc.d/rc.shutdown +/etc/rc.d/rc.sysinit +/etc/rc.d/rc0.d/S00network +/etc/rc.d/rc0.d/S01portmap +/etc/rc.d/rc3.d/S01Init-sim +/etc/rc.d/rc3.d/S04syslogd +/etc/rc.d/rc3.d/S20vmodem +/etc/rc.d/rc3.d/S30brightness +/etc/rc.d/rc3.d/S96set_valperiod +/etc/rc.d/rc5.d/S04syslogd +/etc/rc.d/rc5.d/S99zzzbackup_csa +/etc/securetty_emul +/etc/sensord_setting.sh +/etc/services_emul +/etc/sshd_config +/etc/ssl/certs +/etc/sysconfig/network +/etc/sysconfig/network-scripts/ifcfg-lo +/etc/yagl.sh +/lib/udev/rules.d/99-serial-console.rules +/mnt/mmc +/mnt/nfs +/mnt/ums +/opt/driver +/opt/etc/.firstboot +/opt/home/app/.DIR_APP_DFE +/opt/home/developer/sdk_tools/usr/lib/debug/.DIR_DEBUG_DFE +/opt/home/inhouse +/opt/home/root/.launcher/launcher.exit +/opt/media/.emptydir +/opt/storage/sdcard +/usr/bin/mount_slp.sh +/usr/bin/save_blenv +/usr/bin/wlan.sh +/usr/etc/sound/default.conf +/usr/etc/sound/default/ap_to_headset +/usr/etc/sound/default/ap_to_headset_gain +/usr/etc/sound/default/ap_to_headset_gain_pre +/usr/etc/sound/default/ap_to_headset_pre +/usr/etc/sound/default/ap_to_speaker +/usr/etc/sound/default/ap_to_speaker_gain +/usr/etc/sound/default/ap_to_speaker_gain_pre +/usr/etc/sound/default/ap_to_speaker_pre +/usr/etc/sound/default/mainmic_to_ap +/usr/etc/sound/default/mainmic_to_ap_gain +/usr/etc/sound/default/mainmic_to_ap_gain_pre +/usr/etc/sound/default/mainmic_to_ap_pre +/usr/etc/sound/default/reset_capture +/usr/etc/sound/default/reset_capture_pre +/usr/etc/sound/default/reset_playback +/usr/etc/sound/default/reset_playback_pre +/usr/etc/sound/default/ap_to_bt +/usr/etc/sound/default/ap_to_bt_gain +/usr/etc/sound/default/ap_to_bt_pre +/usr/etc/sound/default/ap_to_bt_pre_gain +/usr/etc/sound/default/ap_to_headset_pre_gain +/usr/etc/sound/default/ap_to_headset_ringtone_gain +/usr/etc/sound/default/ap_to_receiver +/usr/etc/sound/default/ap_to_receiver_gain +/usr/etc/sound/default/ap_to_receiver_pre +/usr/etc/sound/default/ap_to_receiver_pre_gain +/usr/etc/sound/default/ap_to_speaker_left +/usr/etc/sound/default/ap_to_speaker_left_pre +/usr/etc/sound/default/ap_to_speaker_pre_gain +/usr/etc/sound/default/ap_to_speaker_right +/usr/etc/sound/default/ap_to_speaker_right_pre +/usr/etc/sound/default/ap_to_speaker_ringtone_gain +/usr/etc/sound/default/bt_to_ap +/usr/etc/sound/default/bt_to_ap_gain +/usr/etc/sound/default/bt_to_ap_pre +/usr/etc/sound/default/bt_to_ap_pre_gain +/usr/etc/sound/default/bt_to_cp +/usr/etc/sound/default/bt_to_cp_gain +/usr/etc/sound/default/bt_to_cp_pre +/usr/etc/sound/default/bt_to_cp_pre_gain +/usr/etc/sound/default/codec_disable_on_suspend +/usr/etc/sound/default/codec_disable_on_suspend_pre +/usr/etc/sound/default/cp_to_ap +/usr/etc/sound/default/cp_to_ap_gain +/usr/etc/sound/default/cp_to_ap_pre +/usr/etc/sound/default/cp_to_ap_pre_gain +/usr/etc/sound/default/cp_to_bt +/usr/etc/sound/default/cp_to_bt_gain +/usr/etc/sound/default/cp_to_bt_pre +/usr/etc/sound/default/cp_to_bt_pre_gain +/usr/etc/sound/default/cp_to_headset +/usr/etc/sound/default/cp_to_headset_gain +/usr/etc/sound/default/cp_to_headset_pre +/usr/etc/sound/default/cp_to_headset_pre_gain +/usr/etc/sound/default/cp_to_headset_videocall_gain +/usr/etc/sound/default/cp_to_headset_voicecall_gain +/usr/etc/sound/default/cp_to_receiver +/usr/etc/sound/default/cp_to_receiver_gain +/usr/etc/sound/default/cp_to_receiver_pre +/usr/etc/sound/default/cp_to_receiver_pre_gain +/usr/etc/sound/default/cp_to_receiver_videocall_gain +/usr/etc/sound/default/cp_to_receiver_voicecall_gain +/usr/etc/sound/default/cp_to_speaker +/usr/etc/sound/default/cp_to_speaker_gain +/usr/etc/sound/default/cp_to_speaker_pre +/usr/etc/sound/default/cp_to_speaker_pre_gain +/usr/etc/sound/default/cp_to_speaker_videocall_gain +/usr/etc/sound/default/cp_to_speaker_voicecall_gain +/usr/etc/sound/default/earmic_to_ap +/usr/etc/sound/default/earmic_to_ap_gain +/usr/etc/sound/default/earmic_to_ap_pre +/usr/etc/sound/default/earmic_to_ap_pre_gain +/usr/etc/sound/default/earmic_to_cp +/usr/etc/sound/default/earmic_to_cp_gain +/usr/etc/sound/default/earmic_to_cp_pre +/usr/etc/sound/default/earmic_to_cp_pre_gain +/usr/etc/sound/default/fmradio_to_ap +/usr/etc/sound/default/fmradio_to_ap_gain +/usr/etc/sound/default/fmradio_to_ap_pre +/usr/etc/sound/default/fmradio_to_ap_pre_gain +/usr/etc/sound/default/fmradio_to_headset +/usr/etc/sound/default/fmradio_to_headset_gain +/usr/etc/sound/default/fmradio_to_headset_pre +/usr/etc/sound/default/fmradio_to_headset_pre_gain +/usr/etc/sound/default/fmradio_to_speaker +/usr/etc/sound/default/fmradio_to_speaker_gain +/usr/etc/sound/default/fmradio_to_speaker_pre +/usr/etc/sound/default/fmradio_to_speaker_pre_gain +/usr/etc/sound/default/mainmic_to_ap_pre_gain +/usr/etc/sound/default/mainmic_to_cp +/usr/etc/sound/default/mainmic_to_cp_gain +/usr/etc/sound/default/mainmic_to_cp_pre +/usr/etc/sound/default/mainmic_to_cp_pre_gain +/usr/etc/sound/default/mute_playback +/usr/etc/sound/default/mute_playback_pre +/usr/etc/sound/default/reset +/usr/etc/sound/default/reset_pre +/usr/etc/sound/default/stereomic_to_ap +/usr/etc/sound/default/stereomic_to_ap_gain +/usr/etc/sound/default/stereomic_to_ap_pre +/usr/etc/sound/default/stereomic_to_ap_pre_gain +/usr/etc/sound/default/submic_to_ap +/usr/etc/sound/default/submic_to_ap_gain +/usr/etc/sound/default/submic_to_ap_pre +/usr/etc/sound/default/submic_to_ap_pre_gain +/usr/etc/sound/default/submic_to_cp +/usr/etc/sound/default/submic_to_cp_gain +/usr/etc/sound/default/submic_to_cp_pre +/usr/etc/sound/default/submic_to_cp_pre_gain +/usr/etc/sound/default/unmute_playback +/var/log/README +/etc/rc.d/rc3.d/S45vconf-menuscreen |