Skip to contentSkip to conversation

strange HP bluetooth headset

Bluez-devel Guylhem Aznar 2 participants 3 messages Mar 18, 2005 – Mar 19, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello

I have purchased HP Bluetooth stereo headphones:
http://www.shopping.hp.com/cgi-bin/hpdirect/shopping/scripts/product_deta=
il/product_detail_view.jsp?product_code=3DFA303A%23AC3&catLevel=3D5

I thought they would work with sbcenc/a2play - they don't. The audio is crackled, ie. I have approx 0.2 seconds with audio, 0.2 seconds without, and so on.

They don't work at all with rcplay - can't find a channel.

Here's some info from the device:
Requesting information ...
BD Address: 00:0D:44:2A:09:00
Device Name: BT-Headphones
LMP Version: 1.2 (0x2) LMP Subversion: 0x3d
Manufacturer: Zeevo, Inc. (18)
Features: 0xff 0x07 0x04 0x78 0x18 0x18 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offs=
et>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <power control>
<enhanced iscan> <interlaced iscan> <interlaced pscan> <inquiry with RSSI> <AFH cap. slave> <AFH class. slave> <AFH cap. master> <AFH class. master>

Here is the browse:
Browsing 00:0D:44:2A:09:00 ...
Service Name: Audio Sink
Service RecHandle: 0x110b
Service Class ID List:
"" (0x110b)
Protocol Descriptor List:
"L2CAP" (0x0100)

    PSM: 25
  "" (0x0019)
    uint16: 0x100

Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"" (0x110d)

    Version: 0x0100

Service Name: Remote Controller
Service RecHandle: 0x110e
Service Class ID List:
"" (0x110e)
Protocol Descriptor List:
"L2CAP" (0x0100)

    PSM: 23
  "" (0x0017)
    uint16: 0x100

Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"" (0x110e)

    Version: 0x0100

a2play reports:
subbands =3D 0
allocation method =3D 1
channel_mode =3D 0
blocks =3D 3
sampling frequency =3D 3
bitpool =3D 18
frame len =3D 38

So I took rcplay source and tried to hardcode a channel in - 25 of course.

This didn't really help:

$ ./rcplay 00:0D:44:2A:09:00 test.sbc
Can't get channel number - defaulting to 25: Success
Channel : 25
Can't open connection: Connection refused

However after that, using a2play I can play audio much better. It plays much too fast, without any distortion however. So I guess there's some capability settings I'm missing.

a2play reports:
subbands =3D 1
allocation method =3D 1
channel_mode =3D 2
blocks =3D 3
sampling frequency =3D 2
bitpool =3D 32
frame len =3D 72

Any suggestion ?

--=20
Bien =E0 vous - Best regards,
Guylhem P. Aznar

--=20
*@externe.net http://externe.n=
et
P=E9rim=E9/Deprecated: @oeil.qc.ca, @metalab.unc.edu, @ibiblio.org, @7=
un.org
GPG: 92EB37C1 DD11C9C9 20519D01 E8FA1B11 42975AF7 http://externe.net/pubk=
ey

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw

Guylhem

Quoted 3 lines

I thought they would work with sbcenc/a2play - they don't. The audio is crackled, ie. I have approx 0.2 seconds with audio, 0.2 seconds without, and so on.

we found our headsets did not follow the standard very well. maybe the hp set doesn't either.

is there any way you can capture the bt stream going out of your pocketpc device?

Quoted 1 line

They don't work at all with rcplay - can't find a channel.

not surprising since your set doesn't offer an rfcomm service like the other two a2dp sets we've seen.

Quoted 9 lines

This didn't really help:

$ ./rcplay 00:0D:44:2A:09:00 test.sbc
Can't get channel number - defaulting to 25: Success
Channel : 25
Can't open connection: Connection refused

However after that, using a2play I can play audio much better. It plays much too fast, without any distortion however. So I guess there's some capability settings I'm missing.

what else does a2play print out, like the capabilities, etc?

re: suggestions, you could try different numbers of frames in each packet... see:

while(psize + frame_len + sizeof(sbc_info) < mtu)

and maybe try change mtu to (mtu-1) or (mtu/2) etc...

Brad

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
Quoted 2 lines · Brad Midgley

we found our headsets did not follow the standard very well. maybe the=20 hp set doesn't either.

I tried to hardcodes parameters in a2play - I can tweak them but I don't get good results.

Quoted 2 lines

is there any way you can capture the bt stream going out of your=20 pocketpc device?

If I had a pocket PC running windows, yes. Since I only have a Zaurus and a Simpad running Windows CE.NET, it won't be possible immediately. The worst is I don't have the drivers CD.

Quoted 4 lines
Quoted 2 lines

plays much too fast, without any distortion however. So I guess there's some capability settings I'm missing.

=20
what else does a2play print out, like the capabilities, etc?

I thought I had posted that ?
a2play reports:
subbands =3D 1
allocation method =3D 1
channel_mode =3D 2
blocks =3D 3
sampling frequency =3D 2
bitpool =3D 32
frame len =3D 72

That's when it works better (the only problem is the audio being 2 to 4 times faster than it should be- it's hard to tell.)

Before I tried rcplay, when it was skipping a lot, I had a2play reporting= :
subbands =3D 0
allocation method =3D 1
channel_mode =3D 0
blocks =3D 3
sampling frequency =3D 3
bitpool =3D 18
frame len =3D 38

Quoted 6 lines

re: suggestions, you could try different numbers of frames in each=20 packet... see:
=20
while(psize + frame_len + sizeof(sbc_info) < mtu)
=20
and maybe try change mtu to (mtu-1) or (mtu/2) etc...

Will do.

--=20
Bien =E0 vous - Best regards,
Guylhem P. Aznar

--=20
*@externe.net http://externe.n=
et
P=E9rim=E9/Deprecated: @oeil.qc.ca, @metalab.unc.edu, @ibiblio.org, @7=
un.org
GPG: 92EB37C1 DD11C9C9 20519D01 E8FA1B11 42975AF7 http://externe.net/pubk=
ey

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel