summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 01:00:22 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 01:00:22 +0900
commit3f1c252d28a610f8c036de48402d3131dc70af87 (patch)
treee901be0e3225b13c551ffe628f9f7c393e265171
parent5b79c1b734b339978fe185d924985e96801fc208 (diff)
downloaddevice-config-audio-3f1c252d28a610f8c036de48402d3131dc70af87.tar.gz
device-config-audio-3f1c252d28a610f8c036de48402d3131dc70af87.tar.bz2
device-config-audio-3f1c252d28a610f8c036de48402d3131dc70af87.zip
-rw-r--r--packaging/95-audio-jack.rules3
-rw-r--r--packaging/audio.sh2
-rw-r--r--packaging/audio_system.conf2
-rw-r--r--packaging/device-config-audio.changes13
-rw-r--r--packaging/device-config-audio.spec45
5 files changed, 65 insertions, 0 deletions
diff --git a/packaging/95-audio-jack.rules b/packaging/95-audio-jack.rules
new file mode 100644
index 0000000..1e8e7b4
--- /dev/null
+++ b/packaging/95-audio-jack.rules
@@ -0,0 +1,3 @@
+# do not edit this file, it will be overwritten on update
+# This file is part of device-config-audio-MFLD-BlackBay
+KERNEL=="event8", SYMLINK+="event8"
diff --git a/packaging/audio.sh b/packaging/audio.sh
new file mode 100644
index 0000000..81fee36
--- /dev/null
+++ b/packaging/audio.sh
@@ -0,0 +1,2 @@
+export AVSYS_PERIOD_TIME=125
+export AVSYS_PERIOD_COUNT=8
diff --git a/packaging/audio_system.conf b/packaging/audio_system.conf
new file mode 100644
index 0000000..a0415b3
--- /dev/null
+++ b/packaging/audio_system.conf
@@ -0,0 +1,2 @@
+headset_detection:1
+headset_node:8
diff --git a/packaging/device-config-audio.changes b/packaging/device-config-audio.changes
new file mode 100644
index 0000000..df5c577
--- /dev/null
+++ b/packaging/device-config-audio.changes
@@ -0,0 +1,13 @@
+* Fri Jul 6 2012 vivian zhang <vivian.zhang@intel.com> - 1
+- Handle pulseaudio start-up script in mmfw-sysconf-mfld-blackbay package, fixed TZSP-2573: Audio doesn't work on image
+
+* Wed Jul 4 2012 vivian zhang <vivian.zhang@intel.com> - 1
+- Install 95-audio-jack.rules to the correct directory based on new udev package
+
+* Wed Jul 4 2012 Huaqiang Geng <huaqiangx.geng@intel.com> - 1
+- Modify system_mfld.pa, add control parameter.
+
+* Thu Jun 14 2012 vivian zhang <vivian.zhang@intel.com> - 1
+- Added SYMLINK /dev/event8 for audio jack detect in Avsystem;
+- Added pulseaudio_mfld.sh as pulseaudio start-up script in MFLD;
+- Cleaned spec file to pass gbs build
diff --git a/packaging/device-config-audio.spec b/packaging/device-config-audio.spec
new file mode 100644
index 0000000..9923bc1
--- /dev/null
+++ b/packaging/device-config-audio.spec
@@ -0,0 +1,45 @@
+Summary: Device specific configurations for Audio
+Name: device-config-audio
+Version: 1
+Release: 1
+Group: System/Hardware
+License: GPLv2+
+BuildArch: noarch
+Source0: %{name}-%{version}.tar.bz2
+Source1: audio_system.conf
+Source2: 95-audio-jack.rules
+Source3: audio.sh
+
+%description
+Device specific configurations for Audio
+
+%package mfld-blackbay
+Summary: Audio configuration files for mfld-blackbay
+Group: System/Hardware
+%description mfld-blackbay
+Audio configuration files for mfld-blackbay
+
+%prep
+
+%build
+
+%install
+# mfld
+install -D -m 0644 %{S:1} %{buildroot}/opt/etc/audio_system.conf
+
+mkdir -p %{buildroot}/lib/udev/rules.d/
+install -D -m 0755 %{S:2} %{buildroot}/usr/lib/udev/rules.d/95-audio-jack.rules
+
+mkdir -p %{buildroot}/etc/profile
+install -D -m 0755 %{S:3} %{buildroot}/etc/profile.d/audio.sh
+
+
+%post mfld-blackbay
+
+%postun mfld-blackbay
+
+
+%files mfld-blackbay
+%config /opt/etc/audio_system.conf
+/usr/lib/udev/rules.d/95-audio-jack.rules
+/etc/profile.d/audio.sh