LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2010, 03:54 AM   #1
ganeshbms
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
ALSA Config for USB Microphone


Hi All,

I am using USB Microphone for Audio capture over a board.I want to test audio record using ALSA arecord utility.But, USB microphone is not getting listed in "arecord -L" command.

USB microphone is getting detected as second sound card as below.

# cat /proc/asound/cards
0 [omap3evm ]: twl4030 - omap3evm
omap3evm (twl4030)
1 [Q9000 ]: USB-Audio - QuickCam Pro 9000
Logitech, Inc. QuickCam Pro 9000 at usb-musb_hdrc-1.4, high speed

But, If I do "arecord -L",it is listing only default first card as below

# alsa_arecord -L
default:CARD=omap3evm
omap3evm,
Default Audio Device
null
Discard all samples (playback) or generate zero samples (capture)

Could anybody help me to list my second sound card in arecord PCM device list..??

Do I need to do something in alsa.conf file...??


Regards,
Ganesh
 
Old 12-04-2010, 09:12 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Hi Ganesh, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 4 million posts to search it's possible the answer has been given.
I have a usb soundcard, and had similar problems when I tested it.

I fixed it by turning off the onboard sound chip in bios.

But there are other ways to change the preference, but with the driver modules instead.

The text file, /etc/modprobe.conf...may list the modules loaded at boot time, eg,
Code:
options snd_usb_audio enable=1 index=0 vid=0582 pid=00e7 id=EDIROL
alias sound-slot-0 snd_usb_audio
to find out your hardware address (vid and pid) type
Code:
lsusb
to find the module type
Code:
lsmod
, (should be quite a list),

shorten it by grepping for specifics, like sound, snd, audio, etc.

on my system...
Code:
glenn@GamesBox:~$ lsmod | grep snd
snd_usb_audio         107687  3 
snd_hwdep               6900  1 snd_usb_audio
snd_usbmidi_lib        20926  1 snd_usb_audio
snd_rawmidi            25013  1 snd_usbmidi_lib
snd_seq_dummy           1806  0 
snd_seq_oss            34806  0 
snd_seq_midi_event      7355  1 snd_seq_oss
snd_seq                61015  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7098  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            47375  0 
snd_pcm                96125  3 snd_usb_audio,snd_pcm_oss
snd_timer              23555  2 snd_seq,snd_pcm
snd_page_alloc          8716  1 snd_pcm
snd_mixer_oss          17620  1 snd_pcm_oss
snd                    75507  17 snd_usb_audio,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               7869  1 snd
usbcore               212405  12 snd_usb_audio,option,usb_wwan,gspca_spca561,gspca_main,usbhid,usbserial,usb_storage,snd_usbmidi_lib,ohci_hcd,ehci_hcd
glenn@GamesBox:~$
The version of your kernel (type uname -a) and distribution may also affect the outcome of these ls commands.

You need to be root to save any changes to /etc/modprobe.conf

see how you go, regards Glenn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure VOIP OHPHONE for ALSA USB microphone (no X, no Gui)? frenchn00b Linux - Server 0 09-10-2009 05:08 PM
getting microphone (ALSA) to input into anything dasy2k1 Ubuntu 1 01-17-2008 11:08 AM
Need help config Alsa to use my usb mic as capture device Dragonopolis Slackware 8 04-12-2006 05:11 AM
No microphone output with alsa JohnKFT Slackware 1 09-29-2004 08:37 AM
Microphone doesn't work with Alsa TFK Linux - Hardware 2 07-16-2004 05:40 AM


All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration