Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to get my usb soundcard working on Debian 7.6

Need help with peripherals or devices?
Post Reply
Message
Author
ZabrielZacob
Posts: 12
Joined: 2014-09-07 21:39

How to get my usb soundcard working on Debian 7.6

#1 Post by ZabrielZacob »

Hello,

I am new in Debian as i am 4-5 year in ubuntu. I switched to Debian recently and it feels great. But i have a problem with sound configuration etc. How can i get my usb soundcard (Behringer UPhoria UM2) working and set it as default soundcard?

I am posting results of several commands

cat /proc/asound/cards :

Code: Select all

0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe024000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfdffc000 irq 43
 2 [CODEC          ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:12.1-2, full speed
aplay -l :

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lsusb :

Code: Select all

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1058:0730 Western Digital Technologies, Inc. 
Bus 004 Device 002: ID 08bb:2902 Texas Instruments Japan PCM2902 Audio Codec
Bus 004 Device 003: ID 046d:c046 Logitech, Inc. RX1000 Laser Mouse
lspci | grep audio : returns nothing

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

Code: Select all

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
Changing the index of snd-usb-audio to 1 does not work.

I am trying very hard last days to fix that problem with no success. Kernel i am running is 3.2.0-4-amd64. Last days i had compiled 3.14 but i dont know if i messed up the configuration for device drivers etc. I certainly want kernel 3.4-lowlatency configured but i dont know what device drivers should be included in menuconfig. Also i do not know for sure if it is a permission issue.

Thanks!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: How to get my usb soundcard working on Debian 7.6

#2 Post by stevepusser »

You may think about installing pulseaudio and pavucontrol, possibly the newer version in wheezy-backports, as it seems to just automagically get multiple sound cards working when they have your kind of problems--at least it's been solving those issues in Wheezy-based MX 14. I tested it with my problem audio, installing pulseaudio and removing my custom ~/.asoundrc that was necessary without it, rebooted, and all sound started working anyway.
MX Linux packager and developer

ZabrielZacob
Posts: 12
Joined: 2014-09-07 21:39

Re: How to get my usb soundcard working on Debian 7.6

#3 Post by ZabrielZacob »

So if i install pulseaudio everything will just work ? Will i have to reorder default soundcard or not? I think that if i will try using pulseaudio will lead to other problems. Is there a way of using pulseaudio without messing up alsa etc?

ZabrielZacob
Posts: 12
Joined: 2014-09-07 21:39

Re: How to get my usb soundcard working on Debian 7.6

#4 Post by ZabrielZacob »

Finally fixed it! What i had to do was edit /etc/modprobe.d/alsa-base.conf adding these lines

Code: Select all

# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-hda-intel index=-2 model=auto vid=1002 pid=4383
options snd-hda-intel index=-2 model=auto vid=1002 pid=aa30
and editing the index of snd-usb-audio to 0 :

Code: Select all

# Usb Audio As First soundcard
options snd-usb-audio index=0
I hope this will help anyone with same problem!

Post Reply