btsco/headset problems
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Quoted 4 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/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
Quoted 24 lines · John McCorquodale
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
Quoted 9 lines
-------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel