Return-Path: Message-ID: <89b6ba3a0810191006y1687b30ap6adb8354389dd7d@mail.gmail.com> Date: Sun, 19 Oct 2008 19:06:06 +0200 From: "Patryk Zawadzki" To: "BlueZ development" In-Reply-To: <89b6ba3a0810190954q3826a2a8i4c8087e3d43cf45d@mail.gmail.com> MIME-Version: 1.0 References: <89b6ba3a0810181248u29129a09v50c7befde6741e5b@mail.gmail.com> <48FA49A4.9040908@powercraft.nl> <89b6ba3a0810190855g2aa8bd00v9fe2c782fe5efb3e@mail.gmail.com> <89b6ba3a0810190909l69688cb9n13c8000ca272767@mail.gmail.com> <4AA04BF6-26EE-488D-A22C-37855410E2F7@gmail.com> <89b6ba3a0810190954q3826a2a8i4c8087e3d43cf45d@mail.gmail.com> Subject: Re: [Bluez-devel] [Bluez-users] Motorola S9 and BlueZ 4.14 Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Errors-To: bluez-devel-bounces@lists.sourceforge.net On Sun, Oct 19, 2008 at 6:54 PM, Patryk Zawadzki wrote: > On Sun, Oct 19, 2008 at 6:35 PM, Johan Hedberg 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