PDA

View Full Version : no /dev/midi using ALSA



dmitry
02-17-2005, 03:37 PM
Hi All,

I have some problems with /dev/midi under knoppix.
When I try to open /dev/midi, all programs says "No such file or
device". Soundcard plays all sounds fine.

"cat /proc/asound/oss/sndstat" says the following:
-------------------------------
Sound Driver:3.8.1a-980706 (ALSA v1.0.4rc2 emulation code)
Kernel: Linux 2.6.6 #2 SMP Mon May 31 20:56:59 CEST 2004 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
VIA 8235 at 0xe400, irq 22
Audio devices:
0: VIA 8235 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer
Mixers:
0: Realtek ALC200/200P rev 0
-------------------------------

Here is what lsmod returns:
-------------------------------
snd_seq_oss 32416 0
snd_seq_midi_event 7680 1 snd_seq_oss
snd_seq 51664 4 snd_seq_oss,snd_seq_midi_event
snd_via82xx 25024 0
snd_pcm_oss 49764 0
snd_mixer_oss 17152 1 snd_pcm_oss
snd_pcm 92064 2 snd_via82xx,snd_pcm_oss
snd_timer 24996 2 snd_seq,snd_pcm
snd_ac97_codec 57220 1 snd_via82xx
snd_page_alloc 10788 2 snd_via82xx,snd_pcm
gameport 4736 1 snd_via82xx
snd_mpu401_uart 7776 1 snd_via82xx
snd_rawmidi 23936 1 snd_mpu401_uart
snd_seq_device 7944 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 51780 12
snd_seq_oss,snd_seq_midi_event,snd_seq,snd_via8
2xx,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,sn d_ac97_codec,snd_mpu401_uart,s
nd_rawmidi,snd_seq_device
soundcore 9728 1 snd
-------------------------------

As you can see, midi is "NOT ENABLED IN CONFIG", but alsaconf detects
the soundcard correctly.
How to turn /dev/midi on? Where I can "enable" midi device for alsa?

Thanks,
Dmitry