From owner-freebsd-multimedia Sun Sep 26 8:39:10 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 705EA14D55 for ; Sun, 26 Sep 1999 08:39:07 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id QAA30719 for freebsd-multimedia@freebsd.org; Sun, 26 Sep 1999 16:51:13 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id OAA16936 for freebsd-multimedia@freebsd.org; Sun, 26 Sep 1999 14:53:55 +0200 (CEST) (envelope-from wilko) From: Wilko Bulte Message-Id: <199909261253.OAA16936@yedi.iaf.nl> Subject: Can you set fxtv to a default *frequency* iso channel? To: freebsd-multimedia@freebsd.org (FreeBSD multi media list) Date: Sun, 26 Sep 1999 14:53:55 +0200 (CEST) X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is it possible to do something like: Fxtv.defaultChannel: NL1 Where NL1 is: Fxtv.cableStationList: NL1(f216) NL2(f184) NL3(f192) RTL4(f720) etc? Reason for asking: our local cable droids have offset all(!) channels from their nominal frequency. So, I have to set the StationList using frequency and not channel number. Channel# simply don't work anymore (great isn't it? TIA -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 26 11:48:26 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 171D7153AF for ; Sun, 26 Sep 1999 11:48:19 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-1-227.dialup.rdu.ipass.net [209.170.132.227]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id OAA13184; Sun, 26 Sep 1999 14:48:15 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id OAA14848; Sun, 26 Sep 1999 14:49:36 -0400 (EDT) (envelope-from rhh) Date: Sun, 26 Sep 1999 14:49:36 -0400 From: Randall Hopper To: Wilko Bulte Cc: FreeBSD multi media list Subject: Re: Can you set fxtv to a default *frequency* iso channel? Message-ID: <19990926144935.A14779@ipass.net> References: <199909261253.OAA16936@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=qMm9M+Fa2AknHoGS X-Mailer: Mutt 0.95.1i In-Reply-To: <199909261253.OAA16936@yedi.iaf.nl>; from Wilko Bulte on Sun, Sep 26, 1999 at 02:53:55PM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Wilko Bulte: |Is it possible to do something like: | |Fxtv.defaultChannel: NL1 | |Where NL1 is: | |Fxtv.cableStationList: NL1(f216) NL2(f184) NL3(f192) RTL4(f720) | |etc? | |Reason for asking: our local cable droids have offset all(!) channels |from their nominal frequency. Wow. That's ugly! |So, I have to set the StationList using frequency and not channel |number. Channel# simply don't work anymore (great isn't it? Yeah. As is, there isn't a way. But here's a quick hack that lets you use channel numbers, station names, or frequencies for defaultChannel. (BTW, I think you might find it easier to hack the channel table for your frequency set in the driver. See static int weurope[] = { ... in /usr/src/sys/pci/brooktree848.c. Should be a snap.) Randall --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fxtv-1.00-defchan_station_name.patch" --- t2/fxtv-1.00/tv.c Sat Sep 4 15:55:15 1999 +++ tv.c Sun Sep 26 14:44:55 1999 @@ -447,11 +447,6 @@ App_res.display_fps = c->fps_max; App_res.display_fps = MAX( 1, MIN( c->fps_max, App_res.display_fps ) ); - /* Channel */ - if (( App_res.def_chan >= TV_CHAN_MIN ) && - ( App_res.def_chan <= TV_CHAN_MAX )) - TVCAPTURESetTunerChannel( c, App_res.def_chan ); - /* Cable/antenna tuner frequency modes */ p->ant_freq_set = 1; p->cable_freq_set = 1; @@ -556,8 +551,24 @@ } /* Last minute tweaks */ + if (( s.tuner_chan < TV_CHAN_MIN ) || ( s.tuner_chan > TV_CHAN_MAX )) TVCAPTURESetTunerChannel( c, 3 ); + + /* Default channel */ + if ( App_res.def_chan[0] && !STREQ( App_res.def_chan, "0" ) ) { + XEvent xev; + + /* Set up a dummy xevent */ + memset( &xev, '\0', sizeof(xev) ); + xev.xany.type = ClientMessage; + xev.xclient.display = TVDISPLAY; + xev.xclient.window = XtWindow( G_glob.display.video_wgt ); + + /* Count args */ + XtCallActionProc( G_glob.display.video_wgt, "TVSetStation", + &xev, &App_res.def_chan, 1 ); + } /* Update menu/toolbar with currently selected options */ TVMENUSetSelectedInputDevice( s.input_dev ); --- t2/fxtv-1.00/app_rsrc.h Sun Sep 5 21:16:12 1999 +++ app_rsrc.h Sun Sep 26 14:39:37 1999 @@ -48,7 +48,8 @@ int device_number; String input_format; String tuner_mode; - int def_chan; + + String def_chan; String def_input; String def_audio_input; int display_fps; @@ -354,8 +355,8 @@ { RNtunerMode, RCtunerMode, XtRString, sizeof(String), XtOffsetOf(AppResources, tuner_mode ), XtRImmediate, "antenna" }, - { RNdefaultChannel, RCdefaultChannel, XtRInt, sizeof(int), - XtOffsetOf(AppResources, def_chan), XtRString, + { RNdefaultChannel, RCdefaultChannel, XtRString, sizeof(String), + XtOffsetOf(AppResources, def_chan), XtRImmediate, "0" /* 0 = Don't change channel */ }, { RNdefaultInput, RCdefaultInput, XtRString, sizeof(String), XtOffsetOf(AppResources, def_input), XtRImmediate, --qMm9M+Fa2AknHoGS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 26 12:32:56 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pinhead.parag.codegen.com (207-44-235-154.CodeGen.COM [207.44.235.154]) by hub.freebsd.org (Postfix) with ESMTP id BF251153AF for ; Sun, 26 Sep 1999 12:32:53 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Received: from pinhead.parag.codegen.com (parag@localhost.parag.codegen.com [127.0.0.1]) by pinhead.parag.codegen.com (8.9.3/8.9.3) with ESMTP id MAA47122 for ; Sun, 26 Sep 1999 12:32:49 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) To: freebsd-multimedia@freebsd.org Subject: Unable to find info on recording (analog) sound in archives X-Image-URL: http://www.codegen.com/images/CG-logo-only.gif X-Face: =O'Kj74icvU|oS*<7gS/8'\Pbpm}okVj*@UC!IgkmZQAO!W[|iBiMs*|)n*`X ]pW%m>Oz_mK^Gdazsr.Z0/JsFS1uF8gBVIoChGwOy{EK=<6g?aHE`[\S]C]T0Wm X-URL: http://www.codegen.com Date: Sun, 26 Sep 1999 12:32:49 -0700 Message-ID: <47118.938374369@pinhead.parag.codegen.com> From: Parag Patel Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've been looking through the archives and web pages and haven't found anything definitive on recording (analog) sound in the archives. I have the value edition of the SoundBlaster AWE64 (which was purchased as it was the only card supported by BeOS a while back). The specific problem I'm seeing is that no matter what priority (real-time or otherwise) I run any app that reads (I think) /dev/dsp to capture line-input from an external source, it loses data so the resulting sound file has "skips" in it, even with the rawest slowest mono formats. I've tried the new pcm and the old Voxware drivers. The OSS drivers lockup my machine hard - it doesn't even get a chance to panic - it just goes bye-bye. I've tried most of the ports collection and some simple C programs that access the sound-device directly, to no avail. The card plays sound just fine, from files, realplayer, mp3 - whatever. It also plays music from the CD-player just fine - no skips or anything. It's just when recording that it seems like either the on-card buffer isn't big enough or the reader process can't read the data fast enough. So my question is, what's the necessary magic incantations I need to perform? Turn off SMP? Run some program that buffers everything into RAM before dumping it to disk? Kill everything and run in single-user mode? Get a better sound-card and if so, which one? Run CURRENT instead of STABLE? Sacrifice a chicken? Fried or slow-roasted? I want to convert some old LP albums to CDs, which need full 44kHz stereo files, and naturally these come out "skipping" the most. Pointers to sites/archives with the necessary info would be appreciated if this has (and I'm sure it has) been discussed before. Thanks in advance! -- Parag Patel dmesg output: ... FreeBSD 3.3-STABLE #0: Mon Sep 20 10:25:08 PDT 1999 parag@pinhead.parag.codegen.com:/usr/src/sys/compile/PINHEAD Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II (686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80fbff real memory = 268435456 (262144K bytes) avail memory = 258150400 (252100K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc02f7000. Pentium Pro MTRR support enabled ... Probing for PnP devices: CSN 1 Vendor ID: CTL00e4 [0xe4008c0e] Serial 0x08de2f0a Comp ID: PNPb02f [0x2fb0d041] sb0 at 0x220 irq 10 drq 1 on isa snd0: sbxvi0 at drq 5 on isa snd0: sbmidi0 not found at 0x330 opl0 at 0x388 on isa snd0: awe0 at 0x620 on isa AWE32: not detected ... kernel config file: ... controller snd0 device sb0 at isa? port 0x220 irq 10 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device awe0 at isa? port 0x620 ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 26 15:24:42 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 1663F14BF2 for ; Sun, 26 Sep 1999 15:24:34 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id AAA14420; Mon, 27 Sep 1999 00:09:00 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id AAA62430; Mon, 27 Sep 1999 00:09:11 +0200 (CEST) (envelope-from wilko) From: Wilko Bulte Message-Id: <199909262209.AAA62430@yedi.iaf.nl> Subject: Re: Can you set fxtv to a default *frequency* iso channel? In-Reply-To: <19990926144935.A14779@ipass.net> from Randall Hopper at "Sep 26, 1999 2:49:36 pm" To: aa8vb@ipass.net (Randall Hopper) Date: Mon, 27 Sep 1999 00:09:11 +0200 (CEST) Cc: freebsd-multimedia@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Randall Hopper wrote ... > Wilko Bulte: > |So, I have to set the StationList using frequency and not channel > |number. Channel# simply don't work anymore (great isn't it? > > Yeah. > > As is, there isn't a way. But here's a quick hack that lets you use > channel numbers, station names, or frequencies for defaultChannel. Just tried it, works like a charm. Thanks!! May I suggest to put in the V.next release of fxtv? > (BTW, I think you might find it easier to hack the channel table for your > frequency set in the driver. See > > static int weurope[] = { > ... > > in /usr/src/sys/pci/brooktree848.c. Should be a snap.) Hmm. Well, that means I have to hack the fxtv port every time a new version arrives. I can live happily with the frequency setup I have right now. The only hack left to do manually is the 'Matrox Millenium' one. Wilko -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 26 17: 8:34 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx3.landsraad.net (mx3.landsraad.net [195.5.64.28]) by hub.freebsd.org (Postfix) with ESMTP id A09091545D for ; Sun, 26 Sep 1999 17:08:10 -0700 (PDT) (envelope-from oldno7@arrakis.es) Received: from arrakis.es (ii-41.arrakis.es [195.5.78.41]) by mx3.landsraad.net (8.9.3/8.9.3) with ESMTP id CAA24478 for ; Mon, 27 Sep 1999 02:04:09 +0200 (MET DST) Message-ID: <37EE9DB4.4F011371@arrakis.es> Date: Mon, 27 Sep 1999 00:27:00 +0200 From: Oldno7 X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Avermedia PC98 & xftv Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've just downloaded and tried to work with the xftv. I have a 3.2-Release and an Avermedia pc98 card (878 chip). All the install process from the port went ok. but I have to learn to configure the channels .. etc. ( I need a pair of hours more on it, I supose) But.. when I booted from the W95 partition and started the program that comes with the card (to try to figure how to put the channels or frecuencies).. I have no sound coming trough.. I don't know at this moment what's happening, but under the suspect that the card had been damaged I believe is better to comment it out and warn. If somebody has tried this card before please send me a mail. It is very posible I'm being paranoid but I prefer be a little ridiculous than wait other people crashing their Avermedia cards. I'll post whatever thing that happens to clear this. Even if the card has been crashed, I think xftv looks like a great work and I think it's NOT the program fault. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 26 17:20:22 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id D7B661516D for ; Sun, 26 Sep 1999 17:20:18 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-1-177.dialup.rdu.ipass.net [209.170.132.177]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id UAA24539; Sun, 26 Sep 1999 20:20:13 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id UAA00966; Sun, 26 Sep 1999 20:21:34 -0400 (EDT) (envelope-from rhh) Date: Sun, 26 Sep 1999 20:21:34 -0400 From: Randall Hopper To: Wilko Bulte Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Can you set fxtv to a default *frequency* iso channel? Message-ID: <19990926202134.A727@ipass.net> References: <19990926144935.A14779@ipass.net> <199909262209.AAA62430@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199909262209.AAA62430@yedi.iaf.nl>; from Wilko Bulte on Mon, Sep 27, 1999 at 12:09:11AM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wilko Bulte: |> |So, I have to set the StationList using frequency and not channel |> |number. Channel# simply don't work anymore (great isn't it? |> |> As is, there isn't a way. But here's a quick hack that lets you use |> channel numbers, station names, or frequencies for defaultChannel. | |Just tried it, works like a charm. Thanks!! May I suggest to put in the |V.next release of fxtv? Consider it done! |> (BTW, I think you might find it easier to hack the channel table for your |> frequency set in the driver. See |> |> static int weurope[] = { |> ... |> |> in /usr/src/sys/pci/brooktree848.c. Should be a snap.) | |Hmm. Well, that means I have to hack the fxtv port every time a new version |arrives. I can live happily with the frequency setup I have right now. |The only hack left to do manually is the 'Matrox Millenium' one. (Excluding the Matrox Millenium hack) you wouldn't need to hack fxtv, just the bt848 driver. Just talk channel numbers to fxtv. But since you have to hack fxtv anyway for the Millenium shift, might as well go the tweak-fxtv route for both -- unless you have lots of channels, in which case hacking the driver is much simpler for the frequency pull-ups. BTW, my primary card is a Matrox now too (a G200 Millenium) so I see the Millenium problem in 24 and 32bpp (not 16bpp). Interestingly it only appears for me when the desktop res is bigger than the video mode res. I filed a bug on this for XFree86 3.3.4 today, referring them to the DGA test progs I cooked up: http://www.ipass.net/~dbhopper/aa8vb/fxtv/dgafbtest.c http://www.ipass.net/~dbhopper/aa8vb/fxtv/tv-dgatest.c (3.9.16 has other problems, except in 16bpp, which I forwarded as well.) If the XFree86 folks work on a most-reported priority basis for fixing bugs, I'm sure a few other folks reporting the Millenium shift bug couldn't hurt! Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 26 23:45:52 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 35B2A14F76 for ; Sun, 26 Sep 1999 23:45:46 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (scary.dmem.strath.ac.uk [130.159.202.5]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id HAA13936 Mon, 27 Sep 1999 07:45:36 +0100 (BST) Message-ID: <37EF12DC.759655BA@cs.strath.ac.uk> Date: Mon, 27 Sep 1999 07:46:52 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Oldno7 Cc: multimedia@FreeBSD.ORG Subject: Re: Avermedia PC98 & xftv References: <37EE9DB4.4F011371@arrakis.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, There are lofs of other Avermedia users who are quite happy. > But.. when I booted from the W95 partition and started the program that > comes with the card (to try to figure how to put the channels or > frecuencies).. I have no sound coming trough OK, a few things to check 1) did you plug your speakers directly into the line-out of your sound card. That is a good test. It means you do not need your sound card configured correctly 2) Are you sure you bought the correct AverMedia card for your country. (You did'nt buy a grey import or buy in elsewhere in Europe) There are 5 different sound formats in Europe and you need the correct Tuner Make and Model for your sound format. The formats are often called PAL_I, PAL-D/K, PAL-B/G etc. Can you do this for me please In FreeBSD, use Bt848 driver 1.74 from my web site http://telepresence.dmem.strath.ac.uk/bt848 and then make a new kernel and reboot. Then run fxtv -debug startup And email me the result From that, I can tell you which Tuner Type you have bought. Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 27 0:12:23 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by hub.freebsd.org (Postfix) with ESMTP id 5388B1520F for ; Mon, 27 Sep 1999 00:12:07 -0700 (PDT) (envelope-from runge@rostock.zgdv.de) Received: from rostock.zgdv.de (kingfisher.egd.igd.fhg.de [153.96.43.107]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA53C0 for ; Mon, 27 Sep 1999 09:11:16 +0200 Message-ID: <37EF193D.9AA34265@rostock.zgdv.de> Date: Mon, 27 Sep 1999 09:14:05 +0200 From: "Thomas Runge" Organization: http://www.rostock.zgdv.de X-Mailer: Mozilla 4.6 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: Re: Unable to find info on recording (analog) sound in archives References: <47118.938374369@pinhead.parag.codegen.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Parag Patel wrote: > The specific problem I'm seeing is that no matter what priority > (real-time or otherwise) I run any app that reads (I think) /dev/dsp to > capture line-input from an external source, it loses data so the > resulting sound file has "skips" in it, even with the rawest slowest > mono formats. I've got a Soundblaster 32 and a Hauppauge WinTV at home. I'm using xmradio (in the ports) to control the FM Tuner on the TV card, which itself is connected to line-in of the soundcard. I just had one (minor) problem recording to a file. But all sample rates, mono/stereo, even piping to sox to convert it to WAV in real time works like a charm (AMD K6/2-300, IDE disk, pcm). The problem is a small driver bug which returns a wrong value while sampling (which can be ignored). I send-pr it months ago, but it's still not fixed (just had a look into 3.3-RELEASE, it's still buggy there!) -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 27 3:40:49 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 7A208152D7; Mon, 27 Sep 1999 03:40:41 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (scary.dmem.strath.ac.uk [130.159.202.5]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id LAA15337 Mon, 27 Sep 1999 11:40:39 +0100 (BST) Message-ID: <37EF296E.942D34B5@cs.strath.ac.uk> Date: Mon, 27 Sep 1999 09:23:10 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: current@freebsd.org, multimedia@freebsd.org Subject: New structure for the bktr Bt848 driver Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I've done some major reworking of the Bt848/Bt878 driver in the last few weeks and everything is now committed to -current. The old brooktree848.c file has gone. It is now replaced by bktr_core.c bktr_audio.c bktr_tuner.c bktr_card.c and bktr_os.c which neatly seperate out the main Bt848 code, the audio, tuner and card detetion code and the operating system specific things (probe/attach and cdev). In addition, the new driver now lives in /sys/dev/bktr So, those of you using -current, keep an eye out next time you CVSup and please report any breakages. I intend to merge the new structure into -stable once I've had enough feedback (or the usual lack of it to indicate nothing broke) Roger -- Roger Hardiman Strathclyde Uni Telepresence Research Group, Glasgow, Scotland. http://telepresence.dmem.strath.ac.uk 0141 548 2897 roger@cs.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 27 8:42:49 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx3.landsraad.net (mx3.landsraad.net [195.5.64.28]) by hub.freebsd.org (Postfix) with ESMTP id BCF9115037 for ; Mon, 27 Sep 1999 08:42:41 -0700 (PDT) (envelope-from oldno7@arrakis.es) Received: from arrakis.es (id-122.arrakis.es [195.5.73.122]) by mx3.landsraad.net (8.9.3/8.9.3) with ESMTP id RAA14442 for ; Mon, 27 Sep 1999 17:38:38 +0200 (MET DST) Message-ID: <37EF6B7B.7BEA4550@arrakis.es> Date: Mon, 27 Sep 1999 15:05:00 +0200 From: Oldno7 X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: multimedia@FreeBSD.ORG Subject: Avermedia PC98 & xftv Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It was a bluff!!!! The sound card connector was playing me a joke.. beg your pardon for all of your time wasted! Thank you very much!! specially to Roger Hardiman who has answer me and tried to help me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 27 12:41:18 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 11A9C15389 for ; Mon, 27 Sep 1999 12:41:12 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id VAA13804; Mon, 27 Sep 1999 21:35:48 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id VAA03115; Mon, 27 Sep 1999 21:37:24 +0200 (CEST) (envelope-from wilko) From: Wilko Bulte Message-Id: <199909271937.VAA03115@yedi.iaf.nl> Subject: Re: Can you set fxtv to a default *frequency* iso channel? In-Reply-To: <19990926202134.A727@ipass.net> from Randall Hopper at "Sep 26, 1999 8:21:34 pm" To: aa8vb@ipass.net (Randall Hopper) Date: Mon, 27 Sep 1999 21:37:24 +0200 (CEST) Cc: freebsd-multimedia@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Randall Hopper wrote ... > Wilko Bulte: > |> channel numbers, station names, or frequencies for defaultChannel. > | > |Just tried it, works like a charm. Thanks!! May I suggest to put in the > |V.next release of fxtv? > > Consider it done! Excellent! > |> (BTW, I think you might find it easier to hack the channel table for your > |> frequency set in the driver. See > |> > |> static int weurope[] = { > |> ... > |> > |> in /usr/src/sys/pci/brooktree848.c. Should be a snap.) > | > |Hmm. Well, that means I have to hack the fxtv port every time a new version > |arrives. I can live happily with the frequency setup I have right now. > |The only hack left to do manually is the 'Matrox Millenium' one. > > (Excluding the Matrox Millenium hack) you wouldn't need to hack fxtv, just > the bt848 driver. Just talk channel numbers to fxtv. > > But since you have to hack fxtv anyway for the Millenium shift, might as > well go the tweak-fxtv route for both -- unless you have lots of channels, > in which case hacking the driver is much simpler for the frequency pull-ups. We have 30+ channels (and growing). Really, I have no problem with frequencies. My frequency counter and oscilloscope use frequencies. Channels are for consumers ;-) ;-) > BTW, my primary card is a Matrox now too (a G200 Millenium) so I see the > Millenium problem in 24 and 32bpp (not 16bpp). Interestingly it only > appears for me when the desktop res is bigger than the video mode res. Mine is: Width: 1280 Height: 1024 Depth: 24 Visual Class: TrueColor It is a plain Millenium II PCI with 8Mb. My desktop is 1024x1280. Video mode is also 1280x1024. Or do I miss your point? > I filed a bug on this for XFree86 3.3.4 today, referring them to the DGA > test progs I cooked up: > > http://www.ipass.net/~dbhopper/aa8vb/fxtv/dgafbtest.c > http://www.ipass.net/~dbhopper/aa8vb/fxtv/tv-dgatest.c When I run tv-dgatest things become a real mess. A sort of staircase originating in the left upper corner, moving to the right hand bottom corner. Sort of defies description. :/ > (3.9.16 has other problems, except in 16bpp, which I forwarded as well.) I also have 3.3.4 server: The XFree86 Project, Inc server version 334 on :0.0 (from x11perf). In my case "dgafbtest -f 1024" gives me the yellow L shaped lines in the exact corners of the screen. Omitting the -f 1024 the 2 righthand L are offset about 1/8 of the screenwidth to the left. > If the XFree86 folks work on a most-reported priority basis for fixing > bugs, I'm sure a few other folks reporting the Millenium shift bug couldn't > hurt! I guess so. Do you have a bug ID that I can refer to? I'd happily report the problem to Xfree. -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 27 14:20:51 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 78FC814D82 for ; Mon, 27 Sep 1999 14:20:32 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-4-135.dialup.rdu.ipass.net [209.170.134.135]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id RAA23295; Mon, 27 Sep 1999 17:20:26 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id RAA01205; Mon, 27 Sep 1999 17:21:49 -0400 (EDT) (envelope-from rhh) Date: Mon, 27 Sep 1999 17:21:49 -0400 From: Randall Hopper To: Wilko Bulte Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Can you set fxtv to a default *frequency* iso channel? Message-ID: <19990927172148.A878@ipass.net> References: <19990926202134.A727@ipass.net> <199909271937.VAA03115@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=+HP7ph2BbKc20aGI X-Mailer: Mutt 0.95.1i In-Reply-To: <199909271937.VAA03115@yedi.iaf.nl>; from Wilko Bulte on Mon, Sep 27, 1999 at 09:37:24PM +0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Wilko Bulte: |> BTW, my primary card is a Matrox now too (a G200 Millenium) so I see the |> Millenium problem in 24 and 32bpp (not 16bpp). Interestingly it only |> appears for me when the desktop res is bigger than the video mode res. | |Mine is: | | Width: 1280 | Height: 1024 | Depth: 24 | Visual Class: TrueColor | |It is a plain Millenium II PCI with 8Mb. My desktop is 1024x1280. Video mode |is also 1280x1024. Or do I miss your point? I think so. My observation was that I only see the pixel shift when the desktop is larger than the video mode, and then only in 24bpp and 32bpp (on the Matrox Millenium G200 on XFree86 3.3.4). This is different behavior from prior Millenium cards. |> I filed a bug on this for XFree86 3.3.4 today, referring them to the DGA |> test progs I cooked up: |> |> http://www.ipass.net/~dbhopper/aa8vb/fxtv/dgafbtest.c |> http://www.ipass.net/~dbhopper/aa8vb/fxtv/tv-dgatest.c | |When I run tv-dgatest things become a real mess. A sort of staircase |originating in the left upper corner, moving to the right hand bottom |corner. Sort of defies description. :/ Hehehe. :-) Yeah, it's supposed to be frames of video, but guess you aren't tuned to a frequency right now. |In my case "dgafbtest -f 1024" gives me the yellow L shaped lines |in the exact corners of the screen. Omitting the -f 1024 the 2 righthand |L are offset about 1/8 of the screenwidth to the left. | |> If the XFree86 folks work on a most-reported priority basis for fixing |> bugs, I'm sure a few other folks reporting the Millenium shift bug couldn't |> hurt! | |I guess so. Do you have a bug ID that I can refer to? I'd happily |report the problem to Xfree. I've never gotten bug IDs back in the mail from them. But FWIW attached is a copy of this particular bug report I filed to XFree86@XFree86.org (minus the startx and XF86Config attachments). Randall --+HP7ph2BbKc20aGI Content-Type: message/rfc822; charset=us-ascii Content-Disposition: attachment; filename=msg From aa8vb@ipass.net Sun Sep 26 13:45:46 1999 Date: Sun, 26 Sep 1999 13:45:46 -0400 From: Randall Hopper To: XFree86@XFree86.org Subject: 3.3.4 - Matrox G200 DGA extension errors Message-ID: <19990926134546.A9054@ipass.net> References: <19990926133904.A8749@ipass.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=9amGYk9869ThD9tj X-Mailer: Mutt 0.95.1i In-Reply-To: <19990926133904.A8749@ipass.net>; from Randall Hopper on Sun, Sep 26, 1999 at 01:39:04PM -0400 Status: RO Content-Length: 2167 Lines: 67 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii XFREE : 3.3.4 CARD : Matrox Millenium G200SD PCI 16Meg SERVER: mga OS : FreeBSD 3.2-RELEASE I tested out 3.3.4 with respect to DGA returning the correct address of the linear frame buffer. Using this utility: http://www.ipass.net/~dbhopper/aa8vb/fxtv/dgafbtest.c I found: 16bpp - Works fine 24bpp - In 1024x768, works fine only if desktop is 1024x768. But if desktop size is other, the base frame buffer (0,0 pixel) address returned by XF86DGAGetVideoLL is incorrect. For example, in 1024x768 with a 1600x1280 desktop, 4032 bytes need to be added to the returned base address to obtain the correct address of the 0,0 pixel. 32bpp - In 1024x768, works fine only if desktop is 1024x768. But if desktop size is other, the base frame buffer (0,0 pixel) address returned by XF86DGAGetVideoLL is incorrect. For example, in 1024x768 with a 1600x1280 desktop, 2304 bytes need to be added to the returned base address to obtain the correct address of the 0,0 pixel. The above utility obtains the address of the linear frame buffer from the DGA extension, opens /dev/mem, and plots pixels manually on the linear frame buffer. In case you happen to have a FreeBSD box there with a TV tuner, here is a related utility which uses the same approach to direct a Bt848-based TV tuner card to display video on the frame buffer: http://www.ipass.net/~dbhopper/aa8vb/fxtv/tv-dgatest.c Randall Hopper aa8vb@ipass.net --9amGYk9869ThD9tj Content-Type: message/external-body; access-type=x-mutt-deleted; expiration="Mon, 27 Sep 1999 17:19:48 -0400"; length=4434 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="startx.3.3.4" --9amGYk9869ThD9tj Content-Type: message/external-body; access-type=x-mutt-deleted; expiration="Mon, 27 Sep 1999 17:19:48 -0400"; length=10010 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="XF86Config.G200.test" --9amGYk9869ThD9tj-- --+HP7ph2BbKc20aGI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 29 12:53:24 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id A1FB815598 for ; Wed, 29 Sep 1999 12:53:02 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-2-99.dialup.rdu.ipass.net [209.170.133.99]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id PAA29358 for ; Wed, 29 Sep 1999 15:52:58 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id PAA01251 for multimedia@freebsd.org; Wed, 29 Sep 1999 15:54:23 -0400 (EDT) (envelope-from rhh) Date: Wed, 29 Sep 1999 15:54:23 -0400 From: Randall Hopper To: multimedia@freebsd.org Subject: Matrox Millenium TV "shift" bug Message-ID: <19990929155423.A1106@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Insight from an XFree86 developer on the Millenium TV shift bug (wrong DGA address for visible start of frame buffer). Sounds like XFree86 4.0 and pre-releases (DGA 2.0) is the route to go. So test out those pre-releases! Randall ----- Forwarded message from Mark Vojkovich ----- ... [XFree86] 3.3.5 won't have that problem for cards that don't have WRAM. The problems with the old DGA is it didn't make the distinction between the start of the framebuffer and the start of the visible part of the framebuffer. For the WRAM cards, these are not the same for modes using more than 4 Meg of ram. Prior to 3.3.5, this was erroneously being done for non-WRAM cards as well. DGA 2.0 is the only way to remedy this problem for the Millennium and Millennium II. ----- 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 Thu Sep 30 8:22:24 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id ED42E1558E; Thu, 30 Sep 1999 08:22:18 -0700 (PDT) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id LAA01305; Thu, 30 Sep 1999 11:22:18 -0400 (EDT) (envelope-from mwlucas) Message-Id: <199909301522.LAA01305@blackhelicopters.org> Subject: Sound on toshiba satellite 4015cds To: mobile@freebsd.org Date: Thu, 30 Sep 1999 11:22:18 -0400 (EDT) Cc: multimedia@freebsd.org From: mwlucas@gltg.com X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have sound working on my laptop, almost. Any files I play are extremely soft, even when the volume dial is all the way up. I know that the speakers work; when I use filename completion, I get a quite loud annoying beep. My mixer output lacks a volume control: moneysink~;mixer Mixer synth is currently set to 75:75 Mixer pcm is currently set to 64:64 Mixer speaker is currently set to 75:75 Mixer line is currently set to 32:32 Mixer mic is currently set to 64:64 Mixer cd is currently set to 75:75 Mixer mix is currently set to 0:0 Mixer igain is currently set to 37:37 moneysink~; From BIOS: wss I/0 530h SBPro I/O 220h Synth I/O 288h Wss & SBPro & MPU401 IRQ5 WSS (play) DMA 1 WSS (rec) DMA 0 Control I/O 538h MPU401(MIDI I/F) 330h From dmesg: ... try to identify the yamaha pcm0 at 0x530 irq 5 drq 1 flags 0xa210 on isa mss_attach 0 at 0x530 irq 5 dma 1:0 flags 0xa210 From kernel config: device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x10 Anyone have any suggestions? I'm not particularly attached to the pcm driver, but I didn't get *any* sound out of voxware. Of course, that's probably because I'm doing something wrong. This is not a plug-and-play system. I'd appreciate any help at all! Thanks, Michael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 30 9:16:47 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 5BCB614F0D; Thu, 30 Sep 1999 09:16:42 -0700 (PDT) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id MAA01473; Thu, 30 Sep 1999 12:16:42 -0400 (EDT) (envelope-from mwlucas) Message-Id: <199909301616.MAA01473@blackhelicopters.org> Subject: Sound on toshiba satellie 4015cds solved! To: mobile@freebsd.org Date: Thu, 30 Sep 1999 12:16:42 -0400 (EDT) Cc: multimedia@freebsd.org From: mwlucas@gltg.com X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wow, that was *fast*! Five minutes, three responses, and one worked! Thanks to Gary Rafe for solving it. This reply is more for the archives. Set: mixer pcm 100 mixer synth 100 and your sound will come in fairly well. The only thing left to do is kill the keyboard beep (which I believe is set somewhere in /etc.rc*... hmm, grep -i bell /etc/defaults/rc.conf... yep, there she is.) Thanks to all! ==ml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Oct 1 11:29: 7 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from satsuma.mail.easynet.net (satsuma.mail.easynet.net [195.40.1.44]) by hub.freebsd.org (Postfix) with ESMTP id EC5B0153AD for ; Fri, 1 Oct 1999 11:28:54 -0700 (PDT) (envelope-from frankrj@netscape.net) Received: from netscape.net (alister.w.easynet.co.uk [212.212.251.86]) by satsuma.mail.easynet.net with ESMTP id E35D87B24B; Fri, 1 Oct 1999 19:28:52 +0100 (BST) Message-ID: <37F4FE79.22CC4479@netscape.net> Date: Fri, 01 Oct 1999 19:33:29 +0100 From: Francis Jordan X-Mailer: Mozilla 4.5 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: mwlucas@gltg.com Cc: multimedia@freebsd.org Subject: Re: Sound on toshiba satellite 4015cds References: <199909301522.LAA01305@blackhelicopters.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org mwlucas@gltg.com wrote: > My mixer output lacks a volume control: > > moneysink~;mixer > Mixer pcm is currently set to 64:64 "mixer pcm 100" should do it. On my notebook, it goes from practically inaudible to a reasonable volume level. Frank To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Oct 1 15:19:18 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from ex1.ncsa.uiuc.edu (ex1.ncsa.uiuc.edu [141.142.2.9]) by hub.freebsd.org (Postfix) with ESMTP id 4E0DE1503A for ; Fri, 1 Oct 1999 15:19:08 -0700 (PDT) (envelope-from jdugan@ncsa.uiuc.edu) Received: from rivendell.ncsa.uiuc.edu (rivendell.ncsa.uiuc.edu [141.142.21.110]) by ex1.ncsa.uiuc.edu (8.9.3/8.9.3) with ESMTP id RAA18188 for ; Fri, 1 Oct 1999 17:19:07 -0500 (CDT) Received: from jdugan by rivendell.ncsa.uiuc.edu with local (Exim 2.12 #1) id 11XB19-0000BN-00 for freebsd-multimedia@freebsd.org; Fri, 1 Oct 1999 17:19:07 -0500 Date: Fri, 1 Oct 1999 17:19:07 -0500 From: Jon Dugan To: freebsd-multimedia@freebsd.org Subject: Crystal with Luigi's Driver Message-ID: <19991001171907.A557@ncsa.uiuc.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="yrj/dFKFPuw6o+aM" X-Mailer: Mutt 0.95.5i X-md5sum: 3ff82fa6d903a4edc8cd82667234491c X-md5sum-Origin: ex1.ncsa.uiuc.edu Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Hello, I've been trying to get a Crystal based ISA sound card to work with Luigi's driver. It works fine for playback, but I can't get it to record. The two applications I have tried are rat and dap. Both freeze up when I try to record. The card has two Crystal chips on it: CX4237B-XQ3 and CS9236-CL. I'm running 3.3-RELEASE instaled from the Walnut Creek CD. Here's the sound devs: > ls -l /dev/{dsp,dsp1,audio,audio1,mixer,mixer1,dspW,dspW1} lrw-rw-rw- 1 root wheel 6 Oct 1 17:14 /dev/audio -> audio1 crw-rw-rw- 1 root wheel 30, 20 Oct 1 17:10 /dev/audio1 lrw-rw-rw- 1 root wheel 4 Oct 1 17:14 /dev/dsp -> dsp1 crw-rw-rw- 1 root wheel 30, 19 Oct 1 17:10 /dev/dsp1 lrw-rw-rw- 1 root wheel 5 Oct 1 17:15 /dev/dspW -> dspW1 crw-rw-rw- 1 root wheel 30, 21 Oct 1 17:10 /dev/dspW1 lrw-rw-rw- 1 root wheel 6 Oct 1 17:15 /dev/mixer -> mixer1 crw-rw-rw- 1 root wheel 30, 16 Oct 1 17:10 /dev/mixer1 > cat /dev/sndstat FreeBSD Audio Driver (981002) Oct 1 1999 14:54:27 Installed devices: pcm1: at 0x530 irq 5 dma 1:3 sequencer1: at 0x388 (not functional) I've attached the output of dmesg and my kernel config. I tried the OSS (www.opensound.com) driver, but that really wedged my machine good. Any suggestions? Jon -- Jon Dugan | Network Engineer, NCSA Network Development jdugan@ncsa.uiuc.edu | 57C CAB, 605 E Springfield, Champaign, IL 61820 217/244-7715 | http://www.ncsa.uiuc.edu/people/jdugan --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.3-RELEASE #3: Fri Oct 1 16:45:43 CDT 1999 jdugan@rivendell.ncsa.uiuc.edu:/usr/src/sys/compile/RIV-K7 Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K7(tm) Processor (499.03-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x612 Stepping = 2 Features=0x81f9ff AMD Features=0xc0400000<,,3DNow!> real memory = 268435456 (262144K bytes) config> di zp0 No such device: zp0 Invalid command or syntax. Type `?' for help. config> di ze0 No such device: ze0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di le0 No such device: le0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di ex0 No such device: ex0 Invalid command or syntax. Type `?' for help. config> di ep0 No such device: ep0 Invalid command or syntax. Type `?' for help. config> di ed0 No such device: ed0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di wt0 No such device: wt0 Invalid command or syntax. Type `?' for help. config> di wdc1 config> di scd0 No such device: scd0 Invalid command or syntax. Type `?' for help. config> di mcd0 No such device: mcd0 Invalid command or syntax. Type `?' for help. config> di matcdc0 No such device: matcdc0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q avail memory = 257875968 (251832K bytes) Preloaded elf kernel "kernel" at 0xc0318000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc031809c. Probing for devices on PCI bus 0: chip0: rev 0x23 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 3 on pci0.3.0 xl0: Ethernet address: 00:50:da:22:64:de xl0: autoneg complete, link status good (full-duplex, 100Mbps) ahc0: rev 0x00 int a irq 10 on pci0.4.0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs ti0: rev 0x01 int a irq 10 on pci0.6.0 ti0: Ethernet address: 00:a0:cc:73:30:32 chip2: rev 0x14 on pci0.7.0 ide_pci0: rev 0x06 on pci0.7.1 bktr0: rev 0x02 int a irq 11 on pci0.9.0 bti2c0: iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 smb0: on smbus0 AVer Media TV/FM, Philips NTSC tuner. Probing for devices on PCI bus 1: vga0: rev 0x03 int a irq 11 on pci1.5.0 Probing for PnP devices: CSN 1 Vendor ID: CSC4837 [0x3748630e] Serial 0xffffffff Comp ID: @@@0000 [0x00000000] mss_attach 1 at 0x530 irq 5 dma 1:3 flags 0x13 pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 flags 0x13 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0: failed to get data. psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1 not found at 0x2f8 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (atapi): , removable, dma, iordy wfd0: medium type unknown (no disk) ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 3 seconds for SCSI devices to settle changing rooda0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 8759MB (17938986 512 byte sectors: 255H 63S/T 1116C) t device to da0s1a cd0 at ahc0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed da1 at ahc0 bus 0 target 5 lun 0 da1: Removable Direct Access SCSI-2 device da1: 3.300MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present xl0: selecting MII, 100Mbps, half duplex xl0: selecting MII, 100Mbps, full duplex --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=RIV-K7 # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.freebsd.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.143.2.22 1999/09/14 22:53:30 jkh Exp $ machine "i386" cpu "I686_CPU" ident "RIV-K7" maxusers 128 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=3000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores config kernel root on wd0 # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs controller isa0 controller pnp0 # PnP support for ISA controller eisa0 controller pci0 # Floppy drives controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 # IDE controller and disks options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 # ATAPI devices options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) # SCSI Controllers # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. controller ahc0 # AHA2940 and onboard AIC7xxx devices # SCSI peripherals # Only one of each of these is needed, they are dynamically allocated. controller scbus0 # SCSI bus (required) device da0 # Direct Access (disks) device sa0 # Sequential Access (tape etc) device cd0 # CD device pass0 # Passthrough device (direct SCSI) # atkbdc0 controls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Floating point support - do not disable. device npx0 at isa? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at isa? disable flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support #controller card0 #device pcic0 at card? #device pcic1 at card? # Serial (COM) ports device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device sio2 at isa? disable port "IO_COM3" tty irq 5 device sio3 at isa? disable port "IO_COM4" tty irq 9 # Parallel port device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 # Parallel port bus (required) device lpt0 at ppbus? # Printer device plip0 at ppbus? # TCP/IP over parallel device ppi0 at ppbus? # Parallel port interface device #controller vpo0 at ppbus? # Requires scbus and da0 # PCI Ethernet NICs. device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') device ti0 # Tigon based GigE # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun 1 # Packet tunnel pseudo-device pty 128 # Pseudo-ttys (telnet etc) pseudo-device gzip # Exec gzipped a.out's # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. pseudo-device bpfilter 8 #Berkeley packet filter # Coda options CODA pseudo-device vcoda 4 # PnP options USERCONFIG controller pnp0 # various controllers needed for brooktree chip controller iicbus0 controller iicbb0 controller smbus0 device smb0 at smbus? # brooktree video capture device bktr0 # Sound device pcm0 --yrj/dFKFPuw6o+aM-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Oct 2 22:41: 0 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from arthur.caida.org (arthur.caida.org [204.212.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 092C914DC5 for ; Sat, 2 Oct 1999 22:40:56 -0700 (PDT) (envelope-from dwm@arthur.caida.org) Received: from arthur.caida.org (localhost.caida.org [127.0.0.1]) by arthur.caida.org (8.9.0/8.9.0.Beta5) with ESMTP id BAA56692 for ; Sun, 3 Oct 1999 01:40:55 -0400 (EDT) Message-Id: <199910030540.BAA56692@arthur.caida.org> To: multimedia@freebsd.org Subject: wmtune and Bt848 driver version 1.74 Date: Sun, 03 Oct 1999 01:40:55 -0400 From: Daniel McRobb Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just FYI, I have hacked wmtune to work with the bt848 driver version 1.74 on FreeBSD (I'm using 3.2-STABLE and 3.3-STABLE). I still have some work to do, and will then look at making a port. I prefer the GUI over xmradio, even though wmtune currently doesn't support some of the xmradio features (AFC toggle, peak signal scanning, et. al.). I might add those to wmtune, but the icon-sized GUI is out of space at the moment. Daniel ~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message