* [Bluez-devel] Trouble with bluetooth headset
[not found] <01c7b97e$58d4afe0$5a8bbe54@olavoo>
@ 2007-06-28 13:40 ` Clark Pope
2007-06-28 14:59 ` Marcel Holtmann
2007-07-15 18:01 ` [Bluez-devel] PS3 compatibility list? Clark Pope
0 siblings, 2 replies; 8+ messages in thread
From: Clark Pope @ 2007-06-28 13:40 UTC (permalink / raw)
To: bluez-devel, bluez-devel
I have a colleague that is stuck trying to get a bluetooth headset working.
The system is montavista linux 2.6.10 on x86 for development and PPC for
deployment. Below is his request to me. Any help/guidance you can provide is
greatly appreciated. Also, if you can recommend a known good combination of
headset and usb dongle that has working drivers for PPC405 (Xilinx SOC) it
would save us the trouble of fixing this one. Thanks, Clark
-----
Well, I'll accept any help I can get. As I understand it, Montavista gave us
Bluetooth packages as not officially supported software, but I would feel
free to ask them questions if I thought their software was the issue.
With the headset device, I think the problem is with the alsa-bluetooth
connection. I am getting my guidance from:
http://bluetooth-alsa.sourceforge.net
I am using the "legacy driver" approach with the snd-bt-sco driver and the
btsco/btsco2 app. One issue involves whether configuration files are set up
so I don't have to enter the passkey. Normally this is done with a Gnome
(desktop) app, and that can't work on the 9479. Some of the messages on the
hcidump trace lead me to believe I don't have all the configuration files
set up correctly - to get access without a passkey, on the correct RF
channel, etc.
With hci0 set up, aplay shows the headphone connection:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headset [BT Headset], device 0: Bluetooth SCO PCM [BT SCO PCM]
Subdevices: 1/1
Subdevice #0: subdevice #0
When btsco2 initializes, it tries to connect to the headphone, and there
seem to be errors in the output (I'm not sure what all of it means, but the
"connection refused" message seems significant):
# ./btsco2 00:0B:2E:75:D0:07 &
# Device is 0:0
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
>HCI Event: Command Complete (0x0e) plen 6
Voice setting: 0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13
>HCI Event: Command Status (0x0f) plen 4
>HCI Event: Connect Complete (0x03) plen 11
< ACL data: handle 5 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
>HCI Event: Connection Packet Type Changed (0x1d) plen 5
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0046 scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>ACL data: handle 5 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0046 scid 0x0040 result 0 status 0
Connection successful
< ACL data: handle 5 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0046 flags 0x00 clen 0
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
>ACL data: handle 5 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 48
< ACL data: handle 5 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0046 flags 0x00 result 0 clen 0
Success
>HCI Event: Number of Completed Packets (0x13) plen 5
< ACL data: handle 5 flags 0x02 dlen 24
L2CAP(d): cid 0x0046 len 20 [psm 0]
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 27
>ACL data: handle 5 flags 0x01 dlen 25
L2CAP(d): cid 0x0040 len 48 [psm 0]
< ACL data: handle 5 flags 0x02 dlen 26
L2CAP(d): cid 0x0046 len 22 [psm 0]
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 27
>ACL data: handle 5 flags 0x01 dlen 25
L2CAP(d): cid 0x0040 len 48 [psm 0]
< ACL data: handle 5 flags 0x02 dlen 26
L2CAP(d): cid 0x0046 len 22 [psm 0]
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 22
L2CAP(d): cid 0x0040 len 18 [psm 0]
< ACL data: handle 5 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0046 scid 0x0040
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0046 scid 0x0040
< ACL data: handle 5 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0047 scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>HCI Event: Link Key Request (0x17) plen 6
Can't connect RFCOMM channel< ACL data: handle 5 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 5 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0047 scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>ACL data: handle 5 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 3 status 0
Connection refused - security block
Can't connect RFCOMM channel> HCI Event: Disconn Complete (0x05) plen 4
< HCI Command: Create Connection (0x01|0x0005) plen 13
>HCI Event: Command Status (0x0f) plen 4
>HCI Event: Connect Complete (0x03) plen 11
< ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
>HCI Event: Connection Packet Type Changed (0x1d) plen 5
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0049 scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>HCI Event: Link Key Request (0x17) plen 6
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
Can't connect RFCOMM channel< ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0049 scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 3 status 0
Connection refused - security block
Can't connect RFCOMM channel> HCI Event: Disconn Complete (0x05) plen 4
< HCI Command: Create Connection (0x01|0x0005) plen 13
>HCI Event: Command Status (0x0f) plen 4
>HCI Event: Connect Complete (0x03) plen 11
>HCI Event: Connection Packet Type Changed (0x1d) plen 5
< ACL data: handle 7 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 7 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x004a scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>HCI Event: Link Key Request (0x17) plen 6
snd-bt-sco: playback_open
snd-bt-sco: prepare ok bps: 16000 size: 8000 count: 2000
snd-bt-sco: playback_trigger 1
snd-bt-sco: setting playback to bspcm
Can't connect RFCOMM channel< ACL data: handle 7 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 7 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x004a scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>ACL data: handle 7 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 3 status 0
Connection refused - security block
Can't connect RFCOMM channel> HCI Event: Disconn Complete (0x05) plen 4
< HCI Command: Create Connection (0x01|0x0005) plen 13
>HCI Event: Command Status (0x0f) plen 4
>HCI Event: Connect Complete (0x03) plen 11
>HCI Event: Connection Packet Type Changed (0x1d) plen 5
< ACL data: handle 8 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
>HCI Event: Number of Completed Packets (0x13) plen 5
>ACL data: handle 8 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x004c scid 0x0040 result 1 status 2
Connection pending - Authorization pending
>HCI Event: Link Key Request (0x17) plen 6
etc.
More later - when I return from vacation I'll spend more time on it. Any
help I can get would be appreciated.
Bob
_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN
http://liveearth.msn.com?source=msntaglineliveearthhm
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Trouble with bluetooth headset
2007-06-28 13:40 ` [Bluez-devel] Trouble with bluetooth headset Clark Pope
@ 2007-06-28 14:59 ` Marcel Holtmann
2007-06-28 15:48 ` Clark Pope
2007-07-15 18:01 ` [Bluez-devel] PS3 compatibility list? Clark Pope
1 sibling, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2007-06-28 14:59 UTC (permalink / raw)
To: BlueZ development; +Cc: bluez-devel
Hi Clark,
> I have a colleague that is stuck trying to get a bluetooth headset working.
> The system is montavista linux 2.6.10 on x86 for development and PPC for
> deployment. Below is his request to me. Any help/guidance you can provide is
> greatly appreciated. Also, if you can recommend a known good combination of
> headset and usb dongle that has working drivers for PPC405 (Xilinx SOC) it
> would save us the trouble of fixing this one.
the 2.6.10 kernel is highly outdated. Switch to the upcoming 2.6.22
kernel. We are not supporting these old kernels and I am not doing any
backports for it.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Trouble with bluetooth headset
2007-06-28 14:59 ` Marcel Holtmann
@ 2007-06-28 15:48 ` Clark Pope
2007-06-28 15:52 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Clark Pope @ 2007-06-28 15:48 UTC (permalink / raw)
To: bluez-devel; +Cc: bluez-devel
So you think the problem shown in the log is related to the kernel version,
not just some configuration issue? I think the bluetooth part is working it
just rejects the connect for some reason. Thanks
>From: Marcel Holtmann <marcel@holtmann.org>
>Reply-To: BlueZ development <bluez-devel@lists.sourceforge.net>
>To: BlueZ development <bluez-devel@lists.sourceforge.net>
>CC: bluez-devel@lists.sf.net
>Subject: Re: [Bluez-devel] Trouble with bluetooth headset
>Date: Thu, 28 Jun 2007 16:59:21 +0200
>
>Hi Clark,
>
> > I have a colleague that is stuck trying to get a bluetooth headset
>working.
> > The system is montavista linux 2.6.10 on x86 for development and PPC for
> > deployment. Below is his request to me. Any help/guidance you can
>provide is
> > greatly appreciated. Also, if you can recommend a known good combination
>of
> > headset and usb dongle that has working drivers for PPC405 (Xilinx SOC)
>it
> > would save us the trouble of fixing this one.
>
>the 2.6.10 kernel is highly outdated. Switch to the upcoming 2.6.22
>kernel. We are not supporting these old kernels and I am not doing any
>backports for it.
>
>Regards
>
>Marcel
>
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Bluez-devel mailing list
>Bluez-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
_________________________________________________________________
Like puzzles? Play free games & earn great prizes. Play Clink now.
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Trouble with bluetooth headset
2007-06-28 15:48 ` Clark Pope
@ 2007-06-28 15:52 ` Marcel Holtmann
2007-06-30 18:09 ` Clark Pope
0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2007-06-28 15:52 UTC (permalink / raw)
To: BlueZ development; +Cc: bluez-devel
Hi Clark,
> So you think the problem shown in the log is related to the kernel version,
> not just some configuration issue? I think the bluetooth part is working it
> just rejects the connect for some reason.
I don't even know, but I am simply not chasing any bugs from people that
don't run at least a reasonable new kernel. And 2.6.10 is ancient. If
someone else wanna look at it, it is fine by me, but I won't until you
have this issue with a recent kernel and latest bluez-utils.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Trouble with bluetooth headset
2007-06-28 15:52 ` Marcel Holtmann
@ 2007-06-30 18:09 ` Clark Pope
0 siblings, 0 replies; 8+ messages in thread
From: Clark Pope @ 2007-06-30 18:09 UTC (permalink / raw)
To: bluez-devel; +Cc: bluez-devel
>From: Marcel Holtmann <marcel@holtmann.org>
>Reply-To: BlueZ development <bluez-devel@lists.sourceforge.net>
>To: BlueZ development <bluez-devel@lists.sourceforge.net>
>CC: bluez-devel@lists.sf.net
>Subject: Re: [Bluez-devel] Trouble with bluetooth headset
>Date: Thu, 28 Jun 2007 17:52:34 +0200
>
>Hi Clark,
>
> > So you think the problem shown in the log is related to the kernel
>version,
> > not just some configuration issue? I think the bluetooth part is working
>it
> > just rejects the connect for some reason.
>
>I don't even know, but I am simply not chasing any bugs from people that
>don't run at least a reasonable new kernel. And 2.6.10 is ancient. If
>someone else wanna look at it, it is fine by me, but I won't until you
>have this issue with a recent kernel and latest bluez-utils.
>
>Regards
>
>Marcel
>
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Bluez-devel mailing list
>Bluez-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
Guess I should clarify, the original base was 2.6.10 but montavista has
about 1200 patches applied to it so I'm not sure what the true rev level is
compared to the stock kernel tree. But the other bluetooth devices seem to
work okay. Just seems something odd particularly for audio and this
authentication business with the headset. Any suggestions at all are
appreciated. -Clark
_________________________________________________________________
Like puzzles? Play free games & earn great prizes. Play Clink now.
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] PS3 compatibility list?
2007-06-28 13:40 ` [Bluez-devel] Trouble with bluetooth headset Clark Pope
2007-06-28 14:59 ` Marcel Holtmann
@ 2007-07-15 18:01 ` Clark Pope
2007-07-17 4:21 ` Simon Ruggier
1 sibling, 1 reply; 8+ messages in thread
From: Clark Pope @ 2007-07-15 18:01 UTC (permalink / raw)
To: bluez-devel, bluez-devel
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
I wonder if there is a good hardware compatibility list for bluetooth
devices under linux on the PS3? The distribution I have is FC6.
Thanks,
Clark
_________________________________________________________________
Need a brain boost? Recharge with a stimulating game. Play now!
http://club.live.com/home.aspx?icid=club_hotmailtextlink1
[-- Attachment #2: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] PS3 compatibility list?
2007-07-15 18:01 ` [Bluez-devel] PS3 compatibility list? Clark Pope
@ 2007-07-17 4:21 ` Simon Ruggier
2007-07-17 17:00 ` TJ OConnor
0 siblings, 1 reply; 8+ messages in thread
From: Simon Ruggier @ 2007-07-17 4:21 UTC (permalink / raw)
To: BlueZ development
As a Linux user, and not someone particularly knowledgeable about
Bluetooth, I would guess that it's most likely that either everything
works or everything is broken, rather than some things failing to work
but not others. If my guess is accurate, then a list wouldn't be very
useful.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] PS3 compatibility list?
2007-07-17 4:21 ` Simon Ruggier
@ 2007-07-17 17:00 ` TJ OConnor
0 siblings, 0 replies; 8+ messages in thread
From: TJ OConnor @ 2007-07-17 17:00 UTC (permalink / raw)
To: BlueZ development
Bluez works on the PS3 under YDL linux. Do an apt-get.
On 7/17/07 12:21 AM, "Simon Ruggier" <simon80@gmail.com> wrote:
> As a Linux user, and not someone particularly knowledgeable about
> Bluetooth, I would guess that it's most likely that either everything
> works or everything is broken, rather than some things failing to work
> but not others. If my guess is accurate, then a list wouldn't be very
> useful.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-07-17 17:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <01c7b97e$58d4afe0$5a8bbe54@olavoo>
2007-06-28 13:40 ` [Bluez-devel] Trouble with bluetooth headset Clark Pope
2007-06-28 14:59 ` Marcel Holtmann
2007-06-28 15:48 ` Clark Pope
2007-06-28 15:52 ` Marcel Holtmann
2007-06-30 18:09 ` Clark Pope
2007-07-15 18:01 ` [Bluez-devel] PS3 compatibility list? Clark Pope
2007-07-17 4:21 ` Simon Ruggier
2007-07-17 17:00 ` TJ OConnor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox