diff options
author | Arron Wang <arron.wang@intel.com> | 2013-10-17 10:24:16 +0800 |
---|---|---|
committer | Arron Wang <arron.wang@intel.com> | 2013-10-17 10:25:12 +0800 |
commit | 4601ced098c9dab21792d6b8d523e2f514bbc8e1 (patch) | |
tree | e99d64834476fb79adf2ade8c6c24c391feb7955 | |
parent | 47f658c0d11826952949cfa1e19b7a1dbf52b1c7 (diff) | |
download | system-plugin-ia-generic-4601ced098c9dab21792d6b8d523e2f514bbc8e1.tar.gz system-plugin-ia-generic-4601ced098c9dab21792d6b8d523e2f514bbc8e1.tar.bz2 system-plugin-ia-generic-4601ced098c9dab21792d6b8d523e2f514bbc8e1.zip |
Load bluetooth and wifi driver at boot
Change-Id: I60be77dd3972da7dd34929f9d52bf8a5feab309d
-rw-r--r-- | etc/modules-load.d/comms.conf | 3 | ||||
-rw-r--r-- | packaging/system-plugin-ia-generic.spec | 1 | ||||
-rwxr-xr-x | usr/bin/wlan.sh | 8 |
3 files changed, 8 insertions, 4 deletions
diff --git a/etc/modules-load.d/comms.conf b/etc/modules-load.d/comms.conf new file mode 100644 index 0000000..a13b7dd --- /dev/null +++ b/etc/modules-load.d/comms.conf @@ -0,0 +1,3 @@ +# Load Bluetooth & Wifi driver at boot +bcm_bt_lpm +bcmdhd diff --git a/packaging/system-plugin-ia-generic.spec b/packaging/system-plugin-ia-generic.spec index 206e1b4..1bf6fab 100644 --- a/packaging/system-plugin-ia-generic.spec +++ b/packaging/system-plugin-ia-generic.spec @@ -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 diff --git a/usr/bin/wlan.sh b/usr/bin/wlan.sh index 37c807f..8d3e239 100755 --- a/usr/bin/wlan.sh +++ b/usr/bin/wlan.sh @@ -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 } |