[64studio-devel] Simple question on modules.conf
Simon Lewis
simon.lewis at mnet-online.de
Fri May 4 17:50:59 UTC 2007
Hello Dennis
Try /etc/modprobe.d/alsa-base
The following is just for example purposes and will have to be adapted
to match your hardware (see end of last section):
# 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 $CMDLINE_OPTS && {
/sbin/modprobe -Qb snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS &&
{ /sbin/modprobe -Qb snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer
$CMDLINE_OPTS && { /sbin/modprobe --Qb snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS &&
{ /sbin/modprobe -Qb snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ;
: ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
$CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
$CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS &&
{ /sbin/modprobe -Qb saa7134-alsa ; : ; }
# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && {
/sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
Best regards, Simon
Dennis Schulmeister schrieb:
> Hi,
>
> I have a CMIPCI sound card built into my computer because it has a
> working MPU-401 connector. Back when I ran Ubuntu on that machine there
> was a problem with the on-board MPU-401 so I added another sound card
> just for the midi port which worked fine.
>
> Using 64Studio the card got recognized with all components but the midi
> port. Some fiddling and clustyfoo[*] later I was able to get it working:
>
> $ sudo rmmod snd-cmipci
> $ sudo modprobe -v snd-cmipci mpu_port=0x300
>
> The problem is how do I tell that to modules.conf? I know that manually
> editing modules.conf is not recommended on Debian systems. On the other
> hand update-modules is depreciated. What am I missing?
>
> The other question is whether those changes are worth being incorporated
> to the mainstream distribution.
>
> Thanks for your replies.
>
>
>
> Yours sincerely,
> Dennis Schulmeister
>
>
> [*] Actually I prefer www.clusty.com over Google.
>
>
More information about the 64studio-devel
mailing list