[email protected]
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"
}Luiz Augusto von Dentz
maintainerHi,
Quoted 11 lines · Sebastian Mahler
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.
Quoted 19 lines
8. aplay -D btheadset -f
S16_LEwave.wav
Works
9. arecord -D btheadset -fS16_LEwave2.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:
Quoted 12 lines
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