Bug 103869 - module-card-restore does not restore A2DB profile (timeout?)
Summary: module-card-restore does not restore A2DB profile (timeout?)
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 19:07 UTC by public
Modified: 2018-07-30 10:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
relevant part of log (2.69 KB, text/plain)
2017-11-23 19:07 UTC, public
Details
3x revelant part of log with times (9.58 KB, text/plain)
2017-12-13 22:17 UTC, public
Details

Description public 2017-11-23 19:07:24 UTC
Created attachment 135683 [details]
relevant part of log

1. Connect bluetooth headset (it's a SoundMAGIC E10BT)
2. Select A2DB profile
3. Disconnect headset
4. Turn headset off and on again
5. It connects automatically but the profile in PulseAudio is "off".
(6. Selecting A2DB manually works.)

module-card-restore is loaded.

See the attached log. I suspect the reason is:
"Timeout expired, and device /org/bluez/hci0/dev_78_44_05_35_51_B8 still has disconnected profiles: a2dp_sink".
Comment 1 Tanu Kaskinen 2017-12-12 04:45:30 UTC
Sorry for the delayed reply...

Can you get the same log with timestamps? To get timestamps, pass --log-time on the command line when starting pulseaudio.

It seems that A2DP gets connected soon after module-bluez5-device is loaded. If the delay is small, maybe we can simply increase the timeout when waiting for all profiles to get connected.
Comment 2 public 2017-12-13 22:17:34 UTC
Created attachment 136157 [details]
3x revelant part of log with times
Comment 3 GitLab Migration User 2018-07-30 10:34:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/513.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.