Serial port spammed with logs from CG2900 driver

Bug #997987 reported by Abhishek Paliwal
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
Low
Unassigned
Linaro Android
Won't Fix
Undecided
Unassigned

Bug Description

Description:
==========
Serial port is full of logs from cg2900 driver.
Error message: Couldn't open BT ACL channel

Logs seen repeating following messages:
--------
I/bluedroid( 1571): bt_enable: ret: -1, errno: 5
[ 1072.793640] Bluetooth: Open ST-Ericsson CG2900 driver
[ 1072.798706] cg2900-uart cg2900-uart.0: Set chip power: ENABLE
[ 1072.970458] cg2900-uart cg2900-uart.0: Baud rate changed to 3000000 baud
[ 1072.980133] cg2900-btacl cg2900-btacl.0: Couldn't get patch file (-2)
[ 1072.986755] cg2900-uart cg2900-uart.0: Set chip power: DISABLE
[ 1073.050323] cg2900-uart cg2900-uart.0: Set chip power: ENABLE
[ 1073.700408] cg2900-uart cg2900-uart.0: Set chip power: DISABLE
[ 1073.706542] cg2900-btacl cg2900-btacl.0: CG2900 init failed
[ 1073.712158] cg2900-uart cg2900-uart.0: Set chip power: DISABLE
[ 1073.718017] Bluetooth: Couldn't open BT ACL channel (-5)
I/bluedroid( 1571): bt_enable: ret: -1, errno: 5
--------

Reproducible:
===========
Yes, 5/5

IMPACT:
========
Couldn't open BT ACL channel - Data transmission over BT will be impacted.
Another issue I see here is USB functionalty is broken on this build(https://bugs.launchpad.net/igloocommunity/+bug/997983)

Steps:
==========
1. Bootup sd card android image for
https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob/#build=279
Observe serial logs
Issue: Never ending Logs from cg2900 module observed.

Hardware:
==========
Snowball: V11
Other setup:
USB-serial port logging
HDMI-HDMI connection to Acer Monitor.

Software:
==========
https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob/#build=279

Logs:
------
Serial logs attached.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Changed in igloocommunity:
importance: Undecided → Low
Revision history for this message
Mathieu Poirier (mathieu.poirier-deactivatedaccount) wrote : Re: [Bug 997987] Re: Serial port spammed with logs from CG2900 driver

On 12-05-11 04:07 AM, Abhishek Paliwal wrote:
> ** Attachment added: "serial logs"
> https://bugs.launchpad.net/bugs/997987/+attachment/3141250/+files/snowball_cg2900_logs.txt
>
> ** Also affects: linaro-android
> Importance: Undecided
> Status: New
>

This is caused by the 3.3.1 kernel code looking for different file names
than 3.3.0. This situation can be fixed by either changing the
filenames or changing the kernel code.

Up to now I've been doing the latter but this may not be the best
approach as the internal STE repo use the notation currently sought
after by the 3.3.1 kernel.

Revision history for this message
Jayeeta Bandyopadhyay (jayeeta) wrote :

The issue is fixed with changing file names in vendor tarball.

Changed in igloocommunity:
milestone: none → 2012.05
status: New → Fix Committed
Changed in igloocommunity:
status: Fix Committed → Fix Released
Revision history for this message
Ranjith (amrk-ran) wrote :

Hi
Iam working on snowbal with linux generic kernel which i have downloaded from the igloo-kernel.Ihave cross compiled the kernel and when i try to run bluetooth hciattach -a 23 -s -n 115200 /dev/ttyAMA0 cg2900 115200 flow its is done successfull when i tried to hciconfig hci0 up .it is saying so such device.if any one has worked on this can you help to bring up the bluetooth.
Thanks in advance
Ranjith

Revision history for this message
vishal (vishalbhoj) wrote :

snowball is no more supported.

Changed in linaro-android:
status: New → Won't Fix
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

Bug attachments

Remote bug watches

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