Re: Help with USB audio card
Rodolfo Medina wrote:
> Hi all.
>
> I just bought an external USB audio card. I plugged it into the USB port
> of my
> PC and plugged a 3.5mm jack microphone into the `mic' input of the card.
> It is shown in lsusb:
>
> $ lsusb
> Bus 002 Device 005: ID 17ef:602e Lenovo
> Bus 002 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
> Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 010: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio
> Controlle Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp.
> RTS5129 Card Reader Bus 001 Device 002: ID 0438:7900 Advanced Micro
> Devices, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
> hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
>
> and also in arecord:
>
> $ arecord --list-devices
> **** List of CAPTURE Hardware Devices ****
> card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662
> rev3 Analog]
> Subdevices: 0/1
> Subdevice #0: subdevice #0
> card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog
> [ALC662 rev3 Alt Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> Besides, I ran alsamixer, selected the USB card and unmuted everything.
> But
> then, when I try to record, no sound is recorded. I do:
>
> $ sox -t alsa hw:2,0 output.wav
>
> , or
>
> $ arecord -f S16_LE -D hw:2,0 -r 96000 test.wav
>
> , or also within Audacity. But nothing, my voice is not recorded. Please
> help whoever can.
>
> Thanks,
>
> Rodolfo
A short howto I wrote years ago
1) find out cards and inputs
shell> cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xff950000 irq 22
1 [HVR900 ]: USB-Audio - WinTV HVR-900
WinTV HVR-900 at usb-0000:00:1a.7-3, high speed
2 [Webcam ]: USB-Audio - Philips SPC 1000NC Webcam
Philips CE Philips SPC 1000NC Webcam at
usb-0000:00:1a.7-5.4, high speed
=> I'm going to use the Webcam built in mic => card # 2
2) find out the input
shell> cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
6: [ 0- 2]: hardware dependent
7: [ 0- 3]: hardware dependent
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
19: [ 0- 3]: digital audio playback
24: [ 0- 0]: digital audio capture
32: [ 1] : control
33: : timer
56: [ 1- 0]: digital audio capture
64: [ 2] : control
88: [ 2- 0]: digital audio capture
=> my input is the capture on the second card
88: [ 2- 0]: digital audio capture
3) so no we can test the mic
shell> arecord -c1 -Dplughw:2,0 -f cd -vv /dev/null
regards
Reply to: