public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Patryk Zawadzki" <patrys@pld-linux.org>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] [Bluez-users] Motorola S9 and BlueZ 4.14
Date: Sun, 19 Oct 2008 19:06:06 +0200	[thread overview]
Message-ID: <89b6ba3a0810191006y1687b30ap6adb8354389dd7d@mail.gmail.com> (raw)
In-Reply-To: <89b6ba3a0810190954q3826a2a8i4c8087e3d43cf45d@mail.gmail.com>

On Sun, Oct 19, 2008 at 6:54 PM, Patryk Zawadzki <patrys@pld-linux.org> wrote:
> On Sun, Oct 19, 2008 at 6:35 PM, Johan Hedberg <johan.hedberg@gmail.com> wrote:
>> Hi,
>>
>> I'm still investigating this, but it seems it's caused by patch
>> e303ffce67951a29d822c8c819e74e2c70c297d7 from Luiz which forgot to
>> remove set_state(OPEN) from avdtp_open_cmd() (his patch changes OPEN
>> state change for the initiator case from the response reveiving to the
>> stream L2CAP channel establishment). All in all looking at the AVDTP
>> spec 1.2 it seems Luiz's patch isn't correct since according to figure
>> 6.9 (page 35) the OPEN state should be entered *before* the stream
>> L2CAP channel is established.
> Ineed removing the set_state call from avdtp_open_cmd causes the
> device to initialize correctly and even work with pulseaudio. If this
> is correct according to the specification it is indeed the fix for the
> case of Motorola S9.

Also after getting the device to connect I get a second duplicate:

bluetoothd[24705]: Audio API: sending BT_STREAMSTART_RSP
bluetoothd[24705]: Audio API: sending BT_STREAMFD_IND
bluetoothd[24705]: setup_unref(0xb9c67a70): ref=1
bluetoothd[24705]: setup_unref(0xb9c67a70): ref=0
bluetoothd[24705]: setup_free(0xb9c67a70)
bluetoothd[24705]: avdtp_unref(0xb9c5d468): ref=3
DEBUG: trying to change stream state from 3 to 3
bluetoothd[24705]: stream state change failed: Input/output error

-- 
Patryk Zawadzki

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2008-10-19 17:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.81198.1224358186.3608.bluez-users@lists.sourceforge.net>
2008-10-18 19:48 ` [Bluez-users] Motorola S9 and BlueZ 4.14 Patryk Zawadzki
2008-10-18 20:40   ` Jelle de Jong
2008-10-19 15:55     ` [Bluez-devel] " Patryk Zawadzki
2008-10-19 16:09       ` Patryk Zawadzki
2008-10-19 16:35         ` Johan Hedberg
2008-10-19 16:54           ` Patryk Zawadzki
2008-10-19 17:06             ` Patryk Zawadzki [this message]
2008-10-19 17:16               ` Johan Hedberg
2008-10-20 20:53           ` Luiz Augusto von Dentz
2008-10-20 21:05             ` Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89b6ba3a0810191006y1687b30ap6adb8354389dd7d@mail.gmail.com \
    --to=patrys@pld-linux.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox