Closed
Bug 1163552
Opened 11 years ago
Closed 11 years ago
[aries-l] Porting Bluetooth for aries-l
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: seinlin, Assigned: shawnjohnjr)
References
Details
Attachments
(3 files, 1 obsolete file)
|
94 bytes,
patch
|
Details | Diff | Splinter Review | |
|
83.19 KB,
application/octet-stream
|
Details | |
|
40.98 KB,
text/plain
|
Details |
E/bluetoothd( 3026): hw_get_module failed: Unknown error -2
I/GeckoBluetooth( 325): OnError: BluetoothInterface::Init failed: 1
| Reporter | ||
Updated•11 years ago
|
Component: Bluetooth → GonkIntegration
| Assignee | ||
Comment 1•11 years ago
|
||
1. Build config is missing in external/bluetooth/bluedroid, we should add build targets in BoardConfig.mk. I will open an another bug.
2. /system/vendor/lib/libbt-vendor.so vendor library is missing. We should have backup script to install this library.
| Assignee | ||
Comment 2•11 years ago
|
||
Regarding item 2, seinlin would you help to update the script?
Flags: needinfo?(kli)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → shuang
| Assignee | ||
Updated•11 years ago
|
Summary: [aries-l] Bluetooth does not work in aries-l → [aries-l] Porting Bluetooth for aries-l
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8606144 -
Flags: review?(kli)
| Assignee | ||
Updated•11 years ago
|
Attachment #8606144 -
Attachment is obsolete: true
Attachment #8606144 -
Flags: review?(kli)
| Assignee | ||
Comment 4•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Attachment #8606145 -
Attachment is patch: true
| Reporter | ||
Comment 5•11 years ago
|
||
Shawn, Thanks! I merged your PR into my wip. Let's leave this bug open till every thing is merged into mozilla-b2g.
Flags: needinfo?(kli)
| Reporter | ||
Comment 6•11 years ago
|
||
Shawn, as per bug 1163550 comment 31, do you have any idea?
Flags: needinfo?(shuang)
| Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Kai-Zhen Li [:kli][:seinlin] from comment #6)
> Shawn, as per bug 1163550 comment 31, do you have any idea?
Not sure if they have any of proprietary code. But if they confirmed we can build ourselves, i think we can simply fetch libbt from git and build it directly.
Flags: needinfo?(shuang)
| Reporter | ||
Comment 8•11 years ago
|
||
Shawn, Could you help to check the error as in bug 1163550 comment 56? Thanks!
| Assignee | ||
Comment 9•11 years ago
|
||
Per bug 1163550 comment 70, when pairing I fetched snoop log and I did not find any request to pair.
748 Command 0x0402 Inquiry_Cancel 0 4 00:00:00.326142 2015/6/10 上午 03:52:03.964965
749 Event 0x0402 Inquiry_Cancel Command Complete Success 4 7 00:00:00.005592 2015/6/10 上午 03:52:03.970557
750 Command 0x200c HCI_LE_Set_Scan_Enable 2 6 00:00:00.000294 2015/6/10 上午 03:52:03.970851
751 Event 0x200c HCI_LE_Set_Scan_Enable Command Complete Success 4 7 00:00:00.002928 2015/6/10 上午 03:52:03.973779
752 Command 0x200b HCI_LE_Set_Scan_Parameters 7 11 00:00:00.000170 2015/6/10 上午 03:52:03.973949
753 Event 0x200b HCI_LE_Set_Scan_Parameters Command Complete Success 4 7 00:00:00.002365 2015/6/10 上午 03:52:03.976314
754 Command 0x0c12 Delete_Stored_Link_Key 7 11 00:00:00.000150 2015/6/10 上午 03:52:03.976464
755 Event 0x0c12 Delete_Stored_Link_Key Command Complete Success 6 9 00:00:00.000574 2015/6/10 上午 03:52:03.977038
756 Command 0x0419 Remote_Name_Request 10 14 00:00:00.000148 2015/6/10 上午 03:52:03.977186
757 Event 0x0419 Remote_Name_Request Command Status Success 4 7 00:00:00.000619 2015/6/10 上午 03:52:03.977805
758 Command 0x200c HCI_LE_Set_Scan_Enable 2 6 00:00:07.702901 2015/6/10 上午 03:52:11.680706
759 Event 0x200c HCI_LE_Set_Scan_Enable Command Complete Command Disallowed 4 7 00:00:00.006789 2015/6/10 上午 03:52:11.687495
760 Command 0x200b HCI_LE_Set_Scan_Parameters 7 11 00:00:00.001176 2015/6/10 上午 03:52:11.688671
761 Event 0x200b HCI_LE_Set_Scan_Parameters Command Complete Success 4 7 00:00:00.002557 2015/6/10 上午 03:52:11.691228
| Assignee | ||
Comment 10•11 years ago
|
||
| Assignee | ||
Comment 11•11 years ago
|
||
06-10 11:50:11.667 E/BTLD ( 1451): ######################################################################
06-10 11:50:11.667 E/BTLD ( 1451): #
06-10 11:50:11.667 E/BTLD ( 1451): # WARNING : BTU HCI(id=0) command timeout. opcode=0x200c
06-10 11:50:11.667 E/BTLD ( 1451): #
06-10 11:50:11.667 E/BTLD ( 1451): ######################################################################
06-10 11:50:11.667 W/bt-hci ( 1451): HCI Cmd timeout counter 1
06-10 11:50:11.667 D/bt-btif ( 1451): bta_sys_hw_btm_cback was called with parameter: 2
| Assignee | ||
Comment 12•11 years ago
|
||
I followed instruction "http://developer.sonymobile.com/knowledge-base/open-source/open-devices/aosp-build-instructions/how-to-build-aosp-lollipop-for-unlocked-xperia-devices/", I can see the same problem. Pairing timeout happens on aosp-lollipop version.
| Assignee | ||
Comment 13•11 years ago
|
||
Hi :seinlin
Do you know is there any other chance we can verify z3c bluetooth function for L?
Flags: needinfo?(seinlin.maung+bugs)
| Assignee | ||
Comment 14•11 years ago
|
||
The same problem I can observe on aosp-lollipop.
04-27 18:34:19.986 I/bt-btm ( 3189): btm_sec_pairing_timeout() State: 1 Flags: 1
04-27 18:34:19.986 W/bt-btm ( 3189): btm_sec_pairing_timeout() not processed state: 1
| Reporter | ||
Comment 15•11 years ago
|
||
(In reply to Shawn Huang [:shawnjohnjr] from comment #13)
> Hi :seinlin
> Do you know is there any other chance we can verify z3c bluetooth function
> for L?
Do you mean aosp L? If so sony developer site provide enough information to build an aosp ROM.
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/aosp-build-instructions/how-to-build-aosp-lollipop-for-unlocked-xperia-devices/
Flags: needinfo?(seinlin.maung+bugs)
| Assignee | ||
Comment 16•11 years ago
|
||
(In reply to Kai-Zhen Li [:kli][:seinlin] from comment #15)
> (In reply to Shawn Huang [:shawnjohnjr] from comment #13)
> > Hi :seinlin
> > Do you know is there any other chance we can verify z3c bluetooth function
> > for L?
>
> Do you mean aosp L? If so sony developer site provide enough information to
> build an aosp ROM.
>
> http://developer.sonymobile.com/knowledge-base/open-source/open-devices/aosp-
> build-instructions/how-to-build-aosp-lollipop-for-unlocked-xperia-devices/
Nope. I mean official build from sony. It looks like official z3c Android 5.0 writes into different proc nodes for LPM mode, and it seems that I can't reference official z3c Android 5.0 build now, it's different from z3c aosp lollipop codebase (v5.1).
| Assignee | ||
Comment 17•11 years ago
|
||
Based on discussion in bug 1163550 Comment 86, we need to patch vnd_buildcfg.mk.
https://github.com/SlimRoms/hardware_broadcom_libbt/commit/6b26098e2ae78386bd6f317d4efe4b35428540ce
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•