Skip to contentSkip to conversation

Audio to headset

Bluez-devel Jérôme Stadelmann 3 participants 5 messages Jan 21, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello everybody,

I'm actually working on a diploma project with bluetooth and audio. I = have
an Anycom Bluetooth USB adapter and an Ericsson HBH-15 headset. I would = use
first the hstest example in order to send some music to the headset but = it
doesn't work. I only hear some noise but no music.

Is this command correct ? "hstest play music.mp3 xx:xx:xx:xx:xx:xx"

I have mpg123 and sox installed,
scoinfo return PSKEY_HOSTIO_MAP_SCO_PCM: 0x00,
voice setting is 0x0060.

The pin works and I receive back from the headset the AT commands = (AT+VGS=3D11
and AT+CKPD=3D200) but I only hear some noise.

Could somebody please help me in this?

Jerome

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Jerome,

Quoted 6 lines

I'm actually working on a diploma project with bluetooth and audio. I have an Anycom Bluetooth USB adapter and an Ericsson HBH-15 headset. I would use first the hstest example in order to send some music to the headset but it doesn't work. I only hear some noise but no music.

Is this command correct ? "hstest play music.mp3 xx:xx:xx:xx:xx:xx"

why don't you try hsplay?

Quoted 8 lines

I have mpg123 and sox installed,
scoinfo return PSKEY_HOSTIO_MAP_SCO_PCM: 0x00,
voice setting is 0x0060.

The pin works and I receive back from the headset the AT commands (AT+VGS=11 and AT+CKPD=200) but I only hear some noise.

Could somebody please help me in this?

What kernel version are you using? Try one of my latest patches for 2.4.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Hi Marcel,

I have used hsplay with the same result.
My kernel version is 2.4.21 from a SuSe distribution. I'll then use your kernel patch.

Regards,

Jerome

-----Message d'origine-----
De=A0: Marcel Holtmann [mailto:[email protected]]=20 Envoy=E9=A0: mercredi, 21. janvier 2004 13:43 =C0=A0: J=E9r=F4me Stadelmann
Cc=A0: BlueZ Mailing List
Objet=A0: Re: [Bluez-devel] Audio to headset

Hi Jerome,

Quoted 1 line

I'm actually working on a diploma project with bluetooth and audio. I =

have

Quoted 1 line

an Anycom Bluetooth USB adapter and an Ericsson HBH-15 headset. I =

would
use

Quoted 1 line

first the hstest example in order to send some music to the headset =

but it

Quoted 3 lines

doesn't work. I only hear some noise but no music.
=20
Is this command correct ? "hstest play music.mp3 xx:xx:xx:xx:xx:xx"

why don't you try hsplay?

Quoted 5 lines

I have mpg123 and sox installed,
scoinfo return PSKEY_HOSTIO_MAP_SCO_PCM: 0x00,
voice setting is 0x0060.
=20
The pin works and I receive back from the headset the AT commands

(AT+VGS=3D11

Quoted 3 lines

and AT+CKPD=3D200) but I only hear some noise.
=20
Could somebody please help me in this?

What kernel version are you using? Try one of my latest patches for 2.4.

Regards

Marcel

maintainer
#3 lore raw

Hi Jerome,

Quoted 2 lines

I have used hsplay with the same result.
My kernel version is 2.4.21 from a SuSe distribution.

this kernel don't work correct. Try at least 2.4.21-mh4 and I suggest you to upgrade to 2.4.24-mh2.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw
In reply to Jérôme Stadelmann
Quoted 4 lines · On Wednesday 21 January 2004 09:39, J=E9r=F4me Stadelmann wrote:

Hello everybody,

I'm actually working on a diploma project with bluetooth and audio. I have an Anycom Bluetooth USB adapter and an Ericsson HBH-15 headset. I would u=

se

Quoted 2 lines

first the hstest example in order to send some music to the headset but it doesn't work. I only hear some noise but no music.

Do you use an older kernel without Marcel's patches maybe?
I've also had problems with an older Mitsumi Bluetooth adaptor, but with it= =20
the output sounds a little bit like the expected signal at least. Do you just get random noise or does it correspond somehow to the music?

Quoted 1 line

Is this command correct ? "hstest play music.mp3 xx:xx:xx:xx:xx:xx"

I don't have a headset to try, but I thought hstest works with uncompressed= =20
audio data only. Or I just didn't notice.. I'd try a wave file (16 bit mono= ?)=20
instead.

greetings
=46red

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel