[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't read any data from Bluetooth microphones



How can I get bluetooth microphones working on Debian Wheezy x86?

We are attempting to use a bluetooth device as a combination
microphone/speaker to serve as an endpoint in communication system we
are developing. We have a Motorola S305 headset which can be paired to
an ASUS USB bluetooth dongle; We bind it with a panasonic toughbook
CF18 running Debian Wheezy with the following steps:

Packages
install bluez, bluez-utils, alsa


/etc/modules
add “btusb” to /etc/modules


/etc/bluetooth/audio.conf
comment out any Disable=*commands with a #
add “Enable=Control,Source,Headset,Sink”
add “Enable=Socket”


~/.asoundrc
add this code:
pcm.btheadset {
       type bluetooth
       device XX:XX:XX:XX:XX:XX
        profile “auto”
}


/var/lib/connman/settings
change this code to enable bluetooth:
[Bluetooth]
Enable=true
Tethering=false


/etc/bluetooth/rfcomm.conf
add these lines
rfcomm0 {
#       # Automatically bind the device at startup
        bind yes;
#
#       # Bluetooth address of the device
        device XX:XX:XX:XX:XX:XX;
#
#       # RFCOMM channel for the connection
        channel 1;
#
#       # Description of the connection
        comment "Motorola S305 Headset";
}



COMMAND LINE
call these commands
# bluez-simple-agent hci0 00:0D:FD:6C:3D:4F
# bluez-test-device trusted 00:0D:FD:6C:3D:4F yes
# sudo /etc/init.d/bluetooth restart


by this point, the S305 should be paired and listed as the default
device for ALSA; using aplay or VLC will cause audio to play out of
the headset

HOWEVER,
When we attempt to run arecord it prints the initial information but
does not continue to print or ever terminate.  Audacity freezes upon
the pressing of the record button or will issue a warning:

“Audio output failed:
Error while opening sound device. Please check the input device
settings and the project sample rate.”

The headset's microphone does not work with any sample rate in
audacity – I am not sure where to find this information, but I am led
to believe the problem is the input device settings

Some online reading has seemed to indicate the problem may be that
bluetooth has only 2 channels and that the headsets are being
configured for stereo audio rather than mono audio and recording.  We
are not sure if this is true, and if so, how to apply this change.

We need bluetooth to be able to send and receive audio, but nothing we
have tried has yielded any success.  How can we make bluetooth
microphones work, or what different options do we have as far as using
it as an ALSA source?


Thanks,
Christopher


Reply to: