Snowball: Android: Bluetooth Turn ON Fails in userspace

Reported by Abhishek Paliwal on 2011-09-27
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
High
Mathieu Poirier
Linaro Android
High
Kejun ZHOU
Linaro Ubuntu
Undecided
Unassigned

Bug Description

Description:
==========
Turn ON Bluetooth (from Settings->Wireless and Networks->Bluetooth)
BT didn't get switched ON.

Reproducible:
===========
Yes (5/5 times)

Serial Logs:
====
D/AndroidRuntime( 2096):
D/AndroidRuntime( 2096): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 2096): CheckJNI is ON
D/dalvikvm( 2096): creating instr width table
I/ethernet( 2096): Loading ethernet jni class
D/AndroidRuntime( 2096): Calling main entry com.android.commands.input.Input
I/SendKeyEvent( 2096): 23
D/BluetoothService( 1518): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 1633): Received android.bluetooth.adapter.action.STATE_CHANGED
D/AndroidRuntime( 2096): Shutting down VM
D/BluetoothService( 1518): Bluetooth state 11 -> 10
I/AndroidRuntime( 2096): NOTE: attach of thread 'Binder Thread #3' failed
D/dalvikvm( 2096): GC_CONCURRENT freed 98K, 72% free 289K/1024K, external 0K/0K, paused 0ms+0ms
D/jdwp ( 2096): adbd disconnected
# V/BluetoothEventRedirector( 1633): Received android.bluetooth.adapter.action.STATE_CHANGED

Steps:
==========
1. Bootup DUT
2. Set Settings->Wireless and Networks->Bluetooth , select Turn ON
Observation: BT never gets turned ON ,

Hardware:
==========
Snowball: V5
HDMI Out to TV - via HDMI cable
USB-Serial Logging

Software:
==========
https://android-build.linaro.org/builds/~linaro-android/staging-snowball-11.09-release/
build 1

affects: linaro → linaro-android
Fathi Boudra (fboudra) on 2011-09-27
tags: removed: bluetooth linaro-android
Zach Pfeffer (pfefferz) wrote :

Fathi, was there something wrong with the tags? Did I use them in the wrong way?

On 4 October 2011 00:33, Zach Pfeffer <email address hidden> wrote:
> Fathi, was there something wrong with the tags? Did I use them in the
> wrong way?

Hi Zach,

I remove "bluetooth" because it isn't a valid tag and "linaro-android"
because it's redundant as the bug is reported against linaro-android project.

I cleaned up several tags used by Android Team as it's often the summary.
For reference, the Linaro tags are available on the wiki:
https://wiki.linaro.org/Process/Bugs/Tags

If you want to add new tags because it helps you to do a better triaging,
let us know and we can update the process.

Bt is not enabled on Snowball - we don't have a driver and there is a HW issue on V3 boards.

Changed in linaro-landing-team-ste:
status: New → Confirmed
Changed in linaro-android:
status: New → Confirmed
Fathi Boudra (fboudra) on 2011-10-05
Changed in linaro-android:
status: Confirmed → Triaged
importance: Undecided → Medium

Same issue is observed with iMX53 Hardware(Rev G) with build:
https://android-build.linaro.org/builds/~linaro-android/stage-imx53-11.10-release/

Logcat snippet:
-----------Logs------------------

#
# D/BluetoothService( 70): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 594): Received android.bluetooth.adapter.action.STATE_CHANGED
D/BluetoothService( 70): Bluetooth state 11 -> 10
V/BluetoothEventRedirector( 594): Received android.bluetooth.adapter.action.STATE_CHANGED
D/dhcpcd ( 110): sending DHCP_DISCOVER with xid 0xd3c514bb, next in 31.50 seconds

-----------Logs---------------------

summary: - Snowball: Bluetooth Turn ON Fails.
+ iMX53/Snowball: Bluetooth Turn ON Fails.

Issue still observed in build:
https://android-build.linaro.org/builds/~linaro-android/staging-snowball-11.10-release/
build 1

Updating Bug thread to have latest info on this bug.

iMX53 doesn't have bluetooth hardware, so this is expected

Lee Jones (lag) wrote :

Depends on resolution of bug #828979.

tags: added: bluetooth linaro-ubuntu lt-snowball
Frans Gifford (fgiff) on 2011-10-27
tags: added: linaro-android
Frans Gifford (fgiff) on 2011-10-27
tags: added: quickstart-staging
tags: added: snowball-landing snowball-staging
tags: added: bt-headset
Anmar Oueja (anmar) on 2011-10-27
Changed in linaro-landing-team-ste:
importance: Undecided → Low
importance: Low → Medium
milestone: none → 2011.11
assignee: nobody → Mathieu Poirier (mathieu.poirier)
Eric Miao (eric.y.miao) wrote :

QuickStart doesn't come with bluetooth. Re-open this if it's still an issue with an external bluetooth device (e.g. USB BT dongle)

Changed in linaro-landing-team-freescale:
status: New → Incomplete
status: Incomplete → Invalid
summary: - iMX53/Snowball: Bluetooth Turn ON Fails.
+ Snowball: Bluetooth Turn ON Fails.
Anmar Oueja (anmar) on 2011-11-23
Changed in linaro-landing-team-ste:
milestone: 2011.11 → 2011.12

"BT settings" UI option is not available under Settings->Wireless and networks in ICS release:
https://android-build.linaro.org/builds/~linaro-android/staging-snowball-11.12-release/#build=1

Riku Voipio (riku-voipio) wrote :

bluetooth appeart to work in 11.12

Anmar Oueja (anmar) wrote :

Abishack: Can you please confirm that you can setup BT using command line but not the Android UI? If so, we need to update the bug title to reflect that.

Changed in igloocommunity:
status: New → Confirmed
importance: Undecided → Medium
Changed in linaro-landing-team-ste:
milestone: 2011.12 → none
no longer affects: linaro-landing-team-ste
Zach Pfeffer (pfefferz) on 2012-01-17
Changed in linaro-android:
assignee: nobody → Kejun ZHOU (kejun-zhou)
milestone: none → 12.01
Kejun ZHOU (kejun-zhou) on 2012-01-18
Changed in linaro-android:
status: Triaged → In Progress
Kejun ZHOU (kejun-zhou) on 2012-01-20
Changed in linaro-android:
status: In Progress → Fix Committed
Anmar Oueja (anmar) on 2012-01-23
Changed in igloocommunity:
assignee: nobody → Mathieu Poirier (mathieu.poirier)
Changed in linaro-android:
milestone: 12.01 → 12.02
Tony Mansson (tony-mansson) wrote :

Addidtional information from testing landing-snowball-12.01-release/#build=5:

It is possible to get BT to start, become visible, scan and pair with a bit of fiddling, i.e. turning on and off wifi and BT and reboot. File transfer may have worked too but not confirmed. When BT works it seems to work well and concurrent with wifi.

However, on a fresh SD-card this bug is still valid as described. Seen 2 out of 2 times. Attaching a log from when the bug appeared.

Changed in linaro-android:
status: Fix Committed → Confirmed
Tony Mansson (tony-mansson) wrote :

Here's the log file.

Zach Pfeffer (pfefferz) on 2012-01-30
Changed in linaro-android:
importance: Medium → High
Changed in igloocommunity:
importance: Medium → High
milestone: none → 2012.02
Changed in igloocommunity:
status: Confirmed → In Progress
Kejun ZHOU (kejun-zhou) on 2012-02-15
Changed in linaro-android:
status: Confirmed → In Progress
Zach Pfeffer (pfefferz) on 2012-02-20
Changed in linaro-android:
milestone: 12.02 → 12.03
Anmar Oueja (anmar) on 2012-02-20
Changed in igloocommunity:
milestone: 2012.02 → 2012.03
Kejun ZHOU (kejun-zhou) wrote :

Hi All,
These are two patches for this issue.

One is
http://review.android.git.linaro.org/1553

The other is the patch file in the attachment.

BRs,

Kejun Zhou

Changed in linaro-android:
status: In Progress → Fix Committed
Changed in igloocommunity:
assignee: Mathieu Poirier (mathieu.poirier) → Jayeeta Bandyopadhyay (jayeeta)
Changed in igloocommunity:
assignee: Jayeeta Bandyopadhyay (jayeeta) → Mathieu Poirier (mathieu.poirier)
Lee Jones (lag) on 2012-03-21
Changed in linaro-ubuntu:
status: New → Invalid
summary: - Snowball: Bluetooth Turn ON Fails.
+ Snowball: Android: Bluetooth Turn ON Fails in userspace

This problem should be fixed with the latest patches and 3.3. kernel. Thanks to everyone for their contribution on this.

Changed in igloocommunity:
status: In Progress → Fix Committed
Zach Pfeffer (pfefferz) wrote :

Released in 12.03.

Changed in linaro-android:
status: Fix Committed → Fix Released
Changed in igloocommunity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers