[LAU] alsa sequencer port numbering

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-audio-user <Linux-audio-user@...>
Date: Friday, November 19, 2010 - 6:58 pm

I've recently updated my system from Ubuntu 9.10 to 10.10. One
unresolved problem I have now is the sequencer port number assignment.

On a boot, sometimes it comes up as 20:0 ... other times as 16:0.

I do have 2 audio cards on the system, but only one has a seq.

bob$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
20:0 Ensoniq AudioPCI ES1371

And in my /etc/modprobe.d/alsa-base.conf file:

bob$ cat alsa-base.conf
# 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 &#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS
&install snd-mixer /sbin/modprobe --ignore-install snd-mixer
$CMDLINE_OPTS &install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS
&#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi
$CMDLINE_OPTS &# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
$CMDLINE_OPTS &install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
$CMDLINE_OPTS &# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS
&# Prevent abnormal drivers from grabbing index 0
options 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-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from being loaded as first soundcard
options snd-usb-audio index=-2

I'd love to fix this one way or the other ... either get a reliable
value for the port (which I always did under 9.10) or figure a way to
set the value to something I want.

Thanks.

--
**** Listen to my CD at http://www.mellowood.ca/music/cedars ****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bob@mellowood.ca
WWW:   http://www.mellowood.ca
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] alsa sequencer port numbering, Bob van der Poel, (Fri Nov 19, 6:58 pm)
Re: [LAU] alsa sequencer port numbering, Jeremy Jongepier, (Fri Nov 19, 8:18 pm)
Re: [LAU] alsa sequencer port numbering, Bob van der Poel, (Fri Nov 19, 8:29 pm)
Re: [LAU] alsa sequencer port numbering, Paul Davis, (Fri Nov 19, 8:48 pm)
Re: [LAU] alsa sequencer port numbering, Jeremy Jongepier, (Fri Nov 19, 8:48 pm)
Re: [LAU] alsa sequencer port numbering, Jeremy Jongepier, (Fri Nov 19, 8:58 pm)
Re: [LAU] alsa sequencer port numbering, Bob van der Poel, (Fri Nov 19, 10:26 pm)
Re: [LAU] alsa sequencer port numbering, Gwenhwyfaer, (Sat Nov 20, 12:27 pm)
Re: [LAU] alsa sequencer port numbering, Bob van der Poel, (Sat Nov 20, 4:26 pm)