From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796142607; b=MMRWDCag/txjTkbpxIP4/xLNSjdJkz6W4qQrteNEpIMfcHVdYrLZdlQJ/MzyaA2h8SJK iLhFhHMFFDFC+i2/6fURNp+R7q37WwbIwwPkxzjOOCHapVWn6tq3eDLX5kQ9+g632XMcu QdjuUxErs+LKpuagAoPz7SJWngrdz6g60S2yY3TPYrFh+XwVkUPHkdEPj5CNkEIvSGZaY zt2iUTkJBRA8bSzM8BsJLZoH3ZC05gnifH3HPUveAcE+PR6bv6vlzKZRNitFf5Axb9g/V sLVFsDZMijz6cys3Aky/+y/3cbS/3LnQp8jpKES6kEgqAVj1EiZnH4j6F0omz+sMyvw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796142607; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=z7ZLTi78UlU63g4/npe0dFZiX3Qtda6X8PcQdZIWs4o=; b=UKF4JYPm3/keylmCpPDx7mJhg0gmNc2VJCfIe3oScoLXvInvCW7cHVmYvafFDSjSLmcS a97LDkihikId0BvjPoCcSDI4nffTX4vof9b6K2sbHVBVjc3f4tcdpEMkx8877dpQeDGZb J8Pz6bFK2LqpH8FUfwFFdzQdnj8bmv/w2B9KwcHwoE4z02GJ2YA42zpMYsoacTi7HVz8V 4PeYzWPdhHCciXmBUfi2iOAK/PV0OcTGxrs9t9fgUZJ9I+stFtHQGKLfPji2JXWqBqqLF aIlcUaSAzbATLQd2G3XoPzMDPQXXHgsflb5PFslA+KKmDa0CF1Np/6Y/giqeEjELNJA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gTyNjN9Y; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A6A7606A33F for ; Tue, 1 Dec 2026 16:30:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gTyNjN9Y Received: by smtp.kernel.org (Postfix) with ESMTPSA id B762E1F000C1; Tue, 1 Dec 2026 16:30:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796142606; bh=z7ZLTi78UlU63g4/npe0dFZiX3Qtda6X8PcQdZIWs4o=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=gTyNjN9YSKgXk+LDmOWl9q520ksUqGMgvmsBsQwAZcGDYZDa/f/ZdssR8cYH3DTIc Gb35X8pXN0colvlUsHmHx1HkNrk2lQaw/YbXYYNTSA8n9t2SY4YaKV7p+/thWb68V3 1MXaD1qHBq653DU194Umh07PQTtIGCy17kwsrmyquczz6Za7yuQ3jHJ+Z7TQIdgEkR QiYa6c4YyGSsIg6J5Khf2Vd0uadIlP8phsAywYE200/FYhY2KNOTyHGjnfd8T1QLQP TC7HgGn5/cGsipvr5u0jglgLlaBUAmse439jDM6PPZ33mAM2aw0TjSK4HzWRBMz7Db /Fw/KLBOtds8Q== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id AE98B380821E; Tue, 1 Dec 2026 16:30:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH BlueZ v2 1/2] avrcp: Defer init until service discovery completes From: patchwork-bot+bluetooth@kernel.org Message-Id: <179614260550.858264.4618714495195390169.git-patchwork-notify@kernel.org> Date: Tue, 01 Dec 2026 16:30:05 +0000 References: <20261125170243.1649146-1-simon.mikuda@streamunlimited.com> In-Reply-To: <20261125170243.1649146-1-simon.mikuda@streamunlimited.com> To: Simon Mikuda Cc: linux-bluetooth@vger.kernel.org Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz : On Wed, 25 Nov 2026 18:02:42 +0100 you wrote: > When the remote connects AVCTP before SDP has found its AVRCP records, > as iOS does on the first connection after pairing, neither controller > nor target is initialized and the session stays without them. Wait for > the service discovery with device_wait_for_svc_complete() instead. > > The remote uses the session meanwhile: iOS asks for the supported > events and registers for EVENT_VOLUME_CHANGED right away, and would > not get absolute volume otherwise. Until its records are known, report > the events of the AVRCP version implemented here; target_init() then > drops the 1.4 events for a controller older than 1.4, for which they > are RFU. Create the target when the control channel connects so these > registrations are kept; target_init() completes it from the SDP record. > A volume registration with no volume set yet starts at max volume, > which target_init() set only for 1.4 controllers with category 2. > > [...] Here is the summary with links: - [BlueZ,v2,1/2] avrcp: Defer init until service discovery completes https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=2048cc6a2737 - [BlueZ,v2,2/2] avrcp: Check what the remote uses instead of its AVRCP version https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=44c327d5e626 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html