Skip to contentSkip to conversation

I can't hstest to replay the audio file recorded by hstest

Bluez-devel cuanyu 2 participants 2 messages May 20, 2004 Bluetooth drivers

lore
Share & tools
lore

cuanyu

author
#0 lore raw

Sorry for repeating this question again. But my last post is in a very bad style, so I decide to make it clear.
I am using Fedor core 1 and all the USB Bluetooth option are selected as module. I am using a CSR based USB dongle and here is its information:
I have changed my bluetooth dongle and it is based on CSR chip:
[cuanyu@tom sbin]$ ./hciconfig hci0 version
hci0: Type: USB

        BD Address: 00:02:72:02:02:E7 ACL MTU: 192:8  SCO MTU: 64:8
        HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:

0x20d
Manufacturer: Cambridge Silicon Radio (10)
[cuanyu@tom sbin]$ ./hciconfig hci0 revision
hci0: Type: USB

        BD Address: 00:02:72:02:02:E7 ACL MTU: 192:8  SCO MTU: 64:8
        HCI 16.4 (bc02x)

Right now I can use hstest to record the audio from the headset very well and the file could be replayed by sox like this:
sox -t raw -r 8000 -c 1 -w -s recorded -t ossdsp -w -s /dev/dsp

But I can't replay the recorded file by "hstest play recorded ...". All I can hear is just very sharp noise. The SCO packets are routed through HCI instead of the PCM interface because I can see SCO packets in the hcidump result.

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi,

Quoted 15 lines

Sorry for repeating this question again. But my last post is in a very bad style, so I decide to make it clear.
I am using Fedor core 1 and all the USB Bluetooth option are selected as module. I am using a CSR based USB dongle and here is its information:
I have changed my bluetooth dongle and it is based on CSR chip:
[cuanyu@tom sbin]$ ./hciconfig hci0 version
hci0: Type: USB

        BD Address: 00:02:72:02:02:E7 ACL MTU: 192:8  SCO MTU: 64:8
        HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:

0x20d
Manufacturer: Cambridge Silicon Radio (10)
[cuanyu@tom sbin]$ ./hciconfig hci0 revision
hci0: Type: USB

        BD Address: 00:02:72:02:02:E7 ACL MTU: 192:8  SCO MTU: 64:8
        HCI 16.4 (bc02x)
Quoted 8 lines

Right now I can use hstest to record the audio from the headset very well and the file could be replayed by sox like this:
sox -t raw -r 8000 -c 1 -w -s recorded -t ossdsp -w -s /dev/dsp

But I can't replay the recorded file by "hstest play recorded ...". All I can hear is just very sharp noise. The SCO packets are routed through HCI instead of the PCM interface because I can see SCO packets in the hcidump result.

maybe the FC1 kernel is not good enough. Try to install the latest 2.4 with my latest -mh patch.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel