Basic Soundcard Setup (Behringer UCA202)

Hello all,

I’m having problems setting up my Behringer UCA202 soundcard/audio interface and was wondering if someone could help me out. I’m not new to linux but neither am I particularly good at using it :wink: Currently I can’t seem to record anything in Ardour, however the little app that comes up when clicking on the speaker icon on the panel does indicate sound coming in (possibly this uses OSS?)

I am using OpenSUSE 11

modprobe.conf in case it’s any help

#
# Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany.
# All rights reserved.
#
# Author: Hubert Mantel <mantel@suse.de>, 1996-2002
#
# Configuration file for loadable modules; used by modprobe
#
# Please don't edit this file. Place your settings into
# /etc/modprobe.conf.local instead.
#
#
########################################################################
# Aliases - specify your hardware
########################################################################

install eth0             /bin/true
install eth1             /bin/true
install tr0              /bin/true
install scsi_hostadapter /bin/true
install fb0              /bin/true

########################################################################
# only used for Mylex or Compaq Raid as module
########################################################################

install block-major-48   /bin/true
install block-major-49   /bin/true
install block-major-72   /bin/true
install block-major-73   /bin/true

########################################################################
# only needed for fifth and sixth IDE adaptor
########################################################################

install block-major-56   /bin/true
install block-major-57   /bin/true

########################################################################
# mouse (for older busmice)
########################################################################

install char-major-10    /bin/true

########################################################################
# If you want to use the new autofs4
########################################################################

alias autofs           autofs4

########################################################################
# For parallel port devices, uncomment the following two lines and
# change "frpw" to the protocol type you use
########################################################################

# install paride /sbin/modprobe --ignore-install paride && { /sbin/modprobe --ignore-install frpw; }
# remove paride { /sbin/modprobe -r --ignore-remove frpw; } ; /sbin/modprobe -r --ignore-remove paride

########################################################################
# Options; these are examples; uncomment and modify the lines you need
########################################################################

# options cdu31a         cdu31a_port=0x340 cdu31a_irq=0
# options aztcd          aztcd=0x320
# options cm206          cm206=0x340,11
# options gscd           gscd=0x340
# options mcdx           mcdx=0x300,11
# options optcd          optcd=0x340
# options sjcd           sjcd_base=0x340
# options sonycd535      sonycd535=0x340

# options ne             io=0x300 irq=5

# Use this if you have two cards:
# options ne             io=0x300,0x320 irq=5,7

# options tulip          options=0
# options 3c59x          options=0
# options 3c501          io=0x280 irq=5
# options 3c503          io=0x280 irq=5 xcvr=0
# options 3c505          io=0x300 irq=10
# options 3c507          io=0x300 irq=10
# options 3c509          irq=10
# options at1700         io=0x260 irq=10
# options wd             io=0x300 irq=10
# options smc9194        io=0x200 irq=10 ifport=0
# options e2100          io=0x300 irq=10 mem=0xd0000 xcvr=0
# options depca          io=0x200 irq=7
# options ewrk3          io=0x300 irq=10
# options eexpress       io=0x300 irq=10
# options hp             io=0x300 irq=10
# options hp100          hp100_port=0x380
# options ac3200         io=0x300 irq=10 mem=0xd0000
# options de620          io=0x378 irq=7 bnc=1
# options ibmtr          io=0xa20
# options arcnet         io=0x300 irq=10 shmem=0xd0000
# options plip           io=0x378 irq=7
# options eepro          io=0x260 irq=10 mem=0x6000
# options eth16i         io=0x2a0 irq=10
# options ni52           io=0x360 irq=9 memstart=0xd0000 memend=0xd4000
# options bttv    pll=1 radio=0 card=0
# options tuner   type=0
# options msp3400 once=1 simple=1

# install bttv /sbin/modprobe --ignore-install bttv && { /sbin/modprobe -k tuner; /sbin/modprobe -k msp3400; }
#

install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
remove dummy0 /sbin/modprobe -r -o dummy0 --ignore-remove dummy
remove dummy1 /sbin/modprobe -r -o dummy1 --ignore-remove dummy

########################################################################
# block dev aliases
########################################################################

install block-major-3     /bin/true
alias block-major-13      xd
alias block-major-15      cdu31a
alias block-major-16      gscd
alias block-major-17      optcd
alias block-major-18      sjcd
alias block-major-20      mcdx
install block-major-22    /bin/true
alias block-major-24      sonycd535
alias block-major-29      aztcd
alias block-major-32      cm206
install block-major-33    /bin/true
install block-major-34    /bin/true
# network block device
install block-major-43    /bin/true
alias block-major-45      pd
alias block-major-46      pcd
alias block-major-47      pf

########################################################################
# char dev aliases
########################################################################

install char-major-10-134 /bin/true
install char-major-10-135 /bin/true
alias char-major-10-175   agpgart
alias char-major-10-181   toshiba
alias char-major-10-250   sonypi
options sonypi            minor=250
install char-major-15     /bin/true
alias char-major-19       cyclades
alias char-major-20       cyclades
install char-major-29     /bin/true
# alias char-major-43       hisax
# alias char-major-44       hisax
# alias char-major-45       hisax
install char-major-43     /bin/true
install char-major-44     /bin/true
install char-major-45     /bin/true
alias char-major-67       coda
alias char-major-75       specialix
alias char-major-76       specialix
alias char-major-81       videodev
install char-major-81-0   /bin/true
install char-major-81-1   /bin/true
install char-major-81-2   /bin/true
install char-major-81-3   /bin/true

alias char-major-96       pt
alias char-major-97       pg
# remove this if sound is configured
install char-major-116    /bin/true

########################################################################
# ppp over ethernet
# the kernel 2.2 uses pppox
# the kernel 2.4 uses pppoe
########################################################################

alias char-major-144      pppoe

########################################################################
# IrDA
########################################################################

alias char-major-161      ircomm-tty

alias char-major-162      raw

########################################################################
# ISDN
########################################################################
install b1pci /bin/true
install c4 /bin/true
install sc /bin/true
install hisax /bin/true
install hisax_fcpcipnp /bin/true
install hfc4s8s_l1 /bin/true
install hysdn /bin/true
install pcbit /bin/true
install t1pci /bin/true
install divas /bin/true
install fcdsl /bin/true
install fcdsl2 /bin/true
install fcpci /bin/true
install fcpnp /bin/true
install fcdslsl /etc/sysconfig/isdn/scripts/hotplug_pci

########################################################################
# USB
########################################################################

install char-major-166    /bin/true

########################################################################
# Moxa Multiport Serial Boards
########################################################################

alias char-major-172      moxa
alias char-major-173      moxa

# options moxa type=2,,, baseaddr=0xdc000,,, numports=8,,,
alias char-major-174      mxser
alias char-major-175      mxser
# options mxser ioaddr=0x180

#alias char-major-180     usbcore

alias char-major-188      usbserial

alias char-major-212      /bin/true

alias binfmt-204          binfmt_aout
alias binfmt-263          binfmt_aout
alias binfmt-264          binfmt_aout
alias binfmt-267          binfmt_aout
alias binfmt-0064         binfmt_aout
alias binfmt-0008         binfmt_aout

alias iso9660             isofs

# alias tty-ldisc-7       6pack
install tty-ldisc-7       /bin/true

# alias ax0               mkiss
install ax0               /bin/true
# alias sp0               6pack
install sp0               /bin/true
alias slip0               slip
alias sl0                 slip
alias slip1               slip
alias sl1                 slip

########################################################################
# the kernel 2.2 uses ppp.o as ppp driver,
# the kernel 2.4 uses ppp_generic.o
########################################################################

alias ppp0                ppp_generic
alias ppp1                ppp_generic

alias plip0               plip
alias plip1               plip

# Tunnel interfaces
alias sit0 ipv6
alias gre0 ip_gre
alias ipip0 ipip

alias xfrm-type-2-50    esp4
alias xfrm-type-2-51    ah4
alias xfrm-type-2-108   ipcomp
alias xfrm-type-10-50   esp6
alias xfrm-type-10-51   ah6
alias xfrm-type-10-108  ipcomp6

# NFS
alias nfs4 nfs

# rpc_pipefs
install rpc_pipefs /sbin/modprobe sunrpc

# we don't want ide-scsi handle CD drives #242009]
options ide-scsi idescsi_nocd=1

# pata_acpi is useful for certain limited cases but it tries to attach any
# controller with IDE class code causing more harm than good if loaded by
# default.  Blacklist it so that it can be used selectively.
blacklist pata_acpi

# "Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not
# after" (bnc#449853)
# mkinitrd hints:
# SUSE INITRD: uhci-hcd REQUIRES ehci-hcd
# SUSE INITRD: ohci-hcd REQUIRES ehci-hcd
install uhci-hcd /sbin/modprobe ehci-hcd; /sbin/modprobe --ignore-install uhci-hcd
install ohci-hcd /sbin/modprobe ehci-hcd; /sbin/modprobe --ignore-install ohci-hcd

 

# end of common part for modprobe.conf
# begin of i386 part for modprobe.conf

alias parport_lowlevel    parport_pc
# disable DMA for parallel port (bnc#180390)
options parport_pc dma=none
# options parport_pc io=0x378 irq=none
# If you have multiple parallel ports, specify them this way:
# options parport_pc io=0x378,0x278  irq=none,none

# Linux ACP modem (Mwave)
alias char-major-10-219 mwave
# options mwave dspirq=10 dspio=0x130 uartirq=3 uartio=0x2f8

# IBM thinkpad tpctl
# see /usr/share/doc/packages/tpctl/
alias char-major-10-170 thinkpad
# options thinkpad enable_smapi=0


# required for DRI support on SiS chips
options sisfb             mode=none mem=12288

# ata_piix can't handle ICH6 in AHCI mode
install ata_piix /sbin/modprobe ahci 2>&1 |:; /sbin/modprobe --ignore-install ata_piix

# QEMU/KVM can handle ACPI Hotplugging
alias dmi:bvnQEMU:bvrQEMU:* acpiphp

# end of i386 part for modprobe.conf

# please keep this at the end and add local modifications to modules.conf.local
include /etc/modprobe.d
include /etc/modprobe.conf.local

Jack settings (running as root):

  • Realtime enabled
  • Frames: 128
  • Sample Rate: 48kHz
  • Periods/Buffer: 2
  • Port Max: 256
  • Timeout: 500msec
  • input + output set to hw1,0 (USB Audio)
  • Driver: ALSA

If you want any other info just tell me… I can’t seem to remember what files you guys need to help me >:(

Thanks in advance.