Return-Path: Message-ID: <492D1F90.9070706@gmail.com> Date: Wed, 26 Nov 2008 18:06:08 +0800 From: Sam Lin MIME-Version: 1.0 To: Luiz Augusto von Dentz CC: Johan Hedberg , BlueZ development Subject: Re: HBH-PV270 headset get locked References: <492B7A98.90603@gmail.com> <492BB3F2.3050005@gmail.com> <2d5a2c100811250634vd53daafvce6791992a3c621@mail.gmail.com> In-Reply-To: <2d5a2c100811250634vd53daafvce6791992a3c621@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 1. so do you suggest to just remove the client->dev = NULL statement in headset_setup_complete() and headset_resume_complete() ? 2. for the file descriptor sending issue have you any suggestion ? (a hint to trigger this is repeatly run aplay, what i found is while finishing aplay the hcidump still takes some time to make traffics settle down (about 3-7 secs), if i repeat aplay in this period it's easy to trigger the problem) Thanks, Sam Lin Luiz Augusto von Dentz 提到: > yep, client->dev = NULL seems to be a bug, although by looking the log > it seems there is another problem, the sco connection doesn't succeed > but it still attempt to send the file descriptor. The logic on a2dp is > a little different, since it doesn't start the stream on > BT_SETCONFIGURATION_REQ and unlock the sep in any possible error. > > Btw, I couldn't reproduce the problem here by using aplay, arecord or > even both together. > >