Closed
Bug 1191265
Opened 10 years ago
Closed 8 years ago
Restart of bluetoothd failed
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gerard-majax, Unassigned)
Details
Attachments
(1 file)
|
164.27 KB,
text/x-log
|
Details |
line 1518 and below in the log
Comment 1•10 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #0)
> Created attachment 8643623 [details]
> bt_scorpion.log
>
> line 1518 and below in the log
In line 1517, Bluedroid kills bluetoothd because an HCI command fails. After that, the restart and reconnect fails.
The log shows preload_wait_timeout, which means libbt cannot get HCI response even restart bluetooth daemon.
I'm not sure the problem is related to UART driver or we need to reset bluetooth chipset via RX/TX pin.
08-05 12:38:27.314 1313 1320 E bt-btif : ...preload_wait_timeout (retried:0/max-retry:0)...
08-05 12:38:27.316 1313 1323 D bt_userial: RX termination
08-05 12:38:27.316 1313 1323 W bt_userial: select_read return size <=0:-1, exiting userial_read_thread
08-05 12:38:27.316 1313 1323 D bt_userial: Leaving userial_read_thread()
08-05 12:38:27.309 1316 1316 I BTIF : type=1400 audit(0.0:32): avc: denied { ioctl } for path="/dev/ttyHS0" dev="tmpfs" ino=10629 scontext=u:r:bluetoothd:s0 tcontext=u:object_r:serial_device:s0 tclass=chr_file permissive=1
08-05 12:38:27.317 1313 1316 I bt_userial_vendor: device fd = 22 close
08-05 12:38:27.406 1313 1319 W bt-btu : btu_task start abort!
08-05 12:38:27.406 1313 1319 I GKI_LINUX: gki_task task_id=0 [BTU] terminating
08-05 12:38:27.407 1313 1316 I GKI_LINUX: GKI_exit_task 0 done
08-05 12:38:27.407 1313 1316 I GKI_LINUX: GKI_shutdown(): task [BTU] terminated
08-05 12:38:27.407 1313 1316 I GKI_LINUX: GKI_exit_task 1 done
08-05 12:38:27.407 1313 1317 I GKI_LINUX: gki_task task_id=2 [A2DP-MEDIA] terminating
08-05 12:38:27.407 1313 1316 I GKI_LINUX: GKI_exit_task 2 done
08-05 12:38:27.408 1313 1316 I GKI_LINUX: gki_task task_id=1 [BTIF] terminating
08-05 12:38:27.408 338 338 I GeckoBluetooth: AdapterStateChangedNotification: BT_STATE: 0
Is it specific to aries-l or aries-kk? Any STR you can share?
Flags: needinfo?(lissyx+mozillians)
| Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Shawn Huang [:shawnjohnjr] from comment #3)
> Is it specific to aries-l or aries-kk? Any STR you can share?
That's the fun thing, it's on Z3 Tablet Compact, which has the same bluetooth chip as far as I can say than Z3 Compact. It's on Lollipop. STR is just "Enable bluetooth".
Flags: needinfo?(lissyx+mozillians)
Comment 5•10 years ago
|
||
Do you need extra firmware?
Do you build libbt-vendor.so from libbt or use proprietary blob file libbt-vendor.so? We used to have problems when porting z3c compact on lollipop. Maybe z3 tablet compact uses different configuration '$(BOARD_BLUEDROID_VENDOR_CONF)' than z3c? Maybe vnd_generic.txt configuration is different.
https://github.com/SlimRoms/hardware_broadcom_libbt/commit/6b26098e2ae78386bd6f317d4efe4b35428540ce
Comment 7•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•