cat /proc/asound/cards
0 [card0 ]: ES1968 - ESS ES1968 (Maestro 2)
                     ESS ES1968 (Maestro 2) at 0xf800, irq 5



I have installed ALSA 0.9.0rc3 on Redhat 7.2 with 2.4.18 kernel. Everything seems to 
work except MIDI. Whenever I try to play a MIDI file the system hangs without any 
error messages. I have to cycle power to recover.

In an attempt to debug the problem I traced through pmidi (1.5.4) and found that the 
crash seems to occur in the driver at seq_ports.c: snd_seq_port_connect(). But the 
point of failure within the function isn't consistent. It seems like it just happens 
to be in this function when something (perhaps an interrupt?) causes the crash.

I can also crash the system by executing the command:
 > cat /proc/asound/dev/midiC0D0

Again, there are no error messages of any kind.

Cat'ing the other files in this directory gives the following:

cat: /proc/asound/dev/controlC0: File descriptor in bad state
cat: /proc/asound/dev/pcmC0D0c: File descriptor in bad state
cat: /proc/asound/dev/pcmC0D0p: Invalid argument


The configuration is as follows:

/etc/modules.conf:
path[sound]=/lib/modules/2.4.18-timesys-4.0/kernel/sound
alias char-major-116 snd
alias snd-card-0 snd-es1968
options snd-cmipci snd_enable_midi=1

alias char-major-14 soundcore
alias sound-slot-0 snd-card-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-12 snd-pcm-oss

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 ||
:



The following modules are loaded:

Module Size Used by
snd-seq-midi 4672 0 (autoclean) (unused)
snd-seq-midi-event 3552 0 (autoclean) [snd-seq-midi]
snd-seq 48912 0 (autoclean) [snd-seq-midi snd-seq-midi-event]
snd-pcm-oss 47984 0 (autoclean)
snd-mixer-oss 11088 0 (autoclean) [snd-pcm-oss]
snd-es1968 20752 0 (autoclean)
snd-pcm 69376 0 (autoclean) [snd-pcm-oss snd-es1968]
snd-timer 13968 0 (autoclean) [snd-seq snd-pcm]
snd-ac97-codec 26656 0 (autoclean) [snd-es1968]
snd-mpu401-uart 4432 0 (autoclean) [snd-es1968]
snd-rawmidi 15168 0 (autoclean) [snd-seq-midi snd-mpu401-uart]
snd-seq-device 4336 0 (autoclean) [snd-seq-midi snd-seq snd-rawmidi]
snd 37424 0 (autoclean) [snd-seq-midi snd-seq-midi-event snd-seq snd-pcm-oss 
snd-mixer-oss snd-es1968 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi 
snd-seq-device]



P.S. The same software seems to work on an ES1978 Maestro 2E - except that notebook 
doesn't have a MIDI connector :-) - but at least it doesn't crash.


Thanks for any suggestions,

Biffo


-------------------------------------------------------
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