summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-07-22 16:46:54 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-07-22 17:13:56 +0200
commit153284cdd90f259249fcf74de6c77d622999645a (patch)
tree3024eb7c62abf2d4575143629db7fd717d330fd4
initial commit
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control19
-rw-r--r--debian/copyright56
-rwxr-xr-xdebian/rules3
-rw-r--r--debian/source/format1
-rw-r--r--debian/wcnss-config.service8
-rw-r--r--debian/wcnss-config.udev1
8 files changed, 95 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fd7c4ad
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+wcnss-config (1.1) vivid; urgency=medium
+
+ * Initial release.
+
+ -- Nicolas Dechesne <nicolas.dechesne@linaro.org> Wed, 22 Jul 2015 16:41:38 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d9ea721
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: wcnss-config
+Section: utils
+Priority: optional
+Maintainer: Nicolas Dechesne <nicolas.dechesne@linaro.org>
+Build-Depends: cdbs, debhelper (>= 7)
+Standards-Version: 3.9.3
+Homepage: https://git.linaro.org/landing-teams/working/qualcomm/wcnss-config.git
+Vcs-Git: https://git.linaro.org/landing-teams/working/qualcomm/wcnss-config.git
+Vcs-Browser: https://git.linaro.org/landing-teams/working/qualcomm/wcnss-config.git
+
+Package: wcnss-config
+Architecture: all
+Depends: ${misc:Depends}
+Provides: ${diverted-files}
+Conflicts: ${diverted-files}
+Description: WLAN and BT configuration files for WCN
+ WCN is the integrated core in many QCOM devices that provides WLAN and BT
+ functionalities.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e0b4489
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+wcnss-config package.
+
+Authors:
+ Nicolas Dechesne <nicolas.dechesne@linaro.org
+ Yin, Fengwei <fengwei.yin@linaro.org>
+
+Copyright:
+
+ Copyright(c) 2015 Linaro, Ltd. All rights reserved.
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name Texas Instruments nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License:
+
+ GPL-2 (GNU GPL Version 2),
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e6192f6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/wcnss-config.service b/debian/wcnss-config.service
new file mode 100644
index 0000000..9d6d14b
--- /dev/null
+++ b/debian/wcnss-config.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=wcnss bluetooth
+
+[Service]
+ExecStart=/usr/sbin/hciattach /dev/smd3 qualcomm
+Type=forking
+GuessMainPID=false
+RemainAfterExit=yes
diff --git a/debian/wcnss-config.udev b/debian/wcnss-config.udev
new file mode 100644
index 0000000..c446641
--- /dev/null
+++ b/debian/wcnss-config.udev
@@ -0,0 +1 @@
+SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0", TAG+="systemd", ENV{SYSTEMD_WANTS}+="wcnss-bt.service"