[4.2.0.21] [Xperia X] Fragile bluetooth stack

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.2.0.21 (Verla)
HARDWARE (XA2, X10, X10 II, …): Xperia X
UI LANGUAGE: EN
REGRESSION: (compared to previous public release: Yes, No, ?): no

DESCRIPTION:

After disconnecting from BT headset (Sangean WR-7 speaker) and disabled BT it’s not possible to re-enable BT unless reloading bluetooth related services.

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. Pair BT headset
  2. listen music
  3. disable BT

EXPECTED RESULT:

After disabling one should be able to enable BT. Also utilities could have tool for restating BT services.

ACTUAL RESULT:

BT does not start

ADDITIONAL INFORMATION:

[Wed Sep 15 01:00:21 2021] afe_callback: cmd = 0x100ef returned error = 0x2
[Wed Sep 15 01:00:21 2021] afe_apr_send_pkt: DSP returned error[ADSP_EBADPARAM]
[Wed Sep 15 01:00:21 2021] afe_send_cal_block: AFE cal for port 0x4000 failed -22
[Wed Sep 15 01:00:49 2021] msm_hs_shutdown(): removing extra vote
[Wed Sep 15 01:00:49 2021] msm_hs_shutdown: Client vote on, forcing to 0
[Wed Sep 15 01:00:48 2021] Bluetooth: pK-error
[Wed Sep 15 01:00:57 2021] Bluetooth: pK-error
[Wed Sep 15 01:00:59 2021] Bluetooth: pK-error
[Wed Sep 15 01:01:01 2021] Bluetooth: pK-error
[Wed Sep 15 01:01:03 2021] Bluetooth: pK-error
[Wed Sep 15 01:01:05 2021] Bluetooth: pK-error
[Wed Sep 15 01:01:07 2021] Bluetooth: pK-error
[Wed Sep 15 01:02:32 2021] msm_hs_request_clock_off(): ioctl count -ve, client check voting
[Wed Sep 15 01:02:32 2021] Bluetooth: hsuart_power: Turning UART clock off failed (-1)
[Wed Sep 15 01:02:32 2021] bluesleep may not be used
[Wed Sep 15 01:03:42 2021] Bluetooth: pK-error
[Wed Sep 15 01:03:43 2021] msm_hs_shutdown(): removing extra vote
[Wed Sep 15 01:03:43 2021] msm_hs_shutdown: Client vote on, forcing to 0
[Wed Sep 15 01:03:52 2021] msm_hs_request_clock_off(): ioctl count -ve, client check voting
[Wed Sep 15 01:03:52 2021] Bluetooth: hsuart_power: Turning UART clock off failed (-1)
[Wed Sep 15 01:04:36 2021] BUG: scheduling while atomic: kworker/1:3/1400/0x00000002
[Wed Sep 15 01:04:36 2021] CPU: 1 PID: 1400 Comm: kworker/1:3 Tainted: G W 3.10.84 #1
[Wed Sep 15 01:04:36 2021] Workqueue: events 0xffffffc00082d810
[Wed Sep 15 01:04:36 2021] Call trace:
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00008762c
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0000878ac
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000c3ccd8
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0000c0c54
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000c41b58
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000c42234
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000c41364
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000c419bc
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000c42348
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000461ee8
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000461fd4
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0008bc308
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0008bd35c
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0008be25c
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0008be510
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0008b8f2c
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0004d38dc
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0004d393c
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0004d4d14
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0004d67ac
[Wed Sep 15 01:04:36 2021] [] 0xffffffc000537254
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00053b818
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00053b8ac
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00053bfd0
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00053c854
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0004d4e14
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0004d68dc
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00082ebe4
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00082f0c4
[Wed Sep 15 01:04:36 2021] [] 0xffffffc00082d884
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0000b3c10
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0000b3f18
[Wed Sep 15 01:04:36 2021] [] 0xffffffc0000b9d38

3 Likes

It’s been the case for almost a year unfortunately. For some it started in 3.4: [3.4.0 onwards] Bluetooth turning on doesn't work
For others like me it came with 4.0: [release notes] Koli 4.0.1 - #183 by laustela

Jolla made me use wired headsets again :sweat_smile:
Can you rather post on the original topic to up it again?

2 Likes

Ah, yes indeed this is duplicate. I’ll remove my bug report.

2 Likes