From owner-freebsd-multimedia Sun Apr 12 18:38:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04256 for freebsd-multimedia-outgoing; Sun, 12 Apr 1998 18:38:57 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from friley63.res.iastate.edu (friley63.res.iastate.edu [129.186.189.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04247 for ; Sun, 12 Apr 1998 18:38:55 -0700 (PDT) (envelope-from mystify@friley63.res.iastate.edu) Received: from friley63.res.iastate.edu (loopback [127.0.0.1]) by friley63.res.iastate.edu (8.8.8/8.8.5) with ESMTP id UAA07841 for ; Sun, 12 Apr 1998 20:38:55 -0500 (CDT) Message-Id: <199804130138.UAA07841@friley63.res.iastate.edu> To: freebsd-multimedia@FreeBSD.ORG Subject: SoundBlaster PCI 64 support Date: Sun, 12 Apr 1998 20:38:55 -0500 From: Patrick Hartling Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What kind of support is available for the Creative Labs SB PCI 64? It claims to emulate ISA SoundBlasters, so does that mean it will work with the current drivers? Thanks. -Patrick Patrick L. Hartling | Research Assistant, ICEMT mystify@friley63.res.iastate.edu | SE Lab - 1117 Black Engineering http://www.public.iastate.edu/~oz | http://www.icemt.iastate.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 01:17:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01593 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 01:17:14 -0700 (PDT) (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 BAA01588 for ; Mon, 13 Apr 1998 01:17:12 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA00875; Mon, 13 Apr 1998 08:36:17 +0200 From: Luigi Rizzo Message-Id: <199804130636.IAA00875@labinfo.iet.unipi.it> Subject: Re: SoundBlaster PCI 64 support To: mystify@friley63.res.iastate.edu (Patrick Hartling) Date: Mon, 13 Apr 1998 08:36:16 +0200 (MET DST) Cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <199804130138.UAA07841@friley63.res.iastate.edu> from "Patrick Hartling" at Apr 12, 98 08:38:36 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > What kind of support is available for the Creative Labs SB PCI 64? It claims > to emulate ISA SoundBlasters, so does that mean it will work with the current i may be comp;etely wrong, but i doubt a pci card can emulate an ISA device at low level -- it cannot access the ISA DMA controller, the ISA port addressing space (0..0x3ff) etc. I think the "emulation" is only at very high level, i.e. "it produces sound" and perhaps has the same high level API (DirectAudio ?). Because there are so many people buying Soundblaster cards "because they are a standard" the marketing people at Creative Labs is forced NOT to tell the truth -- the card is a completely different one from the ISA one... hopefully it is not as bad as the real one... 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 01:24:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA02257 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 01:24:02 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA02243 for ; Mon, 13 Apr 1998 01:24:00 -0700 (PDT) (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 BAA20942; Mon, 13 Apr 1998 01:23:47 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804130823.BAA20942@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Luigi Rizzo cc: mystify@friley63.res.iastate.edu (Patrick Hartling), freebsd-multimedia@FreeBSD.ORG Subject: Re: SoundBlaster PCI 64 support In-reply-to: Your message of "Mon, 13 Apr 1998 08:36:16 +0200." <199804130636.IAA00875@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 13 Apr 1998 01:23:47 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Guys, Yes it is possible to emulate the sound blaster in a PCI card and that feature is nice however is also nice to provide a way to disable the sound blaster emulation --- for instance, is nice to support multiple sound cards and not have the sound cards eat up all your system resources, irqs, dma channels, is nice to not have to rely on the old dma mode,etc... Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 07:47:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06412 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 07:47:52 -0700 (PDT) (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 OAA06407 for ; Mon, 13 Apr 1998 14:47:47 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id PAA01087; Mon, 13 Apr 1998 15:06:55 +0200 From: Luigi Rizzo Message-Id: <199804131306.PAA01087@labinfo.iet.unipi.it> Subject: Re: SoundBlaster PCI 64 support To: hasty@rah.star-gate.com (Amancio Hasty) Date: Mon, 13 Apr 1998 15:06:55 +0200 (MET DST) Cc: mystify@friley63.res.iastate.edu, freebsd-multimedia@FreeBSD.ORG In-Reply-To: <199804130823.BAA20942@rah.star-gate.com> from "Amancio Hasty" at Apr 13, 98 01:23:28 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi Guys, > > Yes it is possible to emulate the sound blaster in a PCI card and that at that level is this emulation ? I am curious... can a PCI card access the ISA DMA controller ? 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 08:57:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA19469 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 08:57:13 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from north.lcs.mit.edu (north.lcs.mit.edu [18.26.0.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA19459 for ; Mon, 13 Apr 1998 15:57:10 GMT (envelope-from mjh@north.lcs.mit.edu) Received: from north.lcs.mit.edu by north.lcs.mit.edu (SMI-8.6/SMI-SVR4) id LAA14829; Mon, 13 Apr 1998 11:57:03 -0400 From: Mark Handley X-Organisation: Information Sciences Institute, USC X-Phone: +1 617 253 6011 To: mbone@isi.edu cc: freebsd-multimedia@FreeBSD.ORG Subject: FreeBSD Mbone "terminal" Date: Mon, 13 Apr 1998 11:57:03 -0400 Message-ID: <14827.892483023@north.lcs.mit.edu> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [I think this solution might be useful for others, hence mailing the list] I have an Mbone machine using a cable modem as my access link, but anyone using ISDN/PPP might have the same requirement - to have an Mbone tunnel, but not to source native multicast onto any interface. In my case it's because I don't want to pump multicast packets into my cable modem, but in the ISDN case it may be because you don't have a multicast capable interface at all. In any event, the solution I've ended up with is to configure a multicast capable FreeBSD "discard" interface, and to set the route for 224/4 to point there. To do this you need to patch if_disc.c to not set IFF_LOOPBACK. I.e., change: ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST; to ifp->if_flags = IFF_MULTICAST | IFF_BROADCAST; and then build the kernel with: #discard interface for multicast packets pseudo-device disc 1 Now I have a machine that runs mrouted happily, and sends and receives via the tunnel on its physical interface, but that never sends native multicast packets anywhere. Thanks to Bill Fenner and Garrett Wollman for helping me figure this out! Cheers, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 09:26:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25659 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 09:26:56 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from north.lcs.mit.edu (north.lcs.mit.edu [18.26.0.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA25652 for ; Mon, 13 Apr 1998 16:26:54 GMT (envelope-from mjh@north.lcs.mit.edu) Received: from north.lcs.mit.edu by north.lcs.mit.edu (SMI-8.6/SMI-SVR4) id MAA14877; Mon, 13 Apr 1998 12:26:39 -0400 From: Mark Handley X-Organisation: Information Sciences Institute, USC X-Phone: +1 617 253 6011 To: freebsd-multimedia@FreeBSD.ORG Subject: vic, image corruption with Wincast/TV card Date: Mon, 13 Apr 1998 12:26:39 -0400 Message-ID: <14875.892484799@north.lcs.mit.edu> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm running vic 2.8 built with a grabber-meteor.cc I obtained from UCL using a Wincast/TV card and FreeBSD 2.2.6-RELEASE. Only problem is that I'm getting corruption of the captured image. This only seems to happen when the frame rate is limited by the frame rate limiter and not the bandwidth limiter. Given that I can control it on the bandwidth slider alone, this isn't a big deal, but I'm still puzzled. Three questions: - has anyone seen this before? - can someone point me at a version of grabber-meteor.cc that they think works OK with BT848 cards? - is there a later version of the BT848 driver than the one in 2.2.6-RELEASE and 3.0-CURRENT? Thanks, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 10:10:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08006 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 10:10:37 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from fearme.com (root@fearme.com [206.14.225.195]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07995 for ; Mon, 13 Apr 1998 17:10:32 GMT (envelope-from aaronx@fearme.com) Received: from pm35s26.intergate.bc.ca (praxis@pm35s26.intergate.bc.ca [207.194.173.235]) by fearme.com (8.8.7/8.8.7) with SMTP id KAA18559 for ; Mon, 13 Apr 1998 10:10:40 -0700 (PDT) (envelope-from aaronx@fearme.com) Received: by pm35s26.intergate.bc.ca with Microsoft Mail id <01BD66C4.C18E6600@pm35s26.intergate.bc.ca>; Mon, 13 Apr 1998 10:13:08 -0700 Message-ID: <01BD66C4.C18E6600@pm35s26.intergate.bc.ca> From: Aaron Yeung To: "'multimedia@freebsd.org'" Subject: soundblaster 16 pnp Date: Mon, 13 Apr 1998 10:13:05 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id RAA07998 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have FreeBSD 2.2.6, and I just tried recompiling my kernel to add sound (sb16pnp), I keep getting errors saying that it's not where it specified it as. I did a dmesg > output and moved that to my win95 partition (below). A friend of mine, told me to assign pnp resources at the Boot: prompt, but I'm unsure what to do. (For the kernel, I added pnp0 and snd0 controllers, sbxvi0, sb0 and opl0 devices) Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.6-RELEASE #0: Mon Apr 13 09:36:45 PDT 1998 root@praxis.aaronx:/usr/src/sys/compile/PRAXIS CPU: Pentium (208.81-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf real memory = 33554432 (32768K bytes) avail memory = 30429184 (29716K bytes) Probing for devices on PCI bus 0: chip0 rev 3 on pci0:0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 vga0 rev 154 on pci0:12:0 Probing for PnP devices: CSN 1 Vendor ID: SUP1381 [0x8113b04e] Serial 0x000b2772 CSN 1 is disabled. CSN 2 Vendor ID: CTL0070 [0x70008c0e] Serial 0xffffffff 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 0x280 fe0 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 not found at 0x2f8 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff mse0 not found at 0x23c psm0 not found at 0x60 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, intr, iordis aha0 not found at 0x330 aic0 not found at 0x340 wt0 not found at 0x300 mcd0 not found at 0x300 matcdc0 not found at 0x230 scd0 not found at 0x230 ie0: unknown board_id: f000 ie0 not found at 0x300 ep0 not found at 0x300 ex0 not found at 0xffffffff le0 not found at 0x300 lnc0 not found at 0x280 ze0 not found at 0x300 zp0 not found at 0x300 sbxvi0 not found sb0 not found at 0x220 sbmidi0 not found at 0x330 opl0 not found at 0x388 joy0 at 0x201 on isa joy0: joystick npx0 flags 0x1 on motherboard npx0: INT 16 interface Intel Pentium F00F detected, installing workaround IP packet filtering initialized, divert disabled, logging limited to 10 packets/entry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 10:15:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08940 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 10:15:30 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from narshe.chocobo.org (ianj@wan1.chocobo.org [207.173.132.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08929; Mon, 13 Apr 1998 17:15:22 GMT (envelope-from ianj@chocobo.org) Received: from localhost (ianj@localhost) by narshe.chocobo.org (8.8.8-ChocoboNet/8.8.8) with SMTP id KAA21430; Mon, 13 Apr 1998 10:14:57 -0700 Date: Mon, 13 Apr 1998 10:14:57 -0700 (PDT) From: Ian Justman To: jkh@FreeBSD.ORG cc: multimedia@FreeBSD.ORG Subject: MPU-401 driver 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 Hello. I recently have been working on 2.2.6, and I noticed that in the docfile for the stock (rather than the "new") sound card driver, you mention that the MPU-401 code remains untested as you (and those you know) do not have MPU-401-compatible hardware. I have tried using it with a standalone wavetable card which looks like an MPU-401 MIDI card along with a FreeBSD-patched version of Playmidi. It pagefaults my kernel. You further mention that you would like to hear from users who have MPU-401-compatible hardware. This is your golden opportunity! :) Please send me information you require so I can assist in getting this driver to work. Incidentally, I have gotten the same card to work under Linux just fine. I hope I can be of help. --Ian. ----- Ian R. Justman Postmaster, System Administrator, ChocoboNet ianj@chocobo.org (home) ianj@calweb.com (work) NIC handle: IJ12 Try EsperNet IRC! Small and personal! irc.esper.net port 5555 takes you to a random server Admin of chocobo.esper.net, ports 5555, 6666-6669, 7000, Nick: "IJ" EsperNet Postmaster To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 11:21:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21517 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 11:21:43 -0700 (PDT) (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 SAA21512 for ; Mon, 13 Apr 1998 18:21:39 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA01434; Mon, 13 Apr 1998 18:41:05 +0200 From: Luigi Rizzo Message-Id: <199804131641.SAA01434@labinfo.iet.unipi.it> Subject: MAD16 based soundcard support (fwd) To: multimedia@FreeBSD.ORG Date: Mon, 13 Apr 1998 18:41:05 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I receive this from Vladimir and am glad to forward it to the group per his request. Have not looked at the code. cheers luigi Forwarded message: > From cbah@chez.com Mon Apr 13 17:56:09 1998 > Message-Id: <199804131736.UAA02476@storage.delta.odessa.ua> > From: "Vladimir N.Silyaev" > To: "l.rizzo@iet.unipi.it" > Date: Mon, 13 Apr 98 20:36:42 +0200 > Reply-To: "cbah@chez.com" > Priority: Normal > X-Mailer: PMMail 1.95a For OS/2 > MIME-Version: 1.0 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: 7bit > Subject: MAD16 based soundcard support > > Hi! > > Now at ftp://ftp.freebsd.org/pub/FreeBSD/incoming/sound_mad16_01.tar.gz > avaliable patches for FreeBSD new sound drivers for support MAD16 based > soundcard. > > With best regards, > V.Silyaev > > P.S. Please forward this message to FreeBSD mailing list. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 12:51:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04593 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 12:51:53 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from postoffice.cisco.com (postoffice-lane0.cisco.com [171.69.197.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA04560 for ; Mon, 13 Apr 1998 19:51:51 GMT (envelope-from deering@cisco.com) Received: from [171.69.199.124] (deering-mac.cisco.com [171.69.199.124]) by postoffice.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id MAA18742; Mon, 13 Apr 1998 12:50:47 -0700 (PDT) X-Sender: deering@postoffice.cisco.com Message-Id: In-Reply-To: <14827.892483023@north.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 13 Apr 1998 12:52:06 -0700 To: Mark Handley From: Steve Deering Subject: Re: FreeBSD Mbone "terminal" Cc: mbone@ISI.EDU, freebsd-multimedia@FreeBSD.ORG Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 8:57 AM -0700 4/13/98, Mark Handley wrote: > In any event, the solution I've ended up with is to configure a > multicast capable FreeBSD "discard" interface, and to set the route > for 224/4 to point there. > > To do this you need to patch if_disc.c to not set IFF_LOOPBACK. > I.e., change: > ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST; > to > ifp->if_flags = IFF_MULTICAST | IFF_BROADCAST; > > and then build the kernel with: > #discard interface for multicast packets > pseudo-device disc 1 Don't you also have to assign a legal, global address and subnet mask to the discard interface, so there's an address to put in the source field of multicast packets orginating there, and a subnet number (perhaps a /32) for mrouted to advertise? Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 12:59:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA05663 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 12:59:44 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from colossus.dyn.ml.org (root@pm5-24.sba1.avtel.net [207.71.222.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05657 for ; Mon, 13 Apr 1998 19:59:41 GMT (envelope-from dburr@colossus.dyn.ml.org) Received: (from dburr@localhost) by colossus.dyn.ml.org (8.8.8/8.8.7) id LAA15998; Mon, 13 Apr 1998 11:53:01 -0700 (PDT) (envelope-from dburr) 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: <01BD66C4.C18E6600@pm35s26.intergate.bc.ca> Date: Mon, 13 Apr 1998 11:52:58 -0700 (PDT) Organization: Computer Help From: Donald Burr To: Aaron Yeung Subject: RE: soundblaster 16 pnp Cc: "multimedia@freebsd.org" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- My secret spy satellite informs me that on 13-Apr-98, Aaron Yeung wrote: > Hi, > > I have FreeBSD 2.2.6, and I just tried recompiling my kernel to add > sound (sb16pnp), I keep getting errors saying that it's not where it > specified it as. I did a dmesg > output and moved that to my win95 > partition (below). > A friend of mine, told me to assign pnp resources at the Boot: prompt, > but I'm unsure what to do. It looks like you have the pnp0 (Plug n play) device in your kernel, but not the pcm0 (luigi sound driver) code. Delete all of the "snd0" devices, including snd0, sb0, sbxvi0, sbmidi0, etc., and add the pcm0 device (see the LINT file for usage information). This will cause the PnP code to automatically configure and attach the sound devices correctly for you. - --- Donald Burr - Ask me for my PGP key | PGP: Your WWW HomePage: http://DonaldBurr.base.org/ ICQ #1347455 | right to Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | 'Net privacy. Phone: (805) 957-9666 FAX: (800) 492-5954 | USE IT. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNTJfCvjpixuAwagxAQHI+wQAhhY1P98n8fuTqrzGWtIkpUYehIKnxzWD qJlZJGbCF661i1f7vMHQ3ZMpXokw0BBsFM34Geus5Q4dkLHDyD5TvVMogJl3V/ZC wlTYHgtIBIzjSr0OVkPsVNIUcbyNK37QiIUzI7YYlBYfl3aEsFH69zR3lqIkLi63 2mZGEt5lsUE= =2E+p -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 13:46:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14584 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 13:46:23 -0700 (PDT) (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 UAA14577 for ; Mon, 13 Apr 1998 20:46:21 GMT (envelope-from perlsta@cs.sunyit.edu) Received: from win95.local.sunyit.edu (A-T34.rh.sunyit.edu [150.156.210.241]) by fang.cs.sunyit.edu (8.8.5/8.7.3) with SMTP id PAA02343 for ; Mon, 13 Apr 1998 15:47:51 GMT Message-ID: <007801bd671c$97996680$0600a8c0@win95.local.sunyit.edu> From: "Alfred Perlstein" To: Subject: has anyone looked into a hard reset on ATAPI cdroms? Date: Mon, 13 Apr 1998 16:41:53 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 i'm looking into implementing a hard reset on ATAPI cdroms, the current way of "doing" it is just waiting for the device to unwedge itself, which is kinda silly imo (at least from what i understand from the Fbsd code) (the reason i'm trying this is cause if you manually mess with the eject button the or play button on a ATAPI cdrom, the driver gets all confused it seems, or out of sync with the cdrom) i took a peek at the linux kernel and they have a #define for the atapi reset in there: /* special command codes for strategy routine. */ #define PACKET_COMMAND 4315 #define REQUEST_SENSE_COMMAND 4316 #define RESET_DRIVE_COMMAND 4317 <===== HERE!!! /* Some ATAPI command opcodes (just like SCSI). (Some other cdrom-specific codes are in cdrom.h.) */ #define TEST_UNIT_READY 0x00 #define REQUEST_SENSE 0x03 does that look like a real atapi opcode? cause i'm having a hard time tracing through the spagetti mess of code in there.... what they seem to do is: 1) try reset, and sleep pending i *think* an IRQ 2) if the watch expires they hard reset the IDE bus 3) if the reset returns then it's ok. also, anyone know what function/series of functions in the kernel i would have to call to hard reset the drives on an IDE bus? would that violate some level of code? anyhow back to squinting at the 2 source trees, thank you -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 14:00:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17463 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 14:00:47 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from north.lcs.mit.edu (north.lcs.mit.edu [18.26.0.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA17458 for ; Mon, 13 Apr 1998 21:00:44 GMT (envelope-from mjh@north.lcs.mit.edu) Received: from north.lcs.mit.edu by north.lcs.mit.edu (SMI-8.6/SMI-SVR4) id RAA15616; Mon, 13 Apr 1998 17:00:31 -0400 From: Mark Handley X-Organisation: Information Sciences Institute, USC X-Phone: +1 617 253 6011 To: Steve Deering cc: mbone@ISI.EDU, freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD Mbone "terminal" In-reply-to: Your message of "Mon, 13 Apr 1998 12:52:06 PDT." Date: Mon, 13 Apr 1998 17:00:31 -0400 Message-ID: <15614.892501231@north.lcs.mit.edu> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Don't you also have to assign a legal, global address and subnet mask to >the discard interface, so there's an address to put in the source field >of multicast packets orginating there, and a subnet number (perhaps a /32) >for mrouted to advertise? Yes, you do need to do this. I originally advertised a net-10 address (for testing) but this is a bad idea for production as some people rightly filter it, so now I've got a real /30 subnet address. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 14:01:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17531 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 14:01:13 -0700 (PDT) (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 VAA17525 for ; Mon, 13 Apr 1998 21:01:11 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA01557; Mon, 13 Apr 1998 21:19:46 +0200 From: Luigi Rizzo Message-Id: <199804131919.VAA01557@labinfo.iet.unipi.it> Subject: Re: has anyone looked into a hard reset on ATAPI cdroms? To: perlsta@cs.sunyit.edu (Alfred Perlstein) Date: Mon, 13 Apr 1998 21:19:46 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: <007801bd671c$97996680$0600a8c0@win95.local.sunyit.edu> from "Alfred Perlstein" at Apr 13, 98 04:41:34 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > i'm looking into implementing a hard reset on ATAPI cdroms, > the current way of "doing" it is just waiting for the device to unwedge > itself, which is kinda silly imo (at least from what i understand from the > Fbsd code) > > (the reason i'm trying this is cause if you manually mess with the eject > button the or play button on a ATAPI cdrom, the driver gets all confused it > seems, or out of sync with the cdrom) right... > what they seem to do is: > 1) try reset, and sleep pending i *think* an IRQ > 2) if the watch expires they hard reset the IDE bus > 3) if the reset returns then it's ok. > > also, anyone know what function/series of functions in the kernel i would > have to call to hard reset the drives on an IDE bus? would that violate > some level of code? in our atapi code there is no watchdog, so there is no chance you can call your hard reset. The wd driver _does_ have a watchdog, so you could see how it is done there and implement the same functionality in the atapi driver. Should not be hard, I looked at it in december, but was hoping that someone more knowledgeable than me in the internals of the wd/atapi drivers would have the time to implement it or at least give some good advice... In any case i am under the impression that you don't need any strange atapi command, just reset the IDE bus on a timeout same as it is done in the wd driver. I seem to remember that you need to add a reference to the IDE bus in the atapi device descriptor, so you know which bus to reset and which other device might be affected. The logic to assign unit numbers to atapi (or wcd ?) devices looked a bit involved when i looked at it. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 14:05:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18397 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 14:05:03 -0700 (PDT) (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 VAA18378 for ; Mon, 13 Apr 1998 21:04:58 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA01582; Mon, 13 Apr 1998 21:24:17 +0200 From: Luigi Rizzo Message-Id: <199804131924.VAA01582@labinfo.iet.unipi.it> Subject: Re: FreeBSD Mbone "terminal" To: deering@cisco.com (Steve Deering) Date: Mon, 13 Apr 1998 21:24:16 +0200 (MET DST) Cc: mjh@ISI.EDU, mbone@ISI.EDU, freebsd-multimedia@FreeBSD.ORG In-Reply-To: from "Steve Deering" at Apr 13, 98 12:51:47 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Don't you also have to assign a legal, global address and subnet mask to > the discard interface, so there's an address to put in the source field > of multicast packets orginating there, and a subnet number (perhaps a /32) > for mrouted to advertise? good point... i was just asking mark if a source on a 10.X.Y.Z subnet was visible from the outside, since I and possibly others use such addresses for experiments. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 16:21:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21572 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 16:21:50 -0700 (PDT) (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 XAA21545 for ; Mon, 13 Apr 1998 23:21:44 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id QAA05872; Mon, 13 Apr 1998 16:21:37 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 13 Apr 1998 16:21:37 -0700 (PDT) From: Doug White Reply-To: Doug White To: Luigi Rizzo cc: multimedia@FreeBSD.ORG Subject: Re: New patches for VIC In-Reply-To: <199804101611.SAA08375@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, 10 Apr 1998, Luigi Rizzo wrote: > [apologies to the people in Bcc if they receive this twice -- but I am > hoping them can test, enhance and possibly commit some of this stuff...] > > I have put up a set of patches for vic -- as in the 2.2.6-RELEASE port > (i suppose this is also the one in -current). Where are these? I'd be happy to test them. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Apr 13 16:23:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22270 for freebsd-multimedia-outgoing; Mon, 13 Apr 1998 16:23:20 -0700 (PDT) (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 XAA22225 for ; Mon, 13 Apr 1998 23:23:15 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id QAA05876; Mon, 13 Apr 1998 16:23:05 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 13 Apr 1998 16:23:05 -0700 (PDT) From: Doug White Reply-To: Doug White To: Alfred Perlstein cc: multimedia@FreeBSD.ORG Subject: Re: problems with shutdown/reboot and sound. (no sync!) In-Reply-To: <015801bd64e0$460dbfc0$0600a8c0@win95.local.sunyit.edu> 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, 10 Apr 1998, Alfred Perlstein wrote: > i'm pretty sure this has to be due to me playing sound though my BSD box, i > have a win95 box line-out plugged into my BSD's line in, and if i'm playing > something from my win95 box and i issue a shutdown or reboot on my BSD box > it does something along the line of: > > syncing disks... 8 8 8 8 8 8 8 8 8 8 8 8 8 (giving up) > > anyone know why this is happening? Your disk controller gives up too easily. Check your interrupt usage. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Apr 14 01:02:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA20021 for freebsd-multimedia-outgoing; Tue, 14 Apr 1998 01:02:21 -0700 (PDT) (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 IAA19988 for ; Tue, 14 Apr 1998 08:02:13 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA02416; Tue, 14 Apr 1998 08:21:17 +0200 From: Luigi Rizzo Message-Id: <199804140621.IAA02416@labinfo.iet.unipi.it> Subject: Re: New patches for VIC To: dwhite@resnet.uoregon.edu Date: Tue, 14 Apr 1998 08:21:16 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: from "Doug White" at Apr 13, 98 04:21:18 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Fri, 10 Apr 1998, Luigi Rizzo wrote: > > > [apologies to the people in Bcc if they receive this twice -- but I am > > hoping them can test, enhance and possibly commit some of this stuff...] > > > > I have put up a set of patches for vic -- as in the 2.2.6-RELEASE port > > (i suppose this is also the one in -current). > > Where are these? I'd be happy to test them. http://www.iet.unipi.it/~luigi/FreeBSD.html -- sorry if i forgot the URL... 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Apr 14 03:28:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11693 for freebsd-multimedia-outgoing; Tue, 14 Apr 1998 03:28:35 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from colossus.dyn.ml.org (dburr@199-170-160-221.la.inreach.net [199.107.160.221]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA11687 for ; Tue, 14 Apr 1998 10:28:31 GMT (envelope-from dburr@colossus.dyn.ml.org) Received: (from dburr@localhost) by colossus.dyn.ml.org (8.8.8/8.8.7) id DAA03687 for freebsd-multimedia@freebsd.org; Tue, 14 Apr 1998 03:23:14 -0700 (PDT) (envelope-from dburr) 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: Tue, 14 Apr 1998 03:23:11 -0700 (PDT) Organization: Computer Help From: Donald Burr To: freebsd-multimedia@FreeBSD.ORG Subject: what is "mp2encode" and where is it? Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- I'm trying to use fxtv to create mpegs of video, and am getting an error message saying the program "mp2encode" cannot be found. This apparently has somehting to do with audio. I grepped through the PLISTs in /usr/ports but was unable to find any port containing a file "mp2encode". What is this utility, and where can I obtain it from? - --- Donald Burr - Ask me for my PGP key | PGP: Your WWW HomePage: http://DonaldBurr.base.org/ ICQ #1347455 | right to Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | 'Net privacy. Phone: (805) 957-9666 FAX: (800) 492-5954 | USE IT. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNTM5DfjpixuAwagxAQGzCQQAl2BhogY8YgoGJrlvEgBJ83s0K0VkRye5 e3ZMOoxypyPDi1kDXtdtG7bqrwTFhkukIimJuRSKAw2Dn4BDBJPKVZyD1A3EJ54g J+rvwvl7ifUFJsezDy36kFm3QwubASH64PURtju2D8L94Q7LH0gRmmlcgEwl1ipy XzbxcLTfvz8= =lEvd -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Apr 14 11:29:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04384 for freebsd-multimedia-outgoing; Tue, 14 Apr 1998 11:29:03 -0700 (PDT) (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 SAA03875 for ; Tue, 14 Apr 1998 18:27:04 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 14 Apr 1998 14:25:55 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA25280; Tue, 14 Apr 98 14:25:54 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id OAA03634; Tue, 14 Apr 1998 14:25:18 -0400 Message-Id: <19980414142517.55192@ct.picker.com> Date: Tue, 14 Apr 1998 14:25:17 -0400 From: Randall Hopper To: multimedia@FreeBSD.ORG Subject: Play VCD on FBSD? (fwd) Reply-To: KevinX Mail-Followup-To: multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ----- Begin forwarded message ----- Date: Tue, 14 Apr 1998 13:56:13 +0800 (SST) From: KevinX Subject: Play VCD on FBSD? To: freebsd-questions@FreeBSD.ORG Hello there, Is there any software support for playing VCD on FBSD? Tried MpegTV Player doesnt work. Thanks, kevin ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Apr 14 11:49:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12204 for freebsd-multimedia-outgoing; Tue, 14 Apr 1998 11:49:50 -0700 (PDT) (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 SAA12196 for ; Tue, 14 Apr 1998 18:49:47 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id LAA02984; Tue, 14 Apr 1998 11:49:37 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 14 Apr 1998 11:49:37 -0700 (PDT) From: Doug White Reply-To: Doug White To: Luigi Rizzo cc: multimedia@FreeBSD.ORG Subject: Re: New patches for VIC In-Reply-To: <199804140621.IAA02416@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 Tue, 14 Apr 1998, Luigi Rizzo wrote: > > > I have put up a set of patches for vic -- as in the 2.2.6-RELEASE port > > > (i suppose this is also the one in -current). > > > > Where are these? I'd be happy to test them. > > http://www.iet.unipi.it/~luigi/FreeBSD.html -- sorry if i forgot the > URL... Got it and building. Thanks. Is the baby in your powered by logo related, or just funny? :) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 02:29:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA11447 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 02:29:16 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from shidahara1.planet.kobe-u.ac.jp (root@[133.30.50.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11335 for ; Wed, 15 Apr 1998 09:29:08 GMT (envelope-from takawata@shidahara1.planet.kobe-u.ac.jp) Received: from shidahara1.planet.kobe-u.ac.jp (takawata@localhost [127.0.0.1]) by shidahara1.planet.kobe-u.ac.jp (8.8.8+2.7Wbeta7/3.4W4-MX) with ESMTP id SAA23474; Wed, 15 Apr 1998 18:23:06 +0900 (JST) Message-Id: <199804150923.SAA23474@shidahara1.planet.kobe-u.ac.jp> To: KevinX cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Play VCD on FBSD? (fwd) In-reply-to: Your message of "Tue, 14 Apr 1998 14:25:17 -0400" References: <19980414142517.55192@ct.picker.com> Date: Wed, 15 Apr 1998 18:23:04 +0900 From: Takanori Watanabe Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <19980414142517.55192@ct.picker.com>, Randall Hopper said: >----- Begin forwarded message ----- > > Date: Tue, 14 Apr 1998 13:56:13 +0800 (SST) > From: KevinX > Subject: Play VCD on FBSD? > To: freebsd-questions@FreeBSD.ORG > > Hello there, > > Is there any software support for playing VCD on FBSD? > Tried MpegTV Player doesnt work. > > Thanks, > kevin > >----- End forwarded message ----- We are working on Video CD. Now we have two imprement to read Video CD Sector. One is my imprement using SCSI/ATAPI GENERLIC ioctl, available at . (To use ATAPI GENERLIC ioctl, it requires Mr Luigi Rizzo's patch to ATAPI, available at ) Another is Mr Naoya Nishimura's patch to ATAPI and SCSI device driver that imprements Linux's CDROMREADRAW ioctl, avaliable at . This imprement requires SCSI-3 MMC Command support on CD-ROM Drive. Web page for our project is . Unfortunately the pages is written in Japanese. And we have Mailing list, mainly discussing in Japanese Language. If you interested in the mailing list, mail to nao@tom-yam.or.jp . Takanori Watanabe. Public Key Key fingerprint = 2C 51 E2 78 2C E1 C5 2D 0F F1 20 A3 11 3A 62 2A To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 02:46:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13443 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 02:46:50 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13434 for ; Wed, 15 Apr 1998 09:46:49 GMT (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 CAA12725 for ; Wed, 15 Apr 1998 02:46:39 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804150946.CAA12725@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: multimedia@FreeBSD.ORG Subject: 3d package for freebsd 8) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 02:46:38 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org jkh@time.cdrom.com said: > And available in: > ftp://ftp.freebsd.org/pub/FreeBSD/2.2.6-RELEASE/commerce/3D/ > Please see the web page at http://www.neogeo.nl for more information > on the Blender system. This is an extremely powerful 3D design > package and you WILL need to read the various tutorial documents and > try their examples before you've any hope of using it effectively. :-) > Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 03:40:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA22122 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 03:40:54 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA22083 for ; Wed, 15 Apr 1998 10:40:46 GMT (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 DAA13006; Wed, 15 Apr 1998 03:39:51 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804151039.DAA13006@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Takanori Watanabe cc: KevinX , freebsd-multimedia@FreeBSD.ORG Subject: Re: Play VCD on FBSD? (fwd) In-reply-to: Your message of "Wed, 15 Apr 1998 18:23:04 +0900." <199804150923.SAA23474@shidahara1.planet.kobe-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 03:39:51 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Cool Web Page ! Looking forward to playing Video CDs . If you need help don't hesitate to post or e-mail me. Tnks! Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 03:51:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA24546 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 03:51:33 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA24541 for ; Wed, 15 Apr 1998 10:51:31 GMT (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 DAA13126; Wed, 15 Apr 1998 03:49:55 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804151049.DAA13126@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Yatin Chawathe cc: Luigi Rizzo , multimedia@FreeBSD.ORG, mash-developers@mash.CS.Berkeley.EDU Subject: Re: mash sources are available... In-reply-to: Your message of "Wed, 08 Apr 1998 11:02:25 PDT." <199804081802.LAA08019@mirage.cs.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 03:49:55 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tnks a million for mash and it looks like a very nice architecture ! ------ To the list, mash is an extensible multimedia architecture and creating multimedia applications is now easier than ever so go for it ! http://www-mash.cs.berkeley.edu Have Fun! Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 04:39:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA05211 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 04:39:07 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from user.xtdl.com (user.xtdl.com [206.25.228.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05204 for ; Wed, 15 Apr 1998 11:39:04 GMT (envelope-from sderdau@xtdl.com) Received: from derdau.xtdl.com (derdau.xtdl.com [206.25.228.100]) by user.xtdl.com (8.8.8/8.6.9) with SMTP id HAA08071; Wed, 15 Apr 1998 07:44:00 -0400 (EDT) Message-ID: <35349C56.41C67EA6@xtdl.com> Date: Wed, 15 Apr 1998 07:39:02 -0400 From: "Stephen A. Derdau" X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 2.2.6-STABLE i386) MIME-Version: 1.0 To: multimedia@FreeBSD.ORG CC: sderdau@xtdl.com Subject: [Fwd: pcm1 not configured] Content-Type: multipart/mixed; boundary="------------446B9B3D2781E494167EB0E7" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------446B9B3D2781E494167EB0E7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Stephen A. Derdau wrote: > > "FreeBSD It's That and Much Much More" > Find out Why @ http://www.freebsd.org I cannot seem to get my sound card to work playing .au files raplayer, or anything except cd-rom sounds which come through the speakers: FreeBSD 2.2.6-STABLE #0: Wed Apr 15 00:09:03 EDT 1998 sderdau@derdau.xtdl.com:/usr/src/sys/compile/DERDAU CPU: AMD-K5(tm) Processor (99.66-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x511 Stepping=1 Features=0x21bf > I'm also getting this error message: > derdau /kernel: pcm1: unit not configured, perhaps you want pcm0 ? > > I'm using the pnp controller in my config file: > controller pnp0 > ????***** should device pcm0 be pcm1 instead? > device pcm0 at isa ? port? tty irq 5 drq 1 flags 0x15 vector pcmintr > #controller snd0 > #device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr > dmesg shows this: Probing for PnP devices: > CSN 1 Vendor ID: OPT0924 [0x2409143e] Serial 0x08000000 > pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa > /dev ls -al au* lrwxrwxrwx 1 root wheel 6 Apr 15 02:11 audio -> audio1 crw-rw-rw- 1 root wheel 30, 4 Apr 15 01:46 audio0 crw-rw-rw- 1 root wheel 30, 20 Apr 15 01:16 audio1 > > Thank You > /sd > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --------------446B9B3D2781E494167EB0E7 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from ns3.harborcom.net (ns3.harborcom.net [206.158.4.14]) by user.xtdl.com (8.8.8/8.6.9) with SMTP id JAA01741 for ; Tue, 14 Apr 1998 09:23:23 -0400 (EDT) Received: from hub.freebsd.org [204.216.27.18] by ns3.harborcom.net with esmtp (Exim 1.82 #1) id 0yP5b3-0006BG-00; Tue, 14 Apr 1998 09:17:58 -0400 Received: from localhost (daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA11368; Tue, 14 Apr 1998 06:17:39 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: by hub.freebsd.org (bulk_mailer v1.6); Tue, 14 Apr 1998 06:17:22 -0700 Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA11224 for freebsd-questions-outgoing; Tue, 14 Apr 1998 06:17:20 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from user.xtdl.com (user.xtdl.com [206.25.228.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11182 for ; Tue, 14 Apr 1998 13:17:11 GMT (envelope-from sderdau@xtdl.com) Received: from user.xtdl.com (user.xtdl.com [206.25.228.20]) by user.xtdl.com (8.8.8/8.6.9) with SMTP id JAA01726 for ; Tue, 14 Apr 1998 09:22:34 -0400 (EDT) Date: Tue, 14 Apr 1998 09:22:33 -0400 (EDT) From: "Stephen A. Derdau" To: questions@freebsd.org Subject: pcm1 not configured Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.ORG X-Status: "FreeBSD It's That and Much Much More" Find out Why @ http://www.freebsd.org Running FreeBSD 2.2.6-STABLE why would I get this error message: derdau /kernel: pcm1: unit not configured, perhaps you want pcm0 ? I'm using the pnp controller in my config file: controller pnp0 ????***** should device pcm0 be pcm1 instead? device pcm0 at isa ? port? tty irq 5 drq 1 flags 0x15 vector pcmintr #controller snd0 #device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr dmesg shows this: Probing for PnP devices: CSN 1 Vendor ID: OPT0924 [0x2409143e] Serial 0x08000000 pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa /dev ls -al au* lrwxrwxrwx 1 root wheel 6 Apr 14 09:08 audio -> audio1 -rw-r--r-- 1 root wheel 34319 Apr 14 09:11 audio1 Thank You /sd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message --------------446B9B3D2781E494167EB0E7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 04:45:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA06206 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 04:45:39 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sensi.pu.ru (sensi.pu.ru [194.58.105.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06193 for ; Wed, 15 Apr 1998 11:45:20 GMT (envelope-from vadik@sensi.pu.ru) Received: (from vadik@localhost) by sensi.pu.ru (8.8.8/8.7.3) id PAA04700; Wed, 15 Apr 1998 15:40:02 +0400 (MSD) Message-ID: <19980415154000.21671@sensi.org> Date: Wed, 15 Apr 1998 15:40:00 +0400 From: vadik likholetov To: Amancio Hasty Cc: multimedia@FreeBSD.ORG Subject: Re: Play VCD on FBSD? (fwd) References: <199804150923.SAA23474@shidahara1.planet.kobe-u.ac.jp> <199804151039.DAA13006@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199804151039.DAA13006@rah.star-gate.com>; from Amancio Hasty on Wed, Apr 15, 1998 at 03:39:51AM -0700 X-NCC-RegID: ru.hqlgu Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Apr 15, 1998 at 03:39:51AM -0700, Amancio Hasty wrote: > Cool Web Page ! > > Looking forward to playing Video CDs . > > If you need help don't hesitate to post or e-mail me. You may also look at http://www.sensi.org/~vadik/freebsd for luigi's patches and my small program that allows you reading video as well as audio cd's. It's inside the tarball I wrote it when I was tired patching tosha. Unfortunately, I have no time to port luigi's patches to 3.0-Current. :-( -- vadik likholetov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 06:53:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA29742 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 06:53:38 -0700 (PDT) (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 NAA28652 for ; Wed, 15 Apr 1998 13:49:08 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA04739; Wed, 15 Apr 1998 14:07:44 +0200 From: Luigi Rizzo Message-Id: <199804151207.OAA04739@labinfo.iet.unipi.it> Subject: Re: [Fwd: pcm1 not configured] To: sderdau@xtdl.com (Stephen A. Derdau) Date: Wed, 15 Apr 1998 14:07:43 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG, sderdau@xtdl.com In-Reply-To: <35349C56.41C67EA6@xtdl.com> from "Stephen A. Derdau" at Apr 15, 98 07:38:43 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You are configuring your card as PnP, but the PnP id of your card is not recognized, so the card is attached as a legacy isa instead (as /dev/audio0 and friends). The kernel is giving you a hint... > > I'm also getting this error message: > > derdau /kernel: pcm1: unit not configured, perhaps you want pcm0 ? 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 08:48:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24112 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 08:48:47 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24074 for ; Wed, 15 Apr 1998 15:48:36 GMT (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id RAA00308 for freebsd-multimedia@freebsd.org; Wed, 15 Apr 1998 17:48:35 +0200 (MEST) (envelope-from sos) Message-Id: <199804151548.RAA00308@sos.freebsd.dk> Subject: Anybody using a KISS PCI TV/RADIO card ?? To: freebsd-multimedia@FreeBSD.ORG Date: Wed, 15 Apr 1998 17:48:35 +0200 (MEST) From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I can get video through, but havn't had any luck with the sound yet. I can hear vague "clicks" when I adjust the volume, but no sound. I tried the BKTR_REVERSEMUTE but to no avail... Any Ideas ?? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 09:11:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28309 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 09:11:47 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA28217; Wed, 15 Apr 1998 16:11:29 GMT (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 JAA14058; Wed, 15 Apr 1998 09:11:17 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804151611.JAA14058@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: sos@FreeBSD.ORG cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-reply-to: Your message of "Wed, 15 Apr 1998 17:48:35 +0200." <199804151548.RAA00308@sos.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 09:11:16 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Can you tell us what is the brand / model of the tuner component? Sometimes, the win95 lists the tuner in the driver info panel... Regards, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 12:40:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20757 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 12:40:57 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from loki.iss.net (loki.iss.net [208.21.0.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA20750 for ; Wed, 15 Apr 1998 19:40:53 GMT (envelope-from rmooney@iss.net) Received: from arden.iss.net (rmooney@arden.iss.net [208.21.0.8]) by loki.iss.net (8.8.7/8.7.3) with SMTP id PAA12914; Wed, 15 Apr 1998 15:39:49 -0400 Date: Wed, 15 Apr 1998 15:39:47 -0400 (EDT) From: Robert Mooney To: "Stephen A. Derdau" cc: multimedia@FreeBSD.ORG Subject: Re: [Fwd: pcm1 not configured] In-Reply-To: <35349C56.41C67EA6@xtdl.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 bash# ln -sf /dev/audio0 /dev/audio bash# cat somesound.au > /dev/audio ... should get you one step closer. :) - Rob --- Rob Mooney, Webmaster email... : rmooney@iss.net Internet Security Systems, Inc. voice... : (770)395-0150, x117 41 Perimeter Center East, Suite 660 fax..... : (770)395-1972 Atlanta, GA 30346 web..... : http://www.iss.net/ On Wed, 15 Apr 1998, Stephen A. Derdau wrote: > Stephen A. Derdau wrote: > > > > "FreeBSD It's That and Much Much More" > > Find out Why @ http://www.freebsd.org > > I cannot seem to get my sound card to work playing .au files > raplayer, or anything except cd-rom sounds which come through > the speakers: > > FreeBSD 2.2.6-STABLE #0: Wed Apr 15 00:09:03 EDT 1998 > sderdau@derdau.xtdl.com:/usr/src/sys/compile/DERDAU > CPU: AMD-K5(tm) Processor (99.66-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x511 Stepping=1 > Features=0x21bf > > > I'm also getting this error message: > > derdau /kernel: pcm1: unit not configured, perhaps you want pcm0 ? > > > > I'm using the pnp controller in my config file: > > controller pnp0 > > ????***** should device pcm0 be pcm1 instead? > > device pcm0 at isa ? port? tty irq 5 drq 1 flags 0x15 vector pcmintr > > #controller snd0 > > #device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr > > dmesg shows this: Probing for PnP devices: > > CSN 1 Vendor ID: OPT0924 [0x2409143e] Serial 0x08000000 > > pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa > > /dev ls -al au* > lrwxrwxrwx 1 root wheel 6 Apr 15 02:11 audio -> audio1 > crw-rw-rw- 1 root wheel 30, 4 Apr 15 01:46 audio0 > crw-rw-rw- 1 root wheel 30, 20 Apr 15 01:16 audio1 > > > > Thank You > > /sd > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 12:41:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20825 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 12:41:16 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA20815 for ; Wed, 15 Apr 1998 19:41:10 GMT (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id VAA00312; Wed, 15 Apr 1998 21:40:53 +0200 (MEST) (envelope-from sos) Message-Id: <199804151940.VAA00312@sos.freebsd.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804151611.JAA14058@rah.star-gate.com> from Amancio Hasty at "Apr 15, 98 09:11:16 am" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Wed, 15 Apr 1998 21:40:53 +0200 (MEST) Cc: freebsd-multimedia@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Amancio Hasty who wrote: > Can you tell us what is the brand / model of the tuner component? The tuner is a Philips FM1216/PH model, and I use the FR1216 driver. The board also has the following IC on it: LM348 (quad OPamp) HC4052a (dual 4:1 mux) PIC16C54 (pic ctrl) bt848 (of cause) Also present is a 4.0Mhz and a 35.468Mhz crystal The card ialso sports a remote control which doesn't work ofcause :) Also direct video seems out of control, but using -disableDirectV cures that :) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 14:00:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA13389 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 14:00:42 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA13359; Wed, 15 Apr 1998 21:00:31 GMT (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id XAA00312; Wed, 15 Apr 1998 23:00:28 +0200 (MEST) (envelope-from sos) Message-Id: <199804152100.XAA00312@sos.freebsd.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804151940.VAA00312@sos.freebsd.dk> from =?ISO-8859-1?Q?S=F8ren_Schmidt?= at "Apr 15, 98 09:40:53 pm" To: sos@FreeBSD.ORG Date: Wed, 15 Apr 1998 23:00:28 +0200 (MEST) Cc: hasty@rah.star-gate.com, freebsd-multimedia@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Søren Schmidt who wrote: > In reply to Amancio Hasty who wrote: > > Can you tell us what is the brand / model of the tuner component? > > The tuner is a Philips FM1216/PH model, and I use the FR1216 driver. > The board also has the following IC on it: > > LM348 (quad OPamp) > HC4052a (dual 4:1 mux) > PIC16C54 (pic ctrl) > bt848 (of cause) > > Also present is a 4.0Mhz and a 35.468Mhz crystal > The card ialso sports a remote control which doesn't work ofcause :) Well, I digged around in the driver (its somewhat messy isn't it :) ) and this makes the KISS board work: /* CARD_KISS */ { "KISS TV/FM PCI", /* the 'name' */ NULL, /* the tuner */ 0, /* dbx is optional */ 0, 0, /* EEProm type */ 0, /* EEProm size */ { 0x0c, 0x00, 0x0b, 0x0b, 1 } }, /* audio MUX values */ Now we just need a radio app... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 14:23:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17293 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 14:23:27 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA17286; Wed, 15 Apr 1998 21:23:24 GMT (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 OAA15268; Wed, 15 Apr 1998 14:23:12 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804152123.OAA15268@rah.star-gate.com> To: sos@FreeBSD.ORG cc: hasty@rah.star-gate.com (Amancio Hasty), freebsd-multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-reply-to: Your message of "Wed, 15 Apr 1998 21:40:53 +0200." <199804151940.VAA00312@sos.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15265.892675391.1@rah.star-gate.com> Date: Wed, 15 Apr 1998 14:23:11 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Also direct video seems out of control, but using -disableDirectV cures >that :) A couple of more things: How have you compiled the bt848 driver? Can you send me the output of dmesg? Whose X server are you using? Brand/Model of your vga card as well as how much memory does it have What resolution and color depth are you running with? Tnks, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 14:28:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18693 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 14:28:51 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA18648; Wed, 15 Apr 1998 21:28:28 GMT (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 OAA15329; Wed, 15 Apr 1998 14:28:15 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804152128.OAA15329@rah.star-gate.com> To: sos@FreeBSD.ORG cc: hasty@rah.star-gate.com, freebsd-multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-reply-to: Your message of "Wed, 15 Apr 1998 23:00:28 +0200." <199804152100.XAA00312@sos.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15326.892675694.1@rah.star-gate.com> Date: Wed, 15 Apr 1998 14:28:14 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Do a search on the mailing list ... Not too long someone posted a radio app 8) I will be happy to dig out the e-mail posting once I get home. Have Fun, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 15:42:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05437 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 15:42:38 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from dkuug.dk (dkuug.dk [193.88.44.89]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA05378; Wed, 15 Apr 1998 22:42:23 GMT (envelope-from fj@dkuug.dk) Received: from prefect.unknown.dk ([193.88.44.197]) by dkuug.dk (8.6.12/8.6.12) with ESMTP id AAA15451; Thu, 16 Apr 1998 00:42:10 +0200 Received: (from fj@localhost) by prefect.unknown.dk (8.8.7/8.8.7) id AAA06155; Thu, 16 Apr 1998 00:41:44 +0200 (CEST) (envelope-from fj) From: Flemming Jacobsen Message-Id: <199804152241.AAA06155@prefect.unknown.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804152128.OAA15329@rah.star-gate.com> from Amancio Hasty at "Apr 15, 98 02:28:14 pm" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Thu, 16 Apr 1998 00:41:44 +0200 (CEST) Cc: sos@FreeBSD.ORG, hasty@rah.star-gate.com, freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Amancio Hasty wrote: > Do a search on the mailing list ... Not too long someone posted > a radio app 8) I did. ftp://login.dknet.dk/pub/fj/radio.tgz My own card is based on the same chip as Sørens, thus there should be a very good chance of getting him running. Make sure that you have the latest driver. Your previous post (with the "patch") indicates that you are a couple of versions behind. Søren, if you have problems, give me a call. Hyg' Flemming -- Flemming Jacobsen It'll probably say something like "Does not compute" or "Inoperative parameters". That's Email: fj@login.dknet.dk what it says when it doesn't know and doesn't Phone: +45 3916 1833 want to admit it. -- Terry Pratchett: Wings To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 20:05:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA12691 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 20:05:59 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12673 for ; Wed, 15 Apr 1998 20:05:48 -0700 (PDT) (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 UAA16569; Wed, 15 Apr 1998 20:05:14 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804160305.UAA16569@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Handley cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: vic, image corruption with Wincast/TV card In-reply-to: Your message of "Mon, 13 Apr 1998 12:26:39 EDT." <14875.892484799@north.lcs.mit.edu> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_10382221920" Date: Wed, 15 Apr 1998 20:05:14 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multipart MIME message. --==_Exmh_10382221920 Content-Type: text/plain; charset=us-ascii > > I'm running vic 2.8 built with a grabber-meteor.cc I obtained from UCL > using a Wincast/TV card and FreeBSD 2.2.6-RELEASE. Only problem is > that I'm getting corruption of the captured image. This only seems to > happen when the frame rate is limited by the frame rate limiter and > not the bandwidth limiter. Given that I can control it on the > bandwidth slider alone, this isn't a big deal, but I'm still puzzled. > > Three questions: > > - has anyone seen this before? > > - can someone point me at a version of grabber-meteor.cc that they > think works OK with BT848 cards? > > - is there a later version of the BT848 driver than the one in > 2.2.6-RELEASE and 3.0-CURRENT? > > Thanks, > Mark > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message Hi Mark, The latest version of the bt848 driver can always be found at: http://www.freebsd.org/~ahasty/Bt848.html ftp://rah.star-gate.com/pub/bt848.tar.gz We typically don't have multiple versions of the bt848 driver floating around and this used to be a problem last year. Here is a version of grabber-meteor.cc which I am using and it is also available thru the Bt848 web page. Amancio --==_Exmh_10382221920 Content-Type: text/plain ; name="grabber-meteor.cc"; charset=us-ascii Content-Description: grabber-meteor.cc Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="grabber-meteor.cc" LyoKICogQ29weXJpZ2h0IChjKSBKaW0gTG93ZSwgMTk5NSwgQWxsIHJpZ2h0cyByZXNlcnZl ZC4KICoKICogUmVkaXN0cmlidXRpb24gYW5kIHVzZSBpbiBzb3VyY2UgYW5kIGJpbmFyeSBm b3Jtcywgd2l0aCBvciB3aXRob3V0CiAqIG1vZGlmaWNhdGlvbiwgYXJlIHBlcm1pdHRlZCBw cm92aWRlZCB0aGF0IHRoZSBmb2xsb3dpbmcgY29uZGl0aW9ucwogKiBhcmUgbWV0OgogKiAx LiBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFib3Zl IGNvcHlyaWdodAogKiAgICBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCB0 aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuCiAqIDIuIFJlZGlzdHJpYnV0aW9ucyBpbiBiaW5h cnkgZm9ybSBtdXN0IHJlcHJvZHVjZSB0aGUgYWJvdmUgY29weXJpZ2h0CiAqICAgIG5vdGlj ZSwgdGhpcyBsaXN0IG9mIGNvbmRpdGlvbnMgYW5kIHRoZSBmb2xsb3dpbmcgZGlzY2xhaW1l ciBpbiB0aGUKICogICAgZG9jdW1lbnRhdGlvbiBhbmQvb3Igb3RoZXIgbWF0ZXJpYWxzIHBy b3ZpZGVkIHdpdGggdGhlIGRpc3RyaWJ1dGlvbi4KICogMy4gQWxsIGFkdmVydGlzaW5nIG1h dGVyaWFscyBtZW50aW9uaW5nIGZlYXR1cmVzIG9yIHVzZSBvZiB0aGlzIHNvZnR3YXJ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Y2hhciogaW4sIGludCBpcykKewoJdV9jaGFyKiBjcnYgPSBjcnZlY187Cglp bnQgb2ZmID0gZnJhbWVzaXplXzsKCXVfY2hhciogbHVtID0gZnJhbWVfOwoJdV9jaGFyKiBj aG0gPSBsdW0gKyBvZmY7CglvZmYgPj49IDI7CgoJY3J2ICs9IHZzdGFydF8gKiBibGt3XyAr IGhzdGFydF87CglsdW0gKz0gdnN0YXJ0XyAqIG91dHdfICogMTYgKyBoc3RhcnRfICogMTY7 CgljaG0gKz0gdnN0YXJ0XyAqIChvdXR3XyA+PiAxKSAqIDggKyBoc3RhcnRfICogODsKCglp bnQgc2tpcCA9IGhzdGFydF8gKyAoYmxrd18gLSBoc3RvcF8pOwoKCWZvciAoaW50IHkgPSB2 c3RhcnRfOyB5IDwgdnN0b3BfOyArK3kpIHsKCQljb25zdCB1X2NoYXIqIG5pbiA9IGluOwoJ CWZvciAoaW50IHggPSBoc3RhcnRfOyB4IDwgaHN0b3BfOyArK3gpIHsKCQkJaW50IHMgPSAq Y3J2Kys7CgkJCWlmICgocyAmIENSX1NFTkQpICE9IDApCgkJCQlzYXZlYmxrKGluLCBsdW0s IGNobSwgY2htICsgb2ZmLCBvdXR3XywgaXMpOwoKCQkJaW4gKz0gMzI7CgkJCWx1bSArPSAx NjsKCQkJY2htICs9IDg7CgkJfQoJCWNydiArPSBza2lwOwoJCWx1bSArPSAxNSAqIG91dHdf ICsgc2tpcCAqIDE2OwoJCWNobSArPSA3ICogKG91dHdfID4+IDEpICsgc2tpcCAqIDg7CgkJ aW4gPSBuaW4gKyAxNiAqIGlzOwoJfQp9Cg== --==_Exmh_10382221920-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 20:48:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18445 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 20:48:15 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA18432 for ; Wed, 15 Apr 1998 20:48:11 -0700 (PDT) (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 UAA16881; Wed, 15 Apr 1998 20:47:55 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804160347.UAA16881@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Handley cc: multimedia@FreeBSD.ORG Subject: Re: vic, image corruption with Wincast/TV card In-reply-to: Your message of "Wed, 15 Apr 1998 23:39:31 EDT." <26450.892697971@north.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 20:47:55 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just take out opt_bktr.h for now. Probably, I will submit a minor driver upgrade to fix this problem as well as a couple of minor fixes. What sort of corrupting are you getting and whats your video format: NTSC or PAL ? ---- This is a note which I got from brooktree: ear Amancio, We received your inquiry about the Bt848 PCI-based decoder recently. For your reference, it is repeated below: >> A little while ago I wrote a Bt848 driver from scratch for FreeBSD a public domain unix system. The driver is very popular to be watching TV in a multi tasking operating system and the driver has been ported to BSDI and Linux. More to the point here, my last remaining problem has to deal with setting the frame rate: This is a comment from one of the developers: " The problem: despite the databook's description of how temporal decimation on frames is supposed to work (whole frames are masked as a unit for purposes of synchronization), it appears that the engine is masking out fields, or rotating the enablement of the fields based on the requested number of dropped frames. Anyway, I must be missing something. Could sure use a set of eyes with more bt experience." Also, I have a simple question , what is the behavior of the video engine when it decides to drop a frame? does it report uniquely that it has drop a frame as supposed to reporting that it has dropped a frame due to a pci error? This is the current code in the driver to set the frame rates: static void set_fps( bktr_ptr_t bktr, u_short fps ) { bt848_ptr_t bt848; struct format_params *fp; int i_flag; fp = &format_params[bktr->format_params]; bt848 = bktr->base; switch(bktr->flags & METEOR_ONLY_FIELDS_MASK) { case METEOR_ONLY_EVEN_FIELDS: bktr->flags |= METEOR_WANT_EVEN; i_flag = 1; break; case METEOR_ONLY_ODD_FIELDS: bktr->flags |= METEOR_WANT_ODD; i_flag = 1; break; default: bktr->flags |= METEOR_WANT_MASK; i_flag = 2; break; } bt848->gpio_dma_ctl = FIFO_RISC_DISABLED; bt848->int_stat = ALL_INTS_CLEARED; bktr->fps = fps; bt848->tdec = 0; if (fps < fp->frame_rate) bt848->tdec = i_flag*(fp->frame_rate - fps) & 0x3f; else bt848->tdec = 0; return; } >> It seems as if you understanding of the Bt848's Temporal Decimation process is correct. FYI, this topic is discussed on pages 41, 42, 78-83, and 103 of the Bt848A datasheet. (See attached file: L848A_A.pdf) The Bt848 provides temporal decimation in either a field or a frame basis depending on what value is loaded into the TDEC register. This register is allowed to have a value from 1 to 60 for NTSC and 1 to 50 for PAL and is located in the Local Register section, Memory Mapped location 0x08. The value inserted into this register is the number of fields or frames skipped by the Bt848 during a sequnce of 60 fields for NTSC or 50 fields for PAL. Skipped fields and frames will be considered inactive and this inactivity will de indicated by the ACTIVE pin(# 88 - GPI/O 17) when the Bt848 is in the Digital Video-In Mode or the VACTIVE and HACTIVE pins(GPI/O 17 and GPI/O 21 respectively) when the Bt848 is in the SPI input and output modes. While the Bt848 is in normal operation, these pins will indicate whether a frame has been dropped by the TDEC register setting because each signal will stay low, indicatinmg that no active video information is bing bursted onto the PCI bus. I will have to check on the behavior of the Bt848 when it drops a frame or two unintentionally because of a PCI error. I will send you this answer when I find out myself. Please visit our ftp site. New documentation is available at: ftp://bt848:pcivideo@ftp.brooktree.com/bt848/ Enjoy, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 23:22:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA24439 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 23:22:50 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA24401 for ; Wed, 15 Apr 1998 23:22:30 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id IAA01039; Thu, 16 Apr 1998 08:22:18 +0200 (MEST) (envelope-from sos) Message-Id: <199804160622.IAA01039@sos.freebsd.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804152123.OAA15268@rah.star-gate.com> from Amancio Hasty at "Apr 15, 98 02:23:11 pm" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Thu, 16 Apr 1998 08:22:17 +0200 (MEST) Cc: freebsd-multimedia@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Amancio Hasty who wrote: > >Also direct video seems out of control, but using -disableDirectV cures > >that :) > > A couple of more things: > How have you compiled the bt848 driver? with OVERRIDE_CARD = CARD_KISS VERRIDE_TUNER = FR1216 (or close to that, cant remember the exact names) > Can you send me the output of dmesg? I guess you are only interested in these: bktr0: rev 0x12 int a irq 17 on pci0.13.0 KISS TV/FM PCI, Philips FR1216 PAL FM tuner. vga0: rev 0x01 int a irq 16 on pci0.14.0 System is -current (SMP) of the hour. > Whose X server are you using? XF86_S3V v 3.3.2 > Brand/Model of your vga card as well as how much memory does it have S3 Virge/DX 4MB, "ColorExpert" == noname :) > What resolution and color depth are you running with? 1024x768 or 1152x900 both 24bit As said, I got it to work with the CARD_KISS definitions I posted, I think I found the org. manufacturer of the card, it bears remarkable resemblence to the AVmedia "AVer TV Phone" with remote control .... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 23:27:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25862 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 23:27:56 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA25823; Wed, 15 Apr 1998 23:27:31 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id IAA01050; Thu, 16 Apr 1998 08:27:17 +0200 (MEST) (envelope-from sos) Message-Id: <199804160627.IAA01050@sos.freebsd.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804152241.AAA06155@prefect.unknown.dk> from Flemming Jacobsen at "Apr 16, 98 00:41:44 am" To: fj@dkuug.dk (Flemming Jacobsen) Date: Thu, 16 Apr 1998 08:27:16 +0200 (MEST) Cc: hasty@rah.star-gate.com, sos@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Flemming Jacobsen who wrote: > Amancio Hasty wrote: > > Do a search on the mailing list ... Not too long someone posted > > a radio app 8) > > I did. ftp://login.dknet.dk/pub/fj/radio.tgz Got it :) ITS TCL !!! bwadr, du har været for tæt på phk :) > My own card is based on the same chip as Sørens, thus there should be a > very good chance of getting him running. > Make sure that you have the latest driver. Your previous post (with the > "patch") indicates that you are a couple of versions behind. Hmm, I thought the latest was in -current ??? or ??? > Søren, if you have problems, give me a call. Will do, for know it works for TV, I'll see what I can do with the radio stuff :) Have you gotten anywhere with the remotecontrol ?? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 23:36:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA28651 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 23:36:22 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA28619; Wed, 15 Apr 1998 23:36:18 -0700 (PDT) (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 XAA17541; Wed, 15 Apr 1998 23:36:04 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804160636.XAA17541@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: sos@FreeBSD.ORG cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-reply-to: Your message of "Thu, 16 Apr 1998 08:22:17 +0200." <199804160622.IAA01039@sos.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 23:36:04 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org fxtv should work with PCI to PCI mode so if you can try 32bits or 16bit resolutions. Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Apr 15 23:45:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA00160 for freebsd-multimedia-outgoing; Wed, 15 Apr 1998 23:45:20 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00115; Wed, 15 Apr 1998 23:45:12 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id IAA01097; Thu, 16 Apr 1998 08:45:03 +0200 (MEST) (envelope-from sos) Message-Id: <199804160645.IAA01097@sos.freebsd.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804160636.XAA17541@rah.star-gate.com> from Amancio Hasty at "Apr 15, 98 11:36:04 pm" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Thu, 16 Apr 1998 08:45:03 +0200 (MEST) Cc: sos@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Amancio Hasty who wrote: > fxtv should work with PCI to PCI mode so if you can try > 32bits or 16bit resolutions. OK, I will do that when I get home, thanks! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 02:32:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24721 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 02:32:00 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from dkuug.dk (dkuug.dk [193.88.44.89]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA24712; Thu, 16 Apr 1998 02:31:56 -0700 (PDT) (envelope-from fj@dkuug.dk) Received: from prefect.unknown.dk ([193.88.44.197]) by dkuug.dk (8.6.12/8.6.12) with ESMTP id LAA04630; Thu, 16 Apr 1998 11:31:10 +0200 Received: (from fj@localhost) by prefect.unknown.dk (8.8.7/8.8.7) id LAA00558; Thu, 16 Apr 1998 11:30:57 +0200 (CEST) (envelope-from fj) From: Flemming Jacobsen Message-Id: <199804160930.LAA00558@prefect.unknown.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804160627.IAA01050@sos.freebsd.dk> from =?ISO-8859-1?Q?S=F8ren_Schmidt?= at "Apr 16, 98 08:27:16 am" To: sos@FreeBSD.ORG Date: Thu, 16 Apr 1998 11:30:57 +0200 (CEST) Cc: freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Søren Schmidt wrote: > In reply to Flemming Jacobsen who wrote: > > Amancio Hasty wrote: > > > Do a search on the mailing list ... Not too long someone posted > > > a radio app 8) > > I did. ftp://login.dknet.dk/pub/fj/radio.tgz > Got it :) ITS TCL !!! bwadr, du har været for tæt på phk :) Tcl let me create something usable quick. I'm looking forward to see your great, nice and cool implementation in C :-) > > My own card is based on the same chip as Sørens, thus there should be a > > very good chance of getting him running. > > Make sure that you have the latest driver. Your previous post (with the > > "patch") indicates that you are a couple of versions behind. > Hmm, I thought the latest was in -current ??? or ??? It is. My fault ... > Have you gotten anywhere with the remotecontrol ?? What remote? I have a Hauppauge card. The tuners on our cards are the same, the rest is probably not. Hyg' FJ -- Flemming Jacobsen It'll probably say something like "Does not compute" or "Inoperative parameters". That's Email: fj@login.dknet.dk what it says when it doesn't know and doesn't Phone: +45 3916 1833 want to admit it. -- Terry Pratchett: Wings To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 02:51:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA26760 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 02:51:10 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA26753; Thu, 16 Apr 1998 02:51:07 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id LAA01387; Thu, 16 Apr 1998 11:50:55 +0200 (MEST) (envelope-from sos) Message-Id: <199804160950.LAA01387@sos.freebsd.dk> Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-Reply-To: <199804160930.LAA00558@prefect.unknown.dk> from Flemming Jacobsen at "Apr 16, 98 11:30:57 am" To: fj@dkuug.dk (Flemming Jacobsen) Date: Thu, 16 Apr 1998 11:50:55 +0200 (MEST) Cc: sos@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Flemming Jacobsen who wrote: > > > I did. ftp://login.dknet.dk/pub/fj/radio.tgz > > Got it :) ITS TCL !!! bwadr, du har været for tæt på phk :) > > Tcl let me create something usable quick. I'm looking forward to see > your great, nice and cool implementation in C :-) We'll see, if I get carried away with it it actually might happen, it would be a very welcome diversion.... > > > My own card is based on the same chip as Sørens, thus there should be a > > > very good chance of getting him running. > > > Make sure that you have the latest driver. Your previous post (with the > > > "patch") indicates that you are a couple of versions behind. > > Hmm, I thought the latest was in -current ??? or ??? > > It is. My fault ... > > > Have you gotten anywhere with the remotecontrol ?? > > What remote? I have a Hauppauge card. The tuners on our cards are > the same, the rest is probably not. Aha! what I've got is (I have it now confirmed) an AVerMedia TV-Phone. It needs the audiomux values I posted yesterday to give audio, it has nothing to do with the tuner, thats the same Philips one as you have. I'll play with e radio stuff when I get home to my machine (with a length of coax cable :) ) Who's in charge of the brook(too long a file name) driver ?? I'll pass him the diffs when done, or should I just commit it (I do have the powers you know :^) ) BTW the probe rutine is a joke, does it actually find any of you guys cards ?? or does everybody use OVERRIDE_BLA to get it to work ?? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 03:09:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA29211 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 03:09:52 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from infowest.com (infowest.com [204.17.177.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA29204 for ; Thu, 16 Apr 1998 03:09:48 -0700 (PDT) (envelope-from agifford@infowest.com) Received: from infowest.com (liberty.infowest.com [207.49.60.254]) by infowest.com (8.8.8/8.8.5) with ESMTP id EAA10938 for ; Thu, 16 Apr 1998 04:09:15 -0600 (MDT) Message-ID: <3535D8AD.C7DF4F52@infowest.com> Date: Thu, 16 Apr 1998 10:08:45 +0000 From: "Aaron D. Gifford" X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 2.2.6-STABLE i386) MIME-Version: 1.0 To: multimedia@FreeBSD.ORG Subject: AWE32 not found Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Okay, what am I doing wrong such that I keep getting "AWE32 not found" messages during boot? From all the web site stuff (and multimedia archive searches) my current config. should work. What am I missing? Thanks in advance for pointers, tips, help, etc. Please reply to my address, since I'm not yet subscribed to the multimedia list. --Aaron Here's the relevant data: Machine: Pentium 166 w/64MB RAM and AWE32 PnP sound card Running: FreeBSD 2.2.6-STABLE (as of 15 Apr. 1998) >From /usr/src/sys/i386/conf/LOCAL: controller pnp0 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 awe0 at isa? port 0x620 device opl0 at isa? port 0x388 >From dmesg: ----------- Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0:0 chip1 rev 2 on pci0:7:0 chip2 rev 2 on pci0:7:1 ...... Probing for PnP devices: CSN 1 Vendor ID: CTL0045 [0x45008c0e] Serial 0x000048df ...... sb0 at 0x220 irq 5 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvi0: sbmidi0 at 0x330 on isa awe0 at 0x620 on isa AWE32 not found AWE32: not detected opl0 at 0x388 on isa opl0: cat /dev/sndstat shows: ----------------------- 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 1: OPL-2/OPL-3 FM Type 8: 6860 UART Midi Type 2: SoundBlaster Type 6: SoundBlaster16 Type 25: AWE32 Synth Type 7: SB16 MIDI Card config: SoundBlaster at 0x220 irq 5 drq 1 6860 UART Midi at 0x330 irq 5 drq 0 SoundBlaster16 at 0x0 irq 65535 drq 5 SB16 MIDI at 0x330 irq 65535 drq 4294967295 AWE32 Synth at 0x620 irq 65535 drq 4294967295 OPL-2/OPL-3 FM at 0x388 irq 65535 drq 4294967295 Audio devices: 0: SoundBlaster 16 4.13 Synth devices: 0: Yamaha OPL-3 Midi devices: 0: SoundBlaster 16 Midi Timers: 0: System Timer Mixers: 0: SoundBlaster And finally, pnpinfo output: ---------------------------- Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID CTL0045 (0x45008c0e), Serial Number 0x000048df PnP Version 1.0, Vendor Version 16 Device Description: Creative SB AWE32 PnP Logical Device ID: CTL0031 0x31008c0e #0 Device Description: Audio TAG Start DF Good Configuration IRQ: 5 - only one type (true/edge) DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10 [16-bit addr] I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 11 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] TAG End DF Logical Device ID: PNPffff 0xffffd041 #1 Device Description: Reserved I/O Range 0x100 .. 0x3f8, alignment 0x8, len 0x1 [16-bit addr] Logical Device ID: CTL0021 0x21008c0e #2 Device Description: WaveTable TAG Start DF Good Configuration I/O Range 0x620 .. 0x620, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x620 .. 0x680, alignment 0x20, len 0x4 [16-bit addr] TAG End DF Logical Device ID: CTL7001 0x01708c0e #3 Compatible Device ID: PNPb02f (2fb0d041) Device Description: Game I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8 [16-bit addr] Logical Device ID: CTL0051 0x51008c0e #4 Device Description: StereoEnhance I/O Range 0x100 .. 0x3f8, alignment 0x8, len 0x1 [16-bit addr] End Tag Successfully got 62 resources, 5 logical fdevs -- card select # 0x0001 CSN CTL0045 (0x45008c0e), Serial Number 0x000048df Logical device #0 IO: 0x0220 0x0330 0x0388 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 5 0 DMA 1 5 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0100 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #2 IO: 0x0620 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #3 IO: 0x0200 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #4 IO: 0x0108 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 05:26:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA21305 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 05:26:08 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from north.lcs.mit.edu (north.lcs.mit.edu [18.26.0.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA21297 for ; Thu, 16 Apr 1998 05:26:06 -0700 (PDT) (envelope-from mjh@north.lcs.mit.edu) Received: from north.lcs.mit.edu by north.lcs.mit.edu (SMI-8.6/SMI-SVR4) id IAA27292; Thu, 16 Apr 1998 08:25:58 -0400 From: Mark Handley X-Organisation: Information Sciences Institute, USC X-Phone: +1 617 253 6011 To: Amancio Hasty cc: multimedia@FreeBSD.ORG Subject: Re: vic, image corruption with Wincast/TV card In-reply-to: Your message of "Wed, 15 Apr 1998 20:47:55 PDT." <199804160347.UAA16881@rah.star-gate.com> Date: Thu, 16 Apr 1998 08:25:58 -0400 Message-ID: <27290.892729558@north.lcs.mit.edu> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Just take out opt_bktr.h for now. Probably, I will submit a minor >driver upgrade to fix this problem as well as a couple of minor >fixes. > > >What sort of corrupting are you getting and whats your video format: NTSC >or PAL ? I'm using NTSC. The driver you posted hasn't changed the problem - I'll leave a video stream going to FreeBSD Lounge if you want to take a look at the artifacts - I've set the frame-rate limiter to 1fps and bandwidth to 128Kbps in vic. If I comment out the ioctl that sets fps in the driver, I get no image corruption (at the expense I assume of extra PCI traffic), but it seems to be an acceptable workaround, so I'm not too worried. Cheers, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 08:54:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02503 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 08:54:08 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from miller.cs.uwm.edu (miller.cs.uwm.edu [129.89.139.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02494 for ; Thu, 16 Apr 1998 15:54:05 GMT (envelope-from james@miller.cs.uwm.edu) Received: (from james@localhost) by miller.cs.uwm.edu (8.8.5/8.8.5) id KAA31196 for multimedia@freebsd.org; Thu, 16 Apr 1998 10:54:04 -0500 (CDT) Date: Thu, 16 Apr 1998 10:54:04 -0500 (CDT) From: Jim Lowe Message-Id: <199804161554.KAA31196@miller.cs.uwm.edu> To: multimedia@FreeBSD.ORG Subject: Memory speed Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does anyone know where I might find some benchmarks on memory speeds of PCs vs various chipsets? I use to have some of these benchmarks around, but I can't seem to find the source. Thanks, -Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 09:02:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04290 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 09:02:59 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA04275; Thu, 16 Apr 1998 16:02:54 GMT (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 JAA19328; Thu, 16 Apr 1998 09:02:38 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804161602.JAA19328@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: sos@FreeBSD.ORG cc: fj@dkuug.dk (Flemming Jacobsen), freebsd-multimedia@FreeBSD.ORG Subject: Re: Anybody using a KISS PCI TV/RADIO card ?? In-reply-to: Your message of "Thu, 16 Apr 1998 11:50:55 +0200." <199804160950.LAA01387@sos.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 Apr 1998 09:02:38 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just mail me the diffs when you are done. Tnks, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 11:16:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00933 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 11:16:18 -0700 (PDT) (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 SAA00909 for ; Thu, 16 Apr 1998 18:16:11 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA07094; Thu, 16 Apr 1998 18:36:30 +0200 From: Luigi Rizzo Message-Id: <199804161636.SAA07094@labinfo.iet.unipi.it> Subject: video corruption with FPS and vic/brooktree To: multimedia@FreeBSD.ORG Date: Thu, 16 Apr 1998 18:36:30 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have seen the corruption that Mark noticed, and they are similar to those I used to see. There is a user right now connected to "The TIE." group announced via SDR, and he appears to have the same problems. Don't know if it helps, but in my case, the image becomes much better if i stop and restart transmission. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 11:47:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06685 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 11:47:55 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ultra1.dreamscape.com (ultra1.dreamscape.com [206.64.128.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA06670 for ; Thu, 16 Apr 1998 18:47:47 GMT (envelope-from aaron@csh.rit.edu) Received: from thud.homenet (uc6.dreamscape.com [206.114.185.71]) by ultra1.dreamscape.com (8.8.5/8.8.4) with ESMTP id OAA13376; Thu, 16 Apr 1998 14:47:45 -0400 (EDT) Received: (from aaron@localhost) by thud.homenet (8.8.7/8.8.7) id OAA01194; Thu, 16 Apr 1998 14:43:13 -0400 (EDT) (envelope-from aaron) Message-ID: <19980416144312.24925@homenet> Date: Thu, 16 Apr 1998 14:43:12 -0400 From: Aaron Jeremias Luz To: Jim Lowe Cc: multimedia@FreeBSD.ORG Subject: Re: Memory speed Reply-To: aaron@csh.rit.edu References: <199804161554.KAA31196@miller.cs.uwm.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199804161554.KAA31196@miller.cs.uwm.edu>; from Jim Lowe on Thu, Apr 16, 1998 at 10:54:04AM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Apr 16, 1998 at 10:54:04AM -0500, Jim Lowe wrote: > Does anyone know where I might find some benchmarks on memory speeds of > PCs vs various chipsets? I use to have some of these benchmarks around, > but I can't seem to find the source. > > Thanks, > -Jim Check out http://www.sysopt.com. For memory speed in particular, look for the CacheChk survey on that site. You're welcome, Aaron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 11:50:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07356 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 11:50:47 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07318 for ; Thu, 16 Apr 1998 18:50:43 GMT (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 LAA20082; Thu, 16 Apr 1998 11:50:11 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804161850.LAA20082@rah.star-gate.com> To: Luigi Rizzo cc: multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: video corruption with FPS and vic/brooktree In-reply-to: Your message of "Thu, 16 Apr 1998 18:36:30 +0200." <199804161636.SAA07094@labinfo.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20079.892752611.1@rah.star-gate.com> Date: Thu, 16 Apr 1998 11:50:11 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tnks your tip helps. It means that the initialization sequence for frame rate control is not correct. There is also the nice e-mail from brooktree which further elaborates on frame rate control and it also includes a pointer to the Bt848 databook. Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 12:02:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10413 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 12:02:05 -0700 (PDT) (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 TAA10360 for ; Thu, 16 Apr 1998 19:02:00 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id TAA07222; Thu, 16 Apr 1998 19:22:09 +0200 From: Luigi Rizzo Message-Id: <199804161722.TAA07222@labinfo.iet.unipi.it> Subject: Re: video corruption with FPS and vic/brooktree To: hasty@rah.star-gate.com (Amancio Hasty) Date: Thu, 16 Apr 1998 19:22:09 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: <199804161850.LAA20082@rah.star-gate.com> from "Amancio Hasty" at Apr 16, 98 11:49:52 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Tnks your tip helps. It means that the initialization sequence for > frame rate control is not correct. > > There is also the nice e-mail from brooktree which further elaborates > on frame rate control and it also includes a pointer to the > Bt848 databook. if you have time to work on this (unfortunately I don't) I have verified on all the three cards I have that interrupts from the card are not delivered to the application because the tests on bt848->dstatus always return something set. Although i might have some broken PCI implementation (or bad interactions with other PCI peripherals), I am currently running the driver by IGNORING the following bits: BT848_INT_FBUS | BT848_INT_FTRGT | BT848_INT_FDSR | BT848_INT_PPERR I am also skipping the following test: ((bt848->tdec == 0) && (bktr_status & TDEC_BITS)) whatever it means... i don't have time to investigate things, but in this way, and using PAL, fxtv works much more reliably, it does clipping, and does not show only half of the lines when switching to high res (I suspect a lot of actions in fxtv are triggered by interrupts) Just a data point, I am afraid i cannot do more detailed testing. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 12:07:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12195 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 12:07:51 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from north.lcs.mit.edu (north.lcs.mit.edu [18.26.0.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA12159 for ; Thu, 16 Apr 1998 19:07:43 GMT (envelope-from mjh@north.lcs.mit.edu) Received: from north.lcs.mit.edu by north.lcs.mit.edu (SMI-8.6/SMI-SVR4) id PAA28345; Thu, 16 Apr 1998 15:07:28 -0400 From: Mark Handley X-Organisation: Information Sciences Institute, USC X-Phone: +1 617 253 6011 To: Luigi Rizzo cc: multimedia@FreeBSD.ORG Subject: Re: video corruption with FPS and vic/brooktree In-reply-to: Your message of "Thu, 16 Apr 1998 18:36:30 +0200." <199804161636.SAA07094@labinfo.iet.unipi.it> Date: Thu, 16 Apr 1998 15:07:28 -0400 Message-ID: <28343.892753648@north.lcs.mit.edu> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I have seen the corruption that Mark noticed, and they are similar to >those I used to see. There is a user right now connected to "The TIE." >group announced via SDR, and he appears to have the same problems. > >Don't know if it helps, but in my case, the image becomes much better >if i stop and restart transmission. Thanks, but unfortunately this doesn't make any difference for me. This is the first bug I've seen where it works fine when I send fast :-) Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 12:18:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15188 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 12:18:10 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA15169 for ; Thu, 16 Apr 1998 19:17:56 GMT (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 MAA20216; Thu, 16 Apr 1998 12:17:35 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804161917.MAA20216@rah.star-gate.com> To: Luigi Rizzo cc: hasty@rah.star-gate.com (Amancio Hasty), multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Subject: Re: video corruption with FPS and vic/brooktree In-reply-to: Your message of "Thu, 16 Apr 1998 19:22:09 +0200." <199804161722.TAA07222@labinfo.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20213.892754255.1@rah.star-gate.com> Date: Thu, 16 Apr 1998 12:17:35 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I will investigate your suggestion right now . From the top of my head ignoring some of the bits that you mention can cause problems in NTSC land typically we run into problems with NTSC interlace when some of the error bits are ignored. Can't elaborate much more because I am at work. Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 15:13:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24078 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 15:13:38 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from uhf.wireless.net (uhf.wireless.net [209.189.23.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA24034 for ; Thu, 16 Apr 1998 22:13:22 GMT (envelope-from bad@shf.wireless.net) Received: from shf.wireless.net (shf [209.189.23.56]) by uhf.wireless.net (8.8.8/8.8.7) with ESMTP id PAA01104; Thu, 16 Apr 1998 15:12:12 -0700 (PDT) Received: from localhost (bad@localhost) by shf.wireless.net (8.8.8/8.8.8) with SMTP id PAA00667; Thu, 16 Apr 1998 15:13:35 -0700 (PDT) (envelope-from bad@shf.wireless.net) Date: Thu, 16 Apr 1998 15:13:35 -0700 (PDT) From: Bernie Doehner To: Luigi Rizzo cc: multimedia@FreeBSD.ORG, cbah@chez.com Subject: Re: MAD16 based soundcard support (fwd) - WHAT VERSION? In-Reply-To: <199804131641.SAA01434@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 Hi Vladimir/Luigi: Thanks for taking the initiative to finish the mad16 driver support. I have been at it off and on, but other things always took my time. I just tried patching my /sys/i386/isa/snd driver per instructions in the tar, and the patching failed. I tried it both on a 3.0-971225-SNAP and a 3.0-980311-SNAP box. It's the first time I have gotten an abort trap out of patch.. Anyone know what that means? Could you please tell us, which version of the driver and what version of FreeBSD this patch is for? Here is a transcript of my patch attempt: Script started on Thu Apr 16 15:03:26 1998 You have mail. shf# patch < /home/bad/mad16/mad16/sound.c.diff Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sound.c.orig Fri Feb 13 16:33:08 1998 |--- sound.c Tue Mar 10 10:44:58 1998 -------------------------- Patching file sound.c using Plan A... Hunk #1 succeeded at 115. Hunk #2 succeeded at 140. Hunk #3 succeeded at 156. Hunk #4 succeeded at 191. Hunk #5 succeeded at 207. Hunk #6 succeeded at 218. Hunk #7 succeeded at 229. Hunk #8 succeeded at 365. assertion "fillsrc==p_end+1 || fillsrc==repl_beginning" failed: file "/usr/src/gnu/usr.bin/patch/pch.c", line 877 Abort (core dumped) shf# patch < /home/bad/mad16/mad16/sound.h.diff Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sound.h.orig Wed Mar 18 21:13:22 1998 |--- sound.h Tue Apr 7 21:00:39 1998 -------------------------- Patching file sound.h using Plan A... Hunk #1 succeeded at 35. Hunk #2 succeeded at 82 (offset -5 lines). Hunk #3 succeeded at 328 (offset -5 lines). Hunk #4 succeeded at 418 (offset -5 lines). Hunk #5 failed at 444. 1 out of 5 hunks failed--saving rejects to sound.h.rej done shf# exit exit Script done on Thu Apr 16 15:03:51 1998 Bernie On Mon, 13 Apr 1998, Luigi Rizzo wrote: > Date: Mon, 13 Apr 1998 18:41:05 +0200 (MET DST) > From: Luigi Rizzo > To: multimedia@FreeBSD.ORG > Subject: MAD16 based soundcard support (fwd) > > I receive this from Vladimir and am glad to forward it to the group > per his request. Have not looked at the code. > > cheers > luigi > > Forwarded message: > > From cbah@chez.com Mon Apr 13 17:56:09 1998 > > Message-Id: <199804131736.UAA02476@storage.delta.odessa.ua> > > From: "Vladimir N.Silyaev" > > To: "l.rizzo@iet.unipi.it" > > Date: Mon, 13 Apr 98 20:36:42 +0200 > > Reply-To: "cbah@chez.com" > > Priority: Normal > > X-Mailer: PMMail 1.95a For OS/2 > > MIME-Version: 1.0 > > Content-Type: text/plain; charset="us-ascii" > > Content-Transfer-Encoding: 7bit > > Subject: MAD16 based soundcard support > > > > Hi! > > > > Now at ftp://ftp.freebsd.org/pub/FreeBSD/incoming/sound_mad16_01.tar.gz > > avaliable patches for FreeBSD new sound drivers for support MAD16 based > > soundcard. > > > > With best regards, > > V.Silyaev > > > > P.S. Please forward this message to FreeBSD mailing list. > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 16:17:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09734 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 16:17:27 -0700 (PDT) (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 XAA09628 for ; Thu, 16 Apr 1998 23:17:12 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 16 Apr 1998 19:16:40 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA18070; Thu, 16 Apr 98 19:16:39 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA25650; Thu, 16 Apr 1998 19:16:04 -0400 Message-Id: <19980416191604.A25620@ct.picker.com> Date: Thu, 16 Apr 1998 19:16:04 -0400 From: Randall Hopper To: alk@pobox.com, multimedia@FreeBSD.ORG Subject: Re: transparent color pixmaps Mail-Followup-To: alk@pobox.com, multimedia@FreeBSD.ORG References: <199804100121.UAA04789@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199804100121.UAA04789@pobox.com>; from Tony Kimball on Thu, Apr 09, 1998 at 08:21:36PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tony Kimball: |What tool can be used to generate (paint) color pixmaps with transparent |bits, or for that matter, gifs with transparent bits? sfarrell+lists@farrell.org: |vi for the former, and gimp for either. | |Here's an example pixmap (that "none" will be transparent): Sorry--a week late chiming in on this thread. For GIFs, there's giftrans and gifmerge (among others I'm sure). Command-line utils that'll let you specify a color in the image to make transparent and generate a new GIF. gifmerge (as the name implies), also allows you to combine multiple single-frame GIFs into an animated GIF. Probably an easy find in Lycos, DejaNews, or Yahoo (if we don't have a port). If not, let me know and I'll e-mail you the src tarballs. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 16:21:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA11255 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 16:21:43 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from north.lcs.mit.edu (north.lcs.mit.edu [18.26.0.4]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA11096 for ; Thu, 16 Apr 1998 23:21:14 GMT (envelope-from mjh@north.lcs.mit.edu) Received: from north.lcs.mit.edu by north.lcs.mit.edu (SMI-8.6/SMI-SVR4) id TAA29021; Thu, 16 Apr 1998 19:20:43 -0400 From: Mark Handley X-Organisation: Information Sciences Institute, USC X-Phone: +1 617 253 6011 To: Amancio Hasty cc: multimedia@FreeBSD.ORG Subject: Re: video corruption with FPS and vic/brooktree In-reply-to: Your message of "Thu, 16 Apr 1998 12:17:35 PDT." <199804161917.MAA20216@rah.star-gate.com> Date: Thu, 16 Apr 1998 19:20:42 -0400 Message-ID: <29019.892768842@north.lcs.mit.edu> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I will investigate your suggestion right now . From the top of my head >ignoring some of the bits that you mention can cause problems in >NTSC land typically we run into problems with NTSC interlace when >some of the error bits are ignored. Can't elaborate much more >because I am at work. Some experimentation reveals that if I make the following change, the image corruption I've been seeing grabbing 320x240 goes away: if ( !(bktr_status & BT848_INT_RISC_EN) || ((bktr_status &(/*BT848_INT_FBUS | XXX*/ BT848_INT_FTRGT | /*BT848_INT_FDSR | XXX*/ BT848_INT_PPERR | BT848_INT_RIPERR | BT848_INT_PABORT | BT848_INT_OCERR | BT848_INT_SCERR) ) != 0) || ((bt848->tdec == 0) && (bktr_status & TDEC_BITS)) ) { .... Now I'm not advocating this as a fix (it doesn't do good things when grabbing 640x480), but I'm hoping it's enough of a clue that someone with BT848 documentation can figure out what's going on. Also, if I don't make the change above, but instead limit bt848->tdec so that it doesn't exceed 20 (ie 10 fps on an NTSC system grabbing even fields), then the problem also goes away. Any higher than 20 and I see the problem. Hope these clues trigger some ideas! Cheers, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 16:35:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16000 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 16:35:21 -0700 (PDT) (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 XAA15991 for ; Thu, 16 Apr 1998 23:35:15 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id QAA00311 for ; Thu, 16 Apr 1998 16:35:13 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 16 Apr 1998 16:35:13 -0700 (PDT) From: Doug White Reply-To: Doug White To: multimedia@FreeBSD.ORG Subject: vic tuner patches work great, mostly 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 TSIA. The brightness is a bit wacky - it rolls over in the middle of the slider, from bright to dark. BTW, what does `Thre' mean? It's some sort of threshold on quality but I'm not sure. And someone needs to fix the vic port -- it blows up if the qcam-grabber is built on my machine. I have to go in and hand-remove it from the build. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 16:52:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19732 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 16:52:53 -0700 (PDT) (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 XAA19718 for ; Thu, 16 Apr 1998 23:52:49 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 16 Apr 1998 19:52:15 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA18715; Thu, 16 Apr 98 19:52:14 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA25748; Thu, 16 Apr 1998 19:51:38 -0400 Message-Id: <19980416195138.B25620@ct.picker.com> Date: Thu, 16 Apr 1998 19:51:38 -0400 From: Randall Hopper To: Chris Csanady , freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 questions... Mail-Followup-To: Chris Csanady , freebsd-multimedia@FreeBSD.ORG References: <199804120450.XAA02189@friley585.res.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199804120450.XAA02189@friley585.res.iastate.edu>; from Chris Csanady on Sat, Apr 11, 1998 at 11:50:36PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris Csanady: I see you've already got 2 good responses to your mail. Let me see if I can help some. |How exactly is the video rendered into windows, and how does the scaling |work? Does the direct video allow for the graphics card to do the scaling? | |I usually use 1600x1200, and would rather the video consume more than a |4x3" area. :) As Amancio mentioned, with the current driver RGB data is pushed over the PCI bus. In RGB mode, the capture card (e.g. Hauppauge Wincast) does the scaling. The Bt848 chip on the card is limited for NTSC to scale RGB up to 640x480 in all color depths. So in pixels, that's the biggest TV block you'll see on your screen in FreeBSD. On my 21" monitor @ 1600x1200, that's a good-size block about 6"x4.5". However, even if you run 1600x1200 like I do sometimes, you can still get full-screen TV on-demand thanks to XFree86 and software mode switching. When you run Fxtv (a FreeBSD TV app), you can tell it to go full-screen on-command (via key, mouse, or GUI button). Under the hood, it software-switches video modes to 640x480 and positions the viewport so your TV window fills the screen. Hit another key and your back to your previous mode (1600x1200). So you get the best of both worlds. Now, the Bt848 chip also supports YUV transfers to the video card, letting it do scaling and colorspace conversion, but XFree needs some work to support this last I heard. With mode switching instead, I find I really don't have any need for it (YUV/vidcard scaling). |Any comments on the relative quality of specific brands? I second the good comments about Hauppauge Wincast TV cards. |As an aside, I am also looking for a new sound card. Is there any real |audible difference in sound quality between the SB16 WaveEffects and AWE64? |I am only interested in audio playback/recording, etc. I'd hate to shell |out any more money for an ISA card than I have to. :\ Don't know anything about the "WaveEffects" part. If MIDI/wavetable isn't important to you, I wouldn't shell out the few extra bucks for an AWE64. Functionally AFAIK, the non-wavetable part of the SB32/AWE32*/AWE64* cards is a SB16. Just look for a SB16 card. PnP or non-PnP is fine, but pick a non-PnP if you have a choice. However, keep in mind that the SB16 component on SB16/SB32/AWE32*/AWE64* cards are NOT all the same. If digital record/playback sound quality is important. Make sure you get one with the Vibra16 chipset. It's also made by Creative Labs, fully SB16 chipset compatible, used on some of their SB16 (and derived) cards, and it doesn't have the ambient noise problem that the original SB16 chipset does. It is used on some SB16 (and derived) cards and not others. It was used on all the SB32s as far as I know, for example (I have one). Worth a check. However, if video/audio conferencing is important to you (full-duplex audio), you may want to look at other choices. To get full-duplex on SB16 and derived cards, sound drivers have to play games like using 8-bit in one direction and 16-bit in the other. Luigi has mentioned that his drivers support it, but there are other cards where such games aren't necessary. Luigi and others that are into MBone and vid/aud conf can give you the scoop there. Personally, I'm real happy with my SB32. Records/plays audio very nicely, like the wavetable for MIDIs, and it's compatible with lots of existing S/W. 28.8k modem here (no MBone for me), so full-duplex isn't a big deal here. Hope this helps. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Apr 16 22:55:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00728 for freebsd-multimedia-outgoing; Thu, 16 Apr 1998 22:55:58 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from toetag.toetag.com (root@toetag.com [206.80.6.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA00625 for ; Fri, 17 Apr 1998 05:55:41 GMT (envelope-from tom@toetag.com) Received: from foo.toetag.com (tom@foo.toetag.com [10.0.2.3]) by toetag.toetag.com (8.8.5/8.7.3) with SMTP id WAA03119 for ; Thu, 16 Apr 1998 22:55:31 -0700 (PDT) Message-ID: <3536EED3.41C67EA6@toetag.com> Date: Thu, 16 Apr 1998 22:55:31 -0700 From: Tom Organization: ToeTag Network Services X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: multimedia@FreeBSD.ORG Subject: (no subject) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Any idea where http://gemma.apple.com:80/dev/technotes/tn/tn1012.html#RTFToC4 referred to from http://www.freebsd.org/~ahasty/Bt848.html has been moved to? It's a link on the bt848 driver page described as "A nice list of channel frequencies for various areas around the world. " Thanks, -- ToeTag.Com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 00:44:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA28803 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 00:44:13 -0700 (PDT) (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 HAA28609 for ; Fri, 17 Apr 1998 07:43:45 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08348; Fri, 17 Apr 1998 08:04:00 +0200 From: Luigi Rizzo Message-Id: <199804170604.IAA08348@labinfo.iet.unipi.it> Subject: Re: vic tuner patches work great, mostly To: dwhite@resnet.uoregon.edu Date: Fri, 17 Apr 1998 08:04:00 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: from "Doug White" at Apr 16, 98 04:34:54 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > TSIA. The brightness is a bit wacky - it rolls over in the middle of the > slider, from bright to dark. i know. And the funny thing is, it works fine with the meteor. I am pretty sure it is some signed/unsigned problem in interpreting the value. Either the meteor or the brooktree should be fixed (and I am afraid that probably the meteor will have to be changed, since too many people use fxtv... > BTW, what does `Thre' mean? It's some sort of threshold on quality but > I'm not sure. right. The routine in vic to determine if a block has changed computes a partial difference and then compares it with a threshold. In the original sources (grabber.h ?) the threshold is fixed at 48, I wanted to experiment a little bit with different ones, because in some situations (e.g. poor lighting, or neon lights) the output of the camera can be very noisy and it pays to raise the threshold. > And someone needs to fix the vic port -- it blows up if the qcam-grabber > is built on my machine. I have to go in and hand-remove it from the > build. is this after the qcam driver removal in 2.2.6 ? I am still having the qcam driver compiled in into 2.2.1 and it seems to work. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 00:45:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA29002 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 00:45:36 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from quokka.prth.tensor.pgs.com (quokka1.prth.tensor.pgs.com [157.147.224.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28950 for ; Fri, 17 Apr 1998 07:45:30 GMT (envelope-from shocking@ariadne.prth.tensor.pgs.com) Received: from ariadne.tensor.pgs.com (ariadne [157.147.227.36]) by quokka.prth.tensor.pgs.com (8.8.7/8.8.7) with SMTP id PAA09419 for ; Fri, 17 Apr 1998 15:44:44 +0800 (WST) Received: from ariadne by ariadne.tensor.pgs.com (SMI-8.6/SMI-SVR4) id PAA02902; Fri, 17 Apr 1998 15:44:35 +0800 Message-Id: <199804170744.PAA02902@ariadne.tensor.pgs.com> X-Mailer: exmh version 2.0.2 2/24/98 To: multimedia@FreeBSD.ORG Subject: Full duplex capable cards? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 17 Apr 1998 15:44:35 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What cards can do full duplex under the current VoxWare & Luigi's pcm code? Stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 01:00:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01651 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 01:00:12 -0700 (PDT) (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 IAA01635 for ; Fri, 17 Apr 1998 08:00:02 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08432; Fri, 17 Apr 1998 08:19:52 +0200 From: Luigi Rizzo Message-Id: <199804170619.IAA08432@labinfo.iet.unipi.it> Subject: Re: Full duplex capable cards? To: shocking@prth.pgs.com (Stephen Hocking-Senior Programmer PGS Tensor Perth) Date: Fri, 17 Apr 1998 08:19:52 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: <199804170744.PAA02902@ariadne.tensor.pgs.com> from "Stephen Hocking-Senior Programmer PGS Tensor Perth" at Apr 17, 98 03:44:16 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > What cards can do full duplex under the current VoxWare & Luigi's pcm code? for my pcm code: 1) A/Open AW35 or other cards based on the CS4236/CS4237 1) Yamaha OPL/SA3 2) opti931 if you are really desperate, some old SB16 (NOT the newer vibra16X) also do full duplex but with 8-bit in one direction, 16-bit in the other one. Cannot comment for voxware. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 01:03:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA02006 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 01:03:42 -0700 (PDT) (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 IAA02000 for ; Fri, 17 Apr 1998 08:03:38 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08450; Fri, 17 Apr 1998 08:24:02 +0200 From: Luigi Rizzo Message-Id: <199804170624.IAA08450@labinfo.iet.unipi.it> Subject: another one is gone... To: multimedia@FreeBSD.ORG Date: Fri, 17 Apr 1998 08:24:01 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >From http://www.opti.com/html/technicalsupport.html OPTI's audio business unit was sold to Creative Technology in November, and this new group is called Ectiva. For information on audio chipsets 82C933, MachOne and up, contact Daniel Chen at Ectiva, 408-262-1277. End user support for the 82C931 and previous generation chipsets is limited to downloading drivers and data sheets from this web site. on the OPTI site, data sheets for the C933 and PCI sound cards are not available unless you are a registered OEM customer. :( This probably means that we will not have support for these chipsets. All my inquiries for data sheets and programming info have been unanswered so far. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 05:35:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA12605 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 05:35:11 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from user.xtdl.com (user.xtdl.com [206.25.228.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12600; Fri, 17 Apr 1998 12:35:08 GMT (envelope-from sderdau@xtdl.com) Received: from user.xtdl.com (user.xtdl.com [206.25.228.20]) by user.xtdl.com (8.8.8/8.6.9) with SMTP id IAA15385; Fri, 17 Apr 1998 08:40:16 -0400 (EDT) Date: Fri, 17 Apr 1998 08:40:16 -0400 (EDT) From: "Stephen A. Derdau" To: questions@FreeBSD.ORG cc: multimedia@FreeBSD.ORG Subject: error msg soun 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 does this error message mean? tsleep returns 4 timeout flushing dbuf_out.chan, cnt 0xff00 flags 0x000041c1 Getting this erro message trying to run raplayer. have pnp0 and pcm0 2.2.6-stable. /dev/audio -> /dev/audi0 linking to /dev/audio1 gets me no such device. Now at least I am getting some type of error message other than pcm1 device not configred maybe you mean pcm0 "FreeBSD It's That and Much Much More" Find out Why @ http://www.freebsd.org Thank You /sd UNIX newbie !!! http://derdau.xtdl.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 07:46:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA03017 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 07:46:49 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from mail.atipa.com (altrox.atipa.com [208.128.22.34]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA02998 for ; Fri, 17 Apr 1998 14:46:44 GMT (envelope-from freebsd@atipa.com) Received: (qmail 14610 invoked by uid 1017); 17 Apr 1998 13:43:55 -0000 Date: Fri, 17 Apr 1998 07:43:55 -0600 (MDT) From: Atipa To: Luigi Rizzo cc: multimedia@FreeBSD.ORG Subject: Re: another one is gone... In-Reply-To: <199804170624.IAA08450@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 If you know of any card manufacturers (FIC, Sun Moon Star, etc.) using OPTi chipsets, I may be able to get the specs from them. Kevin On Fri, 17 Apr 1998, Luigi Rizzo wrote: > >From http://www.opti.com/html/technicalsupport.html > > OPTI's audio business unit was sold to Creative Technology in > November, and this new group is called Ectiva. For information on audio > chipsets 82C933, MachOne and up, contact Daniel Chen at Ectiva, > 408-262-1277. > > End user support for the 82C931 and previous generation chipsets is > limited to downloading drivers and data sheets from this web site. > > on the OPTI site, data sheets for the C933 and PCI sound cards are > not available unless you are a registered OEM customer. :( This > probably means that we will not have support for these chipsets. > All my inquiries for data sheets and programming info have been > unanswered so far. > > 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/ > _____________________________|______________________________________ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 15:30:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA20682 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 15:30:08 -0700 (PDT) (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 WAA20676 for ; Fri, 17 Apr 1998 22:30:06 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id PAA01808; Fri, 17 Apr 1998 15:29:31 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 17 Apr 1998 15:29:31 -0700 (PDT) From: Doug White Reply-To: Doug White To: Luigi Rizzo cc: multimedia@FreeBSD.ORG Subject: Re: vic tuner patches work great, mostly In-Reply-To: <199804170604.IAA08348@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, 17 Apr 1998, Luigi Rizzo wrote: > > TSIA. The brightness is a bit wacky - it rolls over in the middle of the > > slider, from bright to dark. > > i know. And the funny thing is, it works fine with the meteor. I > am pretty sure it is some signed/unsigned problem in interpreting > the value. Either the meteor or the brooktree should be fixed (and > I am afraid that probably the meteor will have to be changed, since > too many people use fxtv... I seem to remember this problem from the early days of the bt848 driver. :) > > BTW, what does `Thre' mean? It's some sort of threshold on quality but > > I'm not sure. > > right. The routine in vic to determine if a block has changed > computes a partial difference and then compares it with a threshold. > > In the original sources (grabber.h ?) the threshold is fixed at > 48, I wanted to experiment a little bit with different ones, because > in some situations (e.g. poor lighting, or neon lights) the output > of the camera can be very noisy and it pays to raise the threshold. Thanks for throwing that in, I can see how useful it can be. > > And someone needs to fix the vic port -- it blows up if the qcam-grabber > > is built on my machine. I have to go in and hand-remove it from the > > build. > > is this after the qcam driver removal in 2.2.6 ? I am still having the > qcam driver compiled in into 2.2.1 and it seems to work. I'm on 2.2.5, but it wants libqcam and I probably have a stale version running around from when I tried to get it working way back when. If I blew away all remnants of the qcam stuff it'd probably shut up. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Apr 17 23:00:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA08888 for freebsd-multimedia-outgoing; Fri, 17 Apr 1998 23:00:02 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from george.arc.nasa.gov (george.arc.nasa.gov [128.102.194.142]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA08848 for ; Sat, 18 Apr 1998 05:59:57 GMT (envelope-from lamaster@george.arc.nasa.gov) Received: (from lamaster@localhost) by george.arc.nasa.gov (8.8.7/8.8.7) id WAA00699; Fri, 17 Apr 1998 22:59:45 -0700 (PDT) Date: Fri, 17 Apr 1998 22:59:44 -0700 (PDT) From: Hugh LaMaster To: Jim Lowe cc: multimedia@FreeBSD.ORG Subject: Re: Memory speed In-Reply-To: <199804161554.KAA31196@miller.cs.uwm.edu> 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 Thu, 16 Apr 1998, Jim Lowe wrote: > Does anyone know where I might find some benchmarks on memory speeds of > PCs vs various chipsets? I use to have some of these benchmarks around, > but I can't seem to find the source. "c't" magazine has an interesting program for x86. I think it is somewhere on their web site, and they publish results from time to time. (It has been awhile since I ran it, but, it seems to me that it has to run in (unprotected) DOS mode on W95. My German is not too good, but, you can look here: http://www.heise.de/ http://www.heise.de/ct/ftp/pcconfig.shtml I think the file you want is ctcm161.zip If you find a place where the results are collected, let us know. There are ctcm results on Tom's Hardware page also: http://sysdoc.pair.com/ http://sysdoc.pair.com/ctcm.html No slot I/II, LX/BX results though. John McCalpin's stream benchmarks are to be found on: http://www.cs.virginia.edu/stream/ http://www.cs.virginia.edu/stream/standard/Bandwidth.html There is still some useful stuff around Larry McVoy's lmbench site, although it is getting a little stale: http://reality.sgi.com/lm/lmbench/lmbench.html http://reality.sgi.com/lm/lmbench/lmbench-summary A different approach, which I find very useful, is the Hint benchmark from the (DoE) Ames Lab (Ames, Iowa - not NASA Ames). See: http://www.scl.ameslab.gov/Projects/HINT/HINThomepage.html http://www.scl.ameslab.gov/cgi-bin/HINT/hint.pl -- Hugh LaMaster, M/S 233-21, ASCII Email: hlamaster@mail.arc.nasa.gov NASA Ames Research Center Or: lamaster@george.arc.nasa.gov Moffett Field, CA 94035-1000 No Junkmail: USC 18 section 2701 Phone: 650/604-1056 Disclaimer: Unofficial, personal *opinion*. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 03:03:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA03331 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 03:03:06 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA03319; Sat, 18 Apr 1998 03:03:04 -0700 (PDT) (envelope-from Majordomo-Owner@FreeBSD.ORG) Date: Sat, 18 Apr 1998 03:03:04 -0700 (PDT) Message-Id: <199804181003.DAA03319@hub.freebsd.org> To: freebsd-multimedia From: Majordomo@FreeBSD.ORG Subject: Confirmation for subscribe majordomo Reply-To: Majordomo@FreeBSD.ORG Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -- Please be sure to read the charters before subscribing or sending mail to any FreeBSD mailing list for an explanation of which topics are relevant for a given list and what types of postings are and are not allowed. They may be found at: http://www.freebsd.org/handbook/eresources:charters.html Someone (possibly you) has requested that your email address be added to or deleted from the mailing list "majordomo@FreeBSD.ORG". If you really want this action to be taken, please send the following commands (exactly as shown) back to "Majordomo@FreeBSD.ORG": auth 06ba4d17 subscribe majordomo freebsd-multimedia If you do not want this action to be taken, simply ignore this message and the request will be disregarded. If your mailer will not allow you to send the entire command as a single line, you may split it using backslashes, like so: auth 06ba4d17 subscribe majordomo \ freebsd-multimedia If you have any questions about the policy of the list owner, please contact "majordomo-approval@FreeBSD.ORG". Thanks! Majordomo@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 08:18:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24359 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 08:18:09 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from nash.pr.mcs.net (nash.pr.mcs.net [204.95.47.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24354 for ; Sat, 18 Apr 1998 15:18:06 GMT (envelope-from alex@nash.pr.mcs.net) Received: (from alex@localhost) by nash.pr.mcs.net (8.8.8/8.8.7) id KAA01042 for freebsd-multimedia@freebsd.org; Sat, 18 Apr 1998 10:17:26 -0500 (CDT) (envelope-from alex) Message-Id: <199804181517.KAA01042@nash.pr.mcs.net> Date: Sat, 18 Apr 1998 10:17:25 -0500 (CDT) From: Alex Nash Subject: Bt848: no IRQ To: freebsd-multimedia@FreeBSD.ORG MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm trying to get a Hauppauge WinTv to work with the BT848 driver, but with little luck. My configuration: o Model 400 with a "Rev E" tuner & dbx stereo (this seems to be a Hauppauge model change, previously the 401 was the dbx version). o -current as of yesterday o Boot verbose shows: bktr0: rev 0x12 int a irq 12 on pci0.12.0 brooktree0: PCI bus latency is 32. bktr0: buffer size 3555328, addr 0x3000000 bktr: GPIO is 0x00fffffb o The card is detected as TEMIC PAL, even though this is an NTSC board. o sign.c from Amancio's page returns: signature contents, 0x01 thru 0xff: 00 00 00 00 00 00 00 00 00 00 01 08 02 00 00 00 i2c device found @ 0xa0 0xb6 0xc2 The -current driver incorrectly identified the tuner as TEMIC PAL. Currently, I'm overriding the tuner detection to my own tuner settings: { "MY TUNER", /* the 'name' */ TTYPE_NTSC, /* input type */ TSA552x_WADDR, /* PLL write address */ { TSA552x_SCONTROL, /* control byte for PLL */ TSA552x_SCONTROL, TSA552x_SCONTROL, 0x00 }, { 0x00, 0x00 }, /* band-switch crosspoints */ { 0xa0, 0x90, 0x30, 0x00 } }, /* the band-switch values */ I can now fire up fxtv and hear audio for the selected channel, the problem is there's no video. Since I'm using XiG's X server, fxtv switches to using XImages instead of DGA. In this mode, fxtv relies on the brooktree driver sending it a signal on frame completion (correct me if I misunderstand this, Randall). It turns out that this signal is not being sent by the bt848 interrupt handler, and that furthermore, the interrupt handler isn't ever being called itself. The next thing I did was to check vmstat -i, but there was no irq 12 to be seen (even when fxtv was running). I've traced through bktr_attach()'s interrupt registration, and everything seems to go ok, but still no irq 12 in vmstat -i. I've also watched for calls to intr_disconnect and unregister_intr, but neither one is being called. So the question is: where'd the interrupt handler setting go (if anywhere, and if nowhere, what is preventing the WinTV board from generating the interrupt)? Thanks for any light anyone can shed on this. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 10:30:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA23940 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 10:30:09 -0700 (PDT) (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 RAA23932 for ; Sat, 18 Apr 1998 17:30:06 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 18 Apr 1998 13:29:35 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA12898; Sat, 18 Apr 98 13:29:35 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id NAA03471; Sat, 18 Apr 1998 13:28:54 -0400 Message-Id: <19980418132854.A3440@ct.picker.com> Date: Sat, 18 Apr 1998 13:28:54 -0400 From: Randall Hopper To: "Aaron D. Gifford" , multimedia@FreeBSD.ORG Subject: Re: AWE32 not found Mail-Followup-To: "Aaron D. Gifford" , multimedia@FreeBSD.ORG References: <3535D8AD.C7DF4F52@infowest.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <3535D8AD.C7DF4F52@infowest.com>; from Aaron D. Gifford on Thu, Apr 16, 1998 at 10:08:45AM +0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Aaron D. Gifford: |Okay, what am I doing wrong such that I keep getting "AWE32 not found" |messages during boot? From all the web site stuff (and multimedia |archive searches) my current config. should work. What am I missing? | |Thanks in advance for pointers, tips, help, etc. Please reply to my |address, since I'm not yet subscribed to the multimedia list. ... |>From /usr/src/sys/i386/conf/LOCAL: | controller pnp0 ... |>From dmesg: |----------- ... | AWE32 not found If you haven't, might check the PnP Info link on http://multiverse.com/~rhh/awedrv. I'm going to bet this is a PnP issue. Mine is non-PnP, but a number of other folks with PnP AWE/SB32 cards have gotten them working using Luigi's PnP code. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 11:03:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28748 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 11:03:40 -0700 (PDT) (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 SAA28737 for ; Sat, 18 Apr 1998 18:03:37 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 18 Apr 1998 14:03:06 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA13400; Sat, 18 Apr 98 14:03:06 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id OAA03526; Sat, 18 Apr 1998 14:02:22 -0400 Message-Id: <19980418140222.B3440@ct.picker.com> Date: Sat, 18 Apr 1998 14:02:22 -0400 From: Randall Hopper To: Alex Nash , freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848: no IRQ Mail-Followup-To: Alex Nash , freebsd-multimedia@FreeBSD.ORG References: <199804181517.KAA01042@nash.pr.mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199804181517.KAA01042@nash.pr.mcs.net>; from Alex Nash on Sat, Apr 18, 1998 at 10:17:25AM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alex Nash: |I'm trying to get a Hauppauge WinTv to work with the BT848 driver, but |with little luck. My configuration: | | o Model 400 with a "Rev E" tuner & dbx stereo (this seems to be | a Hauppauge model change, previously the 401 was the dbx version). ... | bktr0: rev 0x12 int a irq 12 on pci0.12.0 | brooktree0: PCI bus latency is 32. ... | o The card is detected as TEMIC PAL, even though this is an NTSC | board. This is a for testing, not a fix, but try adding one of these to your kernel config: options OVERRIDE_TUNER=9 options OVERRIDE_TUNER=4 options OVERRIDE_TUNER=1 (The meanings are listed under OVERRIDE_TUNER in sys/pci/brooktree848.c.) I think you'll need the first one. If you have MSW95 installed, you can chose which better by checking the tuner listed in device properties for the WinTV card. Should list the tuner model. Probably an FR1236. |The -current driver incorrectly identified the tuner as TEMIC PAL. |Currently, I'm overriding the tuner detection to my own tuner settings: Yep, looks like the FR1236, once the #defines are replaced. |I can now fire up fxtv and hear audio for the selected channel, the |problem is there's no video. Since I'm using XiG's X server, fxtv |switches to using XImages instead of DGA. In this mode, fxtv relies on |the brooktree driver sending it a signal on frame completion (correct |me if I misunderstand this, Randall). It turns out that this signal is That's right. For XImage captures (single-frame and non-direct-video continuous frame captures), signals are used to register new frames. If this is a general problem with the latest driver and/or -current, other folks should be able to see on XFree by running with Direct Video disabled: fxtv -disableDirectV |not being sent by the bt848 interrupt handler, and that furthermore, |the interrupt handler isn't ever being called itself. ... Hmm. Wonder if anyone else is having trouble with their FR1236 WinTV cards with the latest driver/-current? Many could be and would never know, if they're running XFree86, since DGA mode doesn't require interrupts to work. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 11:23:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA03990 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 11:23:56 -0700 (PDT) (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 SAA03889 for ; Sat, 18 Apr 1998 18:23:52 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 18 Apr 1998 14:23:19 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA13719; Sat, 18 Apr 98 14:23:18 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id OAA03560; Sat, 18 Apr 1998 14:22:39 -0400 Message-Id: <19980418142238.C3440@ct.picker.com> Date: Sat, 18 Apr 1998 14:22:38 -0400 From: Randall Hopper To: Donald Burr , freebsd-multimedia@FreeBSD.ORG Subject: Re: what is "mp2encode" and where is it? Mail-Followup-To: Donald Burr , freebsd-multimedia@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Donald Burr on Tue, Apr 14, 1998 at 03:23:11AM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry for the slow response. I don't filter through my list boxes as often as I should. Donald Burr: |I'm trying to use fxtv to create mpegs of video, and am getting an error |message saying the program "mp2encode" cannot be found. This apparently |has somehting to do with audio. I grepped through the PLISTs in |/usr/ports but was unable to find any port containing a file "mp2encode". |What is this utility, and where can I obtain it from? That used to be the name I used for the MPEG audio encode utility. The more common name is mpeg_musicin, so I renamed them. Put these settings in your .Xdefaults or Fxtv class resource file, and it'll look for these alternate names: ! Custom MPEG record and play commands Fxtv.recCmdMpeg2: mpeg_musicin -l 2 -p 1 Fxtv.recCmdMpeg3: mpeg_musicin -l 3 -p 2 Fxtv.playCmdMpeg2: mpg123 Fxtv.playCmdMpeg3: mpg123 The FreeBSD package "mpegaudio" contains mpeg_musicin and mpeg_musicout. But I had byte-order problems with them. So I rebuilt the package from source and that did the trick. The procedure for doing this is documented in Appendix A in the README: http://multiverse.com/~rhh/fxtv/README Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 12:05:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11732 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 12:05:39 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA11725 for ; Sat, 18 Apr 1998 19:05:37 GMT (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 MAA09508 for ; Sat, 18 Apr 1998 12:05:34 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804181905.MAA09508@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: multimedia@FreeBSD.ORG Subject: new bt848 driver Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Apr 1998 12:05:34 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The new version has been checked to -current and it is at http://www.freebsd.org/~ahasty/Bt848.html ftp://rah.star-gate.com/pub/Bt848.html Changed history: 1.29 Roger Hardiman Revised autodetection code to correctly handle both old and new VideoLogic Captivator PCI cards. Added tsleep of 2 seconds to initialistion code for PAL users.Corrected clock selection code on format change. 1.30 Bring back Frank Nobis 's opt_bktr.h Roger's 2 second sleeps during initialization allows the bt848 to correctly settle down without it he has a test case which the bt848 locks up his system -- this is not a driver problem rather a bt848 problem. Frank Nobis added an opt_bktr.h (option include file) in your kernel config file to override the tuner detection use: options OVERRIDE_TUNER=x The current values are found in /usr/src/sys/pci/brooktree848.c If you happen to have an old kernel with no support for opt_bktr.h, just add to your /sys/i386/conf/options.i386: # give bktr an opt_bktr.h file OVERRIDE_TUNER opt_bktr.h Enjoy, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 13:03:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19217 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 13:03:56 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA19210 for ; Sat, 18 Apr 1998 20:03:53 GMT (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 NAA09689; Sat, 18 Apr 1998 13:03:48 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804182003.NAA09689@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Alex Nash cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848: no IRQ In-reply-to: Your message of "Sat, 18 Apr 1998 10:17:25 CDT." <199804181517.KAA01042@nash.pr.mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Apr 1998 13:03:48 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Try vic to see if you get any picture at all. Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 13:13:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20641 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 13:13:48 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from freeside.fc.net (freeside.fc.net [207.170.70.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20635 for ; Sat, 18 Apr 1998 20:13:45 GMT (envelope-from jerry@freeside.fc.net) Received: from freeside.fc.net (localhost.fc.net [127.0.0.1]) by freeside.fc.net (8.8.8/8.8.8) with ESMTP id PAA06057 for ; Sat, 18 Apr 1998 15:13:44 -0500 (CDT) Message-Id: <199804182013.PAA06057@freeside.fc.net> To: multimedia@FreeBSD.ORG Subject: problem capturing video with BT848/Haughpage Win/Tv Date: Sat, 18 Apr 1998 15:13:44 -0500 From: Jeremy Porter Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've gotten my system to be able to display video in a window with fxtv, but I can't seem to save data. This system is a AMD K5-133 and doesn't have a lot of horsepower, but that doesn't seem to be the problem. The save image feature doesn't work it reports "No frozen image". The freeze image button doesn't seem to matter here. It looks like this error is generated in TVActionSaveImageAction, but this just appears to be a symptom of freeze image not working correctly. I'm running int 16bpp right now, and am going to try 24bpp and see if that helps, but if people have seen this before I'd like to hear about it. --- Jeremy Porter, Freeside Communications, Inc. jerry@fc.net PO BOX 80315 Austin, Tx 78708 | 512-458-9810 http://www.fc.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 13:45:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26498 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 13:45:24 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA26492 for ; Sat, 18 Apr 1998 20:45:22 GMT (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 NAA10055; Sat, 18 Apr 1998 13:45:17 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804182045.NAA10055@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Jeremy Porter cc: multimedia@FreeBSD.ORG Subject: Re: problem capturing video with BT848/Haughpage Win/Tv In-reply-to: Your message of "Sat, 18 Apr 1998 15:13:44 CDT." <199804182013.PAA06057@freeside.fc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Apr 1998 13:45:17 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I think that there may be a problem with fxtv saving non-interlaced images however with interlaced images it seems to work rather well. Just took this snapshot off my tv , err , fxtv 8) ftp://rah.star-gate.com/pub/abc.ppm Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 14:06:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29765 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 14:06:30 -0700 (PDT) (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 VAA29757 for ; Sat, 18 Apr 1998 21:06:27 GMT (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA10894; Sat, 18 Apr 1998 21:27:10 +0200 From: Luigi Rizzo Message-Id: <199804181927.VAA10894@labinfo.iet.unipi.it> Subject: Vibra16X support (tested!) To: multimedia@FreeBSD.ORG Date: Sat, 18 Apr 1998 21:27:10 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have borrowed a Vibra16X and I think I have made some progress in supporting it (and clones). The relevant (very alpha) code is at http://www.iet.unipi.it/~luigi/snd980419.tgz I have tried it on a 2.2.6-stable of a few days ago, just stick the files in /sys/i386/isa/snd and rebuild the kernel. Playback works fine, a solution for capture is still in the works. This code also includes minor bugfixes that a few people posted in the last weeks, including support for another Yamaha OPL/SA3, and a minor fix for SB16 in full duplex. DETAILS: The patch that I posted some time ago was almost correct, except for a minor bug, where i set the flag identifying the Vibra16X in the wrong data structure. I have fixed it, and now it is possible to play sounds on the card in all formats. For capture, my guess (partially confirmed by experiments) is that the Vibra16X, assigns DRQs to channels (capture/playbck) dynamically. So when the first channel is started (be it playback or capture) it gets drq0, and then the other channel gets drq1. I am a bit unclear on how to accomodate full duplex operation (assuming the card supports it) in my driver, since other cards that i know of work as follows: * MSS and clones assign dma channels statically: drq0 is used for playback, drq1 is used for capture; * the old SB16 (and the Vibra16C) assigns dma channels depending on the format: drq0 is used for 8-bit formats, drq1 is used for 16-bit formats. Boy, I really needed this third allocation strategy used by the Vibra16X ... 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 16:29:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25976 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 16:29:51 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from nash.pr.mcs.net (nash.pr.mcs.net [204.95.47.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA25969 for ; Sat, 18 Apr 1998 23:29:49 GMT (envelope-from alex@nash.pr.mcs.net) Received: (from alex@localhost) by nash.pr.mcs.net (8.8.8/8.8.7) id SAA04298; Sat, 18 Apr 1998 18:28:56 -0500 (CDT) (envelope-from alex) Message-Id: <199804182328.SAA04298@nash.pr.mcs.net> Date: Sat, 18 Apr 1998 18:28:55 -0500 (CDT) From: Alex Nash Subject: Re: Bt848: no IRQ To: hasty@rah.star-gate.com cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <199804182003.NAA09689@rah.star-gate.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18 Apr, Amancio Hasty wrote: > Try vic to see if you get any picture at all. Same problem as fxtv, I believe: vic: meteor sees no signal(1)-using ntsc. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 16:35:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27251 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 16:35:10 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from nash.pr.mcs.net (nash.pr.mcs.net [204.95.47.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA27237 for ; Sat, 18 Apr 1998 23:35:03 GMT (envelope-from alex@nash.pr.mcs.net) Received: (from alex@localhost) by nash.pr.mcs.net (8.8.8/8.8.7) id SAA04345; Sat, 18 Apr 1998 18:34:42 -0500 (CDT) (envelope-from alex) Message-Id: <199804182334.SAA04345@nash.pr.mcs.net> Date: Sat, 18 Apr 1998 18:34:42 -0500 (CDT) From: Alex Nash Subject: Re: Bt848: no IRQ To: rhh@ct.picker.com cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <19980418140222.B3440@ct.picker.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18 Apr, Randall Hopper wrote: > |The -current driver incorrectly identified the tuner as TEMIC PAL. > |Currently, I'm overriding the tuner detection to my own tuner settings: > > Yep, looks like the FR1236, once the #defines are replaced. You're right -- I thought I'd tried that tuner and it didn't work (darn, I read up on I2C for nothing :). > If this is a general problem with the latest driver and/or -current, other > folks should be able to see on XFree by running with Direct Video disabled: > > fxtv -disableDirectV Can somebody try this and report their success/failure and bt848 driver version to the list? (Oops, I just remembered there's no $Id$ in brooktree848.c.) > |not being sent by the bt848 interrupt handler, and that furthermore, > |the interrupt handler isn't ever being called itself. > ... > > Hmm. Wonder if anyone else is having trouble with their FR1236 WinTV cards > with the latest driver/-current? > > Many could be and would never know, if they're running XFree86, since DGA > mode doesn't require interrupts to work. ACK. Do you remember the last time you saw the driver working with XImages? I can try and dig up the old driver to test this theory out. Thanks for your suggestions! Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 16:43:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28461 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 16:43:00 -0700 (PDT) (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 XAA28456 for ; Sat, 18 Apr 1998 23:42:58 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 18 Apr 1998 19:41:53 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA18895; Sat, 18 Apr 98 19:41:53 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA04694; Sat, 18 Apr 1998 19:41:14 -0400 Message-Id: <19980418194114.B4622@ct.picker.com> Date: Sat, 18 Apr 1998 19:41:14 -0400 From: Randall Hopper To: Alex Nash Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848: no IRQ Mail-Followup-To: Alex Nash , freebsd-multimedia@FreeBSD.ORG References: <19980418140222.B3440@ct.picker.com> <199804182334.SAA04345@nash.pr.mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199804182334.SAA04345@nash.pr.mcs.net>; from Alex Nash on Sat, Apr 18, 1998 at 06:34:42PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alex Nash: |> |not being sent by the bt848 interrupt handler, and that furthermore, |> |the interrupt handler isn't ever being called itself. |> ... |> |> Hmm. Wonder if anyone else is having trouble with their FR1236 WinTV cards |> with the latest driver/-current? |> |> Many could be and would never know, if they're running XFree86, since DGA |> mode doesn't require interrupts to work. | |ACK. Do you remember the last time you saw the driver working with |XImages? I can try and dig up the old driver to test this theory out. Ok, and I'll fetch the latest from the current tree and give them a shot here in another window. Together with your test with an older version, that should help confirm or rule out the driver changes as the culprit for this interrupt problem. I'll get back to ya. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 17:21:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07392 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 17:21:02 -0700 (PDT) (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 AAA07384 for ; Sun, 19 Apr 1998 00:21:00 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 18 Apr 1998 20:19:56 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19487; Sat, 18 Apr 98 20:19:55 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA04882; Sat, 18 Apr 1998 20:19:15 -0400 Message-Id: <19980418201915.A4856@ct.picker.com> Date: Sat, 18 Apr 1998 20:19:15 -0400 From: Randall Hopper To: Alex Nash Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848: no IRQ Mail-Followup-To: Alex Nash , freebsd-multimedia@FreeBSD.ORG References: <19980418140222.B3440@ct.picker.com> <199804182334.SAA04345@nash.pr.mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199804182334.SAA04345@nash.pr.mcs.net>; from Alex Nash on Sat, Apr 18, 1998 at 06:34:42PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alex Nash: |> |not being sent by the bt848 interrupt handler, and that furthermore, |> |the interrupt handler isn't ever being called itself. |> ... |> |> Hmm. Wonder if anyone else is having trouble with their FR1236 WinTV cards |> with the latest driver/-current? |> |> Many could be and would never know, if they're running XFree86, since DGA |> mode doesn't require interrupts to work. | |ACK. Do you remember the last time you saw the driver working with |XImages? I can try and dig up the old driver to test this theory out. I just pulled the latest driver source from pub/FreeBSD/FreeBSD-current/...: -rw-r--r-- 1 root ftp-Free 17180 Apr 5 15:21 brktree_reg.h -rw-r--r-- 1 root ftp-Free 127734 Apr 18 03:18 brooktree848.c -rw-r--r-- 1 root ftp-Free 7345 Feb 26 03:14 ioctl_bt848.h and gave it a whirl. Signals work fine here (i.e. fxtv -disableDirectV) with that version. So that leaves changes to -current since the OS version I'm running (3.0-971208-SNAP), differences related to your newer card, or other hardware differences between our systems. Shot in the dark. Verify that no device on your ISA bus is using the IRQ being assigned to your Hauppauge card. Other PCI devices sharing the IRQ should be OK though. For example, in my system, my SCSI ctlr and Hauppauge share an IRQ: ncr0: rev 0x02 int a irq 9 on pci0.10.0 bktr0: rev 0x11 int a irq 9 on pci0.11.0 Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 18:03:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA15029 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 18:03:46 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from nash.pr.mcs.net (nash.pr.mcs.net [204.95.47.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA15006 for ; Sun, 19 Apr 1998 01:03:42 GMT (envelope-from alex@nash.pr.mcs.net) Received: (from alex@localhost) by nash.pr.mcs.net (8.8.8/8.8.7) id UAA00566; Sat, 18 Apr 1998 20:03:08 -0500 (CDT) (envelope-from alex) Message-Id: <199804190103.UAA00566@nash.pr.mcs.net> Date: Sat, 18 Apr 1998 20:03:08 -0500 (CDT) From: Alex Nash Subject: Re: Bt848: no IRQ To: rhh@ct.picker.com cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <19980418201915.A4856@ct.picker.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18 Apr, Randall Hopper wrote: > I just pulled the latest driver source from pub/FreeBSD/FreeBSD-current/...: > > -rw-r--r-- 1 root ftp-Free 17180 Apr 5 15:21 brktree_reg.h > -rw-r--r-- 1 root ftp-Free 127734 Apr 18 03:18 brooktree848.c > -rw-r--r-- 1 root ftp-Free 7345 Feb 26 03:14 ioctl_bt848.h > > and gave it a whirl. Signals work fine here (i.e. fxtv -disableDirectV) > with that version. I tried sources from January 1, 1998 and October 7th, 1997 -- both acted the same as the latest -current sources: no video, no irq 12 visible in vmstat -i. > Shot in the dark. Verify that no device on your ISA bus is using the IRQ > being assigned to your Hauppauge card. Other PCI devices sharing the IRQ > should be OK though. For example, in my system, my SCSI ctlr and Hauppauge > share an IRQ: > > ncr0: rev 0x02 int a irq 9 on pci0.10.0 > bktr0: rev 0x11 int a irq 9 on pci0.11.0 Nothing else is using IRQ 12, and the BIOS is configured to assign IRQ 12 to a PCI device. But let's suppose there was a hardware conflict (i.e. something else is using 12, but I don't have my kernel configured to use such a device). Wouldn't the fact that the device is identified as being on irq 12 mean that vmstat -i would report the presence of irq 12? You've given me another idea though -- I'll juggle the PCI interrupts so that the BIOS assigns a different IRQ to the BT848. Maybe it'll start working if it uses another IRQ line. I have forgotten to mention one other possibly critical aspect of my kernel: SMP. I'll give a UP kernel a try to see if that makes a difference. If you come up with any more ideas, no matter how far out, I'm all ears! Thanks. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 18:29:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17713 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 18:29:48 -0700 (PDT) (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 BAA17703 for ; Sun, 19 Apr 1998 01:29:43 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 18 Apr 1998 21:28:34 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA20629; Sat, 18 Apr 98 21:28:29 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA05681; Sat, 18 Apr 1998 21:27:49 -0400 Message-Id: <19980418212749.A5653@ct.picker.com> Date: Sat, 18 Apr 1998 21:27:49 -0400 From: Randall Hopper To: Alex Nash Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848: no IRQ Mail-Followup-To: Alex Nash , freebsd-multimedia@FreeBSD.ORG References: <19980418201915.A4856@ct.picker.com> <199804190103.UAA00566@nash.pr.mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199804190103.UAA00566@nash.pr.mcs.net>; from Alex Nash on Sat, Apr 18, 1998 at 08:03:08PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alex Nash: |I tried sources from January 1, 1998 and October 7th, 1997 -- both |acted the same as the latest -current sources: no video, no irq 12 |visible in vmstat -i. | |Nothing else is using IRQ 12, and the BIOS is configured to assign IRQ |12 to a PCI device. But let's suppose there was a hardware conflict |(i.e. something else is using 12, but I don't have my kernel configured |to use such a device). Wouldn't the fact that the device is identified |as being on irq 12 mean that vmstat -i would report the presence of irq |12? Not necessarily. If no interrupts have been issued by that device yet, I believe it won't be in the list. For example, I have an ISA ethernet board on IRQ 12 in my box and a modem on sio0/irq4. No net connected right now and irq12/lnc0 is absent from my vmstat -i. irq4/sio0 is also absent until I do something with my modem through sio0. |You've given me another idea though -- I'll juggle the PCI interrupts |so that the BIOS assigns a different IRQ to the BT848. Maybe it'll |start working if it uses another IRQ line. Worth a shot. |I have forgotten to mention one other possibly critical aspect of my |kernel: SMP. I'll give a UP kernel a try to see if that makes a |difference. If that's the ticket, Steve Passe would be a good guy to poll. He's got a Bt848 card and runs SMP I believe. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 18:44:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA20113 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 18:44:50 -0700 (PDT) (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 BAA20065 for ; Sun, 19 Apr 1998 01:44:19 GMT (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 18 Apr 1998 21:43:15 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA20900; Sat, 18 Apr 98 21:43:15 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA05719; Sat, 18 Apr 1998 21:42:34 -0400 Message-Id: <19980418214234.B5653@ct.picker.com> Date: Sat, 18 Apr 1998 21:42:34 -0400 From: Randall Hopper To: Jeremy Porter , multimedia@FreeBSD.ORG, Amancio Hasty Subject: Re: problem capturing video with BT848/Haughpage Win/Tv Mail-Followup-To: Jeremy Porter , multimedia@FreeBSD.ORG, Amancio Hasty References: <199804182013.PAA06057@freeside.fc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199804182013.PAA06057@freeside.fc.net>; from Jeremy Porter on Sat, Apr 18, 1998 at 03:13:44PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jeremy Porter: |I've gotten my system to be able to display video in a window |with fxtv, but I can't seem to save data. This system is a |AMD K5-133 and doesn't have a lot of horsepower, but that |doesn't seem to be the problem. The save image feature doesn't |work it reports "No frozen image". The freeze image button doesn't |seem to matter here. ... Amancio Hasty: |I think that there may be a problem with fxtv saving non-interlaced images |however with interlaced images it seems to work rather well. No, no problem's ever been reported with freeze-frame of images, single or double field. I suspect this is the "Bt848 driver isn't issuing frame completion signals" problem that I'm helping Alex Nash with now. Look in your -multimedia list mail for the thread labeled: "Re: Bt848: no IRQ". Jeremy, a few questions about your system config to try and nail this down: - FreeBSD version (2.2.6, 3.0-current [how current]) - Is your system SMP? - Fxtv version - Capture Card (e.g. Hauppauge WinTV) - Capture Card Tuner (e.g. Philips FR1236MK2) - dmesg output. E.g.: bktr0: rev 0x11 int a irq 9 on pci0.11.0 Hauppauge WinCast/TV, Philips NTSC tuner, dbx stereo. - Relevent kernel config lines - "fxtv -debug startup" output Finally, please grab the source for Fxtv-0.46 (http://multiverse.com/~rhh/fxtv), and add this line to the top of tvcapture.c::TVCAPTUREFrameDoneSigHdlr(): static void TVCAPTUREFrameDoneSigHdlr() { printf( "Got a frame!\n" ); /* <--- Add this line */ S_frame_done_count++; Then compile fxtv, run it, and freeze a frame. If you don't see: Got a frame! the driver's not issuing signals to Fxtv like it should. Thanks, Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 18:51:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA21697 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 18:51:10 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA21659 for ; Sun, 19 Apr 1998 01:51:02 GMT (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 SAA00573; Sat, 18 Apr 1998 18:50:57 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199804190150.SAA00573@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Randall Hopper cc: Jeremy Porter , multimedia@FreeBSD.ORG Subject: Re: problem capturing video with BT848/Haughpage Win/Tv In-reply-to: Your message of "Sat, 18 Apr 1998 21:42:34 EDT." <19980418214234.B5653@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Apr 1998 18:50:56 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Not so quick. It does matter if it he is running SMP or UP kernels. Cheers, Amancio > Jeremy Porter: > |I've gotten my system to be able to display video in a window > |with fxtv, but I can't seem to save data. This system is a > |AMD K5-133 and doesn't have a lot of horsepower, but that > |doesn't seem to be the problem. The save image feature doesn't > |work it reports "No frozen image". The freeze image button doesn't > |seem to matter here. > ... > Amancio Hasty: > |I think that there may be a problem with fxtv saving non-interlaced images > |however with interlaced images it seems to work rather well. > > No, no problem's ever been reported with freeze-frame of images, single or > double field. > > I suspect this is the "Bt848 driver isn't issuing frame completion signals" > problem that I'm helping Alex Nash with now. Look in your > -multimedia list mail for the thread labeled: "Re: Bt848: no IRQ". > > Jeremy, a few questions about your system config to try and nail this down: > > - FreeBSD version (2.2.6, 3.0-current [how current]) > - Is your system SMP? > - Fxtv version > - Capture Card (e.g. Hauppauge WinTV) > - Capture Card Tuner (e.g. Philips FR1236MK2) > - dmesg output. E.g.: > > bktr0: rev 0x11 int a irq 9 on pci0.11.0 > Hauppauge WinCast/TV, Philips NTSC tuner, dbx stereo. > > - Relevent kernel config lines > - "fxtv -debug startup" output > > Finally, please grab the source for Fxtv-0.46 > (http://multiverse.com/~rhh/fxtv), and add this line to the top of > tvcapture.c::TVCAPTUREFrameDoneSigHdlr(): > > static void TVCAPTUREFrameDoneSigHdlr() > { > printf( "Got a frame!\n" ); /* <--- Add this line */ > S_frame_done_count++; > > Then compile fxtv, run it, and freeze a frame. If you don't see: > > Got a frame! > > the driver's not issuing signals to Fxtv like it should. > > Thanks, > > Randall > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 19:59:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA00312 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 19:59:19 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from nash.pr.mcs.net (nash.pr.mcs.net [204.95.47.72]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA00293 for ; Sun, 19 Apr 1998 02:59:17 GMT (envelope-from alex@nash.pr.mcs.net) Received: (from alex@localhost) by nash.pr.mcs.net (8.8.8/8.8.7) id VAA00634; Sat, 18 Apr 1998 21:58:43 -0500 (CDT) (envelope-from alex) Message-Id: <199804190258.VAA00634@nash.pr.mcs.net> Date: Sat, 18 Apr 1998 21:58:42 -0500 (CDT) From: Alex Nash Subject: Re: Bt848: no IRQ To: rhh@ct.picker.com cc: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <19980418212749.A5653@ct.picker.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18 Apr, Randall Hopper wrote: > Alex Nash: > |I tried sources from January 1, 1998 and October 7th, 1997 -- both > |acted the same as the latest -current sources: no video, no irq 12 > |visible in vmstat -i. > | > |Nothing else is using IRQ 12, and the BIOS is configured to assign IRQ > |12 to a PCI device. But let's suppose there was a hardware conflict > |(i.e. something else is using 12, but I don't have my kernel configured > |to use such a device). Wouldn't the fact that the device is identified > |as being on irq 12 mean that vmstat -i would report the presence of irq > |12? > > Not necessarily. If no interrupts have been issued by that device yet, I > believe it won't be in the list. For example, I have an ISA ethernet board > on IRQ 12 in my box and a modem on sio0/irq4. No net connected right now > and irq12/lnc0 is absent from my vmstat -i. irq4/sio0 is also absent > until I do something with my modem through sio0. Right you are again. From vmstat.c: while (--nintr >= 0) { --> if (*intrcnt) (void)printf("%-12s %8ld %8ld\n", intrname, *intrcnt, *intrcnt / uptime); Not doing this check produces a lot of extraneous output :) > |You've given me another idea though -- I'll juggle the PCI interrupts > |so that the BIOS assigns a different IRQ to the BT848. Maybe it'll > |start working if it uses another IRQ line. > > Worth a shot. No joy with this :( but... > |I have forgotten to mention one other possibly critical aspect of my > |kernel: SMP. I'll give a UP kernel a try to see if that makes a > |difference. > > If that's the ticket, Steve Passe would be a good guy to > poll. He's got a Bt848 card and runs SMP I believe. The good news: I booted the UP kernel and immediately saw my debug printfs in the bt848 interrupt handler. The bad news: The boot process hung. With the printfs in place, it appeared that the interrupt handler was being called continuously when the kernel hangs. Taking out the bt848 driver allows the boot process to succeed. I haven't tried the latest stuff Amancio checked in (rev 1.35), so that's my next stop. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Apr 18 22:23:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15312 for freebsd-multimedia-outgoing; Sat, 18 Apr 1998 22:23:47 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from titus.stade.co.uk (root@stade.demon.co.uk [158.152.29.164]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA15304 for ; Sun, 19 Apr 1998 05:23:42 GMT (envelope-from aw1@titus.stade.co.uk) Received: (from aw1@localhost) by titus.stade.co.uk (8.8.8/8.8.3) id GAA01213; Sun, 19 Apr 1998 06:08:32 +0100 (BST) Message-ID: <19980419060832.04480@stade.co.uk> Date: Sun, 19 Apr 1998 06:08:32 +0100 From: Adrian Wontroba To: multimedia@FreeBSD.ORG Subject: Re: Vibra16X support (tested!) Reply-To: aw1@stade.co.uk Mail-Followup-To: multimedia@freebsd.org References: <199804181927.VAA10894@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199804181927.VAA10894@labinfo.iet.unipi.it>; from Luigi Rizzo on Sat, Apr 18, 1998 at 09:27:10PM +0200 Organization: Stade Computers Ltd, UK X-Phone: +(44) 121 681 6677 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Apr 18, 1998 at 09:27:10PM +0200, Luigi Rizzo wrote: > I have borrowed a Vibra16X and I think I have made some progress > in supporting it (and clones). The relevant (very alpha) code is > at http://www.iet.unipi.it/~luigi/snd980419.tgz I've applied this to a 2.2.6-stable system cvsup'd at 04:55 GMT on 18 April. It does seem to work well with my Vibra16X when catting .au files to /dev/audio and with mpg123. The only console message I've seen is a single "tsleep returns 4". Sound quality is better than with the previous patch. My problem is that I don't really know what to expect with sound or video (8-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message