You are not logged in.

#1 2024-10-19 00:12:47

Jeffhunt90
Member
Registered: 2012-11-20
Posts: 14

USB mic only partly operative

My Logitech USB webcam microphone works with the command

arecord --format=dat --duration=15 text.wav

but nothing else.
Without the --format, or on the internet it lights up but does not accept sound input.
I'm using a Dell Optiplex desktop with a limited install of Wayland, Sway, and some Gnome software.
I want to use only configuration files for a simple setup.
It has HDMI output from its single sound card (device 3 for HDMI output), and I used the code on the Archlinux Wiki page 'troubleshooting alsa' to identify the USB microphone which I put into ~/.asoundrc .

/etc/modprobe.d/alsa-base.conf

options snd_hda_intel index=0
options snd_usb_audio index=1

~/.asoundrc

pcm.usb
{
    type hw
    card C170
}

pcm.!default
{
    type asym
    playback.pcm
    {
        type plug
        slave.pcm "dmix"
    }
    capture.pcm
    {
        type plug
        slave.pcm "usb"
    }
}

defaults.pcm.device 3

aplay -Ll

null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC3234 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, SONY TV
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
sysdefault:CARD=C170
    Default Audio Device
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3234 Analog [ALC3234 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [SONY TV]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 
/proc/asound/modules
 

 0 snd_hda_intel
 1 snd_usb_audio
  

 
  How do I make my mic always work?

Offline

Board footer

Powered by FluxBB