Load bluetooth and wifi driver at boot
authorArron Wang <arron.wang@intel.com>
Thu, 17 Oct 2013 02:24:16 +0000 (10:24 +0800)
committerArron Wang <arron.wang@intel.com>
Thu, 17 Oct 2013 02:25:12 +0000 (10:25 +0800)
Change-Id: I60be77dd3972da7dd34929f9d52bf8a5feab309d

etc/modules-load.d/comms.conf [new file with mode: 0644]
packaging/system-plugin-ia-generic.spec
usr/bin/wlan.sh

diff --git a/etc/modules-load.d/comms.conf b/etc/modules-load.d/comms.conf
new file mode 100644 (file)
index 0000000..a13b7dd
--- /dev/null
@@ -0,0 +1,3 @@
+# Load Bluetooth & Wifi driver at boot
+bcm_bt_lpm
+bcmdhd
index 206e1b4..1bf6fab 100644 (file)
@@ -72,6 +72,7 @@ systemctl daemon-reload
 /etc/fstab
 %config(noreplace) /etc/inittab
 %exclude %config(noreplace) /etc/mtools.conf
+/etc/modules-load.d/comms.conf
 /etc/profile.d/system.sh
 /etc/rc.d/rc.entersleep
 /etc/rc.d/rc.firstboot
index 37c807f..8d3e239 100755 (executable)
@@ -12,8 +12,8 @@ start()
 
        if [ "${MODEL_NAME}" = "Z2580" ]
        then
-               /sbin/modprobe bcmdhd
-               /bin/usleep 500000
+               #/sbin/modprobe bcmdhd
+               #/bin/usleep 500000
                /sbin/ifconfig ${IFACE_NAME} up
        fi
 }
@@ -22,8 +22,8 @@ stop()
 {
        if [ "${MODEL_NAME}" = "Z2580" ]
        then
-               /bin/sleep 1
-               /sbin/rmmod bcmdhd
+               #/bin/sleep 1
+               #/sbin/rmmod bcmdhd
        fi
 }