Snowball: Android: Bluetooth Turn ON Fails in userspace

Bug #860588 reported by Abhishek Paliwal
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
High
Unassigned
Linaro Android
Fix Released
High
Kejun ZHOU
Linaro Ubuntu
Invalid
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

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
affects: linaro → linaro-android
Fathi Boudra (fboudra)
tags: removed: bluetooth linaro-android
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

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

Revision history for this message
Fathi Boudra (fboudra) wrote : Re: [Bug 860588] Re: Snowball: Bluetooth Turn ON Fails.

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.

Revision history for this message
Mathieu Poirier (mathieu.poirier-deactivatedaccount) wrote : Re: Snowball: Bluetooth Turn ON Fails.

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)
Changed in linaro-android:
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

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.
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote : Re: 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.

Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

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

Revision history for this message
Lee Jones (lag) wrote :

Depends on resolution of bug #828979.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :
tags: added: bluetooth linaro-ubuntu lt-snowball
Frans Gifford (fgiff)
tags: added: linaro-android
Frans Gifford (fgiff)
tags: added: quickstart-staging
tags: added: snowball-landing snowball-staging
tags: added: bt-headset
Anmar Oueja (anmar)
Changed in linaro-landing-team-ste:
importance: Undecided → Low
importance: Low → Medium
milestone: none → 2011.11
assignee: nobody → Mathieu Poirier (mathieu.poirier)
Revision history for this message
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.
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote : Re: Snowball: Bluetooth Turn ON Fails.
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Anmar Oueja (anmar)
Changed in linaro-landing-team-ste:
milestone: 2011.11 → 2011.12
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

"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

Revision history for this message
Riku Voipio (riku-voipio) wrote :

bluetooth appeart to work in 11.12

Revision history for this message
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)
Changed in linaro-android:
assignee: nobody → Kejun ZHOU (kejun-zhou)
milestone: none → 12.01
Kejun ZHOU (kejun-zhou)
Changed in linaro-android:
status: Triaged → In Progress
Kejun ZHOU (kejun-zhou)
Changed in linaro-android:
status: In Progress → Fix Committed
Anmar Oueja (anmar)
Changed in igloocommunity:
assignee: nobody → Mathieu Poirier (mathieu.poirier)
Changed in linaro-android:
milestone: 12.01 → 12.02
Revision history for this message
Tony Mansson (tony-mansson) wrote :
Revision history for this message
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
Revision history for this message
Tony Mansson (tony-mansson) wrote :

Here's the log file.

Zach Pfeffer (pfefferz)
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)
Changed in linaro-android:
status: Confirmed → In Progress
Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.02 → 12.03
Anmar Oueja (anmar)
Changed in igloocommunity:
milestone: 2012.02 → 2012.03
Revision history for this message
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)
Changed in linaro-ubuntu:
status: New → Invalid
summary: - Snowball: Bluetooth Turn ON Fails.
+ Snowball: Android: Bluetooth Turn ON Fails in userspace
Revision history for this message
Mathieu Poirier (mathieu.poirier-deactivatedaccount) wrote :

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
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.