From: Stefan Bellon <sbellon@sbellon.de>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Re: bluetooth-alsa and Jabra BT800
Date: Sun, 30 Jan 2005 20:15:04 +0100 [thread overview]
Message-ID: <4d35810838sbellon@sbellon.de> (raw)
In-Reply-To: <4d35427939sbellon@sbellon.de>
Stefan Bellon wrote:
> Brad Midgley wrote:
> > How do you know you're using the right address?
> Well, because of this:
> root@roma# hcitool info 00:07:A4:21:1D:86
> Requesting information ...
> BD Address: 00:07:A4:21:1D:86
> Device Name: Jabra BT800
[snip]
> > No sdp available doesn't look good.
> Hm, is this a mis-feature of the headset then? How does a handy talk
> to the headset then?
I have partial success here!
Don't ask me what I did change. I plugged the USB Bluetooth dongle into
my Windows notebook in order to see whether I can get the headset to
work there. Afterwards I plugged the same dongle into my GNU/Linux box
and now I get this (which didn't work previously!):
root@roma# sdptool search --bdaddr 00:07:A4:21:1D:86 0x1108
Class 0x1108
Searching for 0x1108 on 00:07:A4:21:1D:86 ...
Service Name: Headset
Service RecHandle: 0x10000
Service Class ID List:
"Headset" (0x1108)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Profile Descriptor List:
"Headset" (0x1108)
Version: 0x0100
So, after all, the headset is not that silent when asked for a service.
When I start btsco, I now get the following:
sbellon@roma$ btsco 00:07:A4:21:1D:86
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
recieved AT*GNMK
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+CKPD=200
disconnected SCO channel
However, I can only start btsco once, then it doesn't work. If I query
hciconfig after one btsco run, it tells me:
root@roma# hciconfig -a
hci0: Type: USB
BD Address: 00:04:0E:87:88:E9 ACL MTU: 120:20 SCO MTU: 64:0
UP RUNNING PSCAN ISCAN
RX bytes:1170749 acl:51 sco:22922 events:74 errors:0
TX bytes:1338 acl:39 sco:0 commands:31 errors:0
Features: 0xff 0xff 0x05 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Can't read local name on hci0. Connection timed out(110)
Removing the USB Bluetooth dongle and inserting it again is a way to
get it working again. Then, btsco runs (but looks slightly different to
the one above):
sbellon@roma$ btsco 00:07:A4:21:1D:86
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
speaker volume: 11 mic volume: 0
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=09
Sending up speaker change 9
recieved AT+CKPD=200
disconnected SCO channel
Ok, so far so good. However, when btsco is running, aplay should work.
But it doesn't:
sbellon@roma$ aplay -D plughw:Headset some.wav
Playing WAVE 'some.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
Nothing to be heard in the headset (yes, I have set the volumes to max
in alsamixer).
Ok, I think we're not too far from the point where it works and where
you could add the BT800 to the list of working headsets. But what am I
missing now?
TIA.
--
Stefan Bellon
-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-01-30 19:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-26 22:23 [Bluez-users] bluetooth-alsa and Jabra BT800 Stefan Bellon
2005-01-26 22:45 ` Brad Midgley
2005-01-27 7:47 ` [Bluez-users] " Stefan Bellon
2005-01-28 22:17 ` Stefan Bellon
2005-01-30 2:51 ` Brad Midgley
2005-01-30 7:51 ` Stefan Bellon
2005-01-30 8:04 ` Stefan Bellon
2005-01-30 19:15 ` Stefan Bellon [this message]
2005-01-30 19:25 ` Michal Semler
2005-01-30 19:35 ` Stefan Bellon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4d35810838sbellon@sbellon.de \
--to=sbellon@sbellon.de \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox