* [Bluez-devel] btsco/headset problems
@ 2005-01-25 1:50 John McCorquodale
2005-01-25 4:05 ` [Bluez-devel] " John McCorquodale
2005-01-26 16:06 ` [Bluez-devel] " Brad Midgley
0 siblings, 2 replies; 3+ messages in thread
From: John McCorquodale @ 2005-01-25 1:50 UTC (permalink / raw)
To: bluez-devel
Hi, y'all,
I just pulled the current btsco CVS, compiled against vanilla 2.6.10-rc3,
trying to talk to a HBH-35. I run btsco <addr> and it gets thru the
"AT+" lines, but never says "opened hwdep" no matter what I do (yes, I
push the button on the headset). I can set the volume just fine with
alsamixer. aplay does nothing (hangs forever) and arecord prints the
header and then hangs forever, which are consistent with btsco never
having opened the SCO.
stracing btsco shows that no data ever comes in on the BT file descriptor;
the poll just sits in its little one-second loop never rx'ing anything from
anybody, even when I bang on the headset button like an undersexed chihuahua
on speed.
Tried two HCIs, the socket CF G card (which, yes, works in 2.6 with suitable
patch for the serial driver) and the tiny little dlink USB dongle. Exact
same behavior both cases.
I hope this is obvious to somebody?
-mcq
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bluez-devel] Re: btsco/headset problems
2005-01-25 1:50 [Bluez-devel] btsco/headset problems John McCorquodale
@ 2005-01-25 4:05 ` John McCorquodale
2005-01-26 16:06 ` [Bluez-devel] " Brad Midgley
1 sibling, 0 replies; 3+ messages in thread
From: John McCorquodale @ 2005-01-25 4:05 UTC (permalink / raw)
To: John McCorquodale; +Cc: bluez-devel
> stracing btsco shows that no data ever comes in on the BT file descriptor;
> the poll just sits in its little one-second loop never rx'ing anything from
> anybody, even when I bang on the headset button like an undersexed chihuahua
> on speed.
I done figured it out, Martha. Turns out there were two problems:
1. The Debian bluez-utils package comes with this great little pin helper
that's a Python script and pops up a little window with PyGtk to ask
for the headset's PIN. But it seems MyGtk had evolved and the little
script hadn't and it got stuck or bombed or something. The thread of
control was hanging in that pin handler and thus btsco was unable to
print out "recieve AT+CKPD=200" and go forward. Switching my pin
helper to "#!/bin/sh \n echo PIN:0000" suddenly caused btsco to act
like it's supposed to and quiet static to eminate from an full-loud
headset. But aplay/arecord still hung forever.
2. Switching away from the Socket CF G card to the D-Link DBT-120 USB
fob solved the aplay/arecord problem and now I have a fully working
ALSA headset!
3. (aside) I also switched up to 2.6.10-mh2 in the process here and
from Debian's 2.10 libs/utils to the current 2.14 libs/utils. I
don't know if that made any difference; I suspect not.
Since I answered the hard question and the list didn't have to, I have an
easy one for you guys:
What is a CF card BT adapter that has _no_ protruding antenna, like the Socket
CF, that _works_? I really want my Zaurus to talk to my headset and the little
antenna doodah will break off in my pocket, and Zaurus has no USB host.
Thanks, y'all,
-mcq
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] btsco/headset problems
2005-01-25 1:50 [Bluez-devel] btsco/headset problems John McCorquodale
2005-01-25 4:05 ` [Bluez-devel] " John McCorquodale
@ 2005-01-26 16:06 ` Brad Midgley
1 sibling, 0 replies; 3+ messages in thread
From: Brad Midgley @ 2005-01-26 16:06 UTC (permalink / raw)
To: bluez-devel
John,
I wanted to let you know that I've looked at this message and tried to
imagine what is wrong and I don't have a lot of ideas.
It might be that the pairing is trying to get established and require a
pin number. A few days ago someone reported that they had to change the
pin script to hardcode "0000" in order for it to work. Check the recent
archives.
Brad
John McCorquodale wrote:
> Hi, y'all,
>
> I just pulled the current btsco CVS, compiled against vanilla 2.6.10-rc3,
> trying to talk to a HBH-35. I run btsco <addr> and it gets thru the
> "AT+" lines, but never says "opened hwdep" no matter what I do (yes, I
> push the button on the headset). I can set the volume just fine with
> alsamixer. aplay does nothing (hangs forever) and arecord prints the
> header and then hangs forever, which are consistent with btsco never
> having opened the SCO.
>
> stracing btsco shows that no data ever comes in on the BT file descriptor;
> the poll just sits in its little one-second loop never rx'ing anything from
> anybody, even when I bang on the headset button like an undersexed chihuahua
> on speed.
>
> Tried two HCIs, the socket CF G card (which, yes, works in 2.6 with suitable
> patch for the serial driver) and the tiny little dlink USB dongle. Exact
> same behavior both cases.
>
> I hope this is obvious to somebody?
>
> -mcq
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-26 16:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 1:50 [Bluez-devel] btsco/headset problems John McCorquodale
2005-01-25 4:05 ` [Bluez-devel] " John McCorquodale
2005-01-26 16:06 ` [Bluez-devel] " Brad Midgley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox