Closed Bug 1133195 Opened 9 years ago Closed 9 years ago

[Shinano][Aries] Using bluetooth blobs makes bluetoothd crashing

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gerard-majax, Assigned: shawnjohnjr)

References

Details

Attachments

(1 file)

> 02-13 16:01:27.439  1418  1420 E bluetoothd: malloc failed: Out of memory
> 02-13 16:01:27.439  1418  1418 E bluetoothd: get_profile_interface(BT_PROFILE_SOCKETS_ID) failed
Can you provide STR?
Flags: needinfo?(lissyx+mozillians)
Push libbt* from backup-aries or backup-shinano, and see everything exploding when enabling bluetoth
Flags: needinfo?(lissyx+mozillians)
and bluetooth.default.so of course
I don't have these devices, can you provide logcat log from the beginning when you enable bluetooth?
Attached file bluetoothd3.log
for BT there is no need to use prebuilt blobs 
code for BT is on 
https://android.googlesource.com/platform/hardware/broadcom/libbt/

you have to get the clean bt patch from 
https://github.com/sonyxperiadev/kernel/commits/aosp/LNX.LA.3.5.1-01110-8x74.0
commits 
0e7d91315c2ccf2fe51bfdac6346d95fa402354f

and user space config
https://github.com/sonyxperiadev/device-sony-shinano/tree/master/bluetooth
(In reply to Alin Jerpelea from comment #6)
> for BT there is no need to use prebuilt blobs 
> code for BT is on 
> https://android.googlesource.com/platform/hardware/broadcom/libbt/
> 
> you have to get the clean bt patch from 
> https://github.com/sonyxperiadev/kernel/commits/aosp/LNX.LA.3.5.1-01110-8x74.
> 0
> commits 
> 0e7d91315c2ccf2fe51bfdac6346d95fa402354f
> 
> and user space config
> https://github.com/sonyxperiadev/device-sony-shinano/tree/master/bluetooth

As far as I know, the bug report wants to bring FM radio feature (it seems that FM driver is part of bluedroid stack?), so this is why he is trying to put blob. Actually our build can work fine with Aries. Do you have any idea regarding FM driver?
AOSP does not support FM radio yet so no work has been done in this area
I don't think we can do much about the blobs now.
Flags: needinfo?(lissyx+mozillians)
We should still investigate to make use of code that is closer to the platform.
Assignee: lissyx+mozillians → shuang
Flags: needinfo?(lissyx+mozillians) → needinfo?(shuang)
(In reply to Alexandre LISSY :gerard-majax from comment #10)
> We should still investigate to make use of code that is closer to the
> platform.

If you change bluetooth backend and load Bluetooth HAL library by in-gecko way, that should work for AOSP HAL interface library (without bluetoothd). I remember you said you tried in-gecko and Bluetooth didn't work, so I'm not sure why actual changed in their blobs.
Flags: needinfo?(shuang)
if you use my mentioned commits then you don´t need any blob
Blocks: 1143472
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: