Re: Connecting to a two-way headset

Guillaume Bedot <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <1203348319.7074.8.camel@localhost>
Hello,

Le dimanche 17 février 2008 à 17:07 +0000, mountain rides a écrit :
> Hi,
> 
> Apologies if I'm asking a repeated question, but my search just now didn't pick up any answers.
> 
> I'm trying to get a speaker-and-microphone headset working.
> 
> More exactly . . .
> 
> I have a new Sony Ericsson HBH-PV702 Bluetooth headset - that is, a headset not with just speakers, but with both a speaker and microphone.  
> 
> I also have a Dell Inspiron 6400 with Bluetooth built-in

You're mixing a bluetooth 2.0 chip and a bluetooth 1.2 headset, you may
need, in addition of wise suggestions from Leszek, to use this kernel
patch.

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-v2.patch (text/x-patch, 542 B)
--- 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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.