From: Matt Zimmerman <mdz@ubuntu.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Plantronics 510 headset: playback partially works, but not recording
Date: Sun, 11 Mar 2007 13:32:23 -0700 [thread overview]
Message-ID: <20070311203223.GP8187@alcor.net> (raw)
I'm attempting to get my Plantronics 510 headset talking to my desktop PC.
I'm using:
- Ubuntu Feisty
- bluez 3.9
- Linux 2.6.20 + sco-flowcontrol-v3.0.diff
- This USB dongle: Bus 003 Device 009: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
and the example .asoundrc from CVS, modified to set the MAC address for my headset.
Playback seems to be mostly working. I can play short sounds to the headset
using aplay. I tried playing a song (resampled to 8kHz mono) as a test, but
it cuts out periodically, approximately once per second. I hear about 0.25
seconds of audio followed by 0.75 seconds of silence, etc. I'm not sure
whether this is due to aplay or a problem with the bluetooth setup; is this
expected to work?
Recording with arecord doesn't work at all. When I try, I get this from hcidump:
< HCI Command: Add SCO Connection (0x01|0x0007) plen 4
handle 1 ptype 0x00e0
Packet type: HV1 HV2 HV3
> HCI Event: Command Status (0x0f) plen 4
Add SCO Connection (0x01|0x0007) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 2 bdaddr 00:03:89:97:13:9E type SCO encrypt 0x01
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:03:89:97:13:9E mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> ACL data: handle 1 flags 0x02 dlen 19
L2CAP(d): cid 0x0041 len 15 [psm 0]
< ACL data: handle 1 flags 0x02 dlen 14
L2CAP(d): cid 0x0043 len 10 [psm 0]
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:03:89:97:13:9E name 'PLT 510'
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
> ACL data: handle 1 flags 0x02 dlen 19
L2CAP(d): cid 0x0041 len 15 [psm 0]
< ACL data: handle 1 flags 0x02 dlen 14
L2CAP(d): cid 0x0043 len 10 [psm 0]
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
and this from headsetd:
Mar 11 13:27:45 localhost headsetd[779]: Changing state: Connected-->Ready
Mar 11 13:27:45 localhost headsetd[779]: Changing state: Ready-->Opening
Mar 11 13:27:46 localhost headsetd[779]: SCO channel opened handle=0x0002 mtu=48
Mar 11 13:27:46 localhost headsetd[779]: Changing state: Opening-->Streaming
The headset beeps and its LED flashes more quickly to tell me that it's
recording (as expected; it does both with my phone), but no data is received
by arecord.
Has anyone else seen behaviour like this? How can I diagnose the problem?
--
- mdz
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2007-03-11 20:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 20:32 Matt Zimmerman [this message]
2007-03-11 20:55 ` [Bluez-users] Plantronics 510 headset: playback partially works, but not recording Matt Zimmerman
2007-03-12 16:39 ` Alan Conway
2007-03-22 3:18 ` Matt Zimmerman
2007-03-22 4:57 ` Matt Zimmerman
2007-04-03 1:55 ` Alan Conway
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=20070311203223.GP8187@alcor.net \
--to=mdz@ubuntu.com \
--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 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.