From owner-freebsd-multimedia Tue Jan 21 20:29:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA11626 for multimedia-outgoing; Tue, 21 Jan 1997 20:29:57 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA11618 for ; Tue, 21 Jan 1997 20:29:55 -0800 (PST) Received: from netcom4.netcom.com (stanb@netcom4.netcom.com [192.100.81.107]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id UAA13213 for ; Tue, 21 Jan 1997 20:29:54 -0800 (PST) Received: (from stanb@localhost) by netcom4.netcom.com (8.6.13/Netcom) id XAA23148; Tue, 21 Jan 1997 23:28:02 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701220428.XAA23148@netcom4.netcom.com> Subject: Troubles compiling kernel with GUS support. To: freebsd-multimedia@freebsd.org Date: Tue, 21 Jan 1997 23:28:01 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have purchased a Gravs Ultrasound card, and am trying to get it working under FreeBSD. I downlaoded the guspnp6.tar.gz file unpacked it and edited the config file. Then I tried to compile a new kernel. Unfortunately I got the error "Can;t find include file midi_synth.h" This is strange because there is such a file in /sys/config/i386/isa/sound. Could this be an include path probelm? I am curiosu as to why the instructions say to work from /sys,when I usally build a kernel from /usr/src/sys. Yes I am runing the 2.2 BEAT release, having just upgraded. Upgrading involved building a kernel so I know that can be done. I would appreciate some help on this. One more question their is some mention in the notes about needing to have more than standrad on card memory on the GUS. Is this required? If so how much do I need? Also can I use 70NS 30 pins SIMS that I have left over? Or do I have to but 60NS units. Looking foward to having sound working on my FreeBSD box. Thanks for the help. -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Tue Jan 21 22:33:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA17867 for multimedia-outgoing; Tue, 21 Jan 1997 22:33:20 -0800 (PST) Received: from housing1.stucen.gatech.edu (housing1.stucen.gatech.edu [130.207.52.71]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA17854 for ; Tue, 21 Jan 1997 22:32:55 -0800 (PST) Received: (from ken@localhost) by housing1.stucen.gatech.edu (8.8.4/8.8.4) id BAA26945; Wed, 22 Jan 1997 01:31:54 -0500 (EST) From: Kenneth Merry Message-Id: <199701220631.BAA26945@housing1.stucen.gatech.edu> Subject: Re: Troubles compiling kernel with GUS support. In-Reply-To: <199701220428.XAA23148@netcom4.netcom.com> from Stan Brown at "Jan 21, 97 11:28:01 pm" To: stanb@netcom.com (Stan Brown) Date: Wed, 22 Jan 1997 01:31:53 -0500 (EST) Cc: freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Stan Brown wrote... > I have purchased a Gravs Ultrasound card, and am trying to get it > working under FreeBSD. I downlaoded the guspnp6.tar.gz file unpacked it > and edited the config file. Then I tried to compile a new kernel. > Unfortunately I got the error "Can;t find include file midi_synth.h" > This is strange because there is such a file in > /sys/config/i386/isa/sound. Could this be an include path probelm? Edit /sys/i386/isa/sound/midi_synth.c and change this line: #include "midi_synth.h" To look like this: #include It worked for me. > I am curiosu as to why the instructions say to work from /sys,when I > usally build a kernel from /usr/src/sys. /sys is generally a link to /usr/src/sys. It's probably there because of tradition, although there may be a good reason behind it. (someone please enlighten me if there is) > One more question their is some mention in the notes about needing to > have more than standrad on card memory on the GUS. Is this required? > If so how much do I need? Also can I use 70NS 30 pins SIMS that I have > left over? Or do I have to but 60NS units. According to the information I got with my PnP Pro, you should use 70ns or faster 30 pin SIMMS. Hope this helps, Ken -- Kenneth Merry ken@ulc199.residence.gatech.edu Disclaimer: I don't speak for GTRI, GT, or Elvis. From owner-freebsd-multimedia Wed Jan 22 02:00:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA25850 for multimedia-outgoing; Wed, 22 Jan 1997 02:00:15 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA25845 for ; Wed, 22 Jan 1997 02:00:13 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id CAA03787 for ; Wed, 22 Jan 1997 02:00:15 -0800 (PST) Message-Id: <199701221000.CAA03787@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: matrox meteor and the Natoma chipset.... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Jan 1997 02:00:14 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Thomas sent me this and I thought that it will be nice to share it with you guys.. I wouldn't trust this solution too much given that the Meteor can still crash my PPRO using "tv" and saving files to disk however for those stuck with a Meteor and a Natoma chipset it may be worth a try to modify vic to use yuv packed mode. If people have problems doing this conversion I willbe more than happy to post my version of the grabber-meteor.cc for vic which uses yuv packed mode. It works fine with my bt848 pci card and the meteor. Regards, Amancio >From: Andrew Swan [SMTP:aswan@cs.berkeley.edu] >Sent: Tuesday, January 21, 1997 8:12 PM >To: rsanchez@hertz.tisl.ukans.edu >Cc: mbone-na@isi.edu >Subject: Re: VIC 2.7a38 with Matrox Meteor under Linux (2.0.14)? > >> I am in the process of setting up vic 2.7a38 with Matrox Meteor support >> on a Linux 2.0.14 system. I'm using the linux matrox meteor driver >> meteor-1.4b.tar.tgz (from ftp://ftp.rwii.com/pub/linux/system/Meteor/ ) >> and I get it to work with all the test programs provided in the release. >> However, when using vic with matrox support (2.7a38), although the matrox >> device is recognized (and initialized accordingly with the right port RCA >> selected) nothing seems to happen when the transmit button is pressed >> (neither video is captured nor bytes are transmitted). > >Sometime last fall there were 3 or 4 people who independently announced >hacked versions of the meteor grabber for linux to the meteor mailing >list (meteor-users@rwii.com). I don't have all the old announcements >around but the one we have been using here is at > ftp://bmrc.berkeley.edu/pub/misc/grabber-meteor.cc > >Our version was modified to work with the slightly different linux >device abstraction as well as to grab frames with yuv samples packed >and then copy them to separate planes since grabbing planar frames >locked up our P6s with Natoma PCI chipsets. > >-Andrew > >-- >Andrew Swan -- aswan@cs.berkeley.edu >http://www.cs.berkeley.edu/~aswan/ >Graduate Student, UC Berkeley Computer Science From owner-freebsd-multimedia Wed Jan 22 04:30:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA01992 for multimedia-outgoing; Wed, 22 Jan 1997 04:30:54 -0800 (PST) Received: from netcom11.netcom.com (stanb@netcom11.netcom.com [192.100.81.121]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id EAA01987 for ; Wed, 22 Jan 1997 04:30:50 -0800 (PST) Received: (from stanb@localhost) by netcom11.netcom.com (8.6.13/Netcom) id HAA17318; Wed, 22 Jan 1997 07:30:48 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701221230.HAA17318@netcom11.netcom.com> Subject: Troubles sompiling kernel with GUS support To: freebsd-multimedia@freebsd.org Date: Wed, 22 Jan 1997 07:30:48 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to compile a kernel with GUS support. First I ahd the problem of nbor finding one of the include file sin the midid. Someone sugested hard coding the path to this in the .c file that references it I did this, but now I get prooblems at link time. See below. I think i must be doing somethign wromg here, could some kind soul give me some advice on this? cc -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DMAX_CONS=12 -DHARD_FONTS -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -c vers.c loading kernel gus_card.o: Undefined symbol `_snd_set_irq_handler' referenced from text segment gus_card.o: Undefined symbol `_snd_release_irq' referenced from text segment gus_midi.o: Undefined symbol `_num_midis' referenced from text segment gus_midi.o: Undefined symbol `_num_midis' referenced from text segment gus_midi.o: Undefined symbol `_midi_devs' referenced from text segment gus_midi.o: Undefined symbol `_num_midis' referenced from text segment gus_wave.o: Undefined symbol `_compute_finetune' referenced from text segment gus_wave.o: Undefined symbol `_note_to_freq' referenced from text segment gus_wave.o: Undefined symbol `_compute_finetune' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_DMAbuf_open_dma' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_DMAbuf_close_dma' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: Undefined symbol `_audio_devs' referenced from text segment gus_wave.o: More undefined symbol _audio_devs refs follow gus_wave.o: Undefined symbol `_DMAbuf_start_dma' referenced from text segment gus_wave.o: Undefined symbol `_pmgr_inform' referenced from text segment gus_wave.o: Undefined symbol `_DMAbuf_start_dma' referenced from text segment gus_wave.o: Undefined symbol `_DMAbuf_start_dma' referenced from text segment gus_wave.o: Undefined symbol `_synth_devs' referenced from text segment gus_wave.o: Undefined symbol `_compute_finetune' referenced from text segment gus_wave.o: Undefined symbol `_num_mixers' referenced from text segment gus_wave.o: Undefined symbol `_num_mixers' referenced from text segment gus_wave.o: Undefined symbol `_mixer_devs' referenced from text segment gus_wave.o: Undefined symbol `_num_mixers' referenced from text segment gus_wave.o: Undefined symbol `_conf_printf' referenced from text segment gus_wave.o: Undefined symbol `_num_synths' referenced from text segment gus_wave.o: Undefined symbol `_num_synths' referenced from text segment gus_wave.o: Undefined symbol `_synth_devs' referenced from text segment gus_wave.o: Undefined symbol `_num_synths' referenced from text segment gus_wave.o: Undefined symbol `_DMAbuf_outputintr' referenced from text segment gus_wave.o: Undefined symbol `_DMAbuf_outputintr' referenced from text segment gus_wave.o: Undefined symbol `_DMAbuf_inputintr' referenced from text segment ics2101.o: Undefined symbol `_num_mixers' referenced from text segment ics2101.o: Undefined symbol `_num_mixers' referenced from text segment ics2101.o: Undefined symbol `_mixer_devs' referenced from text segment ics2101.o: Undefined symbol `_num_mixers' referenced from text segment sound_timer.o: Undefined symbol `_seq_copy_to_input' referenced from text segment sound_timer.o: Undefined symbol `_sequencer_timer' referenced from text segment sound_timer.o: Undefined symbol `_num_sound_timers' referenced from text segment sound_timer.o: Undefined symbol `_num_sound_timers' referenced from text segment sound_timer.o: Undefined symbol `_num_sound_timers' referenced from text segment sound_timer.o: Undefined symbol `_sound_timer_devs' referenced from text segment midi_synth.o: Undefined symbol `_seq_input_event' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: Undefined symbol `_num_midis' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: Undefined symbol `_synth_devs' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: Undefined symbol `_synth_devs' referenced from text segment midi_synth.o: Undefined symbol `_synth_devs' referenced from text segment midi_synth.o: Undefined symbol `_synth_devs' referenced from text segment midi_synth.o: Undefined symbol `_synth_devs' referenced from text segment midi_synth.o: Undefined symbol `_synth_devs' referenced from text segment midi_synth.o: Undefined symbol `_num_midis' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: Undefined symbol `_synth_devs' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: Undefined symbol `_midi_devs' referenced from text segment midi_synth.o: More undefined symbol _synth_devs refs follow midi_synth.o: More undefined symbol _midi_devs refs follow midibuf.o: Undefined symbol `_num_midis' referenced from text segment midibuf.o: Undefined symbol `_num_midis' referenced from text segment midibuf.o: Undefined symbol `_num_midis' referenced from text segment midibuf.o: Undefined symbol `_num_midis' referenced from text segment midibuf.o: More undefined symbol _num_midis refs follow ad1848.o: Undefined symbol `_DMAbuf_start_dma' referenced from text segment ad1848.o: Undefined symbol `_DMAbuf_start_dma' referenced from text segment ad1848.o: Undefined symbol `_conf_printf2' referenced from text segment ad1848.o: Undefined symbol `_snd_set_irq_handler' referenced from text segment ad1848.o: Undefined symbol `_num_mixers' referenced from text segment ad1848.o: Undefined symbol `_num_mixers' referenced from text segment ad1848.o: Undefined symbol `_num_mixers' referenced from text segment ad1848.o: Undefined symbol `_mixer_devs' referenced from text segment ad1848.o: More undefined symbol _num_mixers refs follow ad1848.o: Undefined symbol `_snd_release_irq' referenced from text segment ad1848.o: Undefined symbol `_DMAbuf_outputintr' referenced from text segment ad1848.o: Undefined symbol `_DMAbuf_inputintr' referenced from text segment ioconf.o: Undefined symbol `_gusdriver' referenced from data segment *** Error code 1 Stop. Script done on Wed Jan 22 07:24:14 1997 -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Wed Jan 22 07:50:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA09936 for multimedia-outgoing; Wed, 22 Jan 1997 07:50:06 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA09930 for ; Wed, 22 Jan 1997 07:50:02 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id HAA00337 for ; Wed, 22 Jan 1997 07:50:01 -0800 (PST) Message-Id: <199701221550.HAA00337@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: grabber-meteor.cc (packed mode) for Pentium Pro Users Content-Type: multipart/mixed ; boundary="===_0_Wed_Jan_22_07:48:28_PST_1997" Date: Wed, 22 Jan 1997 07:50:00 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is a multipart MIME message. --===_0_Wed_Jan_22_07:48:28_PST_1997 -------- Hi, The packed mode for the Bt848 and the Meteor is slightly different or at least the way that meteor driver has been programmed. This means that you can't use this grabber-meteor.cc with an Intel Smart Video Recorder cause it is a quick hack to check the meteor. At any rate, more to the point, I tested this lightly over here and will be interested to hear from other Pentium PRO owners. I still consider the Matrox Meteor outright dangerous with a PPRO and a Natoma chipset... What follows is grabber-meteor.cc for vic-2.8 . Cheers, Amancio --===_0_Wed_Jan_22_07:48:28_PST_1997 Content-Type: application/octet-stream Content-Description: grabber-meteor.cc Content-Transfer-Encoding: base64 LyoKICogQ29weXJpZ2h0IChjKSBKaW0gTG93ZSwgMTk5NSwgQWxsIHJpZ2h0cyByZXNlcnZl ZC4KICoKICogUmVkaXN0cmlidXRpb24gYW5kIHVzZSBpbiBzb3VyY2UgYW5kIGJpbmFyeSBm b3Jtcywgd2l0aCBvciB3aXRob3V0CiAqIG1vZGlma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gNDsK CSAgdSArPSA0OwoJfQoJdSA9IChjaGFyICopIGZyYW1lXyAgKyBjKnI7Cgl2ID0gKGNoYXIg KikgZnJhbWVfICArIGMqciArICBjKnIvNDsKCWZvciAoaW50IGkgPSAwLGogPSAwOyBpIDwg ci8yOyBpKyspIHsKCSAgYmNvcHkoJmZvb1tqXSwgdSwgYy8yKTsKCSAgYmNvcHkoJmZvbzFb al0sIHYsIGMvMik7CgkgIGogKz0gYzsKCSAgdSArPSBjLzI7CgkgIHYgKz0gYy8yOwoJfQoj aWYgMAoJZm9yIChpbnQgcm93ID0gMDsgcm93IDwgKCgoYmFzZWhlaWdodF8vZGVjaW1hdGVf KSZ+MHhmKSA+PiAxKTsgcm93KyspIHsKCQlmb3IoaW50IGNvbCA9IDA7IGNvbCA8IG51bWM7 IGNvbCsrKSB7CgkJCSpsdW0rKyA9ICpweSsrOwoJCQkqbHVtKysgPSAqcHkrKzsKCQkJKnVv ZmYrKyA9ICpwdSsrOwoJCQkqdm9mZisrID0gKnB2Kys7CgkJfQoJCWZvcihjb2wgPSAwOyBj b2wgPCBudW1jOyBjb2wrKykgeyAgIAogICAgICAgICAgICAgICAgICAgICAgICAqbHVtKysg PSAqcHkrKzsKICAgICAgICAgICAgICAgICAgICAgICAgKmx1bSsrID0gKnB5Kys7CiAgICAg ICAgICAgICAgICAgICAgICAgIGlmKGY0MjIpIHsJLyogb25seSBjb3B5IG9kZCBpbiA0OjI6 MiBmb3JtYXQgKi8KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqdW9mZisrID0g KnB1Kys7IAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCSp2b2ZmKysgPSAqcHYr KzsKCQkJCiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAg ICAgICAgICAgICAgIGlmKCFmNDIyKSB7CS8qIHNraXAgb2RkIGlmIDQ6MToxIG9yIGNpZiBm b3JtYXQgKi8KCQkJcHUgKz0gbnVtYzsKCQkJcHYgKz0gbnVtYzsKCQl9Cgl9CgojZW5kaWYK CglyZXR1cm4gMTsKfQoKaW50IE1ldGVvckdyYWJiZXI6OmdyYWIoKQp7CglpZiAoY2FwdHVy ZSgpID09IDApCgkJcmV0dXJuICgwKTsKCXN1cHByZXNzKGZyYW1lXyk7CglzYXZlYmxrcyhm cmFtZV8pOwoJWXV2RnJhbWUgZihtZWRpYV90cygpLCBmcmFtZV8sIGNydmVjXywgb3V0d18s IG91dGhfKTsKCXJldHVybiAodGFyZ2V0Xy0+Y29uc3VtZSgmZikpOwp9Cg== --===_0_Wed_Jan_22_07:48:28_PST_1997-- From owner-freebsd-multimedia Wed Jan 22 10:17:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA17753 for multimedia-outgoing; Wed, 22 Jan 1997 10:17:52 -0800 (PST) Received: from housing1.stucen.gatech.edu (ken@housing1.stucen.gatech.edu [130.207.52.71]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA17747 for ; Wed, 22 Jan 1997 10:17:49 -0800 (PST) Received: (from ken@localhost) by housing1.stucen.gatech.edu (8.8.4/8.8.4) id NAA02799; Wed, 22 Jan 1997 13:16:22 -0500 (EST) From: Kenneth Merry Message-Id: <199701221816.NAA02799@housing1.stucen.gatech.edu> Subject: Re: Troubles sompiling kernel with GUS support In-Reply-To: <199701221230.HAA17318@netcom11.netcom.com> from Stan Brown at "Jan 22, 97 07:30:48 am" To: stanb@netcom.com (Stan Brown) Date: Wed, 22 Jan 1997 13:16:21 -0500 (EST) Cc: freebsd-multimedia@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Stan Brown wrote... > > > I am trying to compile a kernel with GUS support. First I ahd the > problem of nbor finding one of the include file sin the midid. Someone > sugested hard coding the path to this in the .c file that references it > I did this, but now I get prooblems at link time. > > See below. I think i must be doing somethign wromg here, could some > kind soul give me some advice on this? > > > cc -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DMAX_CONS=12 -DHARD_FONTS -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -c vers.c > loading kernel > gus_card.o: Undefined symbol `_snd_set_irq_handler' referenced from text segment > gus_card.o: Undefined symbol `_snd_release_irq' referenced from text segment > gus_midi.o: Undefined symbol `_num_midis' referenced from text segment Looks like you may need "controller snd0" in your config file. Here's what the sound stuff in my config file looks like: controller snd0 device gus0 at isa? vector gusintr (if you don't have Plug N Play BIOS, you'll need to use a different line for the gus device, I think) Hope this helps, Ken -- Kenneth Merry ken@ulc199.residence.gatech.edu Disclaimer: I don't speak for GTRI, GT, or Elvis. From owner-freebsd-multimedia Wed Jan 22 19:32:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA23384 for multimedia-outgoing; Wed, 22 Jan 1997 19:32:15 -0800 (PST) Received: from scam.XCF.Berkeley.EDU (scam.XCF.Berkeley.EDU [128.32.43.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA23377 for ; Wed, 22 Jan 1997 19:32:12 -0800 (PST) Received: from scam.XCF.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by scam.XCF.Berkeley.EDU (8.7.5/8.7.3) with ESMTP id TAA11239 for ; Wed, 22 Jan 1997 19:27:22 -0800 From: Steven Grady Message-Id: <199701230327.TAA11239@scam.XCF.Berkeley.EDU> To: freebsd-multimedia@freebsd.org Subject: I got a Sound blaster AWE 32 PnP to work MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11235.853990041.1@scam.XCF.Berkeley.EDU> Date: Wed, 22 Jan 1997 19:27:22 -0800 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just spent the last 6 hours getting my card to work. In the process, I probably did every wrong thing you can do, and also discovered the multimedia archives (to which I'm now subscribed). Others have had the same problems, so I thought I would fill people in. You need to do the following things: First, grab Sujel Patel's pnp stuff (at http://www.freebsd.org/~smpatel). Extract it, and compile and run pnpinfo (as root), saving the result in a file. If you look at the output, you'll find it tells you a few things. Firstly, there is information about your PnP cards. In my system, I only have the SB card, so that's the only one that showed up. Next, it shows information about different _logical devices_ for the card. For simplicity's sake, I decided to only worry about the "Audio" logical device (the one that says "Audio" as the Device Description). The others on my card are "IDE", "WaveTable", and "Game". Sometime I'll learn how to set those up as well. For each logical device, it lists the _supported_ configurations for the card -- you're going to need to choose _one_ of them (I chose the "Good Configuration", which is presumably the one the card _wants_ to have. I assume you can choose a different, "Acceptable Configuration" of the good one conflicts with something else on your system. Now, based on the information from pnpinfo, you'll need to create an entry in isa/pnp.c. Read Sujal's README file, which tells how to patch the kernel, and describes the pnp.c modifications. A shortcut is to look at the sample/sb16.pnp file in the pnpinfo directory. In my case, only two entries differed: the serial number, and the Primary IRQ number. The existing value for the IRQ is 10, I changed mine to 5 because that is what the "Good Configuration" had. Also, note that the "DRQ" entries in pnp.c correspond to the possible "DMA" values (the sound blaster uses 2, one for 8-bit and one for 16-bit). If you have more trouble, look at the pnpinfo README file. Once you've made those changes, you'll need to update the kernel configuration. You need to do two things; first, put "controller pnp0" in place. Second, update all sb values as appropriate. My entries are: controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 Next, as LINT says, make sure the corresponding values in i386/isa/sound/sound_config.h are correct. OK, recompile and install, then reboot. At this point, you should make sure that your BIOS is configured correctly -- I got hung up because during my experimentation, I had changed the BIOS to treat certain IRQ and DMA lines as ISA, not PnP. So, in summary, _four_ things need to be in sync: the pnp.c struct, the kernel configuration file, sound_config.h, and the BIOS settings. Oh, also make sure that you have the devices in /dev: # cd /dev # ./MAKEDEV snd Some things to check: the devices should be recognized on boot-up. My dmesg output includes: sb0 at 0x220 irq 5 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvo0: sbmidi0 at 0x330 on isa opl0 at 0x388 on isa opl0: If anything is not found, it may indicate an error. Also, the pnp driver should work. My dmesg output: Checking for Plug-n-Play devices... Board Vendor ID: CTL0039 Board Serial Number: 0001d455 Configuring (Logical Device 0) The end result should be that you can cat a .au file to /dev/audio, and it will play, and then exit (no hangs). Good luck. Steven From owner-freebsd-multimedia Thu Jan 23 00:04:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA05375 for multimedia-outgoing; Thu, 23 Jan 1997 00:04:12 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA05355; Thu, 23 Jan 1997 00:04:07 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id AAA15647 ; Thu, 23 Jan 1997 00:04:07 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.4/8.6.12) with SMTP id XAA23176; Wed, 22 Jan 1997 23:51:06 -0800 (PST) Date: Wed, 22 Jan 1997 23:51:06 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Chris Csanady cc: questions@freebsd.org, multimedia@freebsd.org Subject: Re: Shared IRQ's create intereting problems.. In-Reply-To: <9701160555.AA14130@isua1.iastate.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 15 Jan 1997, Chris Csanady wrote: > What happens is that the sound output would be garbled. I discovered that > when I give the card its own IRQ, things work fine. Is this right? In the > LINT config file, conflicts is specified for sb0 so I assumed it to work. > Both machines had the lpt on 7, which conflicted. Then one day when I > actually tried to use the parallel port, the machine would hang every now and > then. > > So, anyway, what is the deal here? Are you just not supposed to share IRQ's > in certain ways? Or is this just a bug? One of the boxes is 2.2BETA for > what its worth, the other current. I'd call it a bug, move the SB to IRQ 5, and be happy. :) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major From owner-freebsd-multimedia Thu Jan 23 03:11:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA14418 for multimedia-outgoing; Thu, 23 Jan 1997 03:11:16 -0800 (PST) Received: from mailbox.uq.edu.au (zzshocki.slip.cc.uq.oz.au [130.102.221.173]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA14397; Thu, 23 Jan 1997 03:11:08 -0800 (PST) Received: from bloop.craftncomp.com (localhost.craftncomp.com [127.0.0.1]) by mailbox.uq.edu.au (8.8.4/8.6.12) with ESMTP id VAA00380; Thu, 23 Jan 1997 21:04:40 +1000 (EST) Message-Id: <199701231104.VAA00380@mailbox.uq.edu.au> X-Mailer: exmh version 2.0beta 12/23/96 To: multimedia@freebsd.org, hackers@freebsd.org cc: sysseh@devetir.qld.gov.au Subject: Possible Quake port to FreeBSD? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Jan 1997 21:04:38 +1000 From: Stephen Hocking Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Fingering John Carmack at id (johnc@idsoftware.com) gives the following - > On since Jan 6 14:59:09 5 days 19 hours Idle Time on ttyp2 from idcarmack On since Jan 12 21:58:30 10 days Idle Time on ttyp3 from idcarmack Plan: Ok, off the soapbox and back to normal id stuff... ============================ Jan 12 We now have someone officially in charge of quake/quakeworld unix ports: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Dave 'Zoid' Kirsch. zoid@threewave.com ^^^^^^^^^^^^^^^^^^ Direct any correspondance about the linux ports of quake to him. If any other unix vendors would like to have quake ported to their environments, set up an equipment loan with him. This is a volenteer position, so don't give him a hard time. ============================ Jan 22 A preliminary release of glquake and the 3dfx driver has been put on our ftp site in the idstuff/unsup directory. one hour later... 3dfx gave me a new vxd for glquake that fixes crashing problems on some pentium pro systems. glquake1.zip now contains the current file. So Jordan, how 'bout it? Do you want to chase him up? The shareware version would be a great thing to be able to ship on the 2.2 CD..... Stephen From owner-freebsd-multimedia Thu Jan 23 05:21:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA18681 for multimedia-outgoing; Thu, 23 Jan 1997 05:21:32 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA18660; Thu, 23 Jan 1997 05:21:28 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.4/8.6.9) with ESMTP id FAA04953; Thu, 23 Jan 1997 05:21:21 -0800 (PST) To: Stephen Hocking cc: multimedia@freebsd.org, hackers@freebsd.org, sysseh@devetir.qld.gov.au Subject: Re: Possible Quake port to FreeBSD? In-reply-to: Your message of "Thu, 23 Jan 1997 21:04:38 +1000." <199701231104.VAA00380@mailbox.uq.edu.au> Date: Thu, 23 Jan 1997 05:21:21 -0800 Message-ID: <4949.854025681@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk It sounds like they're at least back to their original terms, anyway. Before they shut down the other unix ports, the deal was that if you sent them a full configured machine with reasonable amounts of disk space and memory, they'd do the port. Anyone who's into this want to send iD a box? I've none to spare myself, at the moment, nor do I think of quake as quite the kind of priority to which I would devote one if I had. :-) Jordan > > Fingering John Carmack at id (johnc@idsoftware.com) gives the following - > > > > On since Jan 6 14:59:09 5 days 19 hours Idle Time > on ttyp2 from idcarmack > On since Jan 12 21:58:30 10 days Idle Time > on ttyp3 from idcarmack > Plan: > Ok, off the soapbox and back to normal id stuff... > ============================ > Jan 12 > We now have someone officially in charge of quake/quakeworld unix ports: > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Dave 'Zoid' Kirsch. > zoid@threewave.com > ^^^^^^^^^^^^^^^^^^ > Direct any correspondance about the linux ports of quake to him. If any othe r unix vendors would like to have quake ported to their environments, set up an equipment loan with him. > > This is a volenteer position, so don't give him a hard time. > ============================ > Jan 22 > A preliminary release of glquake and the 3dfx driver has been put on our ftp site in the idstuff/unsup directory. > one hour later... > 3dfx gave me a new vxd for glquake that fixes crashing problems on some penti um pro systems. glquake1.zip now contains the current file. > > > So Jordan, how 'bout it? Do you want to chase him up? The shareware version > would be a great thing to be able to ship on the 2.2 CD..... > > > Stephen > From owner-freebsd-multimedia Thu Jan 23 06:50:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA22159 for multimedia-outgoing; Thu, 23 Jan 1997 06:50:54 -0800 (PST) Received: from netcom12.netcom.com (stanb@netcom12.netcom.com [192.100.81.124]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id GAA22153 for ; Thu, 23 Jan 1997 06:50:52 -0800 (PST) Received: (from stanb@localhost) by netcom12.netcom.com (8.6.13/Netcom) id JAA11261; Thu, 23 Jan 1997 09:50:51 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701231450.JAA11261@netcom12.netcom.com> Subject: Kernel with GUS PnP support won't boot. Pleas help To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Thu, 23 Jan 1997 09:50:50 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am fighting my way through trying to make my new Gravis Ultrasound PnP card work on my FreeBSD HP Vectra. I could use some help here. I have grabbed guspnp6.tar.gz unpacked it into /sys as directed. Then I added the flowing 2 lines to my kernel config file: controller snd0 device gus0 at isa? port 0x210 irq 10 drq 1 flags 0x3 vector gusintr The example used IRQ 11, but IRQ 11 is already in use on my system. In looking through /var/log/messages it appears as though the following IRQ's are used. 1.3.4.5.6.7.11,14,16. I am no expert here, so maybe there are others that are used that I don;t know about. Anyway not knowing any better, I randomly choose 10. I had to change an include line in midi_synth.c from "midi_synth.h" to Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA26048 for multimedia-outgoing; Thu, 23 Jan 1997 08:03:18 -0800 (PST) Received: from netcom16.netcom.com (stanb@netcom16.netcom.com [192.100.81.129]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA26043 for ; Thu, 23 Jan 1997 08:03:16 -0800 (PST) Received: (from stanb@localhost) by netcom16.netcom.com (8.6.13/Netcom) id LAA29520; Thu, 23 Jan 1997 11:03:08 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701231603.LAA29520@netcom16.netcom.com> Subject: Do I need the Freebsd PnP utilities in addation to the GUS PnP patch ? To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Thu, 23 Jan 1997 11:03:08 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to make a GUS PnP car (Ultrasound) work under FreeBSD 2.2 BETA. I was wondering if I needed the grab the FreeBSD Plung and Play utilites in adition to the GUS patch? Are these both require? Or ar the ,mutlay exlcusive, or do they coexist peacfuly? -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Thu Jan 23 10:37:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA03686 for multimedia-outgoing; Thu, 23 Jan 1997 10:37:04 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA03681 for ; Thu, 23 Jan 1997 10:36:58 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id KAA06338; Thu, 23 Jan 1997 10:36:57 -0800 (PST) Message-Id: <199701231836.KAA06338@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: stanb@netcom.com (Stan Brown) cc: freebsd-multimedia@FreeBSD.ORG (Free BSD Multimedia List) Subject: Re: Do I need the Freebsd PnP utilities in addation to the GUS PnP patch ? In-reply-to: Your message of "Thu, 23 Jan 1997 11:03:08 EST." <199701231603.LAA29520@netcom16.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Jan 1997 10:36:57 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Okay, I will help you but is going to have to wait till tonite unless someone on the list steps in and sorts out what you have done. Regards, Amancio >From The Desk Of Stan Brown : > I am trying to make a GUS PnP car (Ultrasound) work under FreeBSD 2.2 > BETA. I was wondering if I needed the grab the FreeBSD Plung and Play > utilites in adition to the GUS patch? > > Are these both require? Or ar the ,mutlay exlcusive, or do they coexist > peacfuly? > > -- > Stan Brown stanb@netcom.com 404-996-69 55 > Factory Automation Systems > Atlanta Ga. > -- > Look, look, see Windows 95. Buy, lemmings, buy! > Pay no attention to that cliff ahead... Henry Spencer > (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Thu Jan 23 10:52:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA04385 for multimedia-outgoing; Thu, 23 Jan 1997 10:52:18 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA04380 for ; Thu, 23 Jan 1997 10:52:16 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.4/8.6.12) with SMTP id KAA06632; Thu, 23 Jan 1997 10:52:08 -0800 (PST) Date: Thu, 23 Jan 1997 10:52:08 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Stan Brown cc: Free BSD Multimedia List Subject: Re: Do I need the Freebsd PnP utilities in addation to the GUS PnP patch ? In-Reply-To: <199701231603.LAA29520@netcom16.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 23 Jan 1997, Stan Brown wrote: > I am trying to make a GUS PnP car (Ultrasound) work under FreeBSD 2.2 > BETA. I was wondering if I needed the grab the FreeBSD Plung and Play > utilites in adition to the GUS patch? No. The guspnp6 includes support for the GUS PnP cards - you should only need that to get it working. > Are these both require? Or ar the ,mutlay exlcusive, or do they coexist > peacfuly? That, I couldn't say. Amancio? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major From owner-freebsd-multimedia Thu Jan 23 12:46:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA11352 for multimedia-outgoing; Thu, 23 Jan 1997 12:46:46 -0800 (PST) Received: from netcom4.netcom.com (stanb@netcom4.netcom.com [192.100.81.107]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id MAA11344 for ; Thu, 23 Jan 1997 12:46:41 -0800 (PST) Received: (from stanb@localhost) by netcom4.netcom.com (8.6.13/Netcom) id PAA25538; Thu, 23 Jan 1997 15:46:39 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701232046.PAA25538@netcom4.netcom.com> Subject: Good sound programs to test my sound card? To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Thu, 23 Jan 1997 15:46:39 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Can someone sugest some programs to use to test my sound card, once I get it working? man -k sound only mentions xmixer, I was thinking of something that could play sound files that already exist? Asl, can I hook up my ATAPI CD-ROM to my GUS and play audio CD's? If so how? Thanks in advance. -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Thu Jan 23 13:46:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA13912 for multimedia-outgoing; Thu, 23 Jan 1997 13:46:36 -0800 (PST) Received: from scam.XCF.Berkeley.EDU (scam.XCF.Berkeley.EDU [128.32.43.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA13907 for ; Thu, 23 Jan 1997 13:46:33 -0800 (PST) Received: from scam.XCF.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by scam.XCF.Berkeley.EDU (8.7.5/8.7.3) with ESMTP id NAA05977; Thu, 23 Jan 1997 13:40:54 -0800 From: Steven Grady Message-Id: <199701232140.NAA05977@scam.XCF.Berkeley.EDU> To: stanb@netcom.com (Stan Brown) Cc: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Subject: Re: Good sound programs to test my sound card? In-reply-to: Your message of Thu, 23 Jan 1997 15:46:39 -0500 (EST) <199701232046.PAA25538@netcom4.netcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5973.854055652.1@scam.XCF.Berkeley.EDU> Date: Thu, 23 Jan 1997 13:40:53 -0800 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > From: stanb@netcom.com (Stan Brown) > Subject: Good sound programs to test my sound card? > Can someone sugest some programs to use to test my sound card, once I > get it working? > If you just want to test it, easiest is to cat a .au file to /dev/audio. Enclosed is a dog's bark. That will test the pcm stuff. If you want to test midi, you could grab the playmidi package/port. You can test the input by saying "cat /dev/audio > output", then hitting ^C after a few seconds (be sure to wait at least a second, so the buffer has a chance to fill up, or you'll get a 0-length file), then catting the resulting file back to /dev/audio. Note that all of this is made mre complicated by mixing issues -- for instance, the recording may fail if: the volume is too low the mixer isn't passing through pcm output the input is not coming from the right source (mike vs. lin) the input gain is too low the output gain is too low (Of course, not all sound-cards are alike.) If there are no obvious errors (no errors when you cat from or to /dev/audio, the amount of time it takes to cat the file is about the same as when you grabbed it), then you might want to check mixer settings. Steven begin 444 bark.au M+G-N9````"@```D_`````0``'T`````!=&5R'7S\O+T.-=2T9&35AJX]/,R]7X M6TY-3U5??MG*R,O0WOEA3DM;>%A(0TM\V];/SLG(S<[K4$,^1E)MWM/%N[:T MNQ7/URVI:.X."(A*S0X-3=RM*2> MH[%.+B\[UZ^MU"TF.+^Y5RXO6KJUP^=H6N*^KJFS32LJ,#P\-3SBMJRRSDU` MVK&IJ+LR)"A(USDG*'.LJ*Z]R]_4M*FK5QP9)G>NW2]#NZ.FSC0K/:^BHM(B M(C:_M3$>)VJ?FJ;S+S^YK]M:>GPDG%J**N,1H7 M&1TQNJ";I]/*O:^M^#0M)BP\1U_4L)^;L"05%CFFGJF[UKJT2B0A1JRFZQX: M+KB@GI^?KC\:$AM-JZ>Z/G.NIZ>_1S@U)BE9BKM;)CY&G*QH.#1,LF(N.GR<< M*STY)"5&HINGM:N2GBP6'ZR6F;\[[+U,'14=0LN_K)^6 MF\HA(N:KL48C(3E;7CXX-3Y2PJR=DY.=91T4%!04'%&>D8Z5K"HNJYF?)`L+ M%L"7KRT@0:Z:F)R>J]8\(AH:%A8?:YV.D)Y-)S:XIJ3?'!,90J:H.1XBPY60 MF;D^^\U(+"$>'A@4(K&/BI&EOZ^8FRL*"0X2-*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-C<[79VY-]\:V1?5TY7W\>_R&Y-2UWM;E93;]81T!&7\_`OL+.\EI+ M2DQ09'YL:^;5T-KHXMC87T=&5=?'RN%/0T)2Y,W(RL[7[V5>5U985%IK]M_B MW]G?\%]37&?ZW,_,V%Q*25-TWM/.SMIX96WL[UE'14WVS,C,VO!L54U/8-O+ MRMIE6%QG:FEX^VM@7?S1R\W:7TU&1D]OT\G*TOQ:5%[@T=5]4D]??>UR8&SZ MY]S;WN/EY.]F3TI/7O#=V=+7ZGAW]^OV8E%/7.[7U^UJ8V)D7V[;RL709$U+ M55U@;NG:V_)M]^#]G5U167G/Q MYN#@WM_AX.;X9EU=96=?8G'OX=S>W^IS:F_QX.3]7%)47O?DY>KJX]O'L:EQ>_M?/V/U=6FCLX./S:5]=7W#FW-[J=W/[\'YE7%UMY=C9Y7MM M:G%W;&9C:^_>W-SE;5I45VGJW]_HYMO9W7M83U!?\^3AX>7HZO9[<&AG:&EM M]NCF[?;R[O-X9&-M_.3A[7)A87?OZ_5Y_.[L[?YO:6=R?O;KZ>KN_79YV^UD76;PWN#Q;6=J=^[EYO%Q:_5Y ` end From owner-freebsd-multimedia Thu Jan 23 20:02:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA05149 for multimedia-outgoing; Thu, 23 Jan 1997 20:02:36 -0800 (PST) Received: from netcom14.netcom.com (stanb@netcom14.netcom.com [192.100.81.126]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id UAA05143 for ; Thu, 23 Jan 1997 20:02:32 -0800 (PST) Received: (from stanb@localhost) by netcom14.netcom.com (8.6.13/Netcom) id XAA05985; Thu, 23 Jan 1997 23:02:31 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701240402.XAA05985@netcom14.netcom.com> Subject: Why does playmidi want files in /dos/......... To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Thu, 23 Jan 1997 23:02:31 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk When I try to run playmidi that came with my FreeBSD distribution, it complains that it can find some files in something like: /dos/........./GRAVIS or something like that. Whats going on here? I don't even have a /dos directory -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Thu Jan 23 20:55:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA07076 for multimedia-outgoing; Thu, 23 Jan 1997 20:55:13 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA07071 for ; Thu, 23 Jan 1997 20:55:10 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id UAA08615; Thu, 23 Jan 1997 20:55:03 -0800 (PST) Message-Id: <199701240455.UAA08615@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Doug White cc: Stan Brown , Free BSD Multimedia List Subject: Re: Do I need the Freebsd PnP utilities in addation to the GUS PnP patch ? In-reply-to: Your message of "Thu, 23 Jan 1997 10:52:08 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Jan 1997 20:55:03 -0800 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Doug White : > On Thu, 23 Jan 1997, Stan Brown wrote: > > > I am trying to make a GUS PnP car (Ultrasound) work under FreeBSD 2.2 > > BETA. I was wondering if I needed the grab the FreeBSD Plung and Play > > utilites in adition to the GUS patch? > > No. The guspnp6 includes support for the GUS PnP cards - you should only > need that to get it working. > > > Are these both require? Or ar the ,mutlay exlcusive, or do they coexist > > peacfuly? > > That, I couldn't say. Amancio? It depends on you specify the gus and which motherboard do you have. If you hardwired the gus specifications in the kernel config file: device gus0 at isa? port 0x220 irq 11 drq 5 flags 0x7 vector gusintr Then if pnp setup does not match the config file the driver will fail However, if you specify the gus as a configurable device: device gus0 at isa? vector gusintr The driver will get its configuration information via the PnP method and if the card had been previously set by a PnP program whether that be a kernel routine or the motherboard's bios the driver will still get its info from the card. Regards, Amancio From owner-freebsd-multimedia Thu Jan 23 23:51:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA13802 for multimedia-outgoing; Thu, 23 Jan 1997 23:51:41 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA13775; Thu, 23 Jan 1997 23:51:33 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id XAA00908; Thu, 23 Jan 1997 23:51:33 -0800 (PST) Message-Id: <199701240751.XAA00908@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org cc: hackers@freebsd.org Subject: New Bt848 Video capture driver for FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Jan 1997 23:51:33 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, This is the first alpha release of the Bt848 video capture driver . Tested with an Intel Smart Video Recorder III. If you are interested you can get the distribution from ftp://rah.star-gate.com/pub/bt848.tar.gz Please don't hesitate to send me bug reports or comments. Enjoy, Amancio From owner-freebsd-multimedia Fri Jan 24 01:08:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA16572 for multimedia-outgoing; Fri, 24 Jan 1997 01:08:32 -0800 (PST) Received: from MVS.OAC.UCLA.EDU (mvs.oac.ucla.edu [164.67.200.200]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id BAA16565; Fri, 24 Jan 1997 01:08:29 -0800 (PST) Message-Id: <199701240908.BAA16565@freefall.freebsd.org> Received: from UCLAMVS.BITNET by MVS.OAC.UCLA.EDU (IBM MVS SMTP V2R2.1) with BSMTP id 8148; Fri, 24 Jan 97 01:08:37 PST Date: Fri, 24 Jan 97 01:08 PST To: Amancio Hasty From: Denis DeLaRoca Subject: Re: New Bt848 Video capture driver for FreeBSD CC: multimedia@FREEBSD.ORG, hackers@FREEBSD.ORG, hackers@FREEBSD.ORG Sender: owner-multimedia@FREEBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 23 Jan 1997 23:51:33 -0800, Amancio Hasty said: > > This is the first alpha release of the Bt848 video capture driver . Tested > with an Intel Smart Video Recorder III. If you are interested you can > get the distribution from ftp://rah.star-gate.com/pub/bt848.tar.gz Will a Vic driver be forthcoming? -- Denis From owner-freebsd-multimedia Fri Jan 24 01:55:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA18320 for multimedia-outgoing; Fri, 24 Jan 1997 01:55:54 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA18297; Fri, 24 Jan 1997 01:55:48 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id BAA01385; Fri, 24 Jan 1997 01:55:47 -0800 (PST) Message-Id: <199701240955.BAA01385@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Denis DeLaRoca cc: multimedia@FREEBSD.ORG, hackers@FREEBSD.ORG Subject: Re: New Bt848 Video capture driver for FreeBSD In-reply-to: Your message of "Fri, 24 Jan 1997 01:08:00 PST." <199701240908.BAA01215@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Jan 1997 01:55:47 -0800 From: Amancio Hasty Sender: owner-multimedia@FREEBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Nope, because it is already included in the distribution. Regards, Amancio >From The Desk Of Denis DeLaRoca : > On Thu, 23 Jan 1997 23:51:33 -0800, > Amancio Hasty said: > > > > This is the first alpha release of the Bt848 video capture driver . Tested > > with an Intel Smart Video Recorder III. If you are interested you can > > get the distribution from ftp://rah.star-gate.com/pub/bt848.tar.gz > > Will a Vic driver be forthcoming? > > -- Denis > > > From owner-freebsd-multimedia Fri Jan 24 03:14:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA22071 for multimedia-outgoing; Fri, 24 Jan 1997 03:14:33 -0800 (PST) Received: from deepo.prosa.dk ([193.89.187.27]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA22065; Fri, 24 Jan 1997 03:14:28 -0800 (PST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.5/8.8.4/prosa-1.1) id MAA12623; Fri, 24 Jan 1997 12:15:09 +0100 (CET) Message-ID: Date: Fri, 24 Jan 1997 12:15:07 +0100 From: regnauld@deepo.prosa.dk (Philippe Regnauld) To: jkh@time.cdrom.com (Jordan K. Hubbard) Cc: shocking@mailbox.uq.edu.au (Stephen Hocking), multimedia@freebsd.org, hackers@freebsd.org, sysseh@devetir.qld.gov.au Subject: Re: Possible Quake port to FreeBSD? References: <199701231104.VAA00380@mailbox.uq.edu.au> <4949.854025681@time.cdrom.com> X-Mailer: Mutt 0.58 Mime-Version: 1.0 X-Operating-System: FreeBSD 2.2-BETA_A i386 In-Reply-To: <4949.854025681@time.cdrom.com>; from Jordan K. Hubbard on Jan 23, 1997 05:21:21 -0800 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard (jkh) ecrit/writes: > Before they shut down the other unix ports, the deal was that if you > sent them a full configured machine with reasonable amounts of disk > space and memory, they'd do the port. Anyone who's into this want > to send iD a box? This could be a group contribution (...for people in U.S. I dare say :-) > I've none to spare myself, at the moment, nor > do I think of quake as quite the kind of priority to which I would > devote one if I had. :-) Political reasons ? Publicity ? Bragging ? All of the above ? -- -- Phil -[ Philippe Regnauld / Systems Administrator / regnauld@.prosa.dk ]- -[ Location.: +55.4N +11.3E PGP Key: finger regnauld@deepo.prosa.dk ]- From owner-freebsd-multimedia Fri Jan 24 03:18:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA22284 for multimedia-outgoing; Fri, 24 Jan 1997 03:18:35 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA22264; Fri, 24 Jan 1997 03:18:30 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.4/8.6.9) with ESMTP id DAA14610; Fri, 24 Jan 1997 03:18:15 -0800 (PST) To: regnauld@deepo.prosa.dk (Philippe Regnauld) cc: shocking@mailbox.uq.edu.au (Stephen Hocking), multimedia@freebsd.org, hackers@freebsd.org, sysseh@devetir.qld.gov.au Subject: Re: Possible Quake port to FreeBSD? In-reply-to: Your message of "Fri, 24 Jan 1997 12:15:07 +0100." Date: Fri, 24 Jan 1997 03:18:13 -0800 Message-ID: <14581.854104693@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I've none to spare myself, at the moment, nor > > do I think of quake as quite the kind of priority to which I would > > devote one if I had. :-) > > Political reasons ? Publicity ? Bragging ? All of the above ? Like I said, if someone ELSE would like to give them a box, they are by all means welcome to do so! I'm one of those old farts who has no time for games now and considers them a rather frivolous waste of time, better spent on more productive pursuits. :-) Jordan From owner-freebsd-multimedia Fri Jan 24 03:55:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA23739 for multimedia-outgoing; Fri, 24 Jan 1997 03:55:13 -0800 (PST) Received: from pdx1.world.net (pdx1.world.net [192.243.32.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA23729 for ; Fri, 24 Jan 1997 03:55:10 -0800 (PST) From: proff@suburbia.net Received: from suburbia.net (suburbia.net [203.4.184.1]) by pdx1.world.net (8.7.5/8.7.3) with SMTP id DAA14069 for ; Fri, 24 Jan 1997 03:56:23 -0800 (PST) Received: (qmail 5102 invoked by uid 110); 24 Jan 1997 11:54:52 -0000 Message-ID: <19970124115452.5101.qmail@suburbia.net> Subject: Re: Possible Quake port to FreeBSD? In-Reply-To: <14581.854104693@time.cdrom.com> from "Jordan K. Hubbard" at "Jan 24, 97 03:18:13 am" To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Fri, 24 Jan 1997 22:54:52 +1100 (EST) Cc: regnauld@deepo.prosa.dk, shocking@mailbox.uq.edu.au, multimedia@freebsd.org, hackers@freebsd.org, sysseh@devetir.qld.gov.au X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm one of those old farts who has no time for games now and considers > them a rather frivolous waste of time, better spent on more productive > pursuits. :-) > > Jordan Of all the wonderful things a fast 3d engine could be used for, it is somehow philosophically telling that it is used for gut splatter. -- Cheers, Julian. From owner-freebsd-multimedia Fri Jan 24 05:53:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA29065 for multimedia-outgoing; Fri, 24 Jan 1997 05:53:36 -0800 (PST) Received: from mailbox.uq.edu.au (zzshocki.slip.cc.uq.oz.au [130.102.221.173]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA29045; Fri, 24 Jan 1997 05:53:29 -0800 (PST) Received: from bloop.craftncomp.com (localhost.craftncomp.com [127.0.0.1]) by mailbox.uq.edu.au (8.8.4/8.6.12) with ESMTP id XAA00437; Fri, 24 Jan 1997 23:45:40 +1000 (EST) Message-Id: <199701241345.XAA00437@mailbox.uq.edu.au> X-Mailer: exmh version 2.0beta 12/23/96 To: proff@suburbia.net cc: regnauld@deepo.prosa.dk, shocking@mailbox.uq.edu.au, multimedia@freebsd.org, hackers@freebsd.org, sysseh@devetir.qld.gov.au Subject: Re: Possible Quake port to FreeBSD? In-reply-to: Your message of "Fri, 24 Jan 1997 22:54:52 +1100." <19970124115452.5101.qmail@suburbia.net> From: shocking@mailbox.uq.edu.au Reply-To: shocking@mailbox.uq.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Jan 1997 23:45:38 +1000 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Of all the wonderful things a fast 3d engine could be used for, it is somehow > philosophically telling that it is used for gut splatter. > Yeah - Ain't it wonderful? Stephen From owner-freebsd-multimedia Fri Jan 24 20:10:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA16322 for multimedia-outgoing; Fri, 24 Jan 1997 20:10:38 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA16315 for ; Fri, 24 Jan 1997 20:10:33 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id UAA01324; Fri, 24 Jan 1997 20:10:25 -0800 (PST) Message-Id: <199701250410.UAA01324@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: stanb@netcom.com (Stan Brown) cc: multimedia@freebsd.org Subject: Re: GUS on FreeBSD problems In-reply-to: Your message of "Fri, 24 Jan 1997 22:46:23 EST." <199701250346.WAA07995@netcom17.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Jan 1997 20:10:24 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is what the error message means: That you chose an invalid IRQ for the GUS PnP. Last time, Please try out one of the following valid IRQs for the GUS PnP until you find a valid IRQ for your system: 9 11 12 15 Amancio >From The Desk Of Stan Brown : > > > > Oops, I didn't see your gus config line the first time and upon > > checking again I did see the config line. > > OK, so what should I try next? I'm really stuck here. Did you see the > error message at boot tme saying that the GUS IRQ wasn't set? > > Any diagnostics I can run to help figure this out? > > > > The pnpinfo lists the valid IRQs which the gus pnp card will accept. > > > > Regards, > > Amancio > > > > -- > Stan Brown stanb@netcom.com 404-996-69 55 > Factory Automation Systems > Atlanta Ga. > -- > Look, look, see Windows 95. Buy, lemmings, buy! > Pay no attention to that cliff ahead... Henry Spencer > (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Sat Jan 25 06:27:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA03877 for multimedia-outgoing; Sat, 25 Jan 1997 06:27:30 -0800 (PST) Received: from netcom11.netcom.com (stanb@netcom11.netcom.com [192.100.81.121]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id GAA03872 for ; Sat, 25 Jan 1997 06:27:28 -0800 (PST) Received: (from stanb@localhost) by netcom11.netcom.com (8.6.13/Netcom) id JAA20461; Sat, 25 Jan 1997 09:27:27 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701251427.JAA20461@netcom11.netcom.com> Subject: Several sound quesions To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Sat, 25 Jan 1997 09:27:27 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk After much pain, I beileive that I finally have my Gravis Ultrasound PnP sound card working in my FreeBSD box. I would like to say thank yuo to all of the helpful people that helped me throught my own ignorance. Most espically Amancio Hasty. Now that I have it working (I thnk). I would like to star using it I have several questions. Ine of my primary reasons fo wanting it was to sund enable Netscape. Having sed this I need to configure the mailcap file for Netscape to ahndle as many diverse types of sound files as I can. Could someone provide me a list of al the sound playing programs that have been proted to FreeBSD, and the file types that they hadle> Does anyone know ehre I can get sox for FreeBSD? Why do I get the folwing error when I run midiplay: Script started on Fri Jan 24 23:28:41 1997 stan@koala.fas.com:/home/stan/sounds $ script$ playmidi *mid$ /dos/ultrasnd/midi/acpiano.pat: No such file or directory Can't load any melodic patches! stan@koala.fas.com:/home/stan/sounds $ Script done on Fri Jan 24 23:28:50 1997 Qhat do I do to fix it? What functiosn of my Gravis are suported? It can apatently do at least teh folowing: play midid sounds, emulate a sound blaster, and work in it's wn native mode. Is this correct? Which of these ae supported? Thanbks for the help. -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Sat Jan 25 08:30:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA07308 for multimedia-outgoing; Sat, 25 Jan 1997 08:30:19 -0800 (PST) Received: from netcom11.netcom.com (stanb@netcom11.netcom.com [192.100.81.121]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA07303 for ; Sat, 25 Jan 1997 08:30:17 -0800 (PST) Received: (from stanb@localhost) by netcom11.netcom.com (8.6.13/Netcom) id LAA26908; Sat, 25 Jan 1997 11:30:10 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701251630.LAA26908@netcom11.netcom.com> Subject: Where can I locate the *.mid files I need to use playmidi ? To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Sat, 25 Jan 1997 11:30:10 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Aparantley the playmidid program that is supplied with FreeBSD requires some external files to work. I tried using it to play a few midi files, and got error messages to the effect that files in /dos/ultrasound/midi/ of the pattern *.mid were not fpound. Since I am installig an Gravis Ultrasound, I assumed that these would be provided with my card. Well I found a few .mid files on it's CD, but apparently not the ones required by playmidi. It seems to want one called acpiana.pat, at least. Could someone tell me where I might get these files? Thanks. -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Sat Jan 25 09:40:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA09525 for multimedia-outgoing; Sat, 25 Jan 1997 09:40:20 -0800 (PST) Received: from netcom11.netcom.com (stanb@netcom11.netcom.com [192.100.81.121]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA09520 for ; Sat, 25 Jan 1997 09:40:17 -0800 (PST) Received: (from stanb@localhost) by netcom11.netcom.com (8.6.13/Netcom) id MAA25084; Sat, 25 Jan 1997 12:40:16 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701251740.MAA25084@netcom11.netcom.com> Subject: Apologies If I have iratated anyone. To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Sat, 25 Jan 1997 12:40:15 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Evidently I have iratateed some people on this list, most specifically one Edward F. Knight. he sent me a rather nasty message basically complaining about my not reading the documentation related to the questions I have been asking lately. I would love to read the documentation. Unfortunately no one has been kind enough to provide a pointer to such documentation. Certain other groups/lists are very good about that. If someone asks a FAQ, the receive a brief note from several people pointing them to the source of the documentation. On this list I have yet (after about a week of trying to get my sound system working). to receive any pointers to documentation. A few people have been kind enough to provide some answers to part of my questions. The most helpful of all these people has been the author of the Graviss Ultrasound card. However it has been apparent to me that even the people that have chosen to help, feel they are droping to a level below what they want to be to discuss such (to them) simple matters. Again I apologize if I have iratateed anyone, and humbly ask for a pointer to this wonderful documentation that must exist somewhere. -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Sat Jan 25 09:43:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA09600 for multimedia-outgoing; Sat, 25 Jan 1997 09:43:47 -0800 (PST) Received: from hamby1.lightside.net (hamby1.lightside.net [207.67.176.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA09582; Sat, 25 Jan 1997 09:43:41 -0800 (PST) Received: from localhost (jehamby@localhost) by hamby1.lightside.net (8.8.4/8.8.2) with SMTP id JAA00327; Sat, 25 Jan 1997 09:42:46 -0800 (PST) X-Authentication-Warning: hamby1.lightside.net: jehamby owned process doing -bs Date: Sat, 25 Jan 1997 09:42:44 -0800 (PST) From: Jake Hamby X-Sender: jehamby@hamby1 To: Amancio Hasty cc: multimedia@freebsd.org, hackers@freebsd.org Subject: Re: New Bt848 Video capture driver for FreeBSD In-Reply-To: <199701240751.XAA00908@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 23 Jan 1997, Amancio Hasty wrote: > > Hi, > > This is the first alpha release of the Bt848 video capture driver . Tested > with an Intel Smart Video Recorder III. If you are interested you can > get the distribution from ftp://rah.star-gate.com/pub/bt848.tar.gz > > > Please don't hesitate to send me bug reports or comments. Hey, cool! I guess I better buy one of those cards, since I hear they're only about $150 now! For the record, somebody wrote a bt848 driver for BeOS, and there's a demo of the new 3DKit which allows you to drop live video and/or QuickTime movies onto the faces of a 3D object (cube, sphere, pulsing thing, book pages), and spin it around in realtime. It looks _real_ sweet playing about 6 QT movies simultaneously on a PowerMac 8500, all texture-mapped onto various 3D objects, but a live video feed is even cooler. Man, I'd love to have the source code to that! Anyway, I guess I need to buy two of those cards, one for my PC, and the other for the BeBox. :) -- Jake From owner-freebsd-multimedia Sat Jan 25 09:53:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA09997 for multimedia-outgoing; Sat, 25 Jan 1997 09:53:58 -0800 (PST) Received: from netcom11.netcom.com (stanb@netcom11.netcom.com [192.100.81.121]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA09992 for ; Sat, 25 Jan 1997 09:53:55 -0800 (PST) Received: (from stanb@localhost) by netcom11.netcom.com (8.6.13/Netcom) id MAA01265; Sat, 25 Jan 1997 12:53:54 -0500 From: stanb@netcom.com (Stan Brown) Message-Id: <199701251753.MAA01265@netcom11.netcom.com> Subject: My reply to Edward F. Knight To: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) Date: Sat, 25 Jan 1997 12:53:54 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Stan, > > do you ever read your documentation thoroughly? > > do you ever proof read what you write before you mail it? > > Did you ever copy the .pat files into your filesystem? > without the patern files midi files can't play. > > Don't be abusive and obviouly obnoxious by not reading the F__king > documentation and expecting everyone else to do your work for you. > > Don't bother to respond. I have set a filter to ignore (for myself) all > further mail from you on this list. > I am sorry if I have annoyed you. Clearly you know more about this subject that I do, Unfortunately you appear to be unwilling to share even a little of your knowledge. That's a ashame. I find this interesting coming from someone with a Netcruiser account and using Windoze to post to a FreeBSD group. Oh, BTW my spelling check found 3 misspelled words in your reply. -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. From owner-freebsd-multimedia Sat Jan 25 10:23:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA11374 for multimedia-outgoing; Sat, 25 Jan 1997 10:23:11 -0800 (PST) Received: from DNS.Lamb.net (root@DNS.Lamb.net [207.90.181.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA11369 for ; Sat, 25 Jan 1997 10:23:10 -0800 (PST) Received: from PacBell.TelcoSucks.org (ulf@PacBell.TelcoSucks.org [207.90.181.5]) by DNS.Lamb.net (8.8.5/20.74.3.14) with SMTP id KAA19448; Sat, 25 Jan 1997 10:23:06 -0800 (PST) Message-Id: <3.0.32.19970125102451.00737c38@Gatekeeper-3.Lamb.net> X-Sender: ulf@Gatekeeper-3.Lamb.net X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Sat, 25 Jan 1997 10:24:52 -0800 To: stanb@netcom.com (Stan Brown), freebsd-multimedia@freebsd.org (Free BSD Multimedia List) From: Ulf Zimmermann Subject: Re: My reply to Edward F. Knight Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 12:53 PM 1/25/97 -0500, Stan Brown wrote: > I find this interesting coming from someone with a Netcruiser account > and using Windoze to post to a FreeBSD group. > Why ? That is normal. Look on my mailer, Eudora Pro. Why ? Because I have this need notebook, which I take to work and use it there for mail too. Because Eudora is a nice program. But that are also personal references. Ulf. ----------------------------------------------------------- Alameda Networks, Inc. | Ulf Zimmermann (ulf@Alameda.net) 1525 Pacific Avenue | Phone: (510)769-2936 Alameda, CA 94501 | Fax : (510)521-5073 From owner-freebsd-multimedia Sat Jan 25 12:52:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA17245 for multimedia-outgoing; Sat, 25 Jan 1997 12:52:48 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA17240 for ; Sat, 25 Jan 1997 12:52:46 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id MAA04538 for ; Sat, 25 Jan 1997 12:52:47 -0800 (PST) Message-Id: <199701252052.MAA04538@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: Cool off Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Jan 1997 12:52:46 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I had been slaving away at work hence my lack of time to respond lately to questions. As for a nice document for multimedia apps on FreeBSD there isn't any. This is a volunteer effort and we all do what we can . Amancio From owner-freebsd-multimedia Sat Jan 25 13:51:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA19698 for multimedia-outgoing; Sat, 25 Jan 1997 13:51:43 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA19677; Sat, 25 Jan 1997 13:51:38 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA00739; Sat, 25 Jan 1997 14:33:57 -0700 From: Terry Lambert Message-Id: <199701252133.OAA00739@phaeton.artisoft.com> Subject: Re: New Bt848 Video capture driver for FreeBSD To: jehamby@lightside.com (Jake Hamby) Date: Sat, 25 Jan 1997 14:33:56 -0700 (MST) Cc: hasty@rah.star-gate.com, multimedia@freebsd.org, hackers@freebsd.org In-Reply-To: from "Jake Hamby" at Jan 25, 97 09:42:44 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > For the record, somebody wrote a bt848 driver for BeOS, and there's a demo > of the new 3DKit which allows you to drop live video and/or QuickTime > movies onto the faces of a 3D object (cube, sphere, pulsing thing, book > pages), and spin it around in realtime. It looks _real_ sweet playing > about 6 QT movies simultaneously on a PowerMac 8500, all texture-mapped > onto various 3D objects, but a live video feed is even cooler. Man, I'd > love to have the source code to that! I bet you $1 that they are only transferring data for the one, two, or three visible faces of the cube. You could easily render a projection matrix to do this: o Start with a cube showing one face (ie: the vector from your viewpoint through the center of the cube is perpendicular to the plane of the face). o Declare that you will only perform an x, y, or z rotation about the center of the cube body. o Determine the center of the cube face. o Pick one corner of the face. o Rotate the corner around the face to describe a circle. No matter how much you rotate the cube itself about its body center, you will not need to draw a pixel outside this circle, ever. o Divide the circle into pixels. o Consider the circle as the projection of a sphere into two dimensions. o You will move the corner of the cube along the visible surface of the sphere. Doing this will reveal a polygon for each of the visible sides. For instance, if you rotate the cube solely in the z-x plane from left-to-right, you will start with the full face, and then slowy move the left edge until it becomes the right edge (a 90 degree rotation) and you will end up with a different full face. o Now create a matrix of however many pixels are in the circle for each pixel in the circle. Each element in the matrix needs to have the values id, x, and y. o Fill in this matrix by moving the corner of the cube to every pixel in the circle. id is 1, 2, or 3; its the number of the face you see in that pixel on the circle for any given location of the corner. The cube face you start with is id 1. Put a zero in if there is no cube face under that pixel at that time (for instance, if you start with one face facing the viewer, there will be four crescents with id 0 in them). o Each of the faces will look like a four-sided polygon; this polygon is actually the projection of a square. o If you look at the cube face unrotated, you will have a square grid of pixels. For each polygon, you need to project the square into the polygon. The x,y location of the pixel you see for a given projection is the x,y location you store in the matrix for that "square". o Now you can "rotate" the cube. When the leading corner moves, you pick the matrix for its new location. Then you draw each pixel in the circle (if there is no cube there, there will be an id 0, and you should draw the background color) by going to the quicktime picture source for the id, and getting the pixel at the x,y location from the quicktime image. o What if you want to rotate the cube so the image goes upside down? For each 90 degrees you rotate the image, the image can be projected rotated. So you establish four matrices of a cube face each in size. For a 0 degree rotation, you pick the first, for a 90 degree, you pick the second, and so on. Now when you go to look up the image, you look up the image for the id, and then you look up the x,y pixel in the appropriate matrix. If it's 0 degrees rotated, it gives you the same x,y value to look up in the quicktime image... if not, though, you will get a rotated pixel. For instance, say my cube face is 100 pixels by 100 pixels. I want to look up pixel 1,1 from the quick time image 0 dgrees rotated: I get 1,1. I want to look up 90 degrees rotated, I get 100,1; I want 180 degrees, I get 100,100, and 270 dgrees, I get 1,100. o When the corner moves around "behind" the sphere, then a new corner will move into the visible cube. When that happens, you will need to reset the matrix, and pick a different set of quicktime sources for 1, 2, and 3. To do this, you need to have a matrix of 8 (one for each corner) by six (one for each face). o For more complex rotations, you will rotate the cube center as if it were attached to an axis with a fixed center by moving the cube center relative. This is topologically equivalent to rotating the cube about any point. You will need to make another matrix for perspective, since if you rotate about a point other than the body center, the average distance to the body center will get farther (the cube will "get smaller") or closer (the cube will "get larger"). Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-multimedia Sat Jan 25 18:57:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA11634 for multimedia-outgoing; Sat, 25 Jan 1997 18:57:43 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA11624 for ; Sat, 25 Jan 1997 18:57:40 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id SAA00961 for ; Sat, 25 Jan 1997 18:57:39 -0800 (PST) Message-Id: <199701260257.SAA00961@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: multimedia@freebsd.org Subject: Multimedia usage on FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Jan 1997 18:57:39 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Video capture: Hardware : Matrox Meteor PCI, Intel Smart Video Recorder III PCI, Talisman MPEG Player. Applications: o Save live images akeen to taking a picture. o Watch tv with the "tv" o audio/video conferencing with vic/vat using at ISDN speed o Play back CDI or VIDEOCD at 30fps with the Talisman MPEG Player. o metgrab -- only with the Matrox Meteor -- real time special effects while capturing live video on PPRO 200MHz. Audio: Hardare: GUS PnP, TOSHIBA CD-ROM XM-3701TA 3205, Zyxel 1496 Applications o play mpeg sound files o play back midi files o play soundtracks off an CD Audio or save audio sound tracks o convert sound files to mpeg audio files o play doom with sound o NCD's network audio system to plack back sound streams locally or across a network o telephone answering machine and I use exmh to play back my voice messages using NCD's sound player which has controls for pausing, and restart sound at any point in the graphical display of the sound message. This is just a skeleton outline feel free to add or revise. After several revisions we should end up with a Multimedia Guide for FreeBSD which will go on the FreeBSD Multimedia Mailing List. Enjoy, Amancio From owner-freebsd-multimedia Sat Jan 25 19:01:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA11787 for multimedia-outgoing; Sat, 25 Jan 1997 19:01:51 -0800 (PST) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA11782 for ; Sat, 25 Jan 1997 19:01:48 -0800 (PST) Received: from localhost.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.8.3/8.7.3) with SMTP id WAA10640; Sat, 25 Jan 1997 22:01:43 -0500 (EST) Message-Id: <199701260301.WAA10640@whizzo.transsys.com> X-Mailer: exmh version 2.0alpha 12/3/96 To: stanb@netcom.com (Stan Brown) cc: freebsd-multimedia@freebsd.org (Free BSD Multimedia List) From: "Louis A. Mamakos" Subject: Re: Where can I locate the *.mid files I need to use playmidi ? References: <199701251630.LAA26908@netcom11.netcom.com> In-reply-to: Your message of "Sat, 25 Jan 1997 11:30:10 EST." <199701251630.LAA26908@netcom11.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Jan 1997 22:01:43 -0500 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The files that playmidi wants (in /dos/...) are installed by default when you install the Ultrasound PNP drivers on your windows machine. If you happen to have a Windoz partition on your box, things "just work" if you mount it as /dos. Otherwise, I believe that the files it wants were on the original CDROM which accompanied the GUS PnP board. louie From owner-freebsd-multimedia Sat Jan 25 19:53:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA14466 for multimedia-outgoing; Sat, 25 Jan 1997 19:53:12 -0800 (PST) Received: from MVS.OAC.UCLA.EDU (mvs.oac.ucla.edu [164.67.200.200]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA14461 for ; Sat, 25 Jan 1997 19:53:10 -0800 (PST) Message-Id: <199701260353.TAA14461@freefall.freebsd.org> Received: from UCLAMVS.BITNET by MVS.OAC.UCLA.EDU (IBM MVS SMTP V2R2.1) with BSMTP id 9620; Sat, 25 Jan 97 19:53:17 PST Date: Sat, 25 Jan 97 19:52 PST To: Amancio Hasty From: Denis DeLaRoca Subject: Re: Multimedia usage on FreeBSD CC: multimedia@FREEBSD.ORG Sender: owner-multimedia@FREEBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 25 Jan 1997 18:57:39 -0800, Amancio Hasty said: > > Video capture: > Hardware : Matrox Meteor PCI, Intel Smart Video Recorder III PCI, > Talisman MPEG Player. > > > Applications: > o Save live images akeen to taking a picture. > o Watch tv with the "tv" > o audio/video conferencing with vic/vat using at ISDN speed > o Play back CDI or VIDEOCD at 30fps with the Talisman MPEG Player. > o metgrab -- only with the Matrox Meteor -- real time special > effects while capturing live video on PPRO 200MHz. Re Metgrab, I thought the Matrox Meteor and PPRO 200Mhz combo was a no-no, ie., would lock the system in question. Has that been fixed? Re the Matrox and Intel cards, besides the better price are there compelling technicals reason to choose the Intel card over the Matrox? I recall your mentioning the DMA programmable feature of the Intel card, was it fun programming that, did you get to do anything clever to optimize dma transfers? -- Denis From owner-freebsd-multimedia Sat Jan 25 20:02:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA14705 for multimedia-outgoing; Sat, 25 Jan 1997 20:02:46 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA14700 for ; Sat, 25 Jan 1997 20:02:43 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.7.6/8.7.3) with ESMTP id UAA01262; Sat, 25 Jan 1997 20:02:32 -0800 (PST) Message-Id: <199701260402.UAA01262@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Denis DeLaRoca cc: multimedia@FREEBSD.ORG Subject: Re: Multimedia usage on FreeBSD In-reply-to: Your message of "Sat, 25 Jan 1997 19:52:00 PST." <199701260353.TAA01190@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Jan 1997 20:02:32 -0800 From: Amancio Hasty Sender: owner-multimedia@FREEBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Denis DeLaRoca : > On Sat, 25 Jan 1997 18:57:39 -0800, > Amancio Hasty said: > > > > Video capture: > > Hardware : Matrox Meteor PCI, Intel Smart Video Recorder III PCI, > > Talisman MPEG Player. > > > > > > Applications: > > o Save live images akeen to taking a picture. > > o Watch tv with the "tv" > > o audio/video conferencing with vic/vat using at ISDN speed > > o Play back CDI or VIDEOCD at 30fps with the Talisman MPEG Player. > > o metgrab -- only with the Matrox Meteor -- real time special > > effects while capturing live video on PPRO 200MHz. > > Re Metgrab, I thought the Matrox Meteor and PPRO 200Mhz combo was > a no-no, ie., would lock the system in question. Has that been fixed? The problem has been isolated to YUV 422 capture that is that the Matrox Meteor sends three consecutive dma transfers and in this mode it locks up solidly your system. However, there is a work around for this in that we can capture YUV Pack mode which seems not to lock up a system. A modified version of vic's grabber-meteor.cc which uses YUV packed mode was posted on the list for people to try and I must say I have not heard back anything from anyone. I still don't trust the Matrox Meteor with a Natoma chipset. > Re the Matrox and Intel cards, besides the better price are there > compelling technicals reason to choose the Intel card over the > Matrox? > > I recall your mentioning the DMA programmable feature of the Intel > card, was it fun programming that, did you get to do anything clever > to optimize dma transfers? It turns out that the dma performance on a Triton chipset is better for video capture than for the Natoma chipset. The Intel card works okay on my PPRO system however it works much better on my P100 with a Triton chipset. Right now, I am watching tv on my P100 at 640x480 15 bits and it compares very well against my tv. At 640x480 32 bits in order for me to see 30fps I need to modify the driver to display directly to the video display buffer. Amancio