On Fri, May 02, 2003 at 03:03:26PM +0200, badspirit wrote: > On Friday 02 of May 2003 16:21, krzys wrote: > > On Fri, May 02, 2003 at 01:20:17PM +0200, badspirit wrote: > > > On Friday 02 of May 2003 12:10, Tohver wrote: > > > > On Fri, May 02, 2003 at 08:20:53AM +0200, badspirit wrote: > > > > > witam > > > > > chcialem odtworzyc plik midi ale gdy tylko dodalem plik > > > > > otrzymalem komunikat ze nie mozna otworzyc urzadzenia > > > > > /dev/sequencer myslalem ze to prawa dostepu wiec sprobowalem > > > > > z roota a tam tak samo pisze ze nei mozna uzyc urzadzenia i ze byc > > > > > moze jest ono uzywane przez inny proces > > > > > ta mozliwosc raczej odpada > > > > > mam karte muzyczna sb128 > > > > > ma ktos moze pomysl dlaczego tak sie dzieje i jak to naprawic ? > > > > > moze brakuje mi czegos w kernelu ale nie wiem czego > > > > > > > > W Documentation/sound/es1371 czytamy: > > > > > > > > This soundcard does not have any hardware MIDI synthesizer; > > > > MIDI synthesis has to be done in software. To allow this > > > > the driver/soundcard supports two PCM (/dev/dsp) interfaces. > > > > > > > > There is a freely available software package that allows > > > > MIDI file playback on this soundcard called Timidity. > > > > See http://www.cgs.fi/~tt/timidity/. > > > > > > > > Ja uzywam sterownikow alsy, mam zaladowane moduly: > > > > snd-seq-midi > > > > snd-seq-midi-event > > > > snd-seq > > > > snd-rawmidi > > > > snd-seq-device > > > > i tez dziala. > > > > > > a mozesz podac jak to poustawiales ? > > > bo ja dalem najnowsze sterowniki alsy > > > przy driverze dalem > > > ./configure --with-oss=yes --with-sequencer=yes --with-cards=ens1371 > > > potem zaladowalem do pliku modules.conf > > > alias char-major-116 snd > > > alias char-major-14 soundcore > > > alias snd-card-0 snd-ens1371 > > > 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-8 snd-seq-oss > > > alias sound-service-0-12 snd-pcm-oss > > > alias /dev/dsp sound-service-0-3 > > > nastepnie odpalilem wszystko > > > modprobe snd-ens1371 > > > modprobe snd-pcm-oss > > > no i wszystko chodzi ale midi dalej nie i taki sam blad wyskakuje > > > co robie zle albo czego nie robie ? > > > > upewnij sie czy na jest zaladowany modul snd-seq-oss, > > on uruchamia /dev/sequencer > zaladowlame modul bez problemow ale nadal nie chodzi
zobacz moj lsmod w zalaczniku, moze cos da ew. napisz dokladnie, jakie masz blad, doslownie. Jaki playerdo midi? Najpierw to powinien porzadnie sie komunikowac z /dev/sequencer. cat /proc/devices u mnie daje m.in, 14 sound 116 alsa ale to chyba masz teraz cat /proc/asound/seq/drivers (u mnie) snd-emu10k1-synth,loaded,requested,1 snd-seq-midi,loaded,requested,1 snd-seq-oss,loaded,requested,1 i jeszcze cat /proc/asound/oss/devices 1: : sequencer 8: : sequencer 2: [0- 2]: raw midi 13: [0-13]: raw midi 0: [0- 0]: mixer i jeszcze cat /proc/asound/devices 1: : sequencer 0: [0- 0]: ctl 4: [0- 0]: hardware dependent 8: [0- 0]: raw midi 19: [0- 3]: digital audio playback 26: [0- 2]: digital audio capture 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 9: [0- 1]: raw midi 10: [0- 2]: raw midi 33: : timer Dzialaj Krzysiek
Module Size Used by Tainted: P snd-mixer-oss 11584 1 (autoclean) snd-seq-midi 3424 0 (autoclean) (unused) snd-emu10k1-synth 3840 0 (autoclean) snd-emux-synth 24060 0 (autoclean) [snd-emu10k1-synth] snd-seq-midi-emul 4560 0 (autoclean) [snd-emux-synth] snd-seq-virmidi 2776 0 (autoclean) [snd-emux-synth] snd-emu10k1 59396 1 (autoclean) [snd-emu10k1-synth] snd-pcm 56672 0 (autoclean) [snd-emu10k1] snd-page-alloc 4304 0 (autoclean) [snd-emu10k1 snd-pcm] snd-rawmidi 12928 0 (autoclean) [snd-seq-midi snd-seq-virmidi snd-emu10k1] snd-hwdep 4544 0 (autoclean) [snd-emu10k1] snd-ac97-codec 31728 0 (autoclean) [snd-emu10k1] snd-util-mem 1264 0 (autoclean) [snd-emux-synth snd-emu10k1] snd-seq-oss 23776 0 snd-seq-midi-event 3112 0 [snd-seq-midi snd-seq-virmidi snd-seq-oss] snd-seq 37836 2 [snd-seq-midi snd-emux-synth snd-seq-midi-emul snd-seq-virmidi snd-seq-oss snd-seq-midi-event] snd-timer 14560 0 [snd-pcm snd-seq] snd-seq-device 4020 0 [snd-seq-midi snd-emu10k1-synth snd-emux-synth snd-emu10k1 snd-rawmidi snd-seq-oss snd-seq] snd 27840 0 [snd-mixer-oss snd-seq-midi snd-emux-synth snd-seq-virmidi snd-emu10k1 snd-pcm snd-rawmidi snd-hwdep snd-ac97-codec snd-util-mem snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device] soundcore 3588 7 [snd] smbfs 33056 0 (unused) ide-scsi 7744 0 scsi_mod 55548 1 [ide-scsi] nvidia 1545344 10 dummy 1088 0 (unused) bcm4400 27004 1