Return-Path: Message-ID: <20080218154119.vefvomkbi8c88kgg@www.zarb.org> Date: Mon, 18 Feb 2008 15:41:19 +0100 From: Guillaume Bedot To: bluez-users@lists.sourceforge.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_6vow1xub5qo8" Subject: Re: [Bluez-users] Headset not playing audio HELP PLEASE Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net This message is in MIME format. --=_6vow1xub5qo8 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Quoting Guillaume Bedot : > > This patch makes the kernel search for both types when receiving > "Synchronous Connection Complete" event. > Sorry, the patch in the previous paost was incomplete / buggy, you'd rather try the included one. --=_6vow1xub5qo8 Content-Type: text/x-patch; charset=utf-8; name="also-accept-sco-links-v2.patch" Content-Disposition: attachment; filename="also-accept-sco-links-v2.patch" Content-Transfer-Encoding: 7bit --- net/bluetooth/hci_event.c.orig 2008-02-18 14:02:20.000000000 +0100 +++ net/bluetooth/hci_event.c 2008-02-18 15:19:04.000000000 +0100 @@ -1313,8 +1313,15 @@ hci_dev_lock(hdev); conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); - if (!conn) - goto unlock; + if (!conn) { + if (ev->link_type==SCO_LINK) { + conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr); + if (!conn) + goto unlock; + else + conn->type=SCO_LINK; + } + } if (!ev->status) { conn->handle = __le16_to_cpu(ev->handle); --=_6vow1xub5qo8 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --=_6vow1xub5qo8 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --=_6vow1xub5qo8--