How to use USB headset with Beagle Board

Hi,
      I am trying to use USB headset with Beagle Board.I have
connected USB headset to beagle board through USB hub.I am not able to
listen audio through USB headset. But at the same time i can hear the
audio through normal headset (Through sterio audio output jack).I can
see USB headset is getting detected on Beagle Board.
      Please help me in this case. First thing is it possible to use
USB headset with Beagle Board? Do i need to modify any configuration
file Or Some Kernel Configuration? Or what other changes i need to do
for using the USB headset with Beagle Board.It will be great help if
you provide the solution.

Thanks,
Vijay Swami

You need to select a different audio device as output for your
program.
E.g. /dev/dsp1 instead of /dev/dsp0 (not sure about the exact names)

I have already changed that in .asoundrc file.But no use. Any other
solution???

Same problem here with beatblock bluetooth speaker. I pair the speaker but can listen to music on it.

I tried creating .asoundrc and asound.conf

I run:
mplayer -ao alsa:device=btheadset song.mp3

but I get this:

[AO_ALSA] alsa-lib: dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_bluetooth.so
[AO_ALSA] Playback open error: No such device or address
Failed to initialize audio driver ‘alsa:device=btheadset’
Could not open/initialize audio device → no sound.
Audio: no sound
Video: no video

any help?

Will USB headset with mic work for audio application that records sound and playback on beaglebone with quality?Here is there is no need for separate pre- amplifier or circuit that requires biasing mic voltage?

Will USB headset with mic work for audio application that records sound and
playback on beaglebone with quality?Here is there is no need for separate
pre- amplifier or circuit that requires biasing mic voltage?

The hardware can't tell the difference between being plugged into the
BBB and a standard computer. The microphone will be properly biased.

You will have to have a driver to communicate with the USB interface
in the headset.

Harvey

Does USB headset mic amplifies input speech signal?

Does USB headset mic amplifies input speech signal?

Probably, but you'd have to look at the specifications to be sure. The
input is voice, the output is a digital data stream. The microphone
puts out millivolts, the USB data stream can be scaled to anything.

Check the specifications, or borrow one and try it.

Harvey

How to use the switch/push buttton to record voice in beaglebone? Is it by using gpio programming by setting the pin as input?

How to use the switch/push buttton to record voice in beaglebone? Is it by
using gpio programming by setting the pin as input?

You'd use GPIO programming and set the pin as an input. Pressing it
can start whatever part of your program you want.

It seems as if you need to look a bit more deeply into basic
microprocessor functions if you're asking this kind of question. The
program to record could be initiated by almost anything, a remote
command, a pushbutton, or even a sound.

Harvey

Ok,with USB headset, does the driver is needed?

Ok,with USB headset, does the driver is needed?

I suggest you read about how USB works, at least at the software
level. Windows does much the same thing, if that helps.

Ask yourself 1) how does the processor know something is plugged in,
and 2) how does it know how to do something with it?

Harvey