Hi,

I have a SB Live Platinum sound card. Everything works fine except MIDI.

'pmidi -l' gives me no available ports:

xanthos:~# pmidi -l
Port Client name Port name

After I have loaded a soundfont file 'sfxload 8mbgmsfx.sf2' I can play MIDI-files with 'playmidi -a _.mid' but 'pmidi -l' still gives me no more available ports. What's wrong?

Relevant information for my Debian system follow:

The kernel is compiled with sound support.

xanthos:~# less /usr/src/kernel-source-2.4.19/.config
...
#
# Sound
#
CONFIG_SOUND=m
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_BT878 is not set
...

xanthos:~# uname -a
Linux xanthos 2.4.19 #1 SMP Mon Nov 18 20:23:26 CET 2002 i686 unknown unknown GNU/Linux


xanthos:~# cat /etc/modules.conf
...
### update-modules: start processing /etc/modutils/alsa
# Example Configuration of ALSA 0.9 for Debian GNU/Linux

alias char-major-116 snd
alias char-major-14 soundcore

options snd major=116 cards_limit=2 device_mode=0660 device_gid=29 device_uid=0

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

alias snd-card-0 snd-emu10k1
#alias snd-card-1 snd-serial
#alias snd-card-2 snd-share
alias snd-card-1 snd-virmidi

alias sound-slot-0 snd-card-0
#alias sound-slot-1 snd-card-1
#alias sound-slot-2 snd-card-2
alias sound-slot-1 snd-card-1

#alias snd-synth-midi snd-seq-midi
#alias snd-emu10k1 snd-synth-emu10k1

options snd-emu10k1 index=0
options snd-virmidi index=1

# You must need to add your own card setteings below.
# or use alsaconf to setup in menu form.

### update-modules: end processing /etc/modutils/alsa
...


xanthos:~# cat /proc/modules
snd-seq-midi 3136 0 (autoclean) (unused)
snd-emu10k1-synth 3808 0 (autoclean) (unused)
snd-emux-synth 23932 0 (autoclean) [snd-emu10k1-synth]
snd-seq-midi-emul 4432 0 (autoclean) [snd-emux-synth]
snd-seq-oss 22912 0 (unused)
snd-pcm-oss 35684 0 (unused)
snd-mixer-oss 10560 0 [snd-pcm-oss]
snd-virmidi 1280 0
snd-seq-virmidi 2728 0 [snd-emux-synth snd-virmidi]
snd-seq-midi-event 3256 0 [snd-seq-midi snd-seq-oss snd-seq-virmidi]
snd-seq 36620 2 [snd-seq-midi snd-emux-synth snd-seq-midi-emul snd-seq-oss snd-seq-virmidi snd-seq-midi-event]
snd-emu10k1 58628 0 [snd-emu10k1-synth]
snd-pcm 54912 0 [snd-pcm-oss snd-emu10k1]
snd-timer 10208 0 [snd-seq snd-pcm]
snd-rawmidi 12256 0 [snd-seq-midi snd-seq-virmidi snd-emu10k1]
snd-util-mem 1376 0 [snd-emux-synth snd-emu10k1]
snd-ac97-codec 24816 0 [snd-emu10k1]
snd-hwdep 3424 0 [snd-emu10k1]
snd-seq-device 3776 0 [snd-seq-midi snd-emu10k1-synth snd-emux-synth snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd 24840 0 [snd-seq-midi snd-emux-synth snd-seq-oss snd-pcm-oss snd-mixer-oss snd-virmidi snd-seq-virmidi snd-seq-midi-event snd-seq snd-emu10k1 snd-pcm snd-timer snd-rawmidi snd-util-mem snd-ac97-codec snd-hwdep snd-seq-device]
soundcore 3844 15 [snd]
...


xanthos:~# aconnect -io client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 64: 'External MIDI 0' [type=kernel]
0 'MIDI 0-0 '
client 65: 'Emu10k1 WaveTable' [type=kernel]
0 'Emu10k1 Port 0 '
1 'Emu10k1 Port 1 '
2 'Emu10k1 Port 2 '
3 'Emu10k1 Port 3 '
client 72: 'Virtual Raw MIDI 1-0' [type=kernel]
0 'VirMIDI 1-0 '
client 73: 'Virtual Raw MIDI 1-1' [type=kernel]
0 'VirMIDI 1-1 '
client 74: 'Virtual Raw MIDI 1-2' [type=kernel]
0 'VirMIDI 1-2 '
client 75: 'Virtual Raw MIDI 1-3' [type=kernel]
0 'VirMIDI 1-3 '

xanthos:~# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v0.9.0rc5 emulation code)
Kernel: Linux xanthos 2.4.19 #1 SMP Mon Nov 18 20:23:26 CET 2002 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Sound Blaster Live! at 0xe800, irq 11
Virtual MIDI Card 1

Audio devices:
0: EMU10K1 (DUPLEX)

Synth devices:
0: Emu10k1

Midi devices:
0: EMU10K1 MPU-401 (UART)
1: Virtual Raw MIDI

Timers:
7: system timer

Mixers:
0: SigmaTel STAC9721/23
1: mixer10


Everything looks fine but I can't use pmidi:

xanthos:~# pmidi -p 65:0 /home/hhache/MyMusic/superst.mid
Error creating port Inappropriate ioctl for device
Could not connect to port 65:0

I get the same error message for the other ports.



Has anyone any idea what I have to change??

Other question: Is the front panel Live! Drive of the SB Live! Platinum sound card supported under Linux?

Thanks in advance

Hendrik



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to