Re: Headset not playing audio HELP PLEASE
Guillaume Bedot <[email protected]>
| Newsgroups | gmane.linux.bluez.user |
|---|---|
| Message-ID | <[email protected]> |
Quoting pramod gurav <[email protected]>: > Shall I really try Btsco way? This patch should do fix the same issue as the previous one (you can revert the other one if you applied it), but using an other approach. My headset actually accepts the synchronous connection, but as a sco link instead of requested esco one. This patch makes the kernel search for both types when receiving "Synchronous Connection Complete" event. > Else I replace my BT adapter?? But I have three. Two are Broadcom > and one is silicon wave. > Only one is working to the maximum is the current one which is broadcom. > Which one shall I try now? > Sorry for too many Ques??? > Have a nice time ahead. > > Thanks and Best regards > Pramod Regards, Guillaume B. ------------------------------------------------------------------------- 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/ _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
also-accept-sco-links.patch
(text/x-patch, 534 B)
--- net/bluetooth/hci_event.c.orig 2008-02-18 14:02:20.000000000 +0100
+++ net/bluetooth/hci_event.c 2008-02-18 14:04:44.000000000 +0100
@@ -1313,8 +1313,14 @@
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);