diff options
author | Wu zheng <wu.zheng@intel.com> | 2013-10-31 11:04:30 +0800 |
---|---|---|
committer | Wu zheng <wu.zheng@intel.com> | 2013-10-31 11:04:30 +0800 |
commit | e68721dde0d4cdc59705a6c0f9b0331b4243d697 (patch) | |
tree | 52cf641327eea6021ce57ac8beb7e398b0e4f324 | |
parent | 81dd4b2d54238bba5e7e90619831eebbd1873719 (diff) | |
download | system-plugin-ia-generic-e68721dde0d4cdc59705a6c0f9b0331b4243d697.tar.gz system-plugin-ia-generic-e68721dde0d4cdc59705a6c0f9b0331b4243d697.tar.bz2 system-plugin-ia-generic-e68721dde0d4cdc59705a6c0f9b0331b4243d697.zip |
Add the controlling of BT lpm
BT lpm isn't enabled before.
After Setting lpm param and modifying the trigger conditions
between BT chip and host, BT lpm is enabled.
Change-Id: Idb26507f7a9a1b319d95c626e33ad4ac76473adf
-rw-r--r-- | brcm_patchram_plus.c | 2 | ||||
-rwxr-xr-x | scripts/bt-dev-start.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/brcm_patchram_plus.c b/brcm_patchram_plus.c index 6afe99c..2e13ada 100644 --- a/brcm_patchram_plus.c +++ b/brcm_patchram_plus.c @@ -180,7 +180,7 @@ uchar hci_write_bd_addr[] = { 0x01, 0x01, 0xfc, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; uchar hci_write_sleep_mode[] = { 0x01, 0x27, 0xfc, 0x0c, - 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, + 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 }; uchar hci_write_sco_pcm_int[] = diff --git a/scripts/bt-dev-start.sh b/scripts/bt-dev-start.sh index 872bdb6..8e39cb8 100755 --- a/scripts/bt-dev-start.sh +++ b/scripts/bt-dev-start.sh @@ -11,7 +11,7 @@ echo 1 > /sys/class/rfkill/rfkill0/state if !(/bin/ps aux | grep brcm_patchram_plus | grep -v grep) then -/bin/brcm_patchram_plus --enable_hci --patchram \ +/bin/brcm_patchram_plus --enable_lpm --enable_hci --patchram \ /lib/firmware/BCM43341B0_0008_ZTE.hcd --baudrate 3000000 \ /dev/ttyMFD0 --no2bytes & |