From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 3 Dec 2003 19:26:38 +0300 From: Sergey Lizogub To: community@altlinux.ru Subject: Re: [Comm] alsa =?KOI8-R?Q?=C9?= midi Message-Id: <20031203192638.5f0acd24.linthong@mail.ru> In-Reply-To: <3FCDF4A2.8090003@vzljot.ru> References: <3FCDF4A2.8090003@vzljot.ru> X-Mailer: Sylpheed version 0.9.6 (GTK+ 1.2.10; i586-alt-linux-gnu) X-Operating-System: Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 16:41:44 -0000 Archived-At: List-Archive: List-Post: Wed, 03 Dec 2003 17:35:14 +0300 Dmitriy Shcherbakov Вы писали: > Добрый день! > Понимаю, что мой вопрос из разряда faq, но чего-то я не > понимаю... У меня стоит SBLive5.1. > Пытаюсь настроить драйверы alsa: > # uname -r > 2.4.22-std-up-alt12 > > # rpm -qa|grep alsa > alsa-patch-bay-1.0.0-alt0.5 > kernel-doc-alsa-0.9.8-0.9.8-alt1 > alsaplayer-plugins-0.99.75-alt1 > xmms-alsa-0.9.12-alt1 > ZynAddSubFX-alsa-1.4.3-alt0.5 > alsa-oss-0.9.8-alt1 > alsa-tools-0.9.8-alt1 > librosegarden-alsa-0.9.1-alt0.6 > alsa24-up-2.4.20_0.9.0rc7-alt7 > kernel-modules-alsa-std-up-0.9.8-alt4.12 > alsa-patch-bay-common-1.0.0-alt0.5 > libalsa-0.9.8-alt2 > libalsaplayer-0.99.75-alt1 > alsa-patch-bay-ui-gtk-1.0.0-alt0.5 > alsa24-openmosix-up-2.4.19_0.9.0rc5-alt1 > alsaplayer-0.99.75-alt1 > > # cat /etc/modules.conf > ... > alias char-major-116 snd > alias snd-card-0 snd-emu10k1 > 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-8 snd-seq-oss > alias sound-service-0-12 snd-pcm-oss > options snd snd_major=116 snd_cards_limit=1 > snd_device_mode=0660 snd_device_gid= > 81 snd_device_uid=0 > options snd-emu10k1 snd_index=0 snd_id=CARD_0 > # MIDI > alias midi snd-seq-oss > post-install snd-seq-oss sfxload /etc/midi/8mbgmsfx.sf2 > > # ll /etc/midi/8mbgmsfx.sf2 > -rw-r--r-- 1 root root 7572224 Дек 3 17:30 > /etc/midi/8mbgmsfx.sf2 > > > при запуске service sound start, в логах: > > Dec 3 17:24:56 itaks4 modprobe: Warning: ignoring > snd_major=116, no such parame > ter in this module > Dec 3 17:24:56 itaks4 modprobe: Warning: ignoring > snd_cards_limit=1, no such pa > rameter in this module > Dec 3 17:24:56 itaks4 modprobe: Warning: ignoring > snd_device_mode=0660, no such > parameter in this module > Dec 3 17:24:56 itaks4 modprobe: Warning: ignoring > snd_device_gid=81, no such pa > rameter in this module > Dec 3 17:24:56 itaks4 modprobe: Warning: ignoring > snd_device_uid=0, no such par > ameter in this module > Dec 3 17:24:56 itaks4 modprobe: Module snd loaded, with > warnings Dec 3 17:24:56 itaks4 modprobe: Module snd-ac97-codec > loaded, with warnings Dec 3 17:24:56 itaks4 modprobe: Module > snd-hwdep loaded, with warnings Dec 3 17:24:56 itaks4 > modprobe: Module snd-page-alloc loaded, with warnings Dec 3 > 17:24:56 itaks4 modprobe: Module snd-seq-device loaded, with > warnings Dec 3 17:24:56 itaks4 modprobe: Module snd-util-mem > loaded, with warnings Dec 3 17:24:56 itaks4 modprobe: Module > snd-rawmidi loaded, with warnings Dec 3 17:24:56 itaks4 > modprobe: Module snd-timer loaded, with warnings Dec 3 > 17:24:56 itaks4 modprobe: Module snd-pcm loaded, with warnings > Dec 3 17:24:56 itaks4 modprobe: Warning: ignoring snd_index=0, > no such paramete > r in this module > Dec 3 17:24:56 itaks4 modprobe: Warning: ignoring > snd_id=CARD_0, no such parame > ter in this module > Dec 3 17:24:56 itaks4 modprobe: Module snd-emu10k1 loaded, > with warnings Dec 3 17:24:56 itaks4 sound: Starting alsa sound > driver snd-card-0: succeeded > Dec 3 17:24:56 itaks4 aumix-minimal: vol set to 0, 0, P > ... > Dec 3 17:24:56 itaks4 sound: Loading mixer settings: succeeded > > > После всего, музыка и фильмы нормально воспроизводятся, но при > попытках запустить midi: > $ timidity /mnt/windows/Guitar\ Pro/All\ in\ hands.mid > Playing /mnt/windows/Guitar Pro/All in hands.mid > MIDI file: /mnt/windows/Guitar Pro/All in hands.mid > Format: 1 Tracks: 8 Divisions: 480 > Track name: Nylon-string guitar > Track name: Flute > Track name: Guitar solo 1 > Track name: Guitar solo 2 > Track name: Bass > Track name: Acoustic guitar > Track name: Drums > Drum set 24 is undefined > No instrument mapped to tone bank 0, program 24 - this > instrument will not be heard > No instrument mapped to tone bank 0, program 29 - this > instrument will not be heard > ... > > > Вопрос: "Где я отупился?" > > С уважением, Дмитрий > > _______________________________________________ > Community mailing list > Community@altlinux.ru > http://www.altlinux.ru/mailman/listinfo/community У меня в /etc/modules.conf для звука (SBLive5.1) записано следующее (кто-то в рассылке посказал): # ALSA portion alias char-major-116 snd alias snd-card-0 snd-emu10k1 # module options should go here # 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 char-major-226 off alias char-major-97 off alias block-major-33 off alias block-major-34 off Всё, включая midi, играется. Вообще-то, судя по конфигу, у Вас midi секвенсер настроен и банк загружается для OSS, а не для ALSA (alias midi snd-seq-oss; post-install snd-seq-oss sfxload /etc/midi/8mbgmsfx.sf2) С уважением, Сергей Лизогуб