[ltp] Alsa Midi again (still?)

Bert Haskins linux-thinkpad@linux-thinkpad.org
Sun, 18 Jul 2004 23:26:54 -0400


I've been fighting Alsa for quite some time now.
No doubt about it, Alsa is winning!
This is a Thinkpad 770Z.
The .wav sound is very nice, xmms (wav) and totem ( avi, mp2, mp3 ).
Midi is a total no show and the only hint that I have is three messages
that appear for about 150ms. at the end of show details on loading.
This is just a !@#$ tease, the error? messages don't stay long enough
to make any sense and they don't appear in /var/log/messages or dmesg.

If you can think of anything that I am missing please let me know.
System stats follow.
Thanks,
   Bert

///////    aplaymidi -l
 Port    Client name                      Port name
 65:0    OPL3 FM synth                    OPL3 FM Port

//////////////   /proc/interrupts //////////////
CPU0      
  0:     974986          XT-PIC  timer
  1:        572          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:        122          XT-PIC  orinoco_cs
  5:       4850          XT-PIC  CS4231
  8:          1          XT-PIC  rtc
 11:          2          XT-PIC  uhci_hcd, yenta, yenta
 12:      13816          XT-PIC  i8042
 14:      18427          XT-PIC  ide0
 15:      10302          XT-PIC  ide1
NMI:          0
ERR:          0

//////////// /proc/ioports ////////////
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
0180-01bf : orinoco_cs
01f0-01f7 : ide0
0376-0376 : ide1
0388-0389 : OPL2/3 (left)
038a-038b : OPL2/3 (right)
03bc-03be : parport0
03c0-03df : vga+
03f6-03f6 : ide0
0530-0533 : CS4231
0538-053f : CS4232 Control
0cf8-0cff : PCI conf1
4000-40ff : PCI CardBus #02
4400-44ff : PCI CardBus #02
4800-48ff : PCI CardBus #06
4c00-4cff : PCI CardBus #06
8400-841f : 0000:00:07.2
  8400-841f : uhci_hcd
d000-dfff : PCI Bus #01
ef00-ef3f : 0000:00:07.3
efa0-efbf : 0000:00:07.3
fcf0-fcff : 0000:00:07.1
  fcf0-fcf7 : ide0
  fcf8-fcff : ide1

////////////// lsmod ////////////////////////
Module                  Size  Used by
snd_seq_oss            24448  0
snd_seq_midi_event      5504  1 snd_seq_oss
snd_opl3_synth         11268  0
snd_seq_instr           6144  1 snd_opl3_synth
snd_seq_midi_emul       6144  1 snd_opl3_synth
snd_ainstr_fm           2304  1 snd_opl3_synth
snd_seq                39440  7 
snd_seq_oss,snd_seq_midi_event,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul
snd_mixer_oss          13824  1
snd_cs4236             15176  5
snd_opl3_lib            7424  2 snd_opl3_synth,snd_cs4236
snd_hwdep               6276  1 snd_opl3_lib
snd_cs4236_lib         12928  1 snd_cs4236
snd_mpu401_uart         4864  1 snd_cs4236
snd_rawmidi            17444  1 snd_mpu401_uart
snd_seq_device          6152  5 
snd_seq_oss,snd_opl3_synth,snd_seq,snd_opl3_lib,snd_rawmidi
snd_cs4231_lib         19076  2 snd_cs4236,snd_cs4236_lib
snd_pcm                69256  2 snd_cs4236_lib,snd_cs4231_lib
snd_timer              17284  4 snd_seq,snd_opl3_lib,snd_cs4231_lib,snd_pcm
snd_page_alloc          8072  2 snd_cs4231_lib,snd_pcm
snd                    39396  24 
snd_seq_oss,snd_seq_midi_event,snd_opl3_synth,snd_seq_instr,snd_seq,snd_mixer_oss,snd_cs4236,snd_opl3_lib,snd_hwdep,snd_cs4236_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_cs4231_lib,snd_pcm,snd_timer
soundcore               6112  2 snd
parport_pc             19392  1
lp                      8236  0
parport                29640  2 parport_pc,lp
autofs4                12932  0
orinoco_cs              6152  1
orinoco                31500  1 orinoco_cs
hermes                  6528  2 orinoco_cs,orinoco
ds                     12292  5 orinoco_cs
yenta_socket           15232  1
pcmcia_core            47176  3 orinoco_cs,ds,yenta_socket
sunrpc                109924  1
floppy                 47440  0
sg                     27680  0
scsi_mod               91984  1 sg
microcode               4768  0
dm_mod                 32800  0
uhci_hcd               24472  0
ipv6                  184672  8
ext3                  103656  3
jbd                    40728  1 ext3

/////////////   modprobe.conf
alias wlan0 orinoco_cs
alias usb-controller uhci-hcd

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias char-major-116 snd
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x538 fm_port=0x388 isapnp=0 dma1=1 
dma2=0 irq=5
options mpu_port=0x330 mpu_irq=9
 
# --- END: Generated by ALSACONF, do not edit. ---

        # OSS/Free portion
alias char-major-14-* soundcore

alias sound-slot-0 snd-card-0

# 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
 
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss