* linux-bluetooth@vger.kernel.org
@ 2013-05-28 8:07 Sebastian Mahler
2013-05-28 8:26 ` linux-bluetooth@vger.kernel.org Luiz Augusto von Dentz
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Mahler @ 2013-05-28 8:07 UTC (permalink / raw)
To: linux-bluetooth
Headset used Iqua BHS-611.
How to reproduce this error:
1. sudo hciconfig device up
2. hcitool scan
3. sudo bluez-simple-agent hci0 <mac>
4. sudo bluez-test-device trusted <mac> yes
5. pulseaudio -k; sleep 4; pulseaudio -vv;
6. pactl load-module module-alsa-sink device="btheadset"
7. pactl load-module module-alsa-source device="btheadset"
8. aplay -D btheadset -f S16_LE wave.wav
Works
9. arecord -D btheadset -f S16_LE wave2.wav
Recording WAVE 'wave2.wav' : Signed 16 bit Little Endian, Rate
8000 Hz, Mono
Final wave2.wav is always 2.092 B in size and contains only a
wave header and zeroes.
10. parec
Shows no output.
Please use as a bug report or - better - show a solution.
Sebastian Mahler
PS:
.asoundrc:
pcm.bt {
type plug
slave {
pcm "bt_hw"
}
}
pcm.bt_hw {
type bluetooth
device 00:1A:7D:11:C0:66
profile "auto"
}
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: linux-bluetooth@vger.kernel.org
2013-05-28 8:07 linux-bluetooth@vger.kernel.org Sebastian Mahler
@ 2013-05-28 8:26 ` Luiz Augusto von Dentz
0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2013-05-28 8:26 UTC (permalink / raw)
To: Sebastian Mahler; +Cc: linux-bluetooth@vger.kernel.org
Hi,
On Tue, May 28, 2013 at 1:07 AM, Sebastian Mahler
<werbungsbunker@googlemail.com> wrote:
> Headset used Iqua BHS-611.
>
> How to reproduce this error:
>
> 1. sudo hciconfig device up
> 2. hcitool scan
> 3. sudo bluez-simple-agent hci0 <mac>
> 4. sudo bluez-test-device trusted <mac> yes
> 5. pulseaudio -k; sleep 4; pulseaudio -vv;
> 6. pactl load-module module-alsa-sink device="btheadset"
> 7. pactl load-module module-alsa-source device="btheadset"
There are dedicated modules for bluetooth such as
module-bluetooth-discover which will do the device detection
automatically for you, and if you need you can also load manually via
module-bluetooth-device.
> 8. aplay -D btheadset -f S16_LE wave.wav
> Works
> 9. arecord -D btheadset -f S16_LE wave2.wav
> Recording WAVE 'wave2.wav' : Signed 16 bit Little Endian, Rate 8000
> Hz, Mono
> Final wave2.wav is always 2.092 B in size and contains only a wave
> header and zeroes.
> 10. parec
> Shows no output.
> Please use as a bug report or - better - show a solution.
>
> Sebastian Mahler
>
> PS:
>
> .asoundrc:
>
> pcm.bt {
> type plug
> slave {
> pcm "bt_hw"
> }
> }
>
> pcm.bt_hw {
> type bluetooth
> device 00:1A:7D:11:C0:66
> profile "auto"
> }
This probably doesn't work anymore, if ever worked, PA has native
modules for Bluetooth for quite long time, please use those instead of
using alsa.
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-28 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 8:07 linux-bluetooth@vger.kernel.org Sebastian Mahler
2013-05-28 8:26 ` linux-bluetooth@vger.kernel.org Luiz Augusto von Dentz
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.