[pulseaudio-discuss] don't stop_stream_fd when suspending sink/source in bluetooth-device module

Bu, Long long.bu at intel.com
Tue Jun 30 22:50:20 PDT 2009


Thanks for your comments.

I was using A2DP. Attached are the hcidump logs with Motorola HT800.
Bt_stop_stream.log is with module-idle-on-suspended loaded.
Bt_stop_stream_nostop.log is without module-idle-on-suspended loaded.

Any clue?
Thanks.

Cheers.
Long

>-----Original Message-----
>From: pulseaudio-discuss-bounces at mail.0pointer.de
>[mailto:pulseaudio-discuss-bounces at mail.0pointer.de] On Behalf Of Johan
>Hedberg
>Sent: 2009年6月30日 22:35
>To: General PulseAudio Discussion
>Subject: Re: [pulseaudio-discuss] don't stop_stream_fd when suspending
>sink/source in bluetooth-device module
>
>Hi,
>
>On Thu, Jun 25, 2009, Bu, Long wrote:
>> Now the suspend call back will call stop_stream_fd(u) which will send
>> BT_STOP_STREAM command. This eventually causes some connected devices(I
>> tested with DELL BH200 and Motorola HT800) to disconnect.(BlueZ asks
>> connected devices to disconnect audio link only but some devices
>> actually disconnect the RFComm link also). And you can not use the
>> Bluetooth anymore without reconnecting it. The module-bluetooth-device
>> also gets unloaded
>
>Could you attach a hcidump with timestamps whens this happens? After how
>long time do the headsets disconnect? As Lennart just mentioned closing
>SCO when there's no audio is the desired behavior and we've gotten
>complaints from headset and car kit manufacturers (at Bluetooth UnPlugFest
>events) when we've been sending silence instead.
>
>Are you using HFP or HSP btw?
>
>Johan
>_______________________________________________
>pulseaudio-discuss mailing list
>pulseaudio-discuss at mail.0pointer.de
>https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bt_stop_stream.log
Type: application/octet-stream
Size: 56165 bytes
Desc: bt_stop_stream.log
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20090701/02f665a5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bt_stop_stream_nostop.log
Type: application/octet-stream
Size: 382209 bytes
Desc: bt_stop_stream_nostop.log
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20090701/02f665a5/attachment-0001.obj>


More information about the pulseaudio-discuss mailing list