Re: [LAU] Blacklisting undesired audio devices

From: Jouni Rinne <l33tmmx@email-addr-hidden>
Date: Tue Jun 28 2011 - 22:09:15 EEST

28.06.2011 19:33, R.Wolff kirjoitti:
> Hi folks,
> I'm wanting to blacklist some audio devices so that the drivers don't get loaded
> on boot.
>
>
> avl5@email-addr-hidden:~$ cat /proc/asound/cards
> 0 [SB ]: HDA-Intel - HDA ATI SB
> HDA ATI SB at 0xfe8f0000 irq 16
> 1 [M1010LT ]: ICE1712 - M Audio Delta 1010LT
> M Audio Delta 1010LT at 0xe800, irq 20
> 2 [U0x46d0x8ce ]: USB-Audio - USB Device 0x46d:0x8ce
> USB Device 0x46d:0x8ce at usb-0000:00:12.2-2, high speed
> 3 [HDMI ]: HDA-Intel - HDA ATI HDMI
> HDA ATI HDMI at 0xfe9ec000 irq 44
> 4 [BCR2000 ]: USB-Audio - BCR2000
> BEHRINGER BCR2000 at usb-0000:00:12.1-1, full speed
> 5 [DR880 ]: USB-Audio - DR-880
> BOSS DR-880 at usb-0000:00:12.0-1, full speed
>
>
> I want to blacklist 2 + 3 (webcam and RADEON HD4650 HDMI).
> I'm using AVLinux 5 (debian 6.0.1) with the custom pae_kernel 2.6.39-2 and after
> reading the alsa
> website for the correct ordering of cards on boot, I learned that we should use
> the 'slots' option instead of 'index=nn'. The appropriate line in
> /etc/modprobe.d/alsa-base.conf is now:
>
> options snd slots=snd-hda-intel,snd-ice1712
>
> But I couldn't find anything about blacklisting. Mybe I'm just to blind to see. :(
>
> So if anybody could help me out, I'd be very grateful.
>
> TIA,
> Raphael ;)
>

At least on Gentoo it is /etc/modprobe.d/blacklist.conf (the actual path and/or
filename may vary on different distros). Put a line containing 'blacklist
snd_hda_intel' or some other kernel module on it.

Device 2 uses snd_usb_audio-module so by blacklisting it you lose all
USB-audio-devices. As for the admittedly stupid HDMI device (3), on current
kernels it comes hand-to-hand with snd_hda_intel, so you can't have the one
without the other.

JR
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Jun 29 00:15:03 2011

This archive was generated by hypermail 2.1.8 : Wed Jun 29 2011 - 00:15:03 EEST