You are not logged in.

#1 2013-04-27 15:55:03

Sbluetrb
Member
From: Chicago
Registered: 2013-04-27
Posts: 3

Audio Input and Output problem

Hi everyone,
I am new to Arch and I am loving it. I started with Ubuntu then I moved to Debian testing. I am still using Debian with LXDE but I love gnome and I want to use Arch because the minimalist idea of gnome is great. Arch let me install only what I want to install and I am so happy with it. Thanks Arch!
But I have a small problem.

Some reason gnome did not see my nvidia HDMI output sound device so I had to create `/.asoundrc file to fix it.

defaults.pcm.card 0
defaults.pcm.device 7
defaults.ctl.card 2

After the reboot /.asoundrc file fixed the output sound problem and now I can see and use my sound device on the sound settings
but it caused another problem, now I lost the input device which was available before I created `/.asoundrc. roll

I tried to fix the input problem adding below lines to /.asoundrc file but it did not worked, so what am I missing?

defaults.pcm.card 0
defaults.pcm.device 7
defaults.ctl.card 2

pcm.usb
{
    type hw
    card VF0680
}

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

output of aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

output of arecord -L

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=Intel
    HDA Intel, ALC1200 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
sysdefault:CARD=V1
    Default Audio Device
front:CARD=V1,DEV=0
    VF0680 Live! Cam Socialize HD 1, USB Audio
    Front speakers
surround40:CARD=V1,DEV=0
    VF0680 Live! Cam Socialize HD 1, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=V1,DEV=0
    VF0680 Live! Cam Socialize HD 1, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=V1,DEV=0
    VF0680 Live! Cam Socialize HD 1, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=V1,DEV=0
    VF0680 Live! Cam Socialize HD 1, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=V1,DEV=0
    VF0680 Live! Cam Socialize HD 1, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=V1,DEV=0
    VF0680 Live! Cam Socialize HD 1, USB Audio
    IEC958 (S/PDIF) Digital Audio Output

Thank you for your help in advance and sorry for the long detailed thread,
SC


Debian(Testing)+LXDE
Archlinux+Gnome

Offline

#2 2013-04-27 17:16:19

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Audio Input and Output problem

Sbluetrb wrote:

defaults.pcm.card 0
defaults.pcm.device 7
defaults.ctl.card 2

Stop using random numbers that can easily change.

Google multiple cards and read...

Last edited by brebs (2013-04-27 17:16:44)

Offline

#3 2013-04-27 17:42:43

Sbluetrb
Member
From: Chicago
Registered: 2013-04-27
Posts: 3

Re: Audio Input and Output problem

What do you mean random numbers? I get these by trying every combination with below;

aplay -l
aplay -D plughw:2,7 /usr/share/sounds/alsa/Front_Center.wav

and only 2,7 fixed the OUTPUT sound problem.

But now it caused another problem which made webcam microphone disappeared from the input audio devices, I tried to fix that too adding more according to article I found here (https://wiki.archlinux.org/index.php/Ad … chitecture) but some reason I couldn't?

I will look at the multiple cards and hopefully I will fix it,

Thanks,


Debian(Testing)+LXDE
Archlinux+Gnome

Offline

#4 2013-04-27 17:58:26

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Audio Input and Output problem

You're specifying card 0 and card 2. What's to stop those numbers from changing, e.g. swapping around, at the next reboot, thanks to the magic of udev's hotplugging?

So specify them better, there's several methods.

Offline

#5 2013-04-27 18:02:23

Sbluetrb
Member
From: Chicago
Registered: 2013-04-27
Posts: 3

Re: Audio Input and Output problem

I see your point, I will do some reading as you suggested earlier. Thanks!


Debian(Testing)+LXDE
Archlinux+Gnome

Offline

#6 2013-06-30 05:02:54

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Re: Audio Input and Output problem

brebs wrote:

You're specifying card 0 and card 2. What's to stop those numbers from changing, e.g. swapping around, at the next reboot, thanks to the magic of udev's hotplugging?

So specify them better, there's several methods.

I am wondering what the answer is myself, instead you have given a curt and rude response. I have one pc setup to use .asoundrc and using the same method as the author of this thread, but now I am wondering if the default will change on reboot or not.

Offline

Board footer

Powered by FluxBB