* [Bluez-users] trying to connect to a M2500 Plantronics headset
@ 2005-05-30 15:52 Daniela Taubert
2005-05-30 16:57 ` Brad Midgley
0 siblings, 1 reply; 7+ messages in thread
From: Daniela Taubert @ 2005-05-30 15:52 UTC (permalink / raw)
To: bluez-users
Hi all,
I'm trying to get my bluetooth headset working with btsco but can't establish
a connection. Switched to kernel 2.6.11.11 today...
I have KBluetoothD running which seems to give me some useful information; I
also tried without but didn't get different results so I guess it doesn't
disturb anything...
That's what I did:
1) start sdpd, hcid, rfcomm via init script
2) plug in dongle
=> KBluetoothD recognizes dongle
3) headset in pairing mode
=> no reaction
4) hcitool scan
=> headset found, KBluetoothD doesn't show connection
5) modprobe snd_bt_sco
6) btsco <heaset_addr>
=> KBluetoothD finds the headset but shows zero connection strength
=> command times out with
Error: Failed to connect to SDP server: Connection timed out
Assuming channel 2
Can't connect RFCOMM channel: Resource temporarily unavailable
(passing the channel number (I tried 1,2,3) doesn't change the situation)
7) hcidump (headset in pairing mode) while trying the btsco command:
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Command Complete (0x0e) plen 6
Read Voice Setting (0x03|0x0025) ncmd 1
status 0x00 voice setting 0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:03:89:91:37:87 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
bdaddr 00:03:89:91:37:87
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
bdaddr 00:03:89:91:37:87
> HCI Event: Command Complete (0x0e) plen 10
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
status 0x00 bdaddr 00:03:89:91:37:87
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:03:89:91:37:87
< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
bdaddr 00:03:89:91:37:87
> HCI Event: Command Complete (0x0e) plen 10
PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
status 0x00 bdaddr 00:03:89:91:37:87
At some point during my tests KBluetoothD told me "Host rejected because
remote device is only a personal device" but I couldn't reproduce that
message.
I guess there's a problem with the PIN... from what I read there should be a
window asking me for PIN but I don't get anything like that.
Could anybody point me in the right direction please? I must be doing
something wrong...
thanks in advance,
Daniela
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] trying to connect to a M2500 Plantronics headset
2005-05-30 15:52 [Bluez-users] trying to connect to a M2500 Plantronics headset Daniela Taubert
@ 2005-05-30 16:57 ` Brad Midgley
2005-05-30 17:29 ` Daniela Taubert
0 siblings, 1 reply; 7+ messages in thread
From: Brad Midgley @ 2005-05-30 16:57 UTC (permalink / raw)
To: bluez-users
Daniela
> I guess there's a problem with the PIN... from what I read there should be a
> window asking me for PIN but I don't get anything like that.
Yes, that's what I thought too looking at your results (I am not good at
reading the hcidump output though)
Have you paired with other bluetooth devices ok?
On my embedded machine, the pin is read directly from /etc/bluetooth/pin
with no user interaction but when I run things as myself from an x
session, a window comes up.
I have used this same headset with btsco so it should work well.
Brad
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] trying to connect to a M2500 Plantronics headset
2005-05-30 16:57 ` Brad Midgley
@ 2005-05-30 17:29 ` Daniela Taubert
2005-05-31 18:09 ` Brad Midgley
0 siblings, 1 reply; 7+ messages in thread
From: Daniela Taubert @ 2005-05-30 17:29 UTC (permalink / raw)
To: bluez-users
Hi Brad,
> > I guess there's a problem with the PIN... from what I read there should
> > be a window asking me for PIN but I don't get anything like that.
>
> Yes, that's what I thought too looking at your results (I am not good at
> reading the hcidump output though)
>
> Have you paired with other bluetooth devices ok?
no, I didn't, I just bougth dongle and headset in order to use it with
skype...
> On my embedded machine, the pin is read directly from /etc/bluetooth/pin
> with no user interaction but when I run things as myself from an x
> session, a window comes up.
I wrote the pin 0000 (this is what the headset manual tells me)
into /etc/bluetooth/pin... I don't really understand how that stuff works so
I don't know if that's the right thing to do.
> I have used this same headset with btsco so it should work well.
I had read that the headset should work, that's why I bought it. I'm not quite
sure about the dongle but that doesn't seem to be the problem...
greetings,
Daniela
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] trying to connect to a M2500 Plantronics headset
2005-05-30 17:29 ` Daniela Taubert
@ 2005-05-31 18:09 ` Brad Midgley
2005-05-31 19:47 ` Daniela Taubert
2005-05-31 21:28 ` Daniela Taubert
0 siblings, 2 replies; 7+ messages in thread
From: Brad Midgley @ 2005-05-31 18:09 UTC (permalink / raw)
To: bluez-users
Daniela
>>Have you paired with other bluetooth devices ok?
>
> no, I didn't, I just bougth dongle and headset in order to use it with
> skype...
Just to let you know, it looks like a question for an expert with your
distro (suse?) to see how the pin query is working when pairing and what
might be going wrong.
Brad
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] trying to connect to a M2500 Plantronics headset
2005-05-31 18:09 ` Brad Midgley
@ 2005-05-31 19:47 ` Daniela Taubert
2005-05-31 21:28 ` Daniela Taubert
1 sibling, 0 replies; 7+ messages in thread
From: Daniela Taubert @ 2005-05-31 19:47 UTC (permalink / raw)
To: bluez-users
Hi Brad,
> Just to let you know, it looks like a question for an expert with your
> distro (suse?) to see how the pin query is working when pairing and what
> might be going wrong.
actually it's Gentoo... I have a running SuSE system, too, so I could try it
there to see the difference...
Daniela
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] trying to connect to a M2500 Plantronics headset
2005-05-31 18:09 ` Brad Midgley
2005-05-31 19:47 ` Daniela Taubert
@ 2005-05-31 21:28 ` Daniela Taubert
2005-05-31 21:34 ` Brad Midgley
1 sibling, 1 reply; 7+ messages in thread
From: Daniela Taubert @ 2005-05-31 21:28 UTC (permalink / raw)
To: bluez-users
> Just to let you know, it looks like a question for an expert with your
> distro (suse?) to see how the pin query is working when pairing and what
> might be going wrong.
Well, I finally got the pin thingy to work - there was a line with the wrong
pin-helper program in /etc/bluetooth/hcid.conf
(sorry, that was really stupid!)
So now I get a connection, but btsco still doesn't work. I don't get any error
messages, it just doesn't do anything...
strace gives me the following, which I don't really understand:
> strace btsco <btaddr> 2
(...)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN|POLLOUT|POLLERR|POLLNVAL}],
2, -1) = -1 EINTR (Interrupted system call)
--- SIGWINCH (Window changed) @ 0 (0) ---
poll(
Doesn't sound nice... from what I found on the net btsco should create output,
but here it doesn't...
Daniela
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Bluez-users] trying to connect to a M2500 Plantronics headset
2005-05-31 21:28 ` Daniela Taubert
@ 2005-05-31 21:34 ` Brad Midgley
0 siblings, 0 replies; 7+ messages in thread
From: Brad Midgley @ 2005-05-31 21:34 UTC (permalink / raw)
To: bluez-users
Daniela
>>strace btsco <btaddr> 2
if you can, get btsco from cvs and run it as:
btsco -v <bdaddr>
then make your audio app send audio to the device and the audio
connection should be fired up.
see http://bluetooth-alsa.sf.net for examples on how to run a client
like aplay etc
brad
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-05-31 21:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-30 15:52 [Bluez-users] trying to connect to a M2500 Plantronics headset Daniela Taubert
2005-05-30 16:57 ` Brad Midgley
2005-05-30 17:29 ` Daniela Taubert
2005-05-31 18:09 ` Brad Midgley
2005-05-31 19:47 ` Daniela Taubert
2005-05-31 21:28 ` Daniela Taubert
2005-05-31 21:34 ` Brad Midgley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.