OSDN Git Service

android-x86/system-bluetooth.git
13 years agobluedroid: fix several issues to enable a bluetooth device froyo-x86 android-x86-2.2 android-x86-2.2-r2
Chih-Wei Huang [Fri, 30 Jul 2010 07:31:16 +0000 (15:31 +0800)]
bluedroid: fix several issues to enable a bluetooth device

* set_bluetooth_power(): check the rfkill state before set it. If the
  state is already the expected value, don't write to it. This avoids
  the permission issue after wakeup for external bluetooth dongle.
* bt_enable(): try to disable and re-enable eeepc-bluetooth if unable
  to turn on it, since the rfkill id may has changed.

Change-Id: Ib21637acf17ab2f3f8d4379ebd570f0cf85189da

13 years agobluedroid: fix bluetooth rfkill id issues
Chih-Wei Huang [Wed, 11 Aug 2010 01:25:11 +0000 (09:25 +0800)]
bluedroid: fix bluetooth rfkill id issues

The patch tries to fix two issues observed in some systems:

* The rfkill id is not continuously distributed.
* The bluetooth rfkill id is variable at runtime.

Change-Id: I73f4fafebcbaa084ba6eac51ee7ab5ca874697e9

14 years agoUpdate brfpatch for new TI firmware scripts.
Nick Pelly [Mon, 5 Apr 2010 22:08:38 +0000 (15:08 -0700)]
Update brfpatch for new TI firmware scripts.

- Add support for 6 byte parameters
- Add support for 16 byte parameters

brfpatch is only used to generate firmware, it is not installed on the device.

Change-Id: I14076054ac211dec1cab6117acfa77de65d11239

14 years agoAdd another car kit vendor to the blacklist file.
Jaikumar Ganesh [Tue, 30 Mar 2010 16:28:33 +0000 (09:28 -0700)]
Add another car kit vendor to the blacklist file.

Bug: 2545955

14 years agoAdd hci_command_hdr to clean bluez headers.
Nick Pelly [Wed, 24 Mar 2010 00:32:38 +0000 (17:32 -0700)]
Add hci_command_hdr to clean bluez headers.

Change-Id: Ibd753b7f59926b5e1fc8eb856c0bd4193815154e

14 years agoDisable park state in main.conf
Bao Liang [Wed, 3 Mar 2010 13:46:46 +0000 (21:46 +0800)]
Disable park state in main.conf

This is to match code change in external/bluetooth/bluez/, which
allow configuration of park state support. Turn off park state
on Android to avoid connection lost with devices supporting park
state.

Signed-off-by: Bao Liang <tim.bao@motorola.com>
14 years agoAdd blacklist for Bluetooth SCO connections
Eric Olsen [Tue, 16 Mar 2010 18:52:44 +0000 (11:52 -0700)]
Add blacklist for Bluetooth SCO connections
   - Add exceptions for Motorola HF850 and Infinity G350

Signed-off-by: Eric Olsen <eolsen@android.com>
Change-Id: I417c8f8f63420b4a6a0f7a64972bafd893f6d132

14 years agoDelay 50ms before downlooading firmware patch to fix BCM4329B1 incompatability.
Nick Pelly [Tue, 16 Mar 2010 20:20:42 +0000 (13:20 -0700)]
Delay 50ms before downlooading firmware patch to fix BCM4329B1 incompatability.

Change-Id: If4e0040a55e54d6e6be2a4e6ca0c3d56c3999095

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:05:24 +0000 (18:05 -0800)]
Add an empty CleanSpec.mk

Change-Id: Id067b3f709a3a392a7e52f02bdba7fcb37f2f66f

14 years agoMerge "Add Auto Pairing blacklist, change paths."
Jaikumar Ganesh [Fri, 26 Feb 2010 03:40:28 +0000 (19:40 -0800)]
Merge "Add Auto Pairing blacklist, change paths."

14 years agoUpdate bluez clean headers for struct sockaddr_sco change.
Nick Pelly [Wed, 24 Feb 2010 23:10:19 +0000 (15:10 -0800)]
Update bluez clean headers for struct sockaddr_sco change.

Change-Id: I0966ed325ea798e4a3367e201c03a2dafdb8247a

14 years agoDo not attempt role switch to Master.
Nick Pelly [Tue, 9 Feb 2010 21:58:51 +0000 (13:58 -0800)]
Do not attempt role switch to Master.

Just causes too many problems with legacy carkits that cannot handle role
switch.

Change-Id: I1328260d2bcf1968c34a86d1dc3b2fc624b3d91b

14 years agoam d7a53f14: am 39760b25: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:09:22 +0000 (14:09 -0800)]
am d7a53f14: am 39760b25: reconcile main tree with open-source eclair

Merge commit 'd7a53f143d0733c26612af1754944826fd0841dc'

* commit 'd7a53f143d0733c26612af1754944826fd0841dc':
  android-2.1_r1 snapshot

14 years agoam 39760b25: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:26:29 +0000 (08:26 -0800)]
am 39760b25: reconcile main tree with open-source eclair

Merge commit '39760b2529e6ef58ab49762703b2ee37fdbd7db5' into eclair-plus-aosp

* commit '39760b2529e6ef58ab49762703b2ee37fdbd7db5':
  android-2.1_r1 snapshot

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:42 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:58 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot

14 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:19:29 +0000 (15:19 -0800)]
android-2.1_r1 snapshot

14 years agoAdd Auto Pairing blacklist, change paths.
Jaikumar Ganesh [Fri, 8 Jan 2010 04:23:55 +0000 (20:23 -0800)]
Add Auto Pairing blacklist, change paths.

14 years agoMerge commit 'goog/eclair-plus-aosp'
Android Git Automerger [Tue, 15 Dec 2009 08:44:04 +0000 (00:44 -0800)]
Merge commit 'goog/eclair-plus-aosp'

14 years agoam 4522d8ef: Add L2CAP_LM_FLUSHABLE to clean Bluez headers.
Nick Pelly [Fri, 11 Dec 2009 00:56:58 +0000 (16:56 -0800)]
am 4522d8ef: Add L2CAP_LM_FLUSHABLE to clean Bluez headers.

Merge commit '4522d8ef8b710ac67752ac51ef2d3405cf1032cd' into eclair-mr2-plus-aosp

* commit '4522d8ef8b710ac67752ac51ef2d3405cf1032cd':
  Add L2CAP_LM_FLUSHABLE to clean Bluez headers.

14 years agoam dc18c419: Update Bluez header for new ACL state debug parameters.
Nick Pelly [Fri, 11 Dec 2009 00:56:55 +0000 (16:56 -0800)]
am dc18c419: Update Bluez header for new ACL state debug parameters.

Merge commit 'dc18c419590935a7bcb180ae932e543defd73e18' into eclair-mr2-plus-aosp

* commit 'dc18c419590935a7bcb180ae932e543defd73e18':
  Update Bluez header for new ACL state debug parameters.

14 years agoam 4522d8ef: Add L2CAP_LM_FLUSHABLE to clean Bluez headers.
Nick Pelly [Wed, 9 Dec 2009 13:37:54 +0000 (05:37 -0800)]
am 4522d8ef: Add L2CAP_LM_FLUSHABLE to clean Bluez headers.

Merge commit '4522d8ef8b710ac67752ac51ef2d3405cf1032cd' into eclair-plus-aosp

* commit '4522d8ef8b710ac67752ac51ef2d3405cf1032cd':
  Add L2CAP_LM_FLUSHABLE to clean Bluez headers.

14 years agoam dc18c419: Update Bluez header for new ACL state debug parameters.
Nick Pelly [Wed, 9 Dec 2009 13:37:51 +0000 (05:37 -0800)]
am dc18c419: Update Bluez header for new ACL state debug parameters.

Merge commit 'dc18c419590935a7bcb180ae932e543defd73e18' into eclair-plus-aosp

* commit 'dc18c419590935a7bcb180ae932e543defd73e18':
  Update Bluez header for new ACL state debug parameters.

14 years agoAdd L2CAP_LM_FLUSHABLE to clean Bluez headers.
Nick Pelly [Wed, 9 Dec 2009 09:22:01 +0000 (01:22 -0800)]
Add L2CAP_LM_FLUSHABLE to clean Bluez headers.

14 years agoUpdate Bluez header for new ACL state debug parameters.
Nick Pelly [Wed, 9 Dec 2009 09:20:37 +0000 (01:20 -0800)]
Update Bluez header for new ACL state debug parameters.

14 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:55:31 +0000 (14:55 -0800)]
merge from open-source master

14 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:06:56 +0000 (14:06 -0800)]
merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD

14 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:07:11 +0000 (12:07 -0800)]
merge from eclair

14 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:23 +0000 (18:46 -0800)]
eclair snapshot

14 years agoAdd support for ba2str and str2ba to bluedroid.
Nick Pelly [Sat, 31 Oct 2009 01:28:49 +0000 (18:28 -0700)]
Add support for ba2str and str2ba to bluedroid.

Add missing structs from hci.h.

Change-Id: I4cebb3136cd832d5b61f4cd70bcf4504238e2531

14 years agoFix low power mode bugs in brcm_patchram_plus.
Nick Pelly [Fri, 30 Oct 2009 05:31:13 +0000 (22:31 -0700)]
Fix low power mode bugs in brcm_patchram_plus.

Enable LPM before setting up HCI network device. Set WAKE and HOST_WAKE
to active high.

Change-Id: I0ec15ec46ce355413f6476d0561f4d281487be33

14 years agoAdd hci struct to clean headers.
Nick Pelly [Fri, 30 Oct 2009 05:30:11 +0000 (22:30 -0700)]
Add hci struct to clean headers.

Change-Id: I47cc7c8dcd86ffab4dc86e2b371bc99d0bb57730

14 years agoRead Bluetooth address from system property ro.bt.bdaddr_path
Nick Pelly [Wed, 21 Oct 2009 17:01:10 +0000 (10:01 -0700)]
Read Bluetooth address from system property ro.bt.bdaddr_path

Change-Id: I1d308818099636354448708c8a7d4c13219f504d

14 years agoCheckpoint of debug tools changes.
Nick Pelly [Tue, 15 Sep 2009 15:22:01 +0000 (08:22 -0700)]
Checkpoint of debug tools changes.

Change-Id: I4a4f00cca3569c62770b323a24b1754873778e91

14 years agoMerge change 23505 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 21:31:18 +0000 (14:31 -0700)]
Merge change 23505 into eclair

* changes:
  Checkin some testing tools. Not compiled by default.

14 years agoCheckin some testing tools. Not compiled by default.
Nick Pelly [Tue, 1 Sep 2009 21:28:08 +0000 (14:28 -0700)]
Checkin some testing tools. Not compiled by default.

14 years agoSwitch from DOS to UNIX format on brcm_patchram_plus.c
Nick Pelly [Fri, 21 Aug 2009 00:18:21 +0000 (17:18 -0700)]
Switch from DOS to UNIX format on brcm_patchram_plus.c

dos2unix brcm_patchram_plus.c. No code change.

14 years agoFix baudrate programming for BCM chipsets.
Nick Pelly [Fri, 21 Aug 2009 00:10:42 +0000 (17:10 -0700)]
Fix baudrate programming for BCM chipsets.

The encoded form was broken for most baud rates. Instead use big endian
explicit baud rate.

14 years agoAdd brcm_patchram_plus from Broadcom.
Nick Pelly [Thu, 20 Aug 2009 22:21:20 +0000 (15:21 -0700)]
Add brcm_patchram_plus from Broadcom.

Used to download firmware to BCM bluetooth chipsets.

14 years agoDo not advertise A2DP sink support.
Nick Pelly [Tue, 18 Aug 2009 22:37:37 +0000 (15:37 -0700)]
Do not advertise A2DP sink support.

14 years agoStrip extra quotes from device name.
Nick Pelly [Tue, 18 Aug 2009 16:52:35 +0000 (09:52 -0700)]
Strip extra quotes from device name.

14 years agoSet class field appropriately.
Jaikumar Ganesh [Mon, 3 Aug 2009 21:31:45 +0000 (14:31 -0700)]
Set class field appropriately.

14 years agoCheckpoint some debug tools. Not built by default.
Nick Pelly [Tue, 23 Jun 2009 01:05:20 +0000 (18:05 -0700)]
Checkpoint some debug tools. Not built by default.

14 years agoAdd ro.product.model for name of the device.
Jaikumar Ganesh [Wed, 10 Jun 2009 21:10:11 +0000 (14:10 -0700)]
Add ro.product.model for name of the device.

Use the system property ro.product.model to pick up the device name.

14 years agoBluez4 changes.
Jaikumar Ganesh [Wed, 6 May 2009 05:27:19 +0000 (22:27 -0700)]
Bluez4 changes.

Rename hcid to bluetoothd, and add the new config files.

14 years agoAdding functionality to tests.
Nick Pelly [Mon, 18 May 2009 20:19:55 +0000 (13:19 -0700)]
Adding functionality to tests.

14 years agoFix pipetest build.
Nick Pelly [Fri, 15 May 2009 18:42:19 +0000 (11:42 -0700)]
Fix pipetest build.

14 years agoMerge change 1786
Android (Google) Code Review [Fri, 15 May 2009 18:32:31 +0000 (11:32 -0700)]
Merge change 1786

* changes:
  Move socktest.

14 years agoMerge change 1785
Android (Google) Code Review [Fri, 15 May 2009 18:31:59 +0000 (11:31 -0700)]
Merge change 1785

* changes:
  Move bttest to new location in system/bluetooth/tools

14 years agoMerge change 1784
Android (Google) Code Review [Fri, 15 May 2009 18:31:37 +0000 (11:31 -0700)]
Merge change 1784

* changes:
  Add pipetest test utility.

14 years agoMove socktest.
Nick Pelly [Fri, 15 May 2009 18:22:24 +0000 (11:22 -0700)]
Move socktest.

14 years agoMove bttest to new location in system/bluetooth/tools
Nick Pelly [Fri, 15 May 2009 18:00:22 +0000 (11:00 -0700)]
Move bttest to new location in system/bluetooth/tools

14 years agoAdd pipetest test utility.
Nick Pelly [Fri, 15 May 2009 17:32:58 +0000 (10:32 -0700)]
Add pipetest test utility.

14 years agoMerge change 1398
Android (Google) Code Review [Wed, 13 May 2009 20:52:49 +0000 (13:52 -0700)]
Merge change 1398

* changes:
  Add utility for testing native code sockets.

14 years agoMerge change 1395
Android (Google) Code Review [Wed, 13 May 2009 20:52:40 +0000 (13:52 -0700)]
Merge change 1395

* changes:
  Add l2cap.h to bluez clean headers.

14 years agoAdd utility for testing native code sockets.
Nick Pelly [Mon, 11 May 2009 21:22:20 +0000 (14:22 -0700)]
Add utility for testing native code sockets.

Signed-off-by: Nick Pelly <npelly@google.com>
14 years agoAdd l2cap.h to bluez clean headers.
Nick Pelly [Mon, 11 May 2009 21:16:53 +0000 (14:16 -0700)]
Add l2cap.h to bluez clean headers.

Auto-generated from bluez using clean-header.py.

Signed-off-by: Nick Pelly <npelly@google.com>
15 years agoMerge donut into master
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:12:43 +0000 (17:12 -0700)]
Merge donut into master

15 years agoMerge branch 'open_source_no_contributions' into google_internal
The Android Open Source Project [Sun, 29 Mar 2009 15:55:16 +0000 (08:55 -0700)]
Merge branch 'open_source_no_contributions' into google_internal

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Fri, 27 Mar 2009 22:31:14 +0000 (15:31 -0700)]
Merge commit 'korg/cupcake'

15 years agoauto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Thu, 19 Mar 2009 00:39:49 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373

15 years agoMerge commit 'remotes/korg/cupcake' into merge
Jean-Baptiste Queru [Tue, 17 Mar 2009 23:08:54 +0000 (16:08 -0700)]
Merge commit 'remotes/korg/cupcake' into merge

15 years agoauto import from //branches/cupcake/...@137197
The Android Open Source Project [Mon, 9 Mar 2009 18:52:15 +0000 (11:52 -0700)]
auto import from //branches/cupcake/...@137197

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:32:54 +0000 (19:32 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:29:04 +0000 (18:29 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 22:04:40 +0000 (14:04 -0800)]
auto import from //depot/cupcake/@132589

15 years agoauto import from //depot/cupcake/@137055
The Android Open Source Project [Tue, 3 Mar 2009 06:54:47 +0000 (22:54 -0800)]
auto import from //depot/cupcake/@137055

15 years agoMerge commit 'remotes/korg/cupcake'
Jean-Baptiste Queru [Fri, 19 Dec 2008 16:06:42 +0000 (08:06 -0800)]
Merge commit 'remotes/korg/cupcake'

Conflicts:
bluedroid/bluetooth.c

15 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:08:07 +0000 (18:08 -0800)]
Code drop from //branches/cupcake/...@124589

15 years agoAdd include path to build libbluedroid.
Nick Pelly [Tue, 25 Nov 2008 00:32:05 +0000 (16:32 -0800)]
Add include path to build libbluedroid.

This fixes the build when BOARD_HAVE_BLUETOOTH := true

Signed-off-by: Nick Pelly <npelly@google.com>
15 years agoUse the rfkill kernel API to power up/down bluetooth.
Nick Pelly [Thu, 13 Nov 2008 07:18:50 +0000 (23:18 -0800)]
Use the rfkill kernel API to power up/down bluetooth.

15 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution