Yes, /etc/modules.d/alsa. There are other ways.niffs wrote:Is there a file (hotplug or modprobe perhaps?) that I could edit to make it prefer the EMU10k1?
Code: Select all
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1It might be worth trying.niffs wrote:Tis empty. Should emu10k1 modules go in there?
I realize that, my interest was in the order in which the modules are loaded.niffs wrote:But the problem isn't that the modules aren't being loaded...
Take over how?niffs wrote:its just that the ac97 modules load as well, and take over...
Code: Select all
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}Code: Select all
options snd-emu10k1 index=0 Code: Select all
cat /proc/asound/cards
0 [U0x46d0x8b0 ]: USB-Audio - USB Device 0x46d:0x8b0
USB Device 0x46d:0x8b0 at usb-0000:00:10.0-1, full speed
1 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with ALC650D at 0xdc00, irq 18
Code: Select all
/etc/modules.d/alsa
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
#option snd-via82xx index=-2
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.13 ---
alias snd-card-1 snd-via82xx
alias sound-slot-1 snd-via82xx
alias snd-card-0 snd-usb-audio
alias sound-slot-0 snd-usb-audio
# --- END: Generated by ALSACONF, do not edit. ---
Code: Select all
/etc/asound.conf
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}Code: Select all
alsa-init: playback open error: Permission deniedCode: Select all
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xefffc000 irq 50
1 [Audio ]: USB-Audio - USB Audio
USB Audio at usb-0000:00:1d.7-6.1.4, full speedCode: Select all
# Set this to the correct number of cards.
/etc/modules.d/alsa
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14rc1 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-usb-audio
# --- END: Generated by ALSACONF, do not editCode: Select all
/etc/asound.conf
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}Code: Select all
Bus 001 Device 009: ID 0d8c:0006 C-Media Electronics, Inc.Code: Select all
lsmod | grep -i snd
snd_seq 60800 0
snd_usb_audio 87968 1
snd_usb_lib 20736 1 snd_usb_audio
snd_rawmidi 25600 1 snd_usb_lib
snd_seq_device 11924 2 snd_seq,snd_rawmidi
snd_hwdep 12552 1 snd_usb_audio
snd_hda_intel 20380 1
snd_hda_codec 191232 1 snd_hda_intel
snd_pcm 83976 3 snd_usb_audio,snd_hda_intel,snd_hda_codec
snd_timer 25864 2 snd_seq,snd_pcm
snd 52656 13 snd_seq,snd_usb_audio,snd_rawmidi,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore 13216 1 snd
snd_page_alloc 12688 2 snd_hda_intel,snd_pcm
Code: Select all
dmesg | grep -i snd
snd-usb-audio 1-6.1.4:1.0: usb_probe_interface
snd-usb-audio 1-6.1.4:1.0: usb_probe_interface - got id
usbcore: registered new driver snd-usb-audioCode: Select all
alsa-init: unable to set hw-parameters: Broken pipe
Code: Select all
options snd cards_limit=2
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio
options snd-hda-intel index=1
options snd-usb-audio index=0
alias sound-slot-0 snd-hda-intel
alias sound-slot-1 snd-usb-audioCode: Select all
alsa-init: unable to set hw-parameters: Broken pipeCode: Select all
# CONFIG_USB_EHCI_SPLIT_ISO