From owner-freebsd-multimedia Sun Jan 11 05:20:47 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA23554 for multimedia-outgoing; Sun, 11 Jan 1998 05:20:47 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from dingo.cc.uq.edu.au (root@dingo.cc.uq.edu.au [130.102.2.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA23538 for ; Sun, 11 Jan 1998 05:20:32 -0800 (PST) (envelope-from shocking@zzshocki.dialin.uq.net.au) Received: from zzshocki.dialin.uq.net.au (zzshocki.dialin.uq.net.au [203.101.242.9]) by dingo.cc.uq.edu.au (8.8.8/8.8.7) with ESMTP id XAA09291; Sun, 11 Jan 1998 23:20:17 +1000 (GMT+1000) Received: from zzshocki.dialin.uq.net.au (localhost [127.0.0.1]) by zzshocki.dialin.uq.net.au (8.8.8/8.8.7) with ESMTP id XAA14128; Sun, 11 Jan 1998 23:30:14 +1000 (EST) (envelope-from shocking@zzshocki.dialin.uq.net.au) Message-Id: <199801111330.XAA14128@zzshocki.dialin.uq.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: multimedia@freebsd.org, hasty@star-gate.com Subject: Anybody still able to run q2test? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Jan 1998 23:30:13 +1000 From: Stephen Hocking Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I had this working OK for a while - now it seems to be quitting with the same error as the retail version of quake 2. Anybody having a similar experience? Stephen From owner-freebsd-multimedia Sun Jan 11 06:35:30 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA28139 for multimedia-outgoing; Sun, 11 Jan 1998 06:35:30 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA28133 for ; Sun, 11 Jan 1998 06:35:24 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 11 Jan 1998 9:34:17 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA25425; Sun, 11 Jan 98 09:34:15 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id JAA09730; Sun, 11 Jan 1998 09:33:13 -0500 Message-Id: <19980111093313.31248@ct.picker.com> Date: Sun, 11 Jan 1998 09:33:13 -0500 From: Randall Hopper To: Nick Papadonis Cc: multimedia@freebsd.org Subject: AWE32 DOOM Musserver (was Re: awe/32) References: <34B81DCE.3B95E9D4@netway.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <34B81DCE.3B95E9D4@netway.com>; from Nick Papadonis on Sun, Jan 11, 1998 at 01:18:07AM +0000 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nick Papadonis: |It seems that all my awe/32 pnp stuff works fine except doom. I can |only get sfx's, and I KNOW its loading the default MUSSERVER. Problem |is I try compiling the new one with the patch for awe/32, and I can't |get it to compile. | |Do you happen to have a binary or any insight into my problem? The Doom musserver for AWE32 should build and run out-of-the-box with the updated patch now on the page: http://multiverse.com/~rhh/awedrv Sorry about that. The Doom musserver port is the only one of the ports I hadn't yet re-tested on the new driver. However, I just did and found it needed 2 include file tweaks. I also made the new patch FreeBSD-specific (FreeBSD options are now uncommented in the Makefile), so no follow-up mods should be necessary before building it. Let me know if you have any trouble with it. |Can I run OSS and use the Doom musserver for awe32? I don't know. Randall From owner-freebsd-multimedia Sun Jan 11 10:50:40 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA24682 for multimedia-outgoing; Sun, 11 Jan 1998 10:50:40 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from polymecca.com (polymecca.com [199.254.229.35]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA24676 for ; Sun, 11 Jan 1998 10:50:32 -0800 (PST) (envelope-from johnl@polymecca.com) Received: from polymecca.com [127.0.0.1] by polymecca.com with esmtp (Exim 1.82 #1) id 0xrSRM-00042C-00 (Debian); Sun, 11 Jan 1998 10:48:56 -0800 From: John Labovitz To: multimedia@freebsd.org Subject: bad link on http://www.freebsd.org/~ahasty/STBTVPCI.html Date: Sun, 11 Jan 1998 10:48:56 -0800 Message-Id: Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk the first link on this page to the STB site seems to have changed. i found the new page at: http://www.stb.com/products/multimedia/tvpci/tvpci.html john From owner-freebsd-multimedia Sun Jan 11 16:15:18 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA22412 for multimedia-outgoing; Sun, 11 Jan 1998 16:15:18 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA22395 for ; Sun, 11 Jan 1998 16:15:11 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id QAA04293; Sun, 11 Jan 1998 16:14:59 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801120014.QAA04293@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Brian Tao cc: Ken Krebs , multimedia@FreeBSD.ORG Subject: Re: FreeBSD Quake page In-reply-to: Your message of "Sat, 10 Jan 1998 09:37:59 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 11 Jan 1998 16:14:59 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Again, I had q2test working and glquake II was just released about a week ago. q2test was supposed to be the core technology that quake II was going to use and in fact from postings on 3dfx.glide.linux it was stated that quake II had not changed that much from q2test. Amancio > On Tue, 6 Jan 1998, Amancio Hasty wrote: > > > > glquake does not work on FreeBSD :( > > > > And I don't know what the problem is so far . > > Huh? I thought you said you had it working just fine, etc., etc. > (although I still can't get it to work on my machine). > -- > Brian Tao (BT300, taob@netcom.ca) > "Though this be madness, yet there is method in't" > From owner-freebsd-multimedia Sun Jan 11 21:30:53 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA29191 for multimedia-outgoing; Sun, 11 Jan 1998 21:30:53 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from bsdx.dyn.ml.org (root@pm335-22.dialip.mich.net [35.9.11.24]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA29171 for ; Sun, 11 Jan 1998 21:30:42 -0800 (PST) (envelope-from mcdougall@ameritech.net) Received: from ameritech.net (user1@localhost.dyn.ml.org [127.0.0.1]) by bsdx.dyn.ml.org (8.8.8/8.8.7) with ESMTP id AAA01268 for ; Mon, 12 Jan 1998 00:30:38 -0500 (EST) (envelope-from mcdougall@ameritech.net) Message-ID: <34B9AA7D.A141E9A0@ameritech.net> Date: Mon, 12 Jan 1998 00:30:37 -0500 From: Adam McDougall X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Re: Anybody still able to run q2test? References: <199801111330.XAA14128@zzshocki.dialin.uq.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Stephen Hocking wrote: > I had this working OK for a while - now it seems to be quitting with > the same error as the retail version of quake 2. Anybody having a similar > experience? > > Stephen Hmm works fine here, just made world last night, sunday. From owner-freebsd-multimedia Mon Jan 12 04:07:23 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA03566 for multimedia-outgoing; Mon, 12 Jan 1998 04:07:23 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from fleming.cs.strath.ac.uk (root@fleming.cs.strath.ac.uk [130.159.196.123]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA03559 for ; Mon, 12 Jan 1998 04:07:01 -0800 (PST) (envelope-from roger@cs.strath.ac.uk) Received: from muir-10 (roger@muir-10.cs.strath.ac.uk [130.159.148.10]) by fleming.cs.strath.ac.uk (1.1/1.1CS) with SMTP id MAA21225 Mon, 12 Jan 1998 12:06:40 GMT Message-ID: <34BA074E.167E@cs.strath.ac.uk> Date: Mon, 12 Jan 1998 12:06:38 +0000 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.0 (X11; I; OSF1 V3.2 alpha) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: FXTV. Watching two programs at the same time with two BT848s Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have 2 BT848 cards (a WinTV/PCI and a VideoLogic Captivator PCI). I want to watch two video inputs, one via each grabber. FXTV 0.46 is hard coded to open /dev/bktr0 for the video input. I have changed this to allow a new option, -deviceNumber which can be any integer. This defines the bktr device to open. eg fxtv -deviceNumber 0 & fxtv -deviceNumber 1 & The diffs for app_rsrc.h and tvcapture.c follow. If there are any problems, the entire source, including patch can be ftp'ed from vulture.dmem.strath.ac.uk in /pub/fxtv Roger Hardiman ---app_rsrc.h 40a41 > int device_number; 110a112,113 > #define RNdeviceNumber "deviceNumber" > #define RCdeviceNumber "DeviceNumber" 202a206 > { "-deviceNumber" , RNdeviceNumber , XrmoptionSepArg, NULL } , 270a275,277 > { RNdeviceNumber, RCdeviceNumber, XtRInt, sizeof(int), > XtOffsetOf(AppResources, device_number), XtRString, > "0" }, 446a454 > -deviceNumber <#> - bktr device number ; def=0 ---tv_capture.c is 1110c1110,1112 < c->fd = open( "/dev/bktr0", O_RDONLY ); --- > char device_string[12]; > sprintf(device_string,"/dev/bktr%d",App_res.device_number); > c->fd = open( device_string, O_RDONLY ); 1112,1113c1114,1115 < fprintf( stderr, "open(\"/dev/bktr0\") failed: %s\n", < strerror(errno) ); --- > fprintf( stderr, "open(\"%s\") failed: %s\n", > device_string,strerror(errno) ); 1116c1118,1120 < c->tfd = open( "/dev/tuner0", O_RDONLY ); --- > > sprintf(device_string,"/dev/tuner%d",App_res.device_number); > c->tfd = open( device_string , O_RDONLY ); 1118,1119c1122,1123 < fprintf( stderr, "open(\"/dev/tuner0\") failed: %s\n", < strerror(errno) ); --- > fprintf( stderr, "open(\"%s\") failed: %s\n", > device_string,strerror(errno) ); Roger Hardiman, | Department of Computer Science, PhD Research Student, | University of Strathclyde, roger@cs.strath.ac.uk | Glasgow, Scotland, UK http://www.cs.strath.ac.uk/~roger From owner-freebsd-multimedia Mon Jan 12 05:03:05 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA06842 for multimedia-outgoing; Mon, 12 Jan 1998 05:03:05 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from dingo.cc.uq.edu.au (root@dingo.cc.uq.edu.au [130.102.2.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA06832 for ; Mon, 12 Jan 1998 05:02:58 -0800 (PST) (envelope-from shocking@zzshocki.dialin.uq.net.au) Received: from zzshocki.dialin.uq.net.au (zzshocki.dialin.uq.net.au [203.101.242.9]) by dingo.cc.uq.edu.au (8.8.8/8.8.7) with ESMTP id XAA21025; Mon, 12 Jan 1998 23:02:54 +1000 (GMT+1000) Received: from zzshocki.dialin.uq.net.au (localhost [127.0.0.1]) by zzshocki.dialin.uq.net.au (8.8.8/8.8.7) with ESMTP id XAA00388; Mon, 12 Jan 1998 23:12:52 +1000 (EST) (envelope-from shocking@zzshocki.dialin.uq.net.au) Message-Id: <199801121312.XAA00388@zzshocki.dialin.uq.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Adam McDougall cc: multimedia@freebsd.org Subject: Re: Anybody still able to run q2test? In-reply-to: Your message of "Mon, 12 Jan 1998 00:30:37 EST." <34B9AA7D.A141E9A0@ameritech.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Jan 1998 23:12:52 +1000 From: Stephen Hocking Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Stephen Hocking wrote: > > > I had this working OK for a while - now it seems to be quitting with > > the same error as the retail version of quake 2. Anybody having a similar > > experience? > > > > Stephen > > Hmm works fine here, just made world last night, sunday. > > My bad - got some files mixed up. Stephen From owner-freebsd-multimedia Mon Jan 12 05:07:50 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA07178 for multimedia-outgoing; Mon, 12 Jan 1998 05:07:50 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from dingo.cc.uq.edu.au (root@dingo.cc.uq.edu.au [130.102.2.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA07166 for ; Mon, 12 Jan 1998 05:07:43 -0800 (PST) (envelope-from shocking@zzshocki.dialin.uq.net.au) Received: from zzshocki.dialin.uq.net.au (zzshocki.dialin.uq.net.au [203.101.242.9]) by dingo.cc.uq.edu.au (8.8.8/8.8.7) with ESMTP id XAA21726; Mon, 12 Jan 1998 23:07:38 +1000 (GMT+1000) Received: from zzshocki.dialin.uq.net.au (localhost [127.0.0.1]) by zzshocki.dialin.uq.net.au (8.8.8/8.8.7) with ESMTP id XAA00414; Mon, 12 Jan 1998 23:17:38 +1000 (EST) (envelope-from shocking@zzshocki.dialin.uq.net.au) Message-Id: <199801121317.XAA00414@zzshocki.dialin.uq.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Amancio Hasty cc: multimedia@freebsd.org Subject: Re: FreeBSD Quake page In-reply-to: Your message of "Sun, 11 Jan 1998 16:14:59 PST." <199801120014.QAA04293@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Jan 1998 23:17:37 +1000 From: Stephen Hocking Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Again, > > I had q2test working and glquake II was just released about a week ago. > > > q2test was supposed to be the core technology that quake II was going > to use and in fact from postings on 3dfx.glide.linux it was stated > that quake II had not changed that much from q2test. > > Amancio > As far as I can see, it's falling over on an unimplemented syscall, to wit setup #163. ktrace calls it setdomainname (!) and truss calls it "-- UNKNOWN SYSCALL 163". I know that q2test used call this frequently (and have it pollute the kernel log) a great deal, but apparently it didn't check the return status. It looks as if the retail version does. Stephen From owner-freebsd-multimedia Mon Jan 12 08:19:41 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA23180 for multimedia-outgoing; Mon, 12 Jan 1998 08:19:41 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id IAA23163 for ; Mon, 12 Jan 1998 08:19:24 -0800 (PST) (envelope-from rhh@ct.picker.com) Resent-From: rhh@ct.picker.com Received: from ct.picker.com by whqvax.picker.com with SMTP; Mon, 12 Jan 1998 11:18:47 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA29283; Mon, 12 Jan 98 11:18:45 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id LAA15878; Mon, 12 Jan 1998 11:17:42 -0500 Resent-Message-Id: <199801121617.LAA15878@elmer.ct.picker.com> Message-Id: <19980112083338.16417@ct.picker.com> Date: Mon, 12 Jan 1998 08:33:38 -0500 From: Randall Hopper To: Roger Hardiman Subject: Re: Multiple BT848 support References: <34BA122E.2781@cs.strath.ac.uk> <19980112080108.04964@ct.picker.com> <34BA19D7.446B@cs.strath.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <34BA19D7.446B@cs.strath.ac.uk>; from Roger Hardiman on Mon, Jan 12, 1998 at 01:25:43PM +0000 Resent-Date: Mon, 12 Jan 1998 11:17:41 -0500 Resent-To: multimedia@freebsd.org Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Roger Hardiman: |> |I've hacked FXTV 0.46 so there is a new command line option |> |-deviceNumber <#> |> |> Sounds good. I'll merge in the patch for the next version. | |Great. Glad I can help. | |Also, I tried to run FXTV over the network from another FreeBSD box |running X but it failed. | |Should FXTV be able to handle this? I got errors regarding |the Shared memory when I tried. Yes, this is one thing I have fixed in my development tree of 0.47. 0.46 and prior versions don't test to verify they're talking to a local display before trying to use shared XImages or DGA for frame transfer. In this case, standard XImages should be used. I can provide a patch to 0.46 to fix this if you'd like. Let me know. Randall From owner-freebsd-multimedia Mon Jan 12 10:38:59 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA09390 for multimedia-outgoing; Mon, 12 Jan 1998 10:38:59 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA09334; Mon, 12 Jan 1998 10:38:33 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id KAA00321; Mon, 12 Jan 1998 10:38:23 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801121838.KAA00321@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Stephen Hocking cc: multimedia@freebsd.org, hackers@freebsd.org Subject: Re: FreeBSD Quake page In-reply-to: Your message of "Mon, 12 Jan 1998 23:17:37 +1000." <199801121317.XAA00414@zzshocki.dialin.uq.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Jan 1998 10:38:23 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk syscall 163 is the linux system call mremap which we have not implemented. If anyone knows how to implement mremap please let me know. Tnks, Amancio > > Again, > > > > I had q2test working and glquake II was just released about a week ago. > > > > > > q2test was supposed to be the core technology that quake II was going > > to use and in fact from postings on 3dfx.glide.linux it was stated > > that quake II had not changed that much from q2test. > > > > Amancio > > > As far as I can see, it's falling over on an unimplemented syscall, to wit > setup #163. ktrace calls it setdomainname (!) and truss calls it > "-- UNKNOWN SYSCALL 163". I know that q2test used call this frequently > (and have it pollute the kernel log) a great deal, but apparently it didn't > check the return status. It looks as if the retail version does. > > > Stephen > From owner-freebsd-multimedia Mon Jan 12 10:52:53 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11499 for multimedia-outgoing; Mon, 12 Jan 1998 10:52:53 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from taliesin.cs.ucla.edu (Taliesin.CS.UCLA.EDU [131.179.96.166]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA11474 for ; Mon, 12 Jan 1998 10:52:45 -0800 (PST) (envelope-from scottm@mordred.cs.ucla.edu) Received: (qmail 5511 invoked from network); 12 Jan 1998 18:52:16 -0000 Received: from mordred.cs.ucla.edu (131.179.48.34) by taliesin.cs.ucla.edu with SMTP; 12 Jan 1998 18:52:16 -0000 Received: from mordred (localhost [127.0.0.1]) by mordred.cs.ucla.edu (8.8.8/8.8.8) with ESMTP id KAA07318; Mon, 12 Jan 1998 10:52:27 -0800 (PST) (envelope-from scottm@mordred.cs.ucla.edu) Message-Id: <199801121852.KAA07318@mordred.cs.ucla.edu> X-Mailer: exmh version 2.0.1 12/23/97 To: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: NEC 273 CD-ROM Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 12 Jan 1998 10:52:26 -0800 From: Scott Michel Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is an ATAPI critter, but for some reason at bootstrap, there's an out of phase error. Suggestions on how to debug it? (This should mean: I'm willing to debug it, I'm willing to fix and patch the driver, but how to I go about debugging?) -scooter -- Scott Michel | In life, there are sheep and there are UCLA Computer Science | wolves. PhD Graduate Student | I don't bleat. From owner-freebsd-multimedia Mon Jan 12 16:40:51 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA28139 for multimedia-outgoing; Mon, 12 Jan 1998 16:40:51 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA27905; Mon, 12 Jan 1998 16:38:36 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA03740; Tue, 13 Jan 1998 11:01:17 +1030 (CST) Message-Id: <199801130031.LAA03740@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Scott Michel cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org Subject: Re: NEC 273 CD-ROM In-reply-to: Your message of "Mon, 12 Jan 1998 10:52:26 -0800." <199801121852.KAA07318@mordred.cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Jan 1998 11:01:15 +1030 From: Mike Smith Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > This is an ATAPI critter, but for some reason at bootstrap, there's > an out of phase error. Suggestions on how to debug it? (This should > mean: I'm willing to debug it, I'm willing to fix and patch the > driver, but how to I go about debugging?) Grab the ATAPI CDROM documentation (SFF-8020, available from fission.dt.wdc.com IIRC), and apply yourself to sys/i386/isa/wdc.c. You can build it as an LKM, which will make your life debugging somehat easier (as you can load/unload it without rebooting). One question; does the drive work despite the error? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-multimedia Mon Jan 12 16:59:09 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA00130 for multimedia-outgoing; Mon, 12 Jan 1998 16:59:09 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA00106; Mon, 12 Jan 1998 16:58:58 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: by watermarkgroup.com (4.1/SMI-4.1) id AA24177; Mon, 12 Jan 98 19:58:20 EST Date: Mon, 12 Jan 98 19:58:20 EST From: luoqi@watermarkgroup.com (Luoqi Chen) Message-Id: <9801130058.AA24177@watermarkgroup.com> To: freebsd-current@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG, scottm@cs.ucla.edu Subject: Re: NEC 273 CD-ROM Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Scott Michel wrote: > This is an ATAPI critter, but for some reason at bootstrap, there's > an out of phase error. Suggestions on how to debug it? (This should > mean: I'm willing to debug it, I'm willing to fix and patch the > driver, but how to I go about debugging?) I have the same drive and the same problem. The problem is that during bootstrap, interrupt is not used, instead, interrupt reason & status registers are polled to determine the phase. Because two registers are involved, chances are you may be reading when value of one reg. has changed and the other has not, and the driver reports an unknown phase error. I tried to fix it with unsatifactory results. Eventually I gave up, it wouldn't affect anything after the system is up. If you want to give it a try, look at function atapi_request_immediate(). You need to figure out when both ireason & status registers are stablized and would give a correct phase reading. > > > -scooter > -- > Scott Michel | In life, there are sheep and there are > UCLA Computer Science | wolves. > PhD Graduate Student | I don't bleat. > -lq From owner-freebsd-multimedia Mon Jan 12 17:38:11 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA04965 for multimedia-outgoing; Mon, 12 Jan 1998 17:38:11 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA04496; Mon, 12 Jan 1998 17:34:22 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA04334; Tue, 13 Jan 1998 11:56:33 +1030 (CST) Message-Id: <199801130126.LAA04334@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Amancio Hasty cc: Stephen Hocking , multimedia@freebsd.org, hackers@freebsd.org Subject: Re: FreeBSD Quake page In-reply-to: Your message of "Mon, 12 Jan 1998 10:38:23 -0800." <199801121838.KAA00321@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Jan 1998 11:56:31 +1030 From: Mike Smith Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > syscall 163 is the linux system call mremap which we have not implemented. > > If anyone knows how to implement mremap please let me know. Heh. I finally managed to get a copy of the Linux kernel source where I can look at it. mremap() is more or less what its name suggests; it allows you to modify an existing mapping. u_long mremap(caddr_t addr, u_long old_len, u_long new_len, u_long flags) There are basically two cases. - Shrink a mapping. (new_len < old_len) You can implement this as munmap(addr + new_len, old_len - new_len). - Grow a mapping, moving disallowed. This requires changing map details. I *think* I can see, in principle, how to do this, but it would have to be done in the vm_mmap module rather than in the linuxulator. John, can you comment on this? As a quick hack, you could try implementing the shrink case, and return ENOMEM for the other cases. This *might* work, depending on the consumer. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-multimedia Mon Jan 12 17:39:43 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA05163 for multimedia-outgoing; Mon, 12 Jan 1998 17:39:43 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA05156 for ; Mon, 12 Jan 1998 17:39:30 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id RAA02068; Mon, 12 Jan 1998 17:38:46 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801130138.RAA02068@rah.star-gate.com> To: Adam McDougall cc: multimedia@freebsd.org, hasty@rah.star-gate.com Subject: Re: Anybody still able to run q2test? In-reply-to: Your message of "Mon, 12 Jan 1998 00:30:37 EST." <34B9AA7D.A141E9A0@ameritech.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2065.884655525.1@rah.star-gate.com> Date: Mon, 12 Jan 1998 17:38:46 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk It would be nice if you or Randal to implement a hunt feature for the first available bt848 so a user will be able to just run fxtv without having to specify the device. This feature is an addition to the option of specifying the bt848 device. vic's meteor/bt848 has a simple routine to hunt for the devices if anyone is interested. Basically, it tries to open /dev/bktr0, /dev/bktr1... if it finds one it flags the device available for video capture. Regards, Amancio From owner-freebsd-multimedia Mon Jan 12 18:13:50 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA10774 for multimedia-outgoing; Mon, 12 Jan 1998 18:13:50 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from bsdx.dyn.ml.org (pm336-30.dialip.mich.net [35.9.11.96]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA10756 for ; Mon, 12 Jan 1998 18:13:44 -0800 (PST) (envelope-from mcdougall@ameritech.net) Received: from ameritech.net (user1@localhost.dyn.ml.org [127.0.0.1]) by bsdx.dyn.ml.org (8.8.8/8.8.7) with ESMTP id VAA01585 for ; Mon, 12 Jan 1998 21:13:07 -0500 (EST) (envelope-from mcdougall@ameritech.net) Message-ID: <34BACDB2.CE013B11@ameritech.net> Date: Mon, 12 Jan 1998 21:13:07 -0500 From: Adam McDougall Reply-To: mcdougall@ameritech.net X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: atapi cdrom audio Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, I am trying to get my atapi cdrom to play audio, and I cant seem to get it to realize I have a cdrom drive. Will xcdplayer work? Just an idea, I tried linking /dev/wcd0c to /dev/cdrom but no help, I get: # xcdplayer open: : Device not configured open: : Device not configured open: : Device not configured Thanks. From owner-freebsd-multimedia Mon Jan 12 18:57:17 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA17187 for multimedia-outgoing; Mon, 12 Jan 1998 18:57:17 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA17116; Mon, 12 Jan 1998 18:56:52 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id DAA13663; Tue, 13 Jan 1998 03:53:15 +0100 (CET) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199801130253.DAA13663@ocean.campus.luth.se> Subject: Re: NEC 273 CD-ROM In-Reply-To: <199801130031.LAA03740@word.smith.net.au> from Mike Smith at "Jan 13, 98 11:01:15 am" To: mike@smith.net.au (Mike Smith) Date: Tue, 13 Jan 1998 03:53:15 +0100 (CET) Cc: scottm@cs.ucla.edu, freebsd-multimedia@FreeBSD.ORG, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Mike Smith: > > This is an ATAPI critter, but for some reason at bootstrap, there's > > an out of phase error. Suggestions on how to debug it? (This should > > mean: I'm willing to debug it, I'm willing to fix and patch the > > driver, but how to I go about debugging?) > > Grab the ATAPI CDROM documentation (SFF-8020, available from > fission.dt.wdc.com IIRC), and apply yourself to sys/i386/isa/wdc.c. > > You can build it as an LKM, which will make your life debugging somehat > easier (as you can load/unload it without rebooting). > > One question; does the drive work despite the error? Just a note to say i've seen this error message too (I assume he means the "atapi1.0: unknown phase" one). My CD (Goldstar x4) gets that, but works just fine even so, it seems. /Mikael From owner-freebsd-multimedia Mon Jan 12 19:02:44 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA18159 for multimedia-outgoing; Mon, 12 Jan 1998 19:02:44 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from w2xo.pgh.pa.us (w2xo.pgh.pa.us [206.210.70.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA18128 for ; Mon, 12 Jan 1998 19:02:36 -0800 (PST) (envelope-from durham@w2xo.pgh.pa.us) Received: (from durham@localhost) by w2xo.pgh.pa.us (8.8.8/8.8.4) id WAA01645 for freebsd-multimedia@freebsd.org; Mon, 12 Jan 1998 22:02:21 -0500 (EST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 12 Jan 1998 22:02:21 -0500 (EST) Organization: Dis- From: Jim Durham To: freebsd-multimedia@freebsd.org Subject: speak_freely 6.1c problem Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Problem: sfmike core dumps when activated with the space bar and sfspeaker does the same when another system initiates a connection. Message: Talk: SNDCTL_DSP_NONBLOCK: Inappropriate ioctl for device assertion "audiof == -1" failed: file "soundbyte.c", line 118 IOT trap (core dumped) I posted once before to this group with this problem and received the suggestion from several folks that I upgrade to a later version of -current. I have done that..to 3.0-971225-SNAP . I downloaded the latest distfile and compiled it against the 971225 libraries. This IOCTL appears to be in soundcard.h. BTW, why are there 3 different soundcard.h files? There is /usr/include/machine/ soundcard.h, /usr/src/sys/i386/snd/soundcard.h and /usr/src/sys/include/ soundcard.h. The sound card is a SB 16, non-plug and play. The only other app that causes any problem is the Real Audio 3.0 encoder. Encoding directly from mic or line input dumps core. Recording a raw file, then raencoding that works fine. Anyone else had this problem? Thanks for reading... Jim Durham Jim Durham From owner-freebsd-multimedia Wed Jan 14 09:23:28 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA26602 for multimedia-outgoing; Wed, 14 Jan 1998 09:23:28 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from coleridge.kublai.com (coleridge.kublai.com [207.96.1.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA26560; Wed, 14 Jan 1998 09:23:10 -0800 (PST) (envelope-from shmit@natasya.kublai.com) Received: from natasya.kublai.com (natasya.kublai.com [207.172.25.236]) by coleridge.kublai.com (8.8.8/8.8.8) with ESMTP id MAA00858; Wed, 14 Jan 1998 12:22:15 -0500 (EST) (envelope-from shmit@natasya.kublai.com) Received: (from shmit@localhost) by natasya.kublai.com (8.8.8/8.8.8) id MAA01160; Wed, 14 Jan 1998 12:22:15 -0500 (EST) Message-ID: <19980114122215.05115@erols.com> Date: Wed, 14 Jan 1998 12:22:15 -0500 From: Brian Cully To: Amancio Hasty Cc: Mike Smith , Stephen Hocking , multimedia@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: FreeBSD Quake page Reply-To: shmit@erols.com References: <199801140341.OAA00815@word.smith.net.au> <199801140623.WAA00315@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199801140623.WAA00315@rah.star-gate.com>; from Amancio Hasty on Tue, Jan 13, 1998 at 10:23:32PM -0800 X-Sender: If your mailer pays attention to this, it's broken. X-PGP-Info: finger shmit@panix.com for my public key. Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On %M %N, Amancio Hasty wrote: > > Sure think the ktrace is at: > > ftp://rah.star-gate.com/pub/quake.ktrace.gz > > quake ][ issues a Shutdown message then aborts so at least we know > where in the trace it decides to abort. If you check the NetBSD-current archives for the last month you'll find a message that pertains to this. I believe the problem was that the Linux memremap() function is not implemented. -- Brian Cully ``And when one of our comrades was taken prisoner, blindfolded, hung upside-down, shot, and burned, we thought to ourselves, `These are the best experiences of our lives''' -Pathology (Joe Frank, Somewhere Out There) From owner-freebsd-multimedia Wed Jan 14 12:11:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17596 for freebsd-multimedia-outgoing; Wed, 14 Jan 1998 12:11:51 -0800 (PST) (envelope-from owner-freebsd-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17532; Wed, 14 Jan 1998 12:11:14 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id MAA01294; Wed, 14 Jan 1998 12:10:41 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801142010.MAA01294@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: shmit@erols.com cc: Mike Smith , Stephen Hocking , multimedia@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: FreeBSD Quake page In-reply-to: Your message of "Wed, 14 Jan 1998 12:22:15 EST." <19980114122215.05115@erols.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 Jan 1998 12:10:40 -0800 From: Amancio Hasty Sender: owner-freebsd-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Are you sure that the NetBSD folks have Quake ][ running ? The archive seems to suggest that having linux_mremap return EINVAL is enough to make Quake ][ however nowhere in the archive is there is mention that anyone has Quake ][ running. I downloaded NetBSD's linux_misc.c and for linux_mremap it returns ENOMEM . Well, I try both EINVAL and ENOMEM and still no joy over here. Both FreeBSD and NetBSD don't really implement mremap in our current emulation layers we just return an error code. Regards, Amancio > On %M %N, Amancio Hasty wrote: > > > > Sure think the ktrace is at: > > > > ftp://rah.star-gate.com/pub/quake.ktrace.gz > > > > quake ][ issues a Shutdown message then aborts so at least we know > > where in the trace it decides to abort. > > If you check the NetBSD-current archives for the last month you'll find > a message that pertains to this. I believe the problem was that the > Linux memremap() function is not implemented. > > -- > Brian Cully > ``And when one of our comrades was taken prisoner, blindfolded, hung > upside-down, shot, and burned, we thought to ourselves, `These are the > best experiences of our lives''' -Pathology (Joe Frank, Somewhere Out There) From owner-freebsd-multimedia Wed Jan 14 12:16:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18222 for freebsd-multimedia-outgoing; Wed, 14 Jan 1998 12:16:23 -0800 (PST) (envelope-from owner-freebsd-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17532; Wed, 14 Jan 1998 12:11:14 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id MAA01294; Wed, 14 Jan 1998 12:10:41 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801142010.MAA01294@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: shmit@erols.com cc: Mike Smith , Stephen Hocking , multimedia@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: FreeBSD Quake page In-reply-to: Your message of "Wed, 14 Jan 1998 12:22:15 EST." <19980114122215.05115@erols.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 14 Jan 1998 12:10:40 -0800 From: Amancio Hasty Sender: owner-freebsd-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Are you sure that the NetBSD folks have Quake ][ running ? The archive seems to suggest that having linux_mremap return EINVAL is enough to make Quake ][ however nowhere in the archive is there is mention that anyone has Quake ][ running. I downloaded NetBSD's linux_misc.c and for linux_mremap it returns ENOMEM . Well, I try both EINVAL and ENOMEM and still no joy over here. Both FreeBSD and NetBSD don't really implement mremap in our current emulation layers we just return an error code. Regards, Amancio > On %M %N, Amancio Hasty wrote: > > > > Sure think the ktrace is at: > > > > ftp://rah.star-gate.com/pub/quake.ktrace.gz > > > > quake ][ issues a Shutdown message then aborts so at least we know > > where in the trace it decides to abort. > > If you check the NetBSD-current archives for the last month you'll find > a message that pertains to this. I believe the problem was that the > Linux memremap() function is not implemented. > > -- > Brian Cully > ``And when one of our comrades was taken prisoner, blindfolded, hung > upside-down, shot, and burned, we thought to ourselves, `These are the > best experiences of our lives''' -Pathology (Joe Frank, Somewhere Out There) From owner-freebsd-multimedia Wed Jan 14 14:49:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08765 for freebsd-multimedia-outgoing; Wed, 14 Jan 1998 14:49:55 -0800 (PST) (envelope-from owner-freebsd-freebsd-multimedia@FreeBSD.ORG) Received: from coleridge.kublai.com (coleridge.kublai.com [207.96.1.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08659; Wed, 14 Jan 1998 14:48:57 -0800 (PST) (envelope-from shmit@natasya.kublai.com) Received: from natasya.kublai.com (natasya.kublai.com [207.172.25.236]) by coleridge.kublai.com (8.8.8/8.8.8) with ESMTP id RAA01187; Wed, 14 Jan 1998 17:48:34 -0500 (EST) (envelope-from shmit@natasya.kublai.com) Received: (from shmit@localhost) by natasya.kublai.com (8.8.8/8.8.8) id RAA01554; Wed, 14 Jan 1998 17:48:32 -0500 (EST) Message-ID: <19980114174832.25498@erols.com> Date: Wed, 14 Jan 1998 17:48:32 -0500 From: Brian Cully To: Amancio Hasty Cc: Mike Smith , Stephen Hocking , multimedia@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: FreeBSD Quake page Reply-To: shmit@erols.com References: <19980114122215.05115@erols.com> <199801142010.MAA01294@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199801142010.MAA01294@rah.star-gate.com>; from Amancio Hasty on Wed, Jan 14, 1998 at 12:10:40PM -0800 X-Sender: If your mailer pays attention to this, it's broken. X-PGP-Info: finger shmit@panix.com for my public key. Sender: owner-freebsd-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On %M %N, Amancio Hasty wrote: > Are you sure that the NetBSD folks have Quake ][ running ? I never said they had it running, I just pointed out that the issue had come up and was discussed on in NetBSD-current. Sorry for the mis-communication. > Both FreeBSD and NetBSD don't really implement mremap in our current > emulation layers we just return an error code. So it was said. However, it was also suggested that if mremap were implemented, things would work better. -- Brian Cully ``And when one of our comrades was taken prisoner, blindfolded, hung upside-down, shot, and burned, we thought to ourselves, `These are the best experiences of our lives''' -Pathology (Joe Frank, Somewhere Out There) From owner-freebsd-multimedia Wed Jan 14 23:04:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA05946 for freebsd-multimedia-outgoing; Wed, 14 Jan 1998 23:04:41 -0800 (PST) (envelope-from owner-freebsd-freebsd-multimedia@FreeBSD.ORG) Received: from canuk.glunet.se (canuk.glunet.se [194.16.68.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA05914 for ; Wed, 14 Jan 1998 23:04:29 -0800 (PST) (envelope-from gramstad@ith.se) Received: from ith.se (per-olav.gramstad.ith.se [194.16.68.243]) by canuk.glunet.se (8.8.7/8.7.1) with ESMTP id JAA15703 for ; Thu, 15 Jan 1998 09:03:12 +0100 Message-ID: <34BDB543.45CB970D@ith.se> Date: Thu, 15 Jan 1998 08:05:39 +0100 From: Per-Olav Gramstad X-Mailer: Mozilla 4.03 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.ORG Subject: METEOR PAL OUT OF SYNC NTSC IN SYNC CAPTURE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This problem hasn't been checked with the mailing list archive since the search service seems to be down. Is there anybody out there using the MATROX METEOR RGB capture card in PAL? We're having problems with single frame captures that doesn't sync in PAL but works fine in NTSC. Anyone? Per-Olav Gramstad ITH From owner-freebsd-multimedia Thu Jan 15 10:03:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16304 for freebsd-multimedia-outgoing; Thu, 15 Jan 1998 10:03:15 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from solaris.matti.ee (root@solaris.matti.ee [194.126.98.135]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16263 for ; Thu, 15 Jan 1998 10:03:00 -0800 (PST) (envelope-from vallo@matti.ee) Received: from localhost (vallo@localhost [127.0.0.1]) by solaris.matti.ee (8.8.8/8.8.8.sys-spammers-sucks-anyway-and-anyday) with SMTP id UAA24268 for ; Thu, 15 Jan 1998 20:02:34 +0200 (EET) Date: Thu, 15 Jan 1998 20:02:33 +0200 (EET) From: Vallo Kallaste X-Sender: vallo@solaris To: freebsd-multimedia@FreeBSD.ORG Subject: snd971209.tgz and patching 2.2.5-stable Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-884887353=:23379" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-884887353=:23379 Content-Type: TEXT/PLAIN; charset=US-ASCII Helo ! At this moment I use Hasty's guspnp package because I use only gusPnP soundcard. Now I need SB32 PnP support and there are only one way to do this, or I am wrong, sorry. So I grab the L.Rizzo snd971209.tgz and try install it on 2.2.5-STABLE. Patching isa.c gives me errors: File to patch: /opt1/sys/i386/conf/files.i386 Patching file /opt1/sys/i386/conf/files.i386 using Plan A... Hunk #1 succeeded at 152 (offset 1 line). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- /opt1/sys/i386/isa/isa.c.971018 Mon Oct 20 09:51:00 1997 |+++ /opt1/sys/i386/isa/isa.c Sat Oct 18 11:38:46 1997 -------------------------- File to patch: /opt1/sys/i386/isa/isa.c Patching file /opt1/sys/i386/isa/isa.c using Plan A... Hunk #1 failed at 34. Hunk #2 failed at 513. Hunk #3 failed at 575. Hunk #4 failed at 607. Hunk #5 succeeded at 719 with fuzz 1 (offset 86 lines). Hunk #6 failed at 818. Hunk #7 succeeded at 764 with fuzz 2 (offset 6 lines). Hunk #8 succeeded at 938 with fuzz 2 (offset 104 lines). Hunk #9 failed at 966. 6 out of 9 hunks failed--saving rejects to /opt1/sys/i386/isa/isa.c.rej done I mean there are some differences between 2.2.5-RELEASE and 2.2.5-STABLE. Also 2.2.5-STABLE includes PnP support and there are no need for L.Rizzo's extra PnP package, right? Attachment is isa.c.rej file and original isa.c. Please reply directly to me, I'm not subscriber. Vallo Kallaste vallo@matti.ee ---559023410-851401618-884887353=:23379 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="isa.c.orig" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: LyotDQogKiBDb3B5cmlnaHQgKGMpIDE5OTEgVGhlIFJlZ2VudHMgb2YgdGhl IFVuaXZlcnNpdHkgb2YgQ2FsaWZvcm5pYS4NCiAqIEFsbCByaWdodHMgcmVz ZXJ2ZWQuDQogKg0KICogVG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29uc2lkZXJlZCB0byBiZSBjb3JyZWN0Lg0KICogICAgICAgICAgICAgDQog KiBUaGUgZnVuY3Rpb24gcmV0dXJucyB0aGUgbnVtYmVyIG9mIGJ5dGVzIHJl bWFpbmluZyBpbiB0aGUgdHJhbnNmZXIsDQogKiBvciAtMSBpZiB0aGUgY2hh bm5lbCByZXF1ZXN0ZWQgaXMgbm90IGFjdGl2ZS4NCiAqDQogKi8gICAgDQpp bnQNCmlzYV9kbWFzdGF0dXMoaW50IGNoYW4pIA0KeyAgICAgIA0KICAgICAg ICAgdV9sb25nICBjbnQgPSAwOw0KICAgICAgICBpbnQgICAgIGZmcG9ydCwg d2Fwb3J0LCBzOw0KICAgICAgICAgdV9sb25nICBsb3csIGhpZ2gsIGxvdzIs IGhpZ2gyOw0KIA0KICAgICAgICAgLyogY2hhbm5lbCBhY3RpdmU/ICovDQog ICAgICAgICBpZiAoKGRtYV9pbnVzZSAmICgxIDw8IGNoYW4pKSA9PSAwKSB7 DQogICAgICAgICAgICAgICAgIHByaW50ZigiaXNhX2RtYXN0YXR1czogY2hh bm5lbCAlZCBub3QgaW4gdXNlXG4iLCBjaGFuKTsNCiAgICAgICAgICAgICAg ICAgcmV0dXJuKC0xKTsNCiAgICAgICAgIH0NCiAgDQogICAgICAgICAvKiAN CiAgICAgICAgICogZG8gbm90IHByaW50IGFuIGVycm9yIG1lc3NhZ2UgaWYg dGhlIGNoYW4gaXMgbm90IGJ1c3ksDQogICAgICAgICAqIGl0IG1pZ2h0IGp1 c3QgYmUgYSByYWNlIGNvbmRpdGlvbi4NCiAgICAgICAgICovDQogICAgICAg ICBpZiAoICEoZG1hX2J1c3kgJiAoMSA8PCBjaGFuKSkgJiYgIShkbWFfYXV0 b19tb2RlICYgKDE8PGNoYW4pKSApDQogICAgICAgICAgICAgICAgIHJldHVy bigwKTsgDQogIA0KICAgICAgICAgaWYgKGNoYW4gPCA0KSB7ICAgICAgICAg ICAgICAgICAvKiBsb3cgRE1BIGNvbnRyb2xsZXIgKi8NCiAgICAgICAgICAg ICAgICAgZmZwb3J0ID0gRE1BMV9GRkM7IA0KICAgICAgICAgICAgICAgICB3 YXBvcnQgPSBETUExX0NITihjaGFuKSArIDE7DQogICAgICAgICB9IGVsc2Ug eyAgICAgICAgICAgICAgICAgICAgICAgIC8qIGhpZ2ggRE1BIGNvbnRyb2xs ZXIgKi8NCiAgICAgICAgICAgICAgICAgZmZwb3J0ID0gRE1BMl9GRkM7DQog ICAgICAgICAgICAgICAgIHdhcG9ydCA9IERNQTJfQ0hOKGNoYW4gLSA0KSAr IDI7DQogICAgICAgICB9ICAgICAgIA0KICANCiAgICAgICAgIGRpc2FibGVf aW50cigpOyAgICAgICAgICAgICAgICAgIC8qIG5vIGludGVycnVwdHMgTXIg Sm9uZXMhICovDQogICAgICAgICBvdXRiKGZmcG9ydCwgMCk7ICAgICAgICAg ICAgICAgIC8qIGNsZWFyIHJlZ2lzdGVyIExTQiBmbGlwZmxvcCAqLw0KICAg ICAgICAgbG93ID0gaW5iKHdhcG9ydCk7DQogICAgICAgICBoaWdoID0gaW5i KHdhcG9ydCk7DQogICAgICAgICBvdXRiKGZmcG9ydCwgMCk7ICAgICAgICAg ICAgICAgIC8qIGNsZWFyIGFnYWluIChwYXJhbm9pYT8gKi8NCiAgICAgICAg IGxvdzIgPSBpbmIod2Fwb3J0KTsNCiAgICAgICAgIGhpZ2gyID0gaW5iKHdh cG9ydCk7DQogICAgICAgICBlbmFibGVfaW50cigpOw0KICAgICAgICAgICAg ICAgIA0KICAgICAgICAgLyogbm93IGRlY2lkZSBpZiBhIHdyYXAgaGFzIHRy aWVkIHRvIHNrZXcgb3VyIHJlc3VsdHMgKi8NCiAgICAgICAgIGlmIChsb3cg Pj0gbG93MikNCiAgICAgICAgICAgICAgICAgY250ID0gbG93ICsgKGhpZ2gg PDwgOCkgOw0KICAgICAgICAgZWxzZQ0KICAgICAgICAgICAgICAgICBjbnQg PSBsb3cyICsgKGhpZ2gyIDw8IDgpIDsNCiANC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mRsZXJbaW50cl0gPSBpc2Ffc3Ry YXlpbnRyOw0KCWludHJfbXB0cltpbnRyXSA9IE5VTEw7DQoJaW50cl9tYXNr W2ludHJdID0gSFdJX01BU0sgfCBTV0lfTUFTSzsNCglpbnRyX3VuaXRbaW50 cl0gPSBpbnRyOw0KCXNldGlkdChJQ1VfT0ZGU0VUICsgaW50ciwgc2xvd2lu dHJbaW50cl0sIFNEVF9TWVMzODZJR1QsIFNFTF9LUEwsDQoJICAgIEdTRUwo R0NPREVfU0VMLCBTRUxfS1BMKSk7DQoJd3JpdGVfZWZsYWdzKGVmKTsNCgly ZXR1cm4gKDApOw0KfQ0K ---559023410-851401618-884887353=:23379 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="isa.c.rej" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: KioqKioqKioqKioqKioqDQoqKiogMzQsNDAgKioqKg0KICAgKiBTVUNIIERB TUFHRS4NCiAgICoNCiAgICoJZnJvbTogQCgjKWlzYS5jCTcuMiAoQmVya2Vs ZXkpIDUvMTMvOTENCi0gICoJJElkOiBpc2EuYyx2IDEuNzQuMi40IDE5OTcv MTAvMTggMTA6MTA6MjEgamtoIEV4cCAkDQogICAqLw0KICANCiAgLyoNCi0t LSAzNCw0MCAtLS0tDQogICAqIFNVQ0ggREFNQUdFLg0KICAgKg0KICAgKglm cm9tOiBAKCMpaXNhLmMJNy4yIChCZXJrZWxleSkgNS8xMy85MQ0KKyAgKgkk SWQ6IGlzYS5jLHYgMS43NC4yLjMgMTk5Ny8xMC8xMiAxNjowNzo0MiBqa2gg RXhwICQNCiAgICovDQogIA0KICAvKg0KKioqKioqKioqKioqKioqDQoqKiog NTEzLDUxOCAqKioqDQogIHN0YXRpYyB1X2ludDhfdAlkbWFfYm91bmNlZCA9 IDA7DQogIHN0YXRpYyB1X2ludDhfdAlkbWFfYnVzeSA9IDA7CQkvKiBVc2Vk IGluIGlzYV9kbWFzdGFydCgpICovDQogIHN0YXRpYyB1X2ludDhfdA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Bjb3B5IGJvdW5jZSBidWZmZXIgb24gcmVhZCAqLw0K ---559023410-851401618-884887353=:23379-- From owner-freebsd-multimedia Thu Jan 15 16:41:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02727 for freebsd-multimedia-outgoing; Thu, 15 Jan 1998 16:41:26 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin29.nanospace.com [205.199.198.229]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA02722 for ; Thu, 15 Jan 1998 16:41:21 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 400 invoked by uid 100); 16 Jan 1998 00:43:03 -0000 Message-ID: <19980115164256.47606@top.worldcontrol.com> Date: Thu, 15 Jan 1998 16:42:56 -0800 To: freebsd-multimedia@FreeBSD.ORG Subject: Real Video panics my -current system Mail-Followup-To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The Linux rvplayer 5.0b2 panics my -current system (current as of Jan 10th). The system panics immediately after I run the command: rvplayer welcome.rm The system is a Chembook 9750 laptop P5/200 w/48MB RAM. The system config and panic are included below. Jan 15 16:27:17 top /kernel.new: FreeBSD 3.0-CURRENT #0: Sat Jan 10 17:03:10 PST 1998 Jan 15 16:27:17 top /kernel.new: brian@home.worldcontrol.com:/usx/src/sys/compile/LAPTOP Jan 15 16:27:17 top /kernel.new: CPU: Pentium (198.25-MHz 586-class CPU) Jan 15 16:27:17 top /kernel.new: Origin = "GenuineIntel" Id = 0x52c Stepping=12 Jan 15 16:27:17 top /kernel.new: Features=0x1bf Jan 15 16:27:17 top /kernel.new: real memory = 50331648 (49152K bytes) Jan 15 16:27:17 top /kernel.new: Jan 15 16:27:17 top /kernel.new: FreeBSD Kernel Configuration Utility - Version 1.1 Jan 15 16:27:18 top /kernel.new: avail memory = 46325760 (45240K bytes) Jan 15 16:27:18 top /kernel.new: Probing for devices on PCI bus 0: Jan 15 16:27:18 top /kernel.new: chip0: rev 0x14 on pci0.0.0 Jan 15 16:27:18 top /kernel.new: chip1: rev 0x02 on pci0.1.0 Jan 15 16:27:18 top /kernel.new: vga0: rev 0xc6 on pci0.6.0 Jan 15 16:27:18 top /kernel.new: pcic0: rev 0x04 int a irq 255 on pci0.7.0 Jan 15 16:27:18 top /kernel.new: pcic1: rev 0x04 int b irq 255 on pci0.7.1 Jan 15 16:27:18 top /kernel.new: ide_pci0: rev 0x12 on pci0.20.0 Jan 15 16:27:18 top /kernel.new: Probing for devices on the ISA bus: Jan 15 16:27:18 top /kernel.new: sc0 at 0x60-0x6f irq 1 on motherboard Jan 15 16:27:18 top /kernel.new: sc0: VGA color <16 virtual consoles, flags=0x0> Jan 15 16:27:18 top /kernel.new: ed0 not found at 0x280 Jan 15 16:27:18 top /kernel.new: fe0 not found at 0x300 Jan 15 16:27:18 top /kernel.new: sio0 not found at 0x3f8 Jan 15 16:27:18 top /kernel.new: sio1 not found at 0x2f8 Jan 15 16:27:18 top /kernel.new: sio2 not found at 0x3e8 Jan 15 16:27:19 top /kernel.new: lpt0 at 0x378-0x37f irq 7 on isa Jan 15 16:27:19 top /kernel.new: lpt0: Interrupt-driven port Jan 15 16:27:19 top /kernel.new: lp0: TCP/IP capable interface Jan 15 16:27:19 top /kernel.new: psm0 at 0x60-0x64 irq 12 on motherboard Jan 15 16:27:19 top /kernel.new: psm0: model Generic PS/2 mouse, device ID 0 Jan 15 16:27:19 top /kernel.new: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Jan 15 16:27:19 top /kernel.new: fdc0: FIFO enabled, 8 bytes threshold Jan 15 16:27:19 top /kernel.new: fd0: 1.44MB 3.5in Jan 15 16:27:19 top /kernel.new: wdc0 at 0x1f0-0x1f7 irq 14 on isa Jan 15 16:27:19 top /kernel.new: wdc0: unit 0 (wd0): Jan 15 16:27:19 top /kernel.new: wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S Jan 15 16:27:19 top /kernel.new: wdc1 not found at 0x170 Jan 15 16:27:19 top /kernel.new: ep0 not found at 0x300 Jan 15 16:27:19 top /kernel.new: npx0 on motherboard Jan 15 16:27:19 top /kernel.new: npx0: INT 16 interface Jan 15 16:27:19 top /kernel.new: sb0 at 0x220 irq 5 drq 1 on isa Jan 15 16:27:19 top /kernel.new: Hmm... Could this be an ESS688 based card (rev 11) Jan 15 16:27:19 top /kernel.new: snd0: Jan 15 16:27:19 top /kernel.new: PC-Card VLSI 82C146 (5 mem & 2 I/O windows) Jan 15 16:27:19 top /kernel.new: pcic: controller irq 3 Jan 15 16:27:19 top /kernel.new: Initializing PC-card drivers: aic ed ep fe sio Jan 15 16:27:19 top /kernel.new: Intel Pentium F00F detected, installing workaround Jan 15 16:27:19 top /kernel.new: Card inserted, slot 0 Jan 15 16:27:20 top named[78]: starting. named 4.9.6-REL Wed Nov 19 01:26:25 PST 1997 brian@home.worldcontrol.com:/usx/obj/usx/src/usr.sbin/named Jan 15 16:27:20 top named[78]: localhost.rev: WARNING SOA retry value is less then maintainance interval (300 < 900) Jan 15 16:27:20 top named[79]: Ready to answer queries. Jan 15 16:27:21 top lpd[116]: restarted Jan 15 16:27:22 top lpd[116]: startup: duplicate spool directories Jan 15 16:27:36 top login: login on ttyv0 as brian Jan 15 16:28:30 top su: BAD SU brian to root on /dev/ttyp0 Jan 15 16:30:48 top /kernel: Jan 15 16:30:48 top /kernel: Jan 15 16:30:48 top /kernel: Fatal trap 12: page fault while in kernel mode Jan 15 16:30:48 top /kernel: fault virtual address = 0x4a Jan 15 16:30:48 top /kernel: fault code = supervisor read, page not present Jan 15 16:30:48 top /kernel: instruction pointer = 0x8:0xf010fca8 Jan 15 16:30:48 top /kernel: stack pointer = 0x10:0xf484ddcc Jan 15 16:30:48 top /kernel: frame pointer = 0x10:0xf484dde4 Jan 15 16:30:48 top /kernel: code segment = base 0x0, limit 0xfffff, type 0x1b Jan 15 16:30:48 top /kernel: = DPL 0, pres 1, def32 1, gran 1 Jan 15 16:30:49 top /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Jan 15 16:30:49 top /kernel: current process = 306 (zsh) Jan 15 16:30:49 top /kernel: interrupt mask = Jan 15 16:30:49 top /kernel: trap number = 12 Jan 15 16:30:49 top /kernel: panic: page fault Jan 15 16:30:49 top /kernel: Jan 15 16:30:49 top /kernel: syncing disks... 9 9 7 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up Jan 15 16:30:49 top /kernel: Automatic reboot in 15 seconds - press a key on the console to abort Jan 15 16:30:49 top /kernel: Rebooting... Any ideas? -- Brian Litzinger From owner-freebsd-multimedia Thu Jan 15 18:28:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA12583 for freebsd-multimedia-outgoing; Thu, 15 Jan 1998 18:28:06 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA12577 for ; Thu, 15 Jan 1998 18:28:02 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id SAA04143; Thu, 15 Jan 1998 18:27:57 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801160227.SAA04143@rah.star-gate.com> To: brian@worldcontrol.com cc: freebsd-multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: Real Video panics my -current system In-reply-to: Your message of "Thu, 15 Jan 1998 16:42:56 PST." <19980115164256.47606@top.worldcontrol.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4140.884917676.1@rah.star-gate.com> Date: Thu, 15 Jan 1998 18:27:57 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I will be in later on tonite . In the mean time can you please disable audio and try the test again . move over /dev/dsp and /dev/audio for the purpose of isolating the problem. Cheers, Amancio From owner-freebsd-multimedia Fri Jan 16 01:38:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00603 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 01:38:48 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin45.nanospace.com [205.199.198.245]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA00569 for ; Fri, 16 Jan 1998 01:38:39 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 346 invoked by uid 100); 16 Jan 1998 07:53:30 -0000 Message-ID: <19980115235324.10186@top.worldcontrol.com> Date: Thu, 15 Jan 1998 23:53:24 -0800 To: freebsd-multimedia@FreeBSD.ORG Cc: hasty@rah.star-gate.com Subject: rvplayer no longer panics my -current system but sound sucks Mail-Followup-To: freebsd-multimedia@freebsd.org, hasty@rah.star-gate.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The linux 5.0b2 Real Video player no longer panics my -current system. However, the audio is completely distorted and the video does not play very smoothly. I have an ESS688 type SB compatible audio card. The panic was due to a simple misconfiguration error on my part. -- Brian Litzinger From owner-freebsd-multimedia Fri Jan 16 01:58:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA02059 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 01:58:08 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA02054 for ; Fri, 16 Jan 1998 01:58:05 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id AAA00578; Fri, 16 Jan 1998 00:09:03 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801160809.AAA00578@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: brian@worldcontrol.com cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: rvplayer no longer panics my -current system but sound sucks In-reply-to: Your message of "Thu, 15 Jan 1998 23:53:24 PST." <19980115235324.10186@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 16 Jan 1998 00:09:03 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Brian, Make sure that audio is working like try playing an audio file. Since you are around , can we have a solution for playing Green Book CDs and VideoCDs, Pretty Please ? What I want is to be able to get a stream so I can pipe it to something like the mpeg player "mtv". Tnks, Amancio > The linux 5.0b2 Real Video player no longer panics my -current system. > > However, the audio is completely distorted and the video does not play > very smoothly. > > I have an ESS688 type SB compatible audio card. > > The panic was due to a simple misconfiguration error on my part. > > -- > Brian Litzinger From owner-freebsd-multimedia Fri Jan 16 03:27:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA07749 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 03:27:15 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin45.nanospace.com [205.199.198.245]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA07744 for ; Fri, 16 Jan 1998 03:27:12 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 2592 invoked by uid 100); 16 Jan 1998 11:28:48 -0000 Message-ID: <19980116032843.19121@top.worldcontrol.com> Date: Fri, 16 Jan 1998 03:28:43 -0800 To: freebsd-multimedia@FreeBSD.ORG Subject: Any support for Cu-seeme under FreeBSD? Mail-Followup-To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org No doubt the question has been asked but the archives have been offline for the last two days. Is there any support for Cu-Seeme under FreeBSD? -- Brian Litzinger From owner-freebsd-multimedia Fri Jan 16 05:33:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA13637 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 05:33:14 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA13633 for ; Fri, 16 Jan 1998 05:33:09 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id OAA05792; Fri, 16 Jan 1998 14:30:41 +0100 (CET) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199801161330.OAA05792@ocean.campus.luth.se> Subject: Re: Any support for Cu-seeme under FreeBSD? In-Reply-To: <19980116032843.19121@top.worldcontrol.com> from "brian@worldcontrol.com" at "Jan 16, 98 03:28:43 am" To: brian@worldcontrol.com Date: Fri, 16 Jan 1998 14:30:41 +0100 (CET) Cc: freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to brian@worldcontrol.com: > Is there any support for Cu-Seeme under FreeBSD? I don't use Cu-Seeme personally, but I seem to recall they had a java version? In that case you could run it on FreeBSD too, provided you have a working JDK which is new enough, ofcourse. /Mikael From owner-freebsd-multimedia Fri Jan 16 10:08:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA03808 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 10:08:10 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA03787 for ; Fri, 16 Jan 1998 10:07:54 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id RAA21754; Fri, 16 Jan 1998 17:59:07 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id SAA00561; Fri, 16 Jan 1998 18:59:06 +0100 (MET) To: brian@worldcontrol.com Cc: freebsd-multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: rvplayer no longer panics my -current system but sound sucks References: <19980115235324.10186@top.worldcontrol.com> From: Eivind Eklund Date: 16 Jan 1998 18:59:06 +0100 In-Reply-To: <19980115235324.10186@top.worldcontrol.com> Message-ID: <861zy85mhh.fsf@bitbox.follo.net> Lines: 20 X-Mailer: Gnus v5.4.52/XEmacs 20.2 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * brian@worldcontrol.com | The linux 5.0b2 Real Video player no longer panics my -current system. | | However, the audio is completely distorted and the video does not play | very smoothly. | | I have an ESS688 type SB compatible audio card. | | The panic was due to a simple misconfiguration error on my part. Uhm, no. The panic() was due to a bug in FreeBSD - 'page fault while in kernel mode' should _never_ happen. How was your configuration and what did you do to stop provoking the bug? We should fix this. Eivind. From owner-freebsd-multimedia Fri Jan 16 18:44:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19091 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 18:44:19 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fanfic.org (fanfic.org [205.150.35.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA19080 for ; Fri, 16 Jan 1998 18:44:13 -0800 (PST) (envelope-from dstenn@fanfic.org) Received: from localhost (dstenn@localhost) by fanfic.org (8.8.8/8.8.8) with SMTP id VAA00754 for ; Fri, 16 Jan 1998 21:42:39 -0500 (EST) (envelope-from dstenn@fanfic.org) Date: Fri, 16 Jan 1998 21:42:39 -0500 (EST) From: Dennis Tenn To: FreeBSD Multimedia Subject: Can't compile xcdplayer Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi.. I'm having problems compiling the port. This is what I get.. Any ideas? [fanfic:root]/usr/ports/audio/xcdplayer# make >> xcdplayer-2.2.tar.Z doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.x.org/R5contrib/. Receiving xcdplayer-2.2.tar.Z (89435 bytes): 100% 89435 bytes transfered in 25.9 seconds (3.37 Kbytes/s) >> Checksum OK for xcdplayer-2.2.tar.Z. ===> Extracting for xcdplayer-2.2 ===> Patching for xcdplayer-2.2 ===> Applying FreeBSD patches for xcdplayer-2.2 ===> Configuring for xcdplayer-2.2 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/X11R6/lib/X11/config Bus error *** Error code 138 Stop. *** Error code 1 Stop. *** Error code 1 Stop. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dennis Tenn * There will always come a time dstenn@fanfic.org * When your love will be tested * Stand tall and rise to the occasion * For only then will you grow strong. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From owner-freebsd-multimedia Fri Jan 16 19:25:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA21757 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 19:25:34 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA21740 for ; Fri, 16 Jan 1998 19:25:30 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id TAA04898; Fri, 16 Jan 1998 19:25:02 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801170325.TAA04898@rah.star-gate.com> To: Dennis Tenn cc: FreeBSD Multimedia , hasty@rah.star-gate.com Subject: Re: Can't compile xcdplayer In-reply-to: Your message of "Fri, 16 Jan 1998 21:42:39 EST." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4895.885007501.1@rah.star-gate.com> Date: Fri, 16 Jan 1998 19:25:01 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You are having system problems not porting problems . This particular problem can be caused by hardware or current VM problems in 3.0-current. Amancio From owner-freebsd-multimedia Fri Jan 16 19:33:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA22144 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 19:33:36 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fanfic.org (fanfic.org [205.150.35.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA22140 for ; Fri, 16 Jan 1998 19:33:31 -0800 (PST) (envelope-from dstenn@fanfic.org) Received: from localhost (dstenn@localhost) by fanfic.org (8.8.8/8.8.8) with SMTP id WAA00999; Fri, 16 Jan 1998 22:31:54 -0500 (EST) (envelope-from dstenn@fanfic.org) Date: Fri, 16 Jan 1998 22:31:54 -0500 (EST) From: Dennis Tenn To: Amancio Hasty cc: FreeBSD Multimedia Subject: Re: Can't compile xcdplayer In-Reply-To: <199801170325.TAA04898@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 16 Jan 1998, Amancio Hasty wrote: | You are having system problems not porting problems . | | This particular problem can be caused by hardware or current | VM problems in 3.0-current. I think I can rule out hardware problems.. I can 'make world' fine. I am, however, using 3.0-current. Is there an ETA on a fix? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dennis Tenn * There will always come a time dstenn@fanfic.org * When your love will be tested * Stand tall and rise to the occasion * For only then will you grow strong. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From owner-freebsd-multimedia Fri Jan 16 20:50:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA02010 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 20:50:23 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fanfic.org (fanfic.org [205.150.35.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01993 for ; Fri, 16 Jan 1998 20:50:04 -0800 (PST) (envelope-from dstenn@fanfic.org) Received: from localhost (dstenn@localhost) by fanfic.org (8.8.8/8.8.8) with SMTP id XAA01133; Fri, 16 Jan 1998 23:47:46 -0500 (EST) (envelope-from dstenn@fanfic.org) Date: Fri, 16 Jan 1998 23:47:45 -0500 (EST) From: Dennis Tenn To: Amancio Hasty cc: FreeBSD Multimedia Subject: Re: Can't compile xcdplayer In-Reply-To: <199801170432.UAA05146@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 16 Jan 1998, Amancio Hasty wrote: | You can backup to December 15 or so and you should be okay and this | current issue has been discussed in the -current mailing list. | | Given the impact of the current bug I expect that it will probably | be fixed within a week however thats really up to Dyson to tell us 8) Thanks. I was wondering why the last time I was able to successfully compile any ports was back in Dec. Lets hope things get resolved soon. :) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dennis Tenn * There will always come a time dstenn@fanfic.org * When your love will be tested * Stand tall and rise to the occasion * For only then will you grow strong. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From owner-freebsd-multimedia Fri Jan 16 21:11:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA03554 for freebsd-multimedia-outgoing; Fri, 16 Jan 1998 21:11:48 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA03546 for ; Fri, 16 Jan 1998 21:11:41 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id UAA05146; Fri, 16 Jan 1998 20:32:14 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801170432.UAA05146@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Dennis Tenn cc: FreeBSD Multimedia Subject: Re: Can't compile xcdplayer In-reply-to: Your message of "Fri, 16 Jan 1998 22:31:54 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 16 Jan 1998 20:32:13 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You can backup to December 15 or so and you should be okay and this current issue has been discussed in the -current mailing list. Given the impact of the current bug I expect that it will probably be fixed within a week however thats really up to Dyson to tell us 8) Amancio skynyrd@opus.cts.cwu.edu said: > Be sure to follow this list carefully :) > It has been discussed that there are a number of problems in -current > right now which are presently being diagnosed and repaired. If you > need to stabilize your machine for the time being: see cvsup(1) for a > description of how to specify an absolute date and back up your > sources to > *default date=97.12.23.00.00.00 > I've been using that -current to burn-in test an SMP machine (which > happily rebuilt the world and xemacs20 concurrently for days on end.) > [Kudos to Steve Passe and all of the SMP contributors by the way - I > was very impressed with SMP. The only glitch is the PCI bridge hack > to use an AHA-3940.] > -Chris From owner-freebsd-multimedia Sat Jan 17 13:38:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA25919 for freebsd-multimedia-outgoing; Sat, 17 Jan 1998 13:38:10 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA25911 for ; Sat, 17 Jan 1998 13:38:03 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id NAA05636 for ; Sat, 17 Jan 1998 13:38:00 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) X-Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by resnet.uoregon.edu (8.8.5/8.8.8) with ESMTP id EAA23902 for ; Fri, 16 Jan 1998 04:47:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) X-Received: from localhost (daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA10605; Fri, 16 Jan 1998 04:41:15 -0800 (PST) (envelope-from owner-freebsd-questions) X-Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA10567 for questions-outgoing; Fri, 16 Jan 1998 04:40:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) X-Received: from pili.adn.edu.ph ([165.220.57.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA10562 for ; Fri, 16 Jan 1998 04:40:50 -0800 (PST) (envelope-from art@pili.adn.edu.ph) X-Received: from localhost (art@localhost) by pili.adn.edu.ph (8.8.7/8.8.7) with SMTP id UAA09862 for ; Fri, 16 Jan 1998 20:51:47 +0800 (PHT) (envelope-from art@pili.adn.edu.ph) Date: Fri, 16 Jan 1998 20:51:47 +0800 (PHT) From: Arthur Alacar To: freebsd-questions@FreeBSD.ORG Subject: Video CD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org what's the program that play Video CD (*.dat)? thanks! .a.r.t. From owner-freebsd-multimedia Sun Jan 18 05:49:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04806 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 05:49:51 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04762 for ; Sun, 18 Jan 1998 05:49:29 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id DAA02192; Sun, 18 Jan 1998 03:12:52 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801181112.DAA02192@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: brian@worldcontrol.com cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: VideoCD In-reply-to: Your message of "Sun, 18 Jan 1998 02:56:22 PST." <19980118025622.63487@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jan 1998 03:12:49 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Now, sorry to pester you about the Green Book and VideoCD stuff we > > can really use something to read those CD formats;specially, now days > > with the PII getting so cheap . > > Here is what I have been thinking: > > I have read that CDD will read the mode 2 form 2 "tracks" > of a CD. > > So I could write a library/filter (distributed in object form) that > does the following: > > cdd whatever | myfilter | [now you get MPEG 1 system stream ] > | toyourfavorite MPEG 1 stream player > > Would this be satisfactory? > And does CDD work as advertised? > > Also, haven't "we" been reading those formats for awhile? Yeap, that will the trick if cdd or tosha can't read mode form track I can modify the programs to do it. Tnks, Amancio From owner-freebsd-multimedia Sun Jan 18 05:49:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04807 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 05:49:59 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04774 for ; Sun, 18 Jan 1998 05:49:32 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id CAA23791; Sun, 18 Jan 1998 02:36:59 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801181036.CAA23791@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: brian@worldcontrol.com cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: rvplayer runs ok under root but sound is a mess In-reply-to: Your message of "Sun, 18 Jan 1998 02:35:53 PST." <19980118023553.34007@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jan 1998 02:36:59 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On %M %N, Amancio Hasty wrote: > > Now back to your problem , you may want to put a printf in the > > linux emulation layer on the GETOPTR ioctl and examine what value > > is it returning. > > What about 8 vs. 16 bits. I noticed in rvplayer.ad the following > comments: > > ! ============================================================ > ! Preference Dialog Advanced Tab Resources > ! ============================================================ > *PrefDlgAdvancedTab.label: Advanced > *PrefAdvancedGroup.label: Sound Card Compatibility > *PrefAdvancedExpl.string: These settings help you troubleshoot sound card related problems. They may increase processor usage. > *PrefAdvanced16Expl.string: Use this setting if you have an older sound card and > clips sound scratchy or distorted. > *PrefAdvancedDis16Chk.label: Disable 16-bit sound (use 8-bit only) > > However there is no indication of what to change them to or how to > manipulate them. > > I addressed your VideoCD question in another email. Thats a good try --- see if you can play an mpeg file since the mpeg player uses 16bit. I think that I may have lost it . It has been a wild ride over here with my ISP :( Can you please re-send it. Amancio From owner-freebsd-multimedia Sun Jan 18 05:50:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04810 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 05:50:00 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04791 for ; Sun, 18 Jan 1998 05:49:36 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id BAA16318; Sun, 18 Jan 1998 01:54:51 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801180954.BAA16318@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: brian@worldcontrol.com cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: rvplayer runs ok under root but sound is a mess In-reply-to: Your message of "Sun, 18 Jan 1998 01:51:33 PST." <19980118015133.40472@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jan 1998 01:54:50 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On %M %N, Amancio Hasty wrote: > > Have you managed to get any sound out of your card? > > > > For instance, cat foo.au >/dev/audio > > Yes, audio works fine via 'cat ring.au >/dev/audio' > or even 'cat yskywalk.ay >/dev/audio' > > It is me your talking to ya know? 8-) > > -- > Brian Litzinger Just have to check thats all. It looks like you may have dma problems. Try playing an mpeg audio file and compile something in the background. There is also a version of real audio player for FreeBSD so you may want to give that a try. Now, sorry to pester you about the Green Book and VideoCD stuff we can really use something to read those CD formats;specially, now days with the PII getting so cheap . Now back to your problem , you may want to put a printf in the linux emulation layer on the GETOPTR ioctl and examine what value is it returning. Cheers, Amancio From owner-freebsd-multimedia Sun Jan 18 05:50:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA04887 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 05:50:13 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA04796 for ; Sun, 18 Jan 1998 05:49:39 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id VAA00706; Sat, 17 Jan 1998 21:59:44 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801180559.VAA00706@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: brian@worldcontrol.com cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: rvplayer runs ok under root but sound is a mess In-reply-to: Your message of "Sat, 17 Jan 1998 19:59:22 PST." <19980117195922.35536@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Jan 1998 21:59:44 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Brian, Have you managed to get any sound out of your card? For instance, cat foo.au >/dev/audio Tnks, Amancio From owner-freebsd-multimedia Sun Jan 18 11:34:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06263 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 11:34:06 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from hotmail.com (F76.hotmail.com [207.82.250.182]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA06237 for ; Sun, 18 Jan 1998 11:34:02 -0800 (PST) (envelope-from tagram@hotmail.com) Received: (qmail 12545 invoked by uid 0); 18 Jan 1998 00:46:51 -0000 Message-ID: <19980118004651.12544.qmail@hotmail.com> Received: from 208.254.96.231 by www.hotmail.com with HTTP; Sat, 17 Jan 1998 16:46:50 PST X-Originating-IP: [208.254.96.231] From: "edward appel" To: multimedia@FreeBSD.ORG Subject: Diamond Edge3D 3000 (sound) Content-Type: text/plain Date: Sat, 17 Jan 1998 16:46:50 PST Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org to whom it may concern... i just recently got message from doug white concerning a diamond edge3d all in one card. and he instructed me to consult you at multimedia@freebsd.org for a possible answer to my question as to how to setup the sound card portion of the card in FreeBSD2.2.5, i have conquered the problem with the Video and XFree86, but still lack sound when in my regular shell, and in XWin. if you could help me out with this problem i would greatly appreciate it, thank you for your time and help.. edward appel ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com From owner-freebsd-multimedia Sun Jan 18 19:53:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA18918 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 19:53:48 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA18890 for ; Sun, 18 Jan 1998 19:53:22 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.182]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA120 for ; Sun, 18 Jan 1998 22:51:31 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id WAA22223; Sun, 18 Jan 1998 22:52:50 -0500 (EST) (envelope-from root) Message-ID: <19980118225249.12048@scsn.net> Date: Sun, 18 Jan 1998 22:52:49 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: multimedia@FreeBSD.ORG Subject: Poor Performance from Linux RealPlayer Reply-To: dmaddox@scsn.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I find that performance of the Linux RealPlayer is pretty atrocious on high-bit-rate streams... With the W95 version, I can play a 100Kbps stream zoomed to full screen with no problems, but the Linux version chokes to death on a 100K stream if you try to zoom the window :-( Anybody know if the performance is this bad under Linux? From owner-freebsd-multimedia Sun Jan 18 21:42:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27295 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 21:42:31 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fang.cs.sunyit.edu (root@fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27289 for ; Sun, 18 Jan 1998 21:42:27 -0800 (PST) (envelope-from umji@cs.sunyit.edu) Received: from pirahna (A-W33.rh.sunyit.edu [150.156.211.115]) by fang.cs.sunyit.edu (8.8.5/8.7.3) with SMTP id BAA12385; Mon, 19 Jan 1998 01:43:39 GMT Message-Id: <199801190143.BAA12385@fang.cs.sunyit.edu> X-Sender: umji@fang.cs.sunyit.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 19 Jan 1998 00:38:19 -0500 To: dmaddox@scsn.net From: Michael Imor Subject: Re: Poor Performance from Linux RealPlayer Cc: multimedia@FreeBSD.ORG In-Reply-To: <19980118225249.12048@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I believe its because XFree86 doesn't use the scaling hardware on the video card so the CPU has to do all the scaling. Mike At 10:52 PM 1/18/98 -0500, Donald J. Maddox wrote: >I find that performance of the Linux RealPlayer is pretty atrocious >on high-bit-rate streams... With the W95 version, I can play a >100Kbps stream zoomed to full screen with no problems, but the >Linux version chokes to death on a 100K stream if you try to >zoom the window :-( > >Anybody know if the performance is this bad under Linux? > From owner-freebsd-multimedia Sun Jan 18 21:49:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27627 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 21:49:14 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27617 for ; Sun, 18 Jan 1998 21:49:10 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id VAA21211; Sun, 18 Jan 1998 21:48:43 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801190548.VAA21211@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Michael Imor cc: dmaddox@scsn.net, multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer In-reply-to: Your message of "Mon, 19 Jan 1998 00:38:19 EST." <199801190143.BAA12385@fang.cs.sunyit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jan 1998 21:48:42 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I believe its because XFree86 doesn't use the scaling hardware on the video > card so the CPU has to do all the scaling. > > Mike > > At 10:52 PM 1/18/98 -0500, Donald J. Maddox wrote: > >I find that performance of the Linux RealPlayer is pretty atrocious > >on high-bit-rate streams... With the W95 version, I can play a > >100Kbps stream zoomed to full screen with no problems, but the > >Linux version chokes to death on a 100K stream if you try to > >zoom the window :-( > > > >Anybody know if the performance is this bad under Linux? > > That sounds about right -- We can however switch resolution on the fly to sort of accomplish the same effect --- see fxtv 8) Cheers, Amancio From owner-freebsd-multimedia Sun Jan 18 21:54:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA28024 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 21:54:58 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA28018 for ; Sun, 18 Jan 1998 21:54:55 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.49]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA149; Mon, 19 Jan 1998 00:53:00 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id AAA00322; Mon, 19 Jan 1998 00:54:19 -0500 (EST) (envelope-from root) Message-ID: <19980119005418.44652@scsn.net> Date: Mon, 19 Jan 1998 00:54:18 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Michael Imor Cc: multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer Reply-To: dmaddox@scsn.net References: <19980118225249.12048@scsn.net> <199801190143.BAA12385@fang.cs.sunyit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801190143.BAA12385@fang.cs.sunyit.edu>; from Michael Imor on Mon, Jan 19, 1998 at 12:38:19AM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jan 19, 1998 at 12:38:19AM -0500, Michael Imor wrote: > I believe its because XFree86 doesn't use the scaling hardware on the video > card so the CPU has to do all the scaling. > > Mike Really? Is this true of _all_ XF86 servers? It would be nice if someone using the XiG server could report what kind of performance they get from the RealPlayer at high bit-rates/zoomed window... > > At 10:52 PM 1/18/98 -0500, Donald J. Maddox wrote: > >I find that performance of the Linux RealPlayer is pretty atrocious > >on high-bit-rate streams... With the W95 version, I can play a > >100Kbps stream zoomed to full screen with no problems, but the > >Linux version chokes to death on a 100K stream if you try to > >zoom the window :-( > > > >Anybody know if the performance is this bad under Linux? > > From owner-freebsd-multimedia Sun Jan 18 22:02:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA28581 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 22:02:40 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA28562 for ; Sun, 18 Jan 1998 22:02:25 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.49]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA131; Mon, 19 Jan 1998 01:00:35 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id BAA00362; Mon, 19 Jan 1998 01:01:54 -0500 (EST) (envelope-from root) Message-ID: <19980119010153.40364@scsn.net> Date: Mon, 19 Jan 1998 01:01:53 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Amancio Hasty Cc: Michael Imor , dmaddox@scsn.net, multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer Reply-To: dmaddox@scsn.net References: <199801190143.BAA12385@fang.cs.sunyit.edu> <199801190548.VAA21211@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801190548.VAA21211@rah.star-gate.com>; from Amancio Hasty on Sun, Jan 18, 1998 at 09:48:42PM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jan 18, 1998 at 09:48:42PM -0800, Amancio Hasty wrote: > > I believe its because XFree86 doesn't use the scaling hardware on the video > > card so the CPU has to do all the scaling. > > > > Mike > > > > At 10:52 PM 1/18/98 -0500, Donald J. Maddox wrote: > > >I find that performance of the Linux RealPlayer is pretty atrocious > > >on high-bit-rate streams... With the W95 version, I can play a > > >100Kbps stream zoomed to full screen with no problems, but the > > >Linux version chokes to death on a 100K stream if you try to > > >zoom the window :-( > > > > > >Anybody know if the performance is this bad under Linux? > > > > > That sounds about right -- We can however switch resolution on the fly > to sort of accomplish the same effect --- see fxtv 8) > > Cheers, > Amancio > Yeah, I've been usinng CTL-ALT-+ to 'simulate' zooming, but it sure would be nice to be able to play RealVideo fullscreen like I can in W95... Oh, well. Anybody have any experience running the RealPlayer with the XiG servers? From owner-freebsd-multimedia Sun Jan 18 22:26:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA29976 for freebsd-multimedia-outgoing; Sun, 18 Jan 1998 22:26:23 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA29971 for ; Sun, 18 Jan 1998 22:26:19 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id WAA21362; Sun, 18 Jan 1998 22:25:59 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801190625.WAA21362@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: dmaddox@scsn.net cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer In-reply-to: Your message of "Mon, 19 Jan 1998 01:01:53 EST." <19980119010153.40364@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jan 1998 22:25:58 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Sun, Jan 18, 1998 at 09:48:42PM -0800, Amancio Hasty wrote: > > > I believe its because XFree86 doesn't use the scaling hardware on the video > > > card so the CPU has to do all the scaling. > > > > > > Mike > > > > > > At 10:52 PM 1/18/98 -0500, Donald J. Maddox wrote: > > > >I find that performance of the Linux RealPlayer is pretty atrocious > > > >on high-bit-rate streams... With the W95 version, I can play a > > > >100Kbps stream zoomed to full screen with no problems, but the > > > >Linux version chokes to death on a 100K stream if you try to > > > >zoom the window :-( > > > > > > > >Anybody know if the performance is this bad under Linux? > > > > > > > > That sounds about right -- We can however switch resolution on the fly > > to sort of accomplish the same effect --- see fxtv 8) > > > > Cheers, > > Amancio > > > > Yeah, I've been usinng CTL-ALT-+ to 'simulate' zooming, but it sure would be > nice to be able to play RealVideo fullscreen like I can in W95... Oh, well. Again, fxtv accomplish the same by just pressing space on the display window and it does fill the entire screen very nicely and 30 frames/sec of course 8) > Anybody have any experience running the RealPlayer with the XiG servers? > Actually, it probably does not take that much effort to support scaling and yuv -> rgb in the Xserver -- all it is required is the will of someone to do it. If you have a *pentium pro* or a *pentium II* you can increase significantly your thruput, 20MB/sec to 90MB/sec. ftp://ftp.Uni-Bielefeld.DE/pub/systems/FreeBSD/lkoeller/fastvid.tar.gz In the case of the real player this ought to increase its thruput. Cheers, Amancio From owner-freebsd-multimedia Mon Jan 19 05:09:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA24729 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 05:09:50 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA24718 for ; Mon, 19 Jan 1998 05:09:45 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.19]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA181; Mon, 19 Jan 1998 08:08:00 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id IAA07026; Mon, 19 Jan 1998 08:09:14 -0500 (EST) (envelope-from root) Message-ID: <19980119080914.49779@scsn.net> Date: Mon, 19 Jan 1998 08:09:14 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Amancio Hasty Cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer Reply-To: dmaddox@scsn.net References: <19980119010153.40364@scsn.net> <199801190625.WAA21362@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801190625.WAA21362@rah.star-gate.com>; from Amancio Hasty on Sun, Jan 18, 1998 at 10:25:58PM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jan 18, 1998 at 10:25:58PM -0800, Amancio Hasty wrote: > Actually, it probably does not take that much effort to support scaling > and yuv -> rgb in the Xserver -- all it is required is the will of > someone to do it. That's easy for you to say :-) Some of us aren't even sure what yuv _is_ :-) I am, however, ready and willing to learn... Where can info on this stuff be found? From owner-freebsd-multimedia Mon Jan 19 11:29:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08549 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 11:29:17 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sujal.prognet.com (sujal.prognet.com [204.255.154.231]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08541 for ; Mon, 19 Jan 1998 11:29:09 -0800 (PST) (envelope-from smpatel@real.com) Received: from localhost (localhost.prognet.com [127.0.0.1]) by sujal.prognet.com (8.8.4/8.8.4) with SMTP id LAA16401 for ; Mon, 19 Jan 1998 11:30:08 -0800 (PST) X-Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by sujal.prognet.com (8.8.4/8.8.4) with ESMTP id LAA16385 for ; Mon, 19 Jan 1998 11:28:19 -0800 (PST) X-Received: from sdcc17.ucsd.edu (delee@sdcc17.ucsd.edu [132.239.50.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08386 for ; Mon, 19 Jan 1998 11:26:35 -0800 (PST) (envelope-from delee@sdcc17.ucsd.edu) X-Received: (from delee@localhost) by sdcc17.ucsd.edu (8.8.5/8.8.5) id LAA20033 for smpatel@freebsd.org; Mon, 19 Jan 1998 11:26:12 -0800 (PST) Date: Mon, 19 Jan 1998 11:26:12 -0800 (PST) From: Anoneemouse Message-Id: <199801191926.LAA20033@sdcc17.ucsd.edu> To: smpatel@FreeBSD.ORG Subject: pnp. code Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, I got the FreeBSD-ISA_PnP_June8.tar.gz, and I configured pnp.c according to pnpinfo( i have a sb16pnp ). But when I compile the kernel, pnp.c doesn't compile. I looked at the errors, and most of the errors seem to be syntax errors in pnp.c. Maybe I got the wrong code..or? thanks... From owner-freebsd-multimedia Mon Jan 19 14:24:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27262 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 14:24:19 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from capecod.net (ostb81.capecod.net [207.19.28.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27155 for ; Mon, 19 Jan 1998 14:23:24 -0800 (PST) (envelope-from crtb@capecod.net) Received: (from crtb@localhost) by capecod.net (8.8.5/8.8.5) id PAA04566 for freebsd-multimedia@freebsd.org; Mon, 19 Jan 1998 15:00:30 -0500 (EST) Date: Mon, 19 Jan 1998 15:00:30 -0500 (EST) From: Chuck Message-Id: <199801192000.PAA04566@capecod.net> To: freebsd-multimedia@FreeBSD.ORG Subject: Non-functional MM devs Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Problem: /dev/audio drives external speakers, but no other soundblaster devices work. Rosegarden etc. either hang or say devs. are not config'd. FreeBSD 2.2.2R; My config file includes, among other stuff: pseudo-device speaker device pca0 at isa? port IO_TIMER1 tty controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr # 7->5 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 # Was 300, now 330 options "EXCLUDE_MPU401" # NO MPU401 support options EXCLUDE_GUS # NO GUS support options EXCLUDE_GUS_IODETECT # NO GUS io detection options EXCLUDE_SB_EMULATION # NO PAS SB emulation support options EXCLUDE_SBPRO # NO SB Pro support options "EXCLUDE_YM3812" # NO AdLib support options "EXCLUDE_OPL3" # NO OPL3 chip support options EXCLUDE_PAS # NO Pro Audio Studio support options EXCLUDE_PRO_MIDI # NO PAS MIDI support device snd2 at isa? port 0x220 irq 7 drq 1 vector sbintr device snd6 at isa? port 0x220 irq 7 drq 5 vector sbintr device snd7 at isa? port 0x300 device snd1 at isa? port 0x388 And, my dmesg says on this subject: sb0 at 0x220 irq 5 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvi0: sbmidi0 at 0x330 on isa As far as I know, the EXCLUDEs refer to features I really don't have, but perhaps "emulation" refers to driving the actual dev. Ideas? Thanks for any hint, esp. as to docs. for MM devs. Chuck Bacon -- crtb@capecod.net ABHOR SECRECY -- DEFEND PRIVACY From owner-freebsd-multimedia Mon Jan 19 14:24:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27269 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 14:24:21 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from capecod.net (ostb81.capecod.net [207.19.28.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27252 for ; Mon, 19 Jan 1998 14:24:15 -0800 (PST) (envelope-from crtb@capecod.net) Received: (from crtb@localhost) by capecod.net (8.8.5/8.8.5) id OAA04560 for freebsd-multimedia@freebsd.org; Mon, 19 Jan 1998 14:56:08 -0500 (EST) Date: Mon, 19 Jan 1998 14:56:08 -0500 (EST) From: Chuck Message-Id: <199801191956.OAA04560@capecod.net> To: freebsd-multimedia@FreeBSD.ORG Subject: Non-functional MM devs Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org FreeBSD 2.2.2R; My config file includes, among other stuff: pseudo-device speaker # pca0 is back! Taken from a posting.. device pca0 at isa? port IO_TIMER1 tty # snd: Voxware sound drivers for various cards (see file `sound.doc') controller snd0 # SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB) device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr # 7->5 # SoundBlaster 16 DSP driver - for SB16 - requires sb0 device device sbxvi0 at isa? drq 5 # SoundBlaster 16 MIDI - for SB16 - requires sb0 device device sbmidi0 at isa? port 0x330 # Was 300, now 330 # THE END # The following are all from sound.doc, or the version of it I saw in the mail. # options EXCLUDE_AUDIO # NO digital audio support # options EXCLUDE_SEQUENCER # NO sequencer support options "EXCLUDE_MPU401" # NO MPU401 support options EXCLUDE_GUS # NO GUS support options EXCLUDE_GUS_IODETECT # NO GUS io detection # options EXCLUDE_SB # NO SB support options EXCLUDE_SB_EMULATION # NO PAS SB emulation support options EXCLUDE_SBPRO # NO SB Pro support # options "EXCLUDE_SB16" # NO SB 16 support options "EXCLUDE_YM3812" # NO AdLib support options "EXCLUDE_OPL3" # NO OPL3 chip support options EXCLUDE_PAS # NO Pro Audio Studio support options EXCLUDE_PRO_MIDI # NO PAS MIDI support # options EXCLUDE_CHIP_MIDI # NO MIDI chip support # options EXCLUDE_MIDI # NO MIDI support whatsoever # Really looks as if probes will fail: dev. sb0 == dev. snd{2,6}, no? #device snd5 at isa? port 0x330 irq 6 vector mpuintr #device snd4 at isa? port 0x220 irq 15 drq 6 vector gusintr #device snd3 at isa? port 0x388 irq 10 drq 6 vector pasintr device snd2 at isa? port 0x220 irq 7 drq 1 vector sbintr device snd6 at isa? port 0x220 irq 7 drq 5 vector sbintr device snd7 at isa? port 0x300 device snd1 at isa? port 0x388 From owner-freebsd-multimedia Mon Jan 19 15:22:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02978 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 15:22:39 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin47.nanospace.com [205.199.198.247]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA02963 for ; Mon, 19 Jan 1998 15:22:31 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 1750 invoked by uid 100); 18 Jan 1998 10:35:57 -0000 Message-ID: <19980118023553.34007@top.worldcontrol.com> Date: Sun, 18 Jan 1998 02:35:53 -0800 To: Amancio Hasty Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: rvplayer runs ok under root but sound is a mess Mail-Followup-To: Amancio Hasty , freebsd-multimedia@freebsd.org References: <19980118015133.40472@top.worldcontrol.com> <199801180954.BAA16318@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i In-Reply-To: <199801180954.BAA16318@rah.star-gate.com>; from Amancio Hasty on Sun, Jan 18, 1998 at 01:54:50AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On %M %N, Amancio Hasty wrote: > Now back to your problem , you may want to put a printf in the > linux emulation layer on the GETOPTR ioctl and examine what value > is it returning. What about 8 vs. 16 bits. I noticed in rvplayer.ad the following comments: ! ============================================================ ! Preference Dialog Advanced Tab Resources ! ============================================================ *PrefDlgAdvancedTab.label: Advanced *PrefAdvancedGroup.label: Sound Card Compatibility *PrefAdvancedExpl.string: These settings help you troubleshoot sound card related problems. They may increase processor usage. *PrefAdvanced16Expl.string: Use this setting if you have an older sound card and clips sound scratchy or distorted. *PrefAdvancedDis16Chk.label: Disable 16-bit sound (use 8-bit only) However there is no indication of what to change them to or how to manipulate them. I addressed your VideoCD question in another email. -- brian From owner-freebsd-multimedia Mon Jan 19 15:27:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03356 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 15:27:04 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin47.nanospace.com [205.199.198.247]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA03346 for ; Mon, 19 Jan 1998 15:26:59 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 1273 invoked by uid 100); 18 Jan 1998 09:51:38 -0000 Message-ID: <19980118015133.40472@top.worldcontrol.com> Date: Sun, 18 Jan 1998 01:51:33 -0800 To: Amancio Hasty Cc: brian@worldcontrol.com, freebsd-multimedia@FreeBSD.ORG Subject: Re: rvplayer runs ok under root but sound is a mess Mail-Followup-To: Amancio Hasty , brian@worldcontrol.com, freebsd-multimedia@freebsd.org References: <19980117195922.35536@top.worldcontrol.com> <199801180559.VAA00706@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i In-Reply-To: <199801180559.VAA00706@rah.star-gate.com>; from Amancio Hasty on Sat, Jan 17, 1998 at 09:59:44PM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On %M %N, Amancio Hasty wrote: > Have you managed to get any sound out of your card? > > For instance, cat foo.au >/dev/audio Yes, audio works fine via 'cat ring.au >/dev/audio' or even 'cat yskywalk.ay >/dev/audio' It is me your talking to ya know? 8-) -- Brian Litzinger From owner-freebsd-multimedia Mon Jan 19 15:31:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03758 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 15:31:01 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin47.nanospace.com [205.199.198.247]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA03752 for ; Mon, 19 Jan 1998 15:30:52 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 1934 invoked by uid 100); 18 Jan 1998 10:56:26 -0000 Message-ID: <19980118025622.63487@top.worldcontrol.com> Date: Sun, 18 Jan 1998 02:56:22 -0800 To: Amancio Hasty Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: VideoCD Mail-Followup-To: Amancio Hasty , freebsd-multimedia@freebsd.org References: <19980118015133.40472@top.worldcontrol.com> <199801180954.BAA16318@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i In-Reply-To: <199801180954.BAA16318@rah.star-gate.com>; from Amancio Hasty on Sun, Jan 18, 1998 at 01:54:50AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Now, sorry to pester you about the Green Book and VideoCD stuff we > can really use something to read those CD formats;specially, now days > with the PII getting so cheap . Here is what I have been thinking: I have read that CDD will read the mode 2 form 2 "tracks" of a CD. So I could write a library/filter (distributed in object form) that does the following: cdd whatever | myfilter | [now you get MPEG 1 system stream ] | toyourfavorite MPEG 1 stream player Would this be satisfactory? And does CDD work as advertised? Also, haven't "we" been reading those formats for awhile? -- Brian Litzinger From owner-freebsd-multimedia Mon Jan 19 15:44:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA04682 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 15:44:40 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin47.nanospace.com [205.199.198.247]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA04667 for ; Mon, 19 Jan 1998 15:44:33 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 675 invoked by uid 100); 18 Jan 1998 03:59:28 -0000 Message-ID: <19980117195922.35536@top.worldcontrol.com> Date: Sat, 17 Jan 1998 19:59:22 -0800 To: freebsd-multimedia@FreeBSD.ORG Cc: hasty@rah.star-gate.com Subject: rvplayer runs ok under root but sound is a mess Mail-Followup-To: freebsd-multimedia@freebsd.org, hasty@rah.star-gate.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just discovered that if I run 'rvplayer welcome.rm' as root the video comes out correctly. On my system the sound is a mess. It is mostly hissy-scratchy noise, however, I can hear the audio that is supposed to be there among all the noise. VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug 6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com) Config options: Installed drivers: Type 1: OPL-2/OPL-3 FM Type 2: SoundBlaster Type 6: SoundBlaster16 Type 7: SB16 MIDI Card config: SoundBlaster at 0x220 irq 5 drq 1 (SoundBlaster16 at 0xffffffff irq 1 drq 5) (SB16 MIDI at 0x330 irq 1) OPL-2/OPL-3 FM at 0x388 irq 1 Audio devices: 0: SoundBlaster Pro 3.1 Synth devices: 0: Yamaha OPL-3 Midi devices: 0: SoundBlaster Timers: 0: System clock Mixers: 0: SoundBlaster From owner-freebsd-multimedia Mon Jan 19 15:48:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05016 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 15:48:28 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from top.worldcontrol.com (tc1-dialin47.nanospace.com [205.199.198.247]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA05003 for ; Mon, 19 Jan 1998 15:48:23 -0800 (PST) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 467 invoked by uid 100); 18 Jan 1998 03:50:02 -0000 Message-ID: <19980117194956.42276@top.worldcontrol.com> Date: Sat, 17 Jan 1998 19:49:56 -0800 To: freebsd-multimedia@FreeBSD.ORG Cc: hasty@rah.star-gate.com Subject: rvplayer running full out but not moving Mail-Followup-To: freebsd-multimedia@freebsd.org, hasty@rah.star-gate.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.13i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok, I cvsup'd, maked world, etc. Everything is up to the minute -current. Now 'rvplayer welcome.rm' displays the RealPlayer Window and the very first scene of the sequence. There is no sound. The rvplayer is running all out consuming CPU time: 289 brian 82 0 1924K 2236K RUN 31:05 81.10% 81.10% rvplayer but nothing is changing on the screen. I can use the location pointer to move about the sequence manually and the picture changes appropriately. When I hit the stop button I get a burst of hiss. If I hit start again, its get stuck at the first scene. If i hit stop I get the burst of hiss again, and so on. cat ring.au or whatever to /dev/audio does what I would expect. following is the output from cat /dev/sndstat. The all out running without doing anything seems vaguely reminiscient of a problem I ran into with qmail. When I upgraded to some version of -current I found qmail-send running all out but otherwise working. I recompiled qmail and the behavior went away. If I rm /dev/dsp /dev/audio I get the same behavior out of rvplayer except it isn't running all out. It is still stuck, but spends its time in select. Any ideas what is going on? VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug 6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com) Config options: Installed drivers: Type 1: OPL-2/OPL-3 FM Type 2: SoundBlaster Type 6: SoundBlaster16 Type 7: SB16 MIDI Card config: SoundBlaster at 0x220 irq 5 drq 1 (SoundBlaster16 at 0xffffffff irq 1 drq 5) (SB16 MIDI at 0x330 irq 1) OPL-2/OPL-3 FM at 0x388 irq 1 Audio devices: 0: SoundBlaster Pro 3.1 Synth devices: 0: Yamaha OPL-3 Midi devices: 0: SoundBlaster Timers: 0: System clock Mixers: 0: SoundBlaster -- Brian Litzinger From owner-freebsd-multimedia Mon Jan 19 21:51:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA05502 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 21:51:43 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA05494 for ; Mon, 19 Jan 1998 21:51:38 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id VAA00799; Mon, 19 Jan 1998 21:51:27 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801200551.VAA00799@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: dmaddox@scsn.net cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer In-reply-to: Your message of "Mon, 19 Jan 1998 00:54:18 EST." <19980119005418.44652@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 21:51:27 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org One thing to consider is that the RealPlayer is a product and that we don't have access to their code. It is a little different for publicly available programs where we can rectify or improve the code whenever we can . In the case of the RealPlayer the responsibility clearly falls on the company and even if the XFree86 group provides the functionality it is still up to the company responsible for the product to take advantage of functionality such as an interface to hardware assist scaling. Amancio From owner-freebsd-multimedia Mon Jan 19 22:25:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA07315 for freebsd-multimedia-outgoing; Mon, 19 Jan 1998 22:25:43 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA07305 for ; Mon, 19 Jan 1998 22:25:39 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA26358; Tue, 20 Jan 1998 06:00:28 +0100 From: Luigi Rizzo Message-Id: <199801200500.GAA26358@labinfo.iet.unipi.it> Subject: Re: rvplayer runs ok under root but sound is a mess To: brian@worldcontrol.com Date: Tue, 20 Jan 1998 06:00:28 +0100 (MET) Cc: freebsd-multimedia@FreeBSD.ORG, hasty@rah.star-gate.com In-Reply-To: <19980117195922.35536@top.worldcontrol.com> from "brian@worldcontrol.com" at Jan 17, 98 07:59:03 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I just discovered that if I run 'rvplayer welcome.rm' as root the > video comes out correctly. On my system the sound is a mess. > It is mostly hissy-scratchy noise, however, I can hear the audio > that is supposed to be there among all the noise. that sounds more like an 8-bit <-> 16-bit mismatch in the audio format. There might be some control in the configuration panel of the rvplayer to force 8-bit audio. As an alternative, have you tried my audio driver ? Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Tue Jan 20 04:16:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA00921 for freebsd-multimedia-outgoing; Tue, 20 Jan 1998 04:16:03 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA00902 for ; Tue, 20 Jan 1998 04:15:59 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.32]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA203; Tue, 20 Jan 1998 07:14:29 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id HAA00681; Tue, 20 Jan 1998 07:15:28 -0500 (EST) (envelope-from root) Message-ID: <19980120071528.31305@scsn.net> Date: Tue, 20 Jan 1998 07:15:28 -0500 From: Charlie Root To: Amancio Hasty Cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer Reply-To: dmaddox@scsn.net References: <19980119005418.44652@scsn.net> <199801200551.VAA00799@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801200551.VAA00799@rah.star-gate.com>; from Amancio Hasty on Mon, Jan 19, 1998 at 09:51:27PM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jan 19, 1998 at 09:51:27PM -0800, Amancio Hasty wrote: > > One thing to consider is that the RealPlayer is a product and that > we don't have access to their code. It is a little different > for publicly available programs where we can rectify or improve > the code whenever we can . In the case of the RealPlayer the > responsibility clearly falls on the company and even if the > XFree86 group provides the functionality it is still up to > the company responsible for the product to take advantage of > functionality such as an interface to hardware assist scaling. > > Amancio Well, thats certainly a valid point of view... I'm just glad that these guys are supporting a free OS like Linux _at all_. It's probably not very realistic to expect them to put a great deal of effort into overcoming the limitations of XFree86... In contrast, _I_ have a very strong interest in improving the performance of my XServer :-) My problem is that, until about a year or so ago, I was a dyed-in-the-wool Amiga-freak, and have very little (actually NO) experience with low-level programming of IBMPC graphics adapters. I think I could pick it up pretty quick, since I could write blitter/copper/other low-level HW stuff on the Amiga as well as anybody. I did a lot of work toward the goal of adding better native hardware support to the NetBSD/Amiga XServer, but never finished it, 'cause my Amiga blew up, and I ended up with a PC :-( So... Anybody know where I can get good info on this stuff? I am particularly interested in info on the S3 Vision 968 chip, since this is the only one I currently have access to... Fixing X might be beyond my means, but hopefully, fixing XF86_S3 might not be :-) From owner-freebsd-multimedia Tue Jan 20 04:21:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA01214 for freebsd-multimedia-outgoing; Tue, 20 Jan 1998 04:21:08 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA01209 for ; Tue, 20 Jan 1998 04:21:05 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id EAA00417; Tue, 20 Jan 1998 04:21:01 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801201221.EAA00417@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: dmaddox@scsn.net cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer In-reply-to: Your message of "Tue, 20 Jan 1998 07:15:28 EST." <19980120071528.31305@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Jan 1998 04:21:01 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Let me think about your request . I have all the docs here for the S3 968 and I believe that you don't need much in terms of providing support for scaling and things like yuv to rgb. The real trick now is to provide an API for the hardware features. Cheers, Amancio From owner-freebsd-multimedia Tue Jan 20 04:26:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA01466 for freebsd-multimedia-outgoing; Tue, 20 Jan 1998 04:26:37 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA01460 for ; Tue, 20 Jan 1998 04:26:34 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.32]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA39; Tue, 20 Jan 1998 07:25:03 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id HAA00725; Tue, 20 Jan 1998 07:26:03 -0500 (EST) (envelope-from root) Message-ID: <19980120072602.56567@scsn.net> Date: Tue, 20 Jan 1998 07:26:02 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Amancio Hasty Cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer Reply-To: dmaddox@scsn.net References: <19980120071528.31305@scsn.net> <199801201221.EAA00417@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801201221.EAA00417@rah.star-gate.com>; from Amancio Hasty on Tue, Jan 20, 1998 at 04:21:01AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jan 20, 1998 at 04:21:01AM -0800, Amancio Hasty wrote: > > Let me think about your request . I have all the docs here for > the S3 968 and I believe that you don't need much in terms > of providing support for scaling and things like yuv to rgb. > > The real trick now is to provide an API for the hardware features. Thanks! Any chance the S3 968 docs are in electronic form? I would really like to get a look at 'em :-) From owner-freebsd-multimedia Tue Jan 20 04:36:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02175 for freebsd-multimedia-outgoing; Tue, 20 Jan 1998 04:36:45 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA02165 for ; Tue, 20 Jan 1998 04:36:39 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.32]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA178; Tue, 20 Jan 1998 07:35:09 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id HAA00764; Tue, 20 Jan 1998 07:36:08 -0500 (EST) (envelope-from root) Message-ID: <19980120073608.36403@scsn.net> Date: Tue, 20 Jan 1998 07:36:08 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Amancio Hasty Cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer Reply-To: dmaddox@scsn.net References: <19980120072602.56567@scsn.net> <199801201232.EAA00395@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801201232.EAA00395@rah.star-gate.com>; from Amancio Hasty on Tue, Jan 20, 1998 at 04:32:39AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jan 20, 1998 at 04:32:39AM -0800, Amancio Hasty wrote: > > The docs are not available on-line however you can call S3 Corp in > Santa Clara and request the S3 968 databook. Just browse about > at their web site: http://www.s3.com. > > Cheers, > Amancio Ok, thanks, will do... From owner-freebsd-multimedia Tue Jan 20 06:29:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA01296 for freebsd-multimedia-outgoing; Tue, 20 Jan 1998 06:29:04 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA01291 for ; Tue, 20 Jan 1998 06:29:01 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id EAA00395; Tue, 20 Jan 1998 04:32:40 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801201232.EAA00395@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: dmaddox@scsn.net cc: Michael Imor , multimedia@FreeBSD.ORG Subject: Re: Poor Performance from Linux RealPlayer In-reply-to: Your message of "Tue, 20 Jan 1998 07:26:02 EST." <19980120072602.56567@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Jan 1998 04:32:39 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The docs are not available on-line however you can call S3 Corp in Santa Clara and request the S3 968 databook. Just browse about at their web site: http://www.s3.com. Cheers, Amancio From owner-freebsd-multimedia Tue Jan 20 12:54:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04323 for freebsd-multimedia-outgoing; Tue, 20 Jan 1998 12:54:00 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from capecod.net (ostc30.capecod.net [204.255.215.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04314 for ; Tue, 20 Jan 1998 12:53:55 -0800 (PST) (envelope-from crtb@capecod.net) Received: (from crtb@localhost) by capecod.net (8.8.5/8.8.5) id WAA05819 for freebsd-multimedia@FreeBSD.ORG; Mon, 19 Jan 1998 22:54:56 -0500 (EST) Date: Mon, 19 Jan 1998 22:54:56 -0500 (EST) From: Chuck Message-Id: <199801200354.WAA05819@capecod.net> To: freebsd-multimedia@FreeBSD.ORG Subject: Non-functional MM devs Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Apologies: I seem to have sent an incomplete post! Here 'tis with as much detail as I can think of :-) Problem: /dev/audio drives external speakers, but no other soundblaster devices work. Rosegarden etc. either hang or say devs. are not config'd or set. Is there some doc somewhere which describes the use and configuration of /dev/sequencer0, /dev/music0, /dev/midi0, /dev/mixer0, /dev/dsp0, /dev/dspW0 etc.? FreeBSD 2.2.2R; ======= My config file includes, among other stuff: pseudo-device speaker device pca0 at isa? port IO_TIMER1 tty controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr # 7->5 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 # Was 300, now 330 options "EXCLUDE_MPU401" # NO MPU401 support options EXCLUDE_GUS # NO GUS support options EXCLUDE_GUS_IODETECT # NO GUS io detection options EXCLUDE_SB_EMULATION # NO PAS SB emulation support options EXCLUDE_SBPRO # NO SB Pro support options "EXCLUDE_YM3812" # NO AdLib support options "EXCLUDE_OPL3" # NO OPL3 chip support options EXCLUDE_PAS # NO Pro Audio Studio support options EXCLUDE_PRO_MIDI # NO PAS MIDI support device snd2 at isa? port 0x220 irq 7 drq 1 vector sbintr device snd6 at isa? port 0x220 irq 7 drq 5 vector sbintr device snd7 at isa? port 0x300 device snd1 at isa? port 0x388 ======== And, my dmesg says on this subject: sb0 at 0x220 irq 5 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvi0: sbmidi0 at 0x330 on isa ======== Finally, cat /dev/sndstat does: VoxWare Sound Driver:3.0-beta-950506 (Sun Feb 5 14:38:12 EST 1995 freebsd-hackers@freefall.cdrom.com) Config options: ffffffff Installed drivers: Type 2: SoundBlaster Type 6: SoundBlaster16 Type 7: SB16 MIDI Card config: SoundBlaster at 0x220 irq 5 drq 1 SoundBlaster16 at 0x0 irq 65535 drq 5 SB16 MIDI at 0x330 irq 65535 drq 4294967295 Audio devices: 0: SoundBlaster 16 4.12 Synth devices: Midi devices: 0: SoundBlaster 16 Midi Timers: 0: System Timer Mixers: 0: SoundBlaster ========== As far as I know, the EXCLUDEs refer to features I really don't have, but perhaps "emulation" refers to driving the actual dev. Ideas? Thanks for any hint, esp. as to docs. for MM devs. Chuck Bacon -- crtb@capecod.net ABHOR SECRECY -- DEFEND PRIVACY From owner-freebsd-multimedia Wed Jan 21 13:29:56 1998 Return-Path: Received: (from majordom@localhost) by catfish.freebsd.org (8.8.8/8.8.8) id NAA23293 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 13:29:56 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by catfish.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23288 for ; Wed, 21 Jan 1998 13:29:55 -0800 (PST) (envelope-from owner-majordomo@FreeBSD.ORG) Received: from mail.dreamscape.com (uA1-d13.dreamscape.com [207.198.23.110]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA29328 for ; Wed, 21 Jan 1998 13:29:37 -0800 (PST) (envelope-from aaron@mail.dreamscape.com) Received: (from aaron@localhost) by mail.dreamscape.com (8.8.7/8.8.7) id NAA00212; Tue, 20 Jan 1998 13:19:22 -0500 (EST) (envelope-from aaron) Message-ID: <19980120131921.14708@homenet> Date: Tue, 20 Jan 1998 13:19:21 -0500 From: Aaron Jeremias Luz To: multimedia@FreeBSD.ORG Subject: GUS MAX support broken under 2.2.5-RELEASE? Reply-To: aaron@csh.rit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has anyone got a GUS or GUS MAX to work under 2.2.5-RELEASE? I get dma_busy errors when trying to play audio files and kernel panics (!) when trying to play midi or mod files. After such a slick installation, I was shocked to see my computer reboot just by running gmod. I've tried patching isa.c to stop the dma_busy errors. This stops messages from being written to the console, but doesn't improve the garbled sound quality. I've tried the lastest TASD driver (snd971209), but it seems it doesn't support the GUS MAX. I've even tried the commercial VOXware drivers. They fail, but at least they don't reboot my computer. I've tried to find guspnp6, guspnp7, or guspnp8 -- but rah.stargate doesn't seem to archive these older versions anymore. A frustrated newbie to FreeBSD who is otherwise impressed. Aaron From owner-freebsd-multimedia Wed Jan 21 14:48:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04528 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 14:48:08 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04522 for ; Wed, 21 Jan 1998 14:48:06 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id OAA07020; Wed, 21 Jan 1998 14:47:34 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801212247.OAA07020@rah.star-gate.com> To: aaron@csh.rit.edu cc: multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: GUS MAX support broken under 2.2.5-RELEASE? In-reply-to: Your message of "Tue, 20 Jan 1998 13:19:21 EST." <19980120131921.14708@homenet> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7017.885422854.1@rah.star-gate.com> Date: Wed, 21 Jan 1998 14:47:34 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Try to upgrade to FreeBSD 3.0 -current . Cheers, Amancio From owner-freebsd-multimedia Wed Jan 21 16:22:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16145 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 16:22:09 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ns1.carib-link.net (ns1.carib-link.net [196.3.135.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16139 for ; Wed, 21 Jan 1998 16:22:06 -0800 (PST) (envelope-from rdbasdeo@carib-link.net) Received: from reisha (pm6-162.carib-link.net [196.29.65.162]) by ns1.carib-link.net (8.8.5/8.8.5) with SMTP id UAA16981 for ; Wed, 21 Jan 1998 20:21:51 -0400 Message-ID: <007b01bd26aa$a38155a0$a2411dc4@reisha> From: "Reisha & Darrell Basdeo" To: Subject: Creative Sound Blaster 16 PnP Sound Card and FreeBSD RELEASE 2.2.5 Date: Wed, 21 Jan 1998 20:24:44 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0076_01BD26AA.9C880E60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0076_01BD26AA.9C880E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, Could please provide answers to the questions in the attached file. Thanks in advance, ~~~~ rdb ------=_NextPart_000_0076_01BD26AA.9C880E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
Could please provide answers to the = questions in=20 the attached file.
 
Thanks in advance,
 
~~~~
rdb
------=_NextPart_000_0076_01BD26AA.9C880E60-- From owner-freebsd-multimedia Wed Jan 21 16:25:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16507 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 16:25:32 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ns1.carib-link.net (ns1.carib-link.net [196.3.135.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16492 for ; Wed, 21 Jan 1998 16:25:28 -0800 (PST) (envelope-from rdbasdeo@carib-link.net) Received: from reisha (pm7-209.carib-link.net [196.29.65.209]) by ns1.carib-link.net (8.8.5/8.8.5) with SMTP id UAA17573 for ; Wed, 21 Jan 1998 20:25:20 -0400 Message-ID: <009301bd26ab$1fe7f400$a2411dc4@reisha> From: "Reisha & Darrell Basdeo" To: Subject: Creative Sound Blaster 16 PnP Sound Card and FreeBSD RELEASE 2.2.5 Date: Wed, 21 Jan 1998 20:26:57 -0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_008B_01BD26AA.EBB14100" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_008B_01BD26AA.EBB14100 Content-Type: multipart/alternative; boundary="----=_NextPart_001_008C_01BD26AA.EBB14100" ------=_NextPart_001_008C_01BD26AA.EBB14100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 Could please provide answers to the questions in the attached file. =20 Thanks in advance, =20 ~~~~ rdb ------=_NextPart_001_008C_01BD26AA.EBB14100 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
Could please provide answers to the = questions in=20 the attached file.
 
 
Thanks in advance,
 
~~~~
rdb
------=_NextPart_001_008C_01BD26AA.EBB14100-- ------=_NextPart_000_008B_01BD26AA.EBB14100 Content-Type: text/plain; name="SB16PnP.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="SB16PnP.txt" I have a Sound Blaster 16 PnP Card and I need to know :- 1. How to configure it properly? 2. What drivers to use ? 3. Specifications to use etc.? I did a new custom kernel build which includes the sound card. However, the card is still not seen with the recommended device values. Could you please offer some assistance? ------=_NextPart_000_008B_01BD26AA.EBB14100-- From owner-freebsd-multimedia Wed Jan 21 16:53:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19540 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 16:53:15 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA19519 for ; Wed, 21 Jan 1998 16:53:04 -0800 (PST) (envelope-from jmz@cabri.obs-besancon.fr) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA20905; Thu, 22 Jan 98 01:56:01 +0100 Date: Thu, 22 Jan 98 01:56:01 +0100 Message-Id: <9801220056.AA20905@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: hasty@rah.star-gate.com Cc: aaron@csh.rit.edu, multimedia@FreeBSD.ORG, hasty@rah.star-gate.com In-Reply-To: <199801212247.OAA07020@rah.star-gate.com> (message from Amancio Hasty on Wed, 21 Jan 1998 14:47:34 -0800) Subject: Re: GUS MAX support broken under 2.2.5-RELEASE? X-Mailer: Emacs Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> Amancio Hasty writes: > Try to upgrade to FreeBSD 3.0 -current . No. it is broken there too :-) (well, not quite: cd /sys/i386/isa/sound; rm *; cvs update -D"25 october 1997" is a workaround...) Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr From owner-freebsd-multimedia Wed Jan 21 17:45:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25401 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 17:45:34 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25394 for ; Wed, 21 Jan 1998 17:45:32 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id RAA07649; Wed, 21 Jan 1998 17:45:09 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801220145.RAA07649@rah.star-gate.com> To: Jean-Marc Zucconi cc: hasty@rah.star-gate.com, aaron@csh.rit.edu, multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: GUS MAX support broken under 2.2.5-RELEASE? In-reply-to: Your message of "Thu, 22 Jan 1998 01:56:01 +0100." <9801220056.AA20905@cabri.obs-besancon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7646.885433508.1@rah.star-gate.com> Date: Wed, 21 Jan 1998 17:45:08 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Care to elaborate on what is broken with the current sound driver and your gus max? I use my gus pnp every day over here. Amancio From owner-freebsd-multimedia Wed Jan 21 18:17:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27680 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 18:17:02 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA27667 for ; Wed, 21 Jan 1998 18:17:00 -0800 (PST) (envelope-from jmz@cabri.obs-besancon.fr) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA21385; Thu, 22 Jan 98 03:20:19 +0100 Date: Thu, 22 Jan 98 03:20:19 +0100 Message-Id: <9801220220.AA21385@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: hasty@rah.star-gate.com Cc: hasty@rah.star-gate.com, aaron@csh.rit.edu, multimedia@FreeBSD.ORG, hasty@rah.star-gate.com In-Reply-To: <199801220145.RAA07649@rah.star-gate.com> (message from Amancio Hasty on Wed, 21 Jan 1998 17:45:08 -0800) Subject: Re: GUS MAX support broken under 2.2.5-RELEASE? X-Mailer: Emacs Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> Amancio Hasty writes: > Care to elaborate on what is broken with the current sound driver and > your gus max? I use my gus pnp every day over here. Maybe because the GUS Max is _not_ pnp. I already reported this problem 2 months ago: /kernel: Checking for GUS Plug-n-Play ... /kernel: No Plug-n-Play devices were found /kernel: gus0 at 0x220 irq 11 drq 6 on isa /kernel: GUS PNP (CS4231A)> at 0x32c dma 6,6 at 0x220 irq 11 dma 6 And when playing: /kernel: isa_dma_acquire: channel 6 already in use /kernel: Sound: DMA (output) timed out - IRQ/DRQ config error? This is not an IRQ/DRQ config error because - I have checked if there was a conflict. - the old sound code works. I just tried again on another machine: another GUS max with a different configuration: device gus0 at isa? port 0x220 irq 15 drq 6 vector gusintr The machine hangs during boot just after: Checking for GUS Plug-n-Play ... Board Vendor ID: TCM5095 Board Serial Number: 975c0a6a Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr From owner-freebsd-multimedia Wed Jan 21 19:28:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA03026 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 19:28:35 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA03016 for ; Wed, 21 Jan 1998 19:28:25 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id TAA05692 for ; Wed, 21 Jan 1998 19:28:09 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) X-Received: from eot.cs.uoregon.edu (eot.cs.uoregon.edu [128.223.202.87]) by resnet.uoregon.edu (8.8.5/8.8.8) with ESMTP id DAA29306 for ; Mon, 19 Jan 1998 03:24:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) X-Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by eot.cs.uoregon.edu (8.8.5/8.8.5) with ESMTP id DAA22720; Mon, 19 Jan 1998 03:23:52 -0800 (PST) X-Received: from localhost (daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA17848; Mon, 19 Jan 1998 03:23:44 -0800 (PST) (envelope-from owner-freebsd-questions) X-Received: by hub.freebsd.org (bulk_mailer v1.6); Mon, 19 Jan 1998 03:22:36 -0800 X-Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA17747 for questions-outgoing; Mon, 19 Jan 1998 03:22:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) X-Received: from jim.htsa.hva.nl (jim.htsa.hva.nl [145.92.12.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA17743 for ; Mon, 19 Jan 1998 03:22:27 -0800 (PST) (envelope-from robinh@jim.htsa.hva.nl) X-Received: from localhost (robinh@localhost) by jim.htsa.hva.nl (8.8.5/8.8.5) with SMTP id MAA06718; Mon, 19 Jan 1998 12:33:02 +0100 (CET) Date: Mon, 19 Jan 1998 12:33:01 +0100 (CET) From: Robin Huiser To: FreeBSD Question List cc: robinh@htsa.hva.nl Subject: MIDI Programming under FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there! I would like to write some MIDI utils for FreeBSD, but... where can I find some information how to use the midi-devices under FreeBSD? Thanks! Robin Huiser Student Computer Science From owner-freebsd-multimedia Wed Jan 21 19:57:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06423 for freebsd-multimedia-outgoing; Wed, 21 Jan 1998 19:57:01 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA06418 for ; Wed, 21 Jan 1998 19:57:00 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id TAA07936; Wed, 21 Jan 1998 19:56:38 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801220356.TAA07936@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Jean-Marc Zucconi cc: aaron@csh.rit.edu, multimedia@FreeBSD.ORG Subject: Re: GUS MAX support broken under 2.2.5-RELEASE? In-reply-to: Your message of "Thu, 22 Jan 1998 03:20:19 +0100." <9801220220.AA21385@cabri.obs-besancon.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jan 1998 19:56:38 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tnks I will look into the problem . There is code in the sound driver to bypass this problem however I rather have the sound driver figure out by itself that is dealing with a gus max and not a gus pnp. Expect a fix before the end of the week. Regards, Amancio From owner-freebsd-multimedia Thu Jan 22 05:59:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA14016 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 05:59:32 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA14011 for ; Thu, 22 Jan 1998 05:59:30 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 22 Jan 1998 8:58:59 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA02262; Thu, 22 Jan 98 08:58:57 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id IAA16531; Thu, 22 Jan 1998 08:57:36 -0500 Received: from ct.picker.com by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA12294; Fri, 16 Jan 1998 21:11:20 -0500 Received: from ns3.harborcom.net ([206.158.4.7]) by ct.picker.com (4.1/SMI-4.1) id AA07858; Fri, 16 Jan 98 21:12:31 EST Received: from hub.freebsd.org [204.216.27.18] by ns3.harborcom.net with esmtp (Exim 1.73 #1) id 0xtNkF-0005Qh-00; Fri, 16 Jan 1998 21:12:23 -0500 Received: from localhost (daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA15132; Thu, 15 Jan 1998 18:58:41 -0800 (PST) (envelope-from owner-freebsd-questions) Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15095 for questions-outgoing; Thu, 15 Jan 1998 18:58:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pili.adn.edu.ph ([165.220.57.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA14982 for ; Thu, 15 Jan 1998 18:57:00 -0800 (PST) (envelope-from art@pili.adn.edu.ph) Received: from localhost (art@localhost) by pili.adn.edu.ph (8.8.7/8.8.7) with SMTP id LAA06661 for ; Fri, 16 Jan 1998 11:06:11 +0800 (PHT) (envelope-from art@pili.adn.edu.ph) Date: Fri, 16 Jan 1998 11:06:11 +0800 (PHT) From: Arthur Alacar Cc: freebsd-questions@FreeBSD.ORG Subject: Video CD In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org what's the program that play Video CD (*.dat)? thanks! .a.r.t. From owner-freebsd-multimedia Thu Jan 22 12:15:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA16664 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 12:15:39 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from araruama.intranet.land.ufrj.br (araruama.nce.ufrj.br [146.164.11.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16657 for ; Thu, 22 Jan 1998 12:15:35 -0800 (PST) (envelope-from luiz@araruama.intranet.land.ufrj.br) Received: (from luiz@localhost) by araruama.intranet.land.ufrj.br (8.8.7/8.8.7) id SAA05193 for multimedia@FreeBSD.ORG; Thu, 22 Jan 1998 18:17:31 -0200 (EDT) (envelope-from luiz) From: Luiz Rogerio Goncalves de Carvalho Message-Id: <199801222017.SAA05193@araruama.intranet.land.ufrj.br> Subject: Problems with OPTi930 To: multimedia@FreeBSD.ORG Date: Thu, 22 Jan 1998 18:17:31 -0200 (EDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello everybody, I'm having problems with OPTi930 in a notebook. I've tried all addresses enabled in win95 environment with no success, the board is not detected at boot time, but sometimes just after booting win95 it detects the opl0 at address 0x388. I'm trying mss0, sb0 and opl0 at the same time, is it correct? I don't have much tips from the manual. Did anybody ever used such a chipset? My notebook is a Magitronic 620 series (pentium 133Mhz 16 Mb RAM 1.4Gb HD) Thanks for any help! Luiz R G de Carvalho -- ------------------------------------------ Luiz Rogerio Goncalves de Carvalho - M.Sc. Computer Science - COPPE/UFRJ e-mail: luiz@land.ufrj.br luiz@cos.ufrj.br From owner-freebsd-multimedia Thu Jan 22 13:41:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23410 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 13:41:20 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA23398 for ; Thu, 22 Jan 1998 13:41:15 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 22 Jan 1998 16:39:54 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19066; Thu, 22 Jan 98 16:39:49 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id QAA20497; Thu, 22 Jan 1998 16:38:23 -0500 Message-Id: <19980122163822.21926@ct.picker.com> Date: Thu, 22 Jan 1998 16:38:22 -0500 From: Randall Hopper To: Reisha & Darrell Basdeo Cc: multimedia@FreeBSD.ORG Subject: Re: Creative Sound Blaster 16 PnP Sound Card and FreeBSD RELEASE 2.2.5 References: <009301bd26ab$1fe7f400$a2411dc4@reisha> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <009301bd26ab$1fe7f400$a2411dc4@reisha>; from Reisha & Darrell Basdeo on Wed, Jan 21, 1998 at 08:26:57PM -0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Reisha & Darrell Basdeo: |Could please provide answers to the questions in the attached file. |I have a Sound Blaster 16 PnP Card and I need to know :- | |1. How to configure it properly? | |2. What drivers to use ? | |3. Specifications to use etc.? | |I did a new custom kernel build which includes the sound card. | |However, the card is still not seen with the recommended device values. | |Could you please offer some assistance? So you're on 2.2.5. No PnP in the dist AFAIK, so you need to grab the PnP code from Luigi's page: http://www.iet.unipi.it/~luigi/FreeBSD.html and set it up. PnP aside, here's what you need in your kernel config file. Tweak IRQs and DMAs to taste: 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 Randall From owner-freebsd-multimedia Thu Jan 22 13:52:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24393 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 13:52:34 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA24388 for ; Thu, 22 Jan 1998 13:52:31 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 22 Jan 1998 16:51:22 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19501; Thu, 22 Jan 98 16:51:20 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id QAA20553; Thu, 22 Jan 1998 16:49:52 -0500 Message-Id: <19980122164952.18560@ct.picker.com> Date: Thu, 22 Jan 1998 16:49:52 -0500 From: Randall Hopper To: Anoneemouse Cc: multimedia@FreeBSD.ORG Subject: Re: pnp code References: <199801191926.LAA20033@sdcc17.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801191926.LAA20033@sdcc17.ucsd.edu>; from Anoneemouse on Mon, Jan 19, 1998 at 11:26:12AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Anoneemouse: |hi, I got the FreeBSD-ISA_PnP_June8.tar.gz, and I configured pnp.c |according to pnpinfo( i have a sb16pnp ). But when I compile the kernel, |pnp.c doesn't compile. I looked at the errors, and most of the errors |seem to be syntax errors in pnp.c. Maybe I got the wrong code..or? |thanks... Go with Luigi's code. It's more current. http://www.iet.unipi.it/~luigi/FreeBSD.html Randall From owner-freebsd-multimedia Thu Jan 22 13:58:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24934 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 13:58:42 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA24929 for ; Thu, 22 Jan 1998 13:58:41 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 22 Jan 1998 16:49:42 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19455; Thu, 22 Jan 98 16:49:40 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id QAA20538; Thu, 22 Jan 1998 16:48:17 -0500 Message-Id: <19980122164817.01432@ct.picker.com> Date: Thu, 22 Jan 1998 16:48:17 -0500 From: Randall Hopper To: Chuck Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Non-functional MM devs References: <199801200354.WAA05819@capecod.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801200354.WAA05819@capecod.net>; from Chuck on Mon, Jan 19, 1998 at 10:54:56PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chuck: |Problem: /dev/audio drives external speakers, but no other soundblaster |devices work. Rosegarden etc. either hang or say devs. are not config'd |or set. Sounds like the 8-bit side's OK, but the rest is toast. IRQ probs? Let's see. |Is there some doc somewhere which describes the use and configuration of |/dev/sequencer0, /dev/music0, /dev/midi0, /dev/mixer0, /dev/dsp0, |/dev/dspW0 etc.? Once you're configed right, there's the old Voxware docs Hannu wrote. I uploaded a copy to Amancio's site a while back: ftp://rah.star-gate.com/pub/snd-sdk-doc-0.1.ps.gz |device snd2 at isa? port 0x220 irq 7 drq 1 vector sbintr |device snd6 at isa? port 0x220 irq 7 drq 5 vector sbintr |device snd7 at isa? port 0x300 |device snd1 at isa? port 0x388 I've made this mistake before. I think you want to whack these. Don't think you said which card you have. I'll assume SB16. |Card config: |SoundBlaster at 0x220 irq 5 drq 1 |SoundBlaster16 at 0x0 irq 65535 drq 5 |SB16 MIDI at 0x330 irq 65535 drq 4294967295 Well, 16-bit audio not working is because your 16-bit IRQ isn't being detected right. I'd comment out all lines you currently have, especially those EXCLUDES, and try just these: 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 Randall From owner-freebsd-multimedia Thu Jan 22 14:01:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25175 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 14:01:11 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA25169 for ; Thu, 22 Jan 1998 14:01:05 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 22 Jan 1998 16:59:56 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19744; Thu, 22 Jan 98 16:59:54 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id QAA20593; Thu, 22 Jan 1998 16:58:27 -0500 Message-Id: <19980122165827.06036@ct.picker.com> Date: Thu, 22 Jan 1998 16:58:27 -0500 From: Randall Hopper To: Vallo Kallaste Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: snd971209.tgz and patching 2.2.5-stable References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Vallo Kallaste on Thu, Jan 15, 1998 at 08:02:33PM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Vallo Kallaste: |At this moment I use Hasty's guspnp package because I use only gusPnP |soundcard. Now I need SB32 PnP support and there are only one way to do |this, or I am wrong, sorry. So I grab the L.Rizzo snd971209.tgz and try |install it on 2.2.5-STABLE. Patching isa.c gives me errors: I don't have a PnP card, but I do have a SB32. Check out: http://multiverse.com/~rhh/awedrv and Conrad's PnP notes linked to the page. Randall From owner-freebsd-multimedia Thu Jan 22 17:41:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA12291 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 17:41:48 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from wakko.efn.org (wakko.efn.org [198.68.17.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA12285 for ; Thu, 22 Jan 1998 17:41:47 -0800 (PST) (envelope-from cjb@efn.org) Received: from person.dyn.ml.org (cjb@dynip231.efn.org [204.214.97.231]) by wakko.efn.org (8.8.8/8.8.8) with SMTP id RAA16343 for ; Thu, 22 Jan 1998 17:39:31 -0800 (PST) Date: Thu, 22 Jan 1998 17:43:27 -0800 (PST) From: Chris Brunner X-Sender: cjb@person.dyn.ml.org Reply-To: cjb@efn.org To: freebsd-multimedia@FreeBSD.ORG Subject: Playing Midi files Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have been trying to get midis to play well in FreeBSD since I got it, but I've had no luck. I set up the VOXWARE stuff all fine and dandy, but midis just sound really, really bad, if they play at all. Sometimes, there is no playback at all, sometimes I get a core dump. When I say they sound really bad, I mean the notes are the wrong instraments or not played, and sound off-tone. I have a SB32 PnP configured with Luigi's PnP driver running on FreeBSD 2.2.5. The card has 2MB of onboard memory for loading soundfonts. Thanks a lot, this problem has been bothering me for the 2 years I've been running FreeBSD. - Chris Brunner - - cjb@efn.org - From owner-freebsd-multimedia Thu Jan 22 18:25:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15704 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 18:25:40 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from greebo.tbs.com.au ([203.39.0.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA15673 for ; Thu, 22 Jan 1998 18:25:12 -0800 (PST) (envelope-from ahodges@tbs.com.au) Received: by greebo.tbs.com.au with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52) id <01BD27F4.3E3E3690@greebo.tbs.com.au>; Fri, 23 Jan 1998 11:44:20 +0930 Message-ID: From: Andrew Hodges To: "'cjb@efn.org'" Cc: "'freebsd-multimedia@FreeBSD.ORG'" Subject: RE: Playing Midi files Date: Fri, 23 Jan 1998 11:44:19 +0930 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris, you have almost the identical setup to me (I don't have the additional memory) I have also tried the drivers from 4Front Technologies the OSS/FreeBSD Drivers. I am not sure if we exhibit the same problems though. I haven't had a core dump, but when I do something like cat xxxxxx.au >/dev/audio it sounds really crappy. I get hissing that doesn;t sound anyhting like it is supposed to. Is this the same sort of thing as you? Regards Andrew Hodges >---------- >From: Chris Brunner[SMTP:cjb@efn.org] >Sent: Friday, January 23, 1998 11:13 AM >To: freebsd-multimedia@FreeBSD.ORG >Subject: Playing Midi files > >I have been trying to get midis to play well in FreeBSD since I got it, >but I've had no luck. I set up the VOXWARE stuff all fine and dandy, but >midis just sound really, really bad, if they play at all. Sometimes, >there is no playback at all, sometimes I get a core dump. When I say they >sound really bad, I mean the notes are the wrong instraments or not >played, and sound off-tone. >I have a SB32 PnP configured with Luigi's PnP driver running on FreeBSD >2.2.5. The card has 2MB of onboard memory for loading soundfonts. >Thanks a lot, this problem has been bothering me for the 2 years I've been >running FreeBSD. > >- Chris Brunner - >- cjb@efn.org - > > From owner-freebsd-multimedia Thu Jan 22 18:53:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18515 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 18:53:52 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from wakko.efn.org (wakko.efn.org [198.68.17.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18506 for ; Thu, 22 Jan 1998 18:53:50 -0800 (PST) (envelope-from cjb@efn.org) Received: from person.dyn.ml.org (cjb@dynip231.efn.org [204.214.97.231]) by wakko.efn.org (8.8.8/8.8.8) with SMTP id SAA00398; Thu, 22 Jan 1998 18:51:32 -0800 (PST) Date: Thu, 22 Jan 1998 18:55:29 -0800 (PST) From: Chris Brunner X-Sender: cjb@person.dyn.ml.org Reply-To: cjb@efn.org To: Andrew Hodges cc: "'freebsd-multimedia@FreeBSD.ORG'" Subject: RE: Playing Midi files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andrew, I also tried the OSS drivers some time ago, but that was on 2.2.1. I don't have any problem with the wave output (i.e. .au, .wav, .mp3, .mod, etc...), but it just those darn midis! Any suggestions? - Chris Brunner - - cjb@efn.org - On Fri, 23 Jan 1998, Andrew Hodges wrote: > Chris, > you have almost the identical setup to me (I don't have the > additional memory) I have also tried the drivers from 4Front > Technologies > the OSS/FreeBSD Drivers. I am not sure if we exhibit the same problems > though. I haven't had a core dump, but when I do something like > > cat xxxxxx.au >/dev/audio it sounds really crappy. I get hissing that > doesn;t sound anyhting like it is supposed to. Is this the same sort of > thing > as you? > > Regards > Andrew Hodges > > > >---------- > >From: Chris Brunner[SMTP:cjb@efn.org] > >Sent: Friday, January 23, 1998 11:13 AM > >To: freebsd-multimedia@FreeBSD.ORG > >Subject: Playing Midi files > > > >I have been trying to get midis to play well in FreeBSD since I got it, > >but I've had no luck. I set up the VOXWARE stuff all fine and dandy, but > >midis just sound really, really bad, if they play at all. Sometimes, > >there is no playback at all, sometimes I get a core dump. When I say they > >sound really bad, I mean the notes are the wrong instraments or not > >played, and sound off-tone. > >I have a SB32 PnP configured with Luigi's PnP driver running on FreeBSD > >2.2.5. The card has 2MB of onboard memory for loading soundfonts. > >Thanks a lot, this problem has been bothering me for the 2 years I've been > >running FreeBSD. > > > >- Chris Brunner - > >- cjb@efn.org - > > > > > > From owner-freebsd-multimedia Thu Jan 22 19:44:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA21854 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 19:44:37 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from bsdx.dyn.ml.org (root@pm335-28.dialip.mich.net [35.9.11.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA21847 for ; Thu, 22 Jan 1998 19:44:34 -0800 (PST) (envelope-from mcdougall@ameritech.net) Received: from ameritech.net (user1@localhost.dyn.ml.org [127.0.0.1]) by bsdx.dyn.ml.org (8.8.8/8.8.7) with ESMTP id WAA00374 for ; Thu, 22 Jan 1998 22:44:23 -0500 (EST) (envelope-from mcdougall@ameritech.net) Message-ID: <34C81217.673DE4D5@ameritech.net> Date: Thu, 22 Jan 1998 22:44:23 -0500 From: Adam McDougall Reply-To: mcdougall@ameritech.net X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: multimedia@FreeBSD.ORG Subject: Re: Playing Midi files References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andrew Hodges wrote: > Chris, > you have almost the identical setup to me (I don't have the > additional memory) I have also tried the drivers from 4Front > Technologies > the OSS/FreeBSD Drivers. I am not sure if we exhibit the same problems > though. I haven't had a core dump, but when I do something like > > cat xxxxxx.au >/dev/audio it sounds really crappy. I get hissing that > doesn;t sound anyhting like it is supposed to. Is this the same sort of > thing > as you? > > Regards > Andrew Hodges > > >---------- > >From: Chris Brunner[SMTP:cjb@efn.org] > >Sent: Friday, January 23, 1998 11:13 AM > >To: freebsd-multimedia@FreeBSD.ORG > >Subject: Playing Midi files > > > >I have been trying to get midis to play well in FreeBSD since I got it, > >but I've had no luck. I set up the VOXWARE stuff all fine and dandy, but > >midis just sound really, really bad, if they play at all. Sometimes, > >there is no playback at all, sometimes I get a core dump. When I say they > >sound really bad, I mean the notes are the wrong instraments or not > >played, and sound off-tone. > >I have a SB32 PnP configured with Luigi's PnP driver running on FreeBSD > >2.2.5. The card has 2MB of onboard memory for loading soundfonts. > >Thanks a lot, this problem has been bothering me for the 2 years I've been > >running FreeBSD. > > > >- Chris Brunner - > >- cjb@efn.org - > > > > > Hmm just for the record, I tried awe with 2 megs under OSS drivers, and moy > > did midis sound like sh**. missing notes (sounded like it had a 2 note > polyphony max instead of 32:P) and notes sounded offtone. Never did get the > > voxware drivers to do the awe at all thought. From owner-freebsd-multimedia Thu Jan 22 19:46:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA21986 for freebsd-multimedia-outgoing; Thu, 22 Jan 1998 19:46:30 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from bsdx.dyn.ml.org (root@pm335-28.dialip.mich.net [35.9.11.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA21977 for ; Thu, 22 Jan 1998 19:46:26 -0800 (PST) (envelope-from mcdougall@ameritech.net) Received: from ameritech.net (user1@localhost.dyn.ml.org [127.0.0.1]) by bsdx.dyn.ml.org (8.8.8/8.8.7) with ESMTP id WAA00383 for ; Thu, 22 Jan 1998 22:46:24 -0500 (EST) (envelope-from mcdougall@ameritech.net) Message-ID: <34C81290.3CED7AE5@ameritech.net> Date: Thu, 22 Jan 1998 22:46:24 -0500 From: Adam McDougall Reply-To: mcdougall@ameritech.net X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: multimedia@FreeBSD.ORG Subject: Re: rvplayer running full out but not moving References: <19980117194956.42276@top.worldcontrol.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org brian@worldcontrol.com wrote: > Ok, I cvsup'd, maked world, etc. Everything is up to the minute > -current. > > Now 'rvplayer welcome.rm' displays the RealPlayer Window and the > very first scene of the sequence. There is no sound. The rvplayer > is running all out consuming CPU time: > Are you sure you have the proper permissions to the sound device? try it as root. I found that if sound itsnt working, it doesnt wanna advance the movie like you said was happening. > 289 brian 82 0 1924K 2236K RUN 31:05 81.10% 81.10% rvplayer > > but nothing is changing on the screen. I can use the location pointer > to move about the sequence manually and the picture changes > appropriately. When I hit the stop button I get a burst of hiss. > If I hit start again, its get stuck at the first scene. If i hit > stop I get the burst of hiss again, and so on. > > cat ring.au or whatever to /dev/audio does what I would expect. > > following is the output from cat /dev/sndstat. > > The all out running without doing anything seems vaguely reminiscient of > a problem I ran into with qmail. When I upgraded to some version of > -current I found qmail-send running all out but otherwise working. I > recompiled qmail and the behavior went away. > > If I rm /dev/dsp /dev/audio I get the same behavior out of rvplayer > except it isn't running all out. It is still stuck, but spends its > time in select. > > Any ideas what is going on? > > VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug 6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com) > Config options: > > Installed drivers: > Type 1: OPL-2/OPL-3 FM > Type 2: SoundBlaster > Type 6: SoundBlaster16 > Type 7: SB16 MIDI > > Card config: > SoundBlaster at 0x220 irq 5 drq 1 > (SoundBlaster16 at 0xffffffff irq 1 drq 5) > (SB16 MIDI at 0x330 irq 1) > OPL-2/OPL-3 FM at 0x388 irq 1 > > Audio devices: > 0: SoundBlaster Pro 3.1 > > Synth devices: > 0: Yamaha OPL-3 > > Midi devices: > 0: SoundBlaster > > Timers: > 0: System clock > > Mixers: > 0: SoundBlaster > > -- > Brian Litzinger From owner-freebsd-multimedia Fri Jan 23 01:10:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA14721 for freebsd-multimedia-outgoing; Fri, 23 Jan 1998 01:10:02 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA14652 for ; Fri, 23 Jan 1998 01:09:51 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA01994 for multimedia@freebsd.org; Fri, 23 Jan 1998 08:38:51 +0100 From: Luigi Rizzo Message-Id: <199801230738.IAA01994@labinfo.iet.unipi.it> Subject: Full duple sound blaster! (Vibra16X and Avance Logic) To: multimedia@FreeBSD.ORG Date: Fri, 23 Jan 1998 08:38:50 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I got a couple of reports from people with a Creative Vibra16X (and a clone) which seem to suggest that their card is able to do true full duplex. The card in question is different from a regular SB16 in that it uses two 8-bit DMA channels. Of course there is no docs on www.creativelabs.com related to this card -- the only thing I could find is a press report announcing the features of the card. There appears to be some documentation on the web server of Avance Logic, which apparently makes a clone of this card. I am downloading the docs right now. I suspect that, to support the new feature, Creative had to slightly change the meaning of some of the bits in the status register. I am going to modify my driver to support this card as well, but I need testers, so those who have one such card and are willing to help please contact me. The cards in questions are: Vibra16X: Vendor ID CTL00f0 (0xf0008c0e), Serial Number 0xffffffff PnP Version 1.0, Vendor Version 16 Device Description: Creative ViBRA16X PnP ASound Plus (Avance Logic chipset ALS0110, ALS100+ or ALS120): Vendor ID ALS0110 (0x10019305), Serial Number 0xffffffff PnP Version 1.0, Vendor Version 0 Device Description: PnP Sound Chip see http://www.realtek.com.tw/cp/cp.html Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Fri Jan 23 07:39:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA11835 for freebsd-multimedia-outgoing; Fri, 23 Jan 1998 07:39:12 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA11822; Fri, 23 Jan 1998 07:39:03 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id PAA02597; Fri, 23 Jan 1998 15:07:54 +0100 From: Luigi Rizzo Message-Id: <199801231407.PAA02597@labinfo.iet.unipi.it> Subject: New snap of sound code To: hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG Date: Fri, 23 Jan 1998 15:07:54 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org A new snap of the sound code is available at http://www.iet.unipi.it/~luigi/FreeBSD.html or http://www.iet.unipi.it/~luigi/snd980123.tgz This version fixes some major bugs which I introduced lately in SBPro/SB16 support. It also works (to some extent) with ESS chips (I need feedback on them -- I only have one ESS1868 card). WSS support should be essentially unmodified. I have also made the driver less verbose. As usual, feedback and bug reports are appreciated. Please note that, due to some network rearrangement, the above server might be offline for some time next week. Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Fri Jan 23 07:58:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA13331 for freebsd-multimedia-outgoing; Fri, 23 Jan 1998 07:58:07 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fanfic.org (fanfic.org [205.150.35.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA13325; Fri, 23 Jan 1998 07:58:04 -0800 (PST) (envelope-from dstenn@fanfic.org) Received: from localhost (dstenn@localhost) by fanfic.org (8.8.8/8.8.8) with SMTP id KAA15446; Fri, 23 Jan 1998 10:57:47 -0500 (EST) (envelope-from dstenn@fanfic.org) Date: Fri, 23 Jan 1998 10:57:43 -0500 (EST) From: Dennis Tenn To: Luigi Rizzo cc: hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: New snap of sound code In-Reply-To: <199801231407.PAA02597@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 23 Jan 1998, Luigi Rizzo wrote: | A new snap of the sound code is available at | | http://www.iet.unipi.it/~luigi/FreeBSD.html or | http://www.iet.unipi.it/~luigi/snd980123.tgz | | This version fixes some major bugs which I introduced lately in | SBPro/SB16 support. It also works (to some extent) with ESS chips | (I need feedback on them -- I only have one ESS1868 card). | WSS support should be essentially unmodified. | I have also made the driver less verbose. | | As usual, feedback and bug reports are appreciated. | | Please note that, due to some network rearrangement, the above server | might be offline for some time next week. Luigi. Will there be any work re:AWE PnP autodetect code? I love the fact that it works but I was wondering if there will be anything done to the code that will make it unnecessary for us to manually enter kernel config mode to enable the card. Just a thought. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dennis Tenn * There will always come a time dstenn@fanfic.org * When your love will be tested * Stand tall and rise to the occasion * For only then will you grow strong. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From owner-freebsd-multimedia Fri Jan 23 08:42:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA17400 for freebsd-multimedia-outgoing; Fri, 23 Jan 1998 08:42:06 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from wakko.visint.co.uk (wakko.visint.co.uk [194.207.134.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17377 for ; Fri, 23 Jan 1998 08:41:59 -0800 (PST) (envelope-from steve@visint.co.uk) Received: from dylan (dylan.visint.co.uk [194.207.134.180]) by wakko.visint.co.uk (8.8.5/8.7.3) with SMTP id QAA09050 for ; Fri, 23 Jan 1998 16:41:44 GMT Date: Fri, 23 Jan 1998 16:42:23 +0000 (GMT) From: Stephen Roome X-Sender: steve@dylan To: multimedia@FreeBSD.ORG Subject: vrml/xswallow etc.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've just found a working plugin for netscape (yikes, I didn't know there were any other than something to do with scheme?!)... called xswallow which will swallow X applications into netscape. I expect loads of people knew about these already but here's a URL... http://skynet.csn.ul.ie/~caolan/docs/Xswallow.html Well, the reason for this was to play with VRML... vrweb-1.3 compiles pretty much out of the box on current. But the port we have is for 1.5, and is broken. (It wasn't looking like it was going to compile manually either.) So, has anyone got liquid reality to work with FreeBSD, I'm having no luck at all and I'd really like to try some vrml2 stuff (vrml.sgi.com looks like they have some stuff worth toying with.) [There is a linux version] If not, anyone know of any other vrml2 browsers that might work with FreeBSD ? Many Thanks in advance, Steve Steve Roome - Vision Interactive Ltd. Tel:+44(0)117 9730597 Home:+44(0)976 241342 WWW: http://dylan.visint.co.uk/ From owner-freebsd-multimedia Fri Jan 23 18:51:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19339 for freebsd-multimedia-outgoing; Fri, 23 Jan 1998 18:51:03 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from doberman.cisco.com (doberman.cisco.com [171.69.1.178]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA19333 for ; Fri, 23 Jan 1998 18:51:02 -0800 (PST) (envelope-from brainey@cisco.com) Received: from brainey-ss20.cisco.com (brainey-ss20.cisco.com [171.69.193.41]) by doberman.cisco.com (8.6.12/8.6.5) with ESMTP id SAA02161; Fri, 23 Jan 1998 18:44:34 -0800 Received: (brainey@localhost) by brainey-ss20.cisco.com (8.6.12/CISCO.WS.1.1) id SAA18335; Fri, 23 Jan 1998 18:44:33 -0800 Date: Fri, 23 Jan 1998 18:44:33 -0800 Message-Id: <199801240244.SAA18335@brainey-ss20.cisco.com> From: Bill Rainey To: freebsd-multimedia@FreeBSD.ORG Subject: Motorola VoiceSurfr modem PnP card seen during Gus Pnp search Reply-to: brainey@cisco.com Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Yesterday I went and got a Motorola VoiceSurfr 56K internal modem PnP ISA Card, ran the setmodem.exe program supplied under DOS to configure the card for COM3, then configured the kernel for COM3 and plugged in the card. COM3 gets recognized okay: sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A but when it gets to the GUS stuff, I got this: Checking for GUS Plug-n-Play ... Board Vendor ID: MOT15f0 Board Serial Number: 056753c0 oops I didnt find gus gus0 at 0x220 irq 15 drq 7 on isa snd0: where I used to get Checking for GUS Plug-n-Play ... Board Vendor ID: GRV0001 Board Serial Number: ffffffff gus0 at 0x220 irq 15 drq 5 flags 0x107 on isa at 0x32c dma 7,5 at 0x220 irq 15 dma 5,7 I can start fxtv or cat au files to /dev/audio without complaint but I have no sound now. My system is a 3.0-971223-SNAP image. I guess the question is - how do I get the guspnp code to get beyond the motorola pnp card and find the guspnp ? Is this a case where I should try Luigi's sound drivers and pnp code ? Any help appreciated, Bill Rainey ================ cat /dev/sndstat ================================= VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug 6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com) Config options: Installed drivers: Type 4: Gravis Ultrasound Card config: Gravis Ultrasound at 0x220 irq 15 drq 7 Audio devices: 0: Gravis UltraSound Synth devices: 0: Gravis UltraSound 2.4 (256k) Midi devices: 0: Gravis UltraSound Midi Timers: 0: System clock 1: GUS Mixers: 0: Gravis Ultrasound ======== dmesg output ============================== CPU: Pentium Pro (199.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x616 Stepping=6 Features=0xf9ff real memory = 134217728 (131072K bytes) avail memory = 127897600 (124900K bytes) Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.2.0 bktr0: rev 0x11 int a irq 11 on pci0.6.0 Hauppauge WinCast/TV, Philips NTSC tuner, dbx stereo. fxp0: rev 0x02 int a irq 11 on pci0.10.0 fxp0: Ethernet address 00:a0:c9:8e:ed:19 vga0: rev 0x01 int a irq 11 on pci0.12.0 ahc0: rev 0x00 int a irq 10 on pci0.14.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0:A:1: refuses WIDE negotiation. Using 8bit transfers sd0 at scbus0 target 1 lun 0 sd0: type 0 removable SCSI 2 sd0: Direct-Access sd0: ILLEGAL REQUEST asc:24,0 Invalid field in CDB sd0 could not mode sense (4). Using ficticious geometry 1021MB (2091050 512 byte sectors) sd1 at scbus0 target 2 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 4345MB (8899737 512 byte sectors) cd0 at scbus0 target 5 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM cd present [332587 x 2048 byte records] chip1: rev 0x04 on pci0.20.0 chip2: rev 0x04 on pci0.25.0 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x2a0 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 5 on isa sio2: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in fd1: 1.2MB 5.25in npx0 on motherboard npx0: INT 16 interface Checking for GUS Plug-n-Play ... Board Vendor ID: MOT15f0 Board Serial Number: 056753c0 oops I didnt find gus gus0 at 0x220 irq 15 drq 7 on isa snd0: ---------------------------------------------------------- ============= my config file ============================= # # AVATAR -- PentiumPro machine with AHx family disks # machine "i386" cpu "I686_CPU" ident AVATAR maxusers 10 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options USER_LDT #allow user-level control of i386 ldt options SYSVSHM options SYSVSEM options SYSVMSG config kernel root on wd0 controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 tape ft0 at fdc0 drive 2 controller ahc0 controller scbus0 device sd0 device od0 #See LINT for possible `od' options. device st0 device cd0 #Only need one of these, the code dynamically grows device pt0 at scbus0 #HP Scanner device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options XSERVER # include code for XFree86 device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device apm0 at isa? disable flags 0x31 # Advanced Power Management device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr device fxp0 # # Video Capture Cards # device bktr0 # Controls all sound devices controller snd0 device gus0 at isa? vector gusintr pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device bpfilter 8 #Berkeley packet filter pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's options KTRACE #kernel tracing From owner-freebsd-multimedia Sat Jan 24 01:31:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23986 for freebsd-multimedia-outgoing; Sat, 24 Jan 1998 01:31:26 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA23980 for ; Sat, 24 Jan 1998 01:31:19 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA03880; Sat, 24 Jan 1998 06:16:38 +0100 From: Luigi Rizzo Message-Id: <199801240516.GAA03880@labinfo.iet.unipi.it> Subject: Re: Motorola VoiceSurfr modem PnP card seen during Gus Pnp search To: brainey@cisco.com Date: Sat, 24 Jan 1998 06:16:37 +0100 (MET) Cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <199801240244.SAA18335@brainey-ss20.cisco.com> from "Bill Rainey" at Jan 23, 98 06:44:14 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > Yesterday I went and got a Motorola VoiceSurfr 56K internal > modem PnP ISA Card, ran the setmodem.exe program supplied under DOS to ... > but when it gets to the GUS stuff, I got this: ... > I guess the question is - how do I get the guspnp code to get beyond > the motorola pnp card and find the guspnp ? Is this a case where I > should try Luigi's sound drivers and pnp code ? probably. As a matter of fact, the problem is that guspnp does its own PnP handling and from your report it appears to be pretty unflexible in that it only expects one PnP device, and that should be the GUS. For sure you should get my pnp code (and since it's in -current since october or so, all you need is to put "controller pnp" into your kernel config file and do the usual stuff. As a bonus that will save you the need to configure the card through DOS, but you will be able to use boot -c for that -- see man pnp for details. As for the sound driver, if you use mine, you will only be able to use the audio capabilities of the gus -- no midi, no synth. Maybe that's enough for you, as it is for me and many others. Otherwise, you should try and see if there can be some integration between the guspnp code and my pnp support (basically it requires to remove the pnp setup code from guspnp, and use my routines instead to _read_ the status of the guspnp at attach time. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Sat Jan 24 01:48:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25049 for freebsd-multimedia-outgoing; Sat, 24 Jan 1998 01:48:17 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from w2xo.pgh.pa.us (w2xo.pgh.pa.us [206.210.70.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25044 for ; Sat, 24 Jan 1998 01:48:15 -0800 (PST) (envelope-from durham@w2xo.pgh.pa.us) Received: (from durham@localhost) by w2xo.pgh.pa.us (8.8.8/8.8.8) id AAA11019; Sat, 24 Jan 1998 00:19:57 -0500 (EST) (envelope-from durham) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sat, 24 Jan 1998 00:19:56 -0500 (EST) Organization: Dis- From: Jim Durham To: Chris Brunner Subject: RE: Playing Midi files Cc: freebsd-multimedia@FreeBSD.ORG Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 23-Jan-98 Chris Brunner wrote: > I have been trying to get midis to play well in FreeBSD since I got it, > but I've had no luck. I set up the VOXWARE stuff all fine and dandy, but > midis just sound really, really bad, if they play at all. Sometimes, > there is no playback at all, sometimes I get a core dump. When I say they > sound really bad, I mean the notes are the wrong instraments or not > played, and sound off-tone. > I have a SB32 PnP configured with Luigi's PnP driver running on FreeBSD > 2.2.5. The card has 2MB of onboard memory for loading soundfonts. Have you tried the timidity port? I'm pretty impressed with it. It translates midi to wave, pcm, or raw and also plays it directly using /dev/dsp. It sounds much better than the other midi players with which I had been playing. One nice feature is that you can then use the real audio encoder to encode the file produced by timidity, if you choose raw or wave output. regards, Jim Durham Jim Durham From owner-freebsd-multimedia Sat Jan 24 09:31:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27262 for freebsd-multimedia-outgoing; Sat, 24 Jan 1998 09:31:06 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA27257; Sat, 24 Jan 1998 09:31:04 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA04453; Sat, 24 Jan 1998 16:17:48 +0100 From: Luigi Rizzo Message-Id: <199801241517.QAA04453@labinfo.iet.unipi.it> Subject: Re: New snap of sound code To: dstenn@fanfic.org (Dennis Tenn) Date: Sat, 24 Jan 1998 16:17:48 +0100 (MET) Cc: hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG In-Reply-To: from "Dennis Tenn" at Jan 23, 98 10:57:24 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Luigi. > > Will there be any work re:AWE PnP autodetect code? I love the fact that > it works but I was wondering if there will be anything done to the code > that will make it unnecessary for us to manually enter kernel config mode > to enable the card. Just a thought. considering that PnP autodetect requires quite some effort in the code (to retrieve used resources from BIOS and check for conflicts with legacy ISA devices, and then it might still fail as it does in many BIOSes) and that with the "dset" patches the manual configuration only needs to be done once (and can be put in /kernel.config), I don't plan to put any work on this. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Sat Jan 24 12:00:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08225 for freebsd-multimedia-outgoing; Sat, 24 Jan 1998 12:00:33 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from wakko.efn.org (wakko.efn.org [198.68.17.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08213 for ; Sat, 24 Jan 1998 12:00:25 -0800 (PST) (envelope-from cjb@efn.org) Received: from person.dyn.ml.org (cjb@dynip244.efn.org [204.214.97.244]) by wakko.efn.org (8.8.8/8.8.8) with SMTP id LAA28043 for ; Sat, 24 Jan 1998 11:58:09 -0800 (PST) Date: Sat, 24 Jan 1998 12:02:04 -0800 (PST) From: Chris Brunner X-Sender: cjb@person.dyn.ml.org Reply-To: cjb@efn.org To: freebsd-multimedia@FreeBSD.ORG Subject: Timidity problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am attempting to run the timidity program, because I've been unsuccessful in getting midi to play any other way in FreeBSD-2.2.5. I get errors like Drum set 6 is undefined when playing a midi file and it sounds really distorted, messed up, almost totally unrecognisable. Sometimes it quits out, sometimes there is not error, but it never plays right. Any help would be appreciated. - Chris Brunner - - cjb@efn.org - From owner-freebsd-multimedia Sat Jan 24 16:00:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24588 for freebsd-multimedia-outgoing; Sat, 24 Jan 1998 16:00:51 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from word.smith.net.au (ppp6.portal.net.au [202.12.71.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24572; Sat, 24 Jan 1998 16:00:43 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id KAA00352; Sun, 25 Jan 1998 10:23:09 +1030 (CST) Message-Id: <199801242353.KAA00352@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Luigi Rizzo cc: dstenn@fanfic.org (Dennis Tenn), hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: New snap of sound code In-reply-to: Your message of "Sat, 24 Jan 1998 16:17:48 BST." <199801241517.QAA04453@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 25 Jan 1998 10:23:09 +1030 From: Mike Smith Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Will there be any work re:AWE PnP autodetect code? I love the fact that > > it works but I was wondering if there will be anything done to the code > > that will make it unnecessary for us to manually enter kernel config mode > > to enable the card. Just a thought. > > considering that PnP autodetect requires quite some effort in the > code (to retrieve used resources from BIOS and check for conflicts > with legacy ISA devices, and then it might still fail as it does > in many BIOSes) and that with the "dset" patches the manual > configuration only needs to be done once (and can be put in > /kernel.config), I don't plan to put any work on this. ... but if anyone does I would be more than happy to pass on the information I have assembled to date on what is required (and such fragments of code as I have for this). The real challenge (for me at any rate) is dealing with calling the BIOS. If you're an x86 stud that's looking for a neat challenge, I could do with some help. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-multimedia Sat Jan 24 21:38:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14972 for freebsd-multimedia-outgoing; Sat, 24 Jan 1998 21:38:58 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from wakko.efn.org (wakko.efn.org [198.68.17.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA14967 for ; Sat, 24 Jan 1998 21:38:56 -0800 (PST) (envelope-from cjb@efn.org) Received: from person.dyn.ml.org (cjb@dynip225.efn.org [204.214.97.225]) by wakko.efn.org (8.8.8/8.8.8) with SMTP id VAA19890; Sat, 24 Jan 1998 21:36:52 -0800 (PST) Date: Sat, 24 Jan 1998 21:40:52 -0800 (PST) From: Chris Brunner X-Sender: cjb@person.dyn.ml.org Reply-To: cjb@efn.org To: Jim Durham cc: freebsd-multimedia@FreeBSD.ORG Subject: RE: Playing Midi files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I can't claim to know very much, as I just discovered it myself, but > it has "pattern" files for all the instruments in /usr/local/lib/timidity/patch. > I assume these are samples of the instrument waveform. Yes, I think that's how it does it. Ever heard of a DOS program called Cubic Player? Does the same thing. > Only thing I can suggest is check IRQ's and DMA's carefully. ALso, make > sure you have all the special files by doing sh MAKEDEV snd0 in /dev. > Maybe something is hosed there? All the "0" devices should have a link > to the master device name, like dsp0 should link to dsp. You probably > have checked this stuff, but just in case... I don't think that's it. I can play other formats fine, like mod, wav, mp3, etc., it's just the midis that I have trouble with. > If all that fails, perhaps it's something incompatable in the 2.2.5 > sound driver. However, I used to do midi on 2.2.1 using "playmidi" and > had fairly good results...not as good as timidity. Really? You got playmidi to work? I was never able to do so satisfactorally. It sounded REALLY REALLY bad. Unlistenably so. Sounded like it was going to crash or something. Thanks a lot! Chris Brunner cjb@efn.org