From owner-freebsd-wireless@freebsd.org Sat Jun 4 08:41:20 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 178E2B684A5 for ; Sat, 4 Jun 2016 08:41:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0847D11D2 for ; Sat, 4 Jun 2016 08:41:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u548fJSm085607 for ; Sat, 4 Jun 2016 08:41:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 203745] A2DP Support for Bluetooth Headphone Audio Date: Sat, 04 Jun 2016 08:41:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2016 08:41:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203745 --- Comment #30 from Adrian Chadd --- I hacked on the negotiation bits after reading the spec. The spec mandates SBC, but the initial config fetch doesn't return SBC. It's returning some non-mandatory codec. I'm not sure if we have to ask it anoth= er way or not. I overrode some things, and it fails the set_configuration call, but the headset makes the "i'm ready!" noise. So something's happening. backend_bt: media: 0x4 backend_bt: No frequency and mode match (avail=3D0x00 freqmode=3D0x12, freq= =3D3, chmode=3D2 backend_bt: sending config: freq=3D12, blk=3D15, supmin=3D23, supmax=3D23 backend_bt: OPEN FAILED backend_bt: info: len=3D19 backend_bt: i=3D2: 0x1 0x0 0x7 0x9 0x0 0xff backend_bt: media: 0x1 backend_bt: i=3D4: 0x7 0x9 0x0 0xff 0x4f 0x0 backend_bt: media: 0x7 backend_bt: codec : 0xff backend_bt: i=3D15: 0x4 0x2 0x2 0x0 0x0 0x0 backend_bt: media: 0x4 backend_bt: No frequency and mode match (avail=3D0x00 freqmode=3D0x12, freq= =3D3, chmode=3D2 backend_bt: sending config: freq=3D12, blk=3D15, supmin=3D23, supmax=3D23 backend_bt: OPEN FAILED ^C I'll read the error values back from the call soon and see what's going on. --=20 You are receiving this mail because: You are the assignee for the bug.=