From owner-freebsd-multimedia Mon Sep 16 10:11:11 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1338337B400 for ; Mon, 16 Sep 2002 10:11:10 -0700 (PDT) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5967243E6A for ; Mon, 16 Sep 2002 10:11:09 -0700 (PDT) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (9oancpxftmab98o4@dsl-60-88.aei.ca [216.221.60.88]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id g8GGmcP28217; Mon, 16 Sep 2002 12:48:39 -0400 (EDT) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 90C92402; Mon, 16 Sep 2002 12:51:14 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 16 Sep 2002 12:47:56 -0400 Date: Mon, 16 Sep 2002 12:47:56 -0400 From: The Anarcat To: Baldur Gislason Cc: multimedia@freebsd.org Subject: Re: Recording 16 bit samples Message-ID: <20020916164756.GB313@lenny.anarcat.ath.cx> References: <20020914195234.094E227A0@tesla.foo.is> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: <20020914195234.094E227A0@tesla.foo.is> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sox converts samples to its internal format when reading and converts back again when writing, so that's huge lag. Also, it uses a very small buffer for both ops, so it's really not the best tool to record. I suggest you try out my little "rec" tool that records RAW PCM from the sound card to see if you can record correctly. http://anarcat.ath.cx/cgi-bin/cvsweb.cgi/bin/rec/ That's CVS, you can download the whole thing in a tarball at: http://anarcat.ath.cx/cgi-bin/cvsweb.cgi/bin/rec/rec.tar.gz?tarball=3D1 A. On Sat Sep 14, 2002 at 07:51:59PM +0000, Baldur Gislason wrote: > I'm having trouble recording 16 bit samples with sox in FreeBSD, the=20 > recordings skip and do other weird stuff. I've tried this with 4 differen= t=20 > sound cards, and with both the pcm and the old snd kernel drivers. Anyone= =20 > else having the same problem? >=20 > Baldur >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message >=20 --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9hgs8ttcWHAnWiGcRAmf/AKCj/Bdz0r1cRwPlcp9GAvroiCJ8bwCeMcgO SpqKTQSi8WN8QuKsEI9pKRI= =z12O -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 16 10:24:33 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CE5D37B400 for ; Mon, 16 Sep 2002 10:24:29 -0700 (PDT) Received: from webmail2.rockefeller.edu (webmail2.rockefeller.edu [129.85.249.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C57443E65 for ; Mon, 16 Sep 2002 10:24:28 -0700 (PDT) (envelope-from rsidd@lpt.ens.fr) Received: from bluerondo.a.la.turk (gendialup20.rockefeller.edu [129.85.131.119]) by webmail2.rockefeller.edu (Switch-2.2.4/Switch-2.2.0) with ESMTP id g8F2AJX10629 for ; Sat, 14 Sep 2002 22:10:20 -0400 (EDT) Received: (qmail 281 invoked by uid 1001); 15 Sep 2002 02:06:27 -0000 Date: Sat, 14 Sep 2002 22:06:27 -0400 From: Rahul Siddharthan To: Julian Elischer Cc: stable@freebsd.org, multimedia@freebsd.org Subject: Re: USB audio kernel panics Message-ID: <20020915020627.GA241@papagena.rockefeller.edu> References: <20020913121704.GA286@papagena.rockefeller.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.7-PRERELEASE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Julian Elischer said on Sep 13, 2002 at 11:18:54: > > > can you do a 'list' here? > > > as well as "info locals" and > > > print anything that looks suspicious? > > > > I don't know what looks suspicious, but here's the whole lot below -- > > first for the panic I quoted (pulling out the USB cord while busy), > > then for a different panic (starting the KDE artsd daemon). [....] > > ------------------ > > > > First, for what I sent earlier: pulling out the USB cord > > > > ------------------ > > > > #16 0xc0235813 in uhci_device_isoc_start (xfer=0xc100d300) > > at /usr/src/sys/dev/usb/uhci.c:2097 > > 2097 LIST_INSERT_HEAD(&sc->sc_intrhead, ii, list); > > (kgdb) list > > 2092 if (!ii->isdone) { > > 2093 printf("uhci_device_isoc_start: not done, ii=%p\n", ii); > > 2094 } > > 2095 ii->isdone = 0; > > 2096 #endif > > 2097 LIST_INSERT_HEAD(&sc->sc_intrhead, ii, list); > > 2098 > > 2099 splx(s); > > 2100 > > 2101 return (USBD_IN_PROGRESS); > > (kgdb) info locals > > upipe = (struct uhci_pipe *) 0x0 > > sc = (uhci_softc_t *) 0xc0f9c200 > > ii = (uhci_intr_info_t *) 0xc0fae8c0 > > end = (uhci_soft_td_t *) 0x68c840 > > s = 6867008 > > i = 0 > > print sc->sc_intrhead > and if there is something already on the list, print that. > also print *ii (kgdb) print sc->sc_intrhead $1 = {lh_first = 0x558d026a} (kgdb) print *ii $2 = {sc = 0xc0ebb000, xfer = 0xc100d300, stdstart = 0xc0fa52c0, stdend = 0xc0fa52c0, list = {le_next = 0x558d026a, le_prev = 0xc0ebbc78}, timeout_handle = {callout = 0x0}} It means nothing to me :( > > ----------------- > > > > Below, a panic generated by starting up KDE's artsd while the USB device > > is plugged in securely. > > > > ----------------- > > > > #16 0xc029bb93 in trap (frame={tf_fs = 6815760, tf_es = -1056571376, > > tf_ds = 16, tf_edi = 1, tf_esi = -1056113184, tf_ebp = -1070635404, > > tf_isp = -1070635452, tf_ebx = -1056138112, tf_edx = 125511200, > > tf_ecx = -846746112, tf_eax = 2, tf_trapno = 12, tf_err = 0, > > tf_eip = -1071429335, tf_cs = 8, tf_eflags = 66050, > > tf_esp = -1057941184, tf_ss = -1056113184}) > > at /usr/src/sys/i386/i386/trap.c:466 > > 466 (void) trap_pfault(&frame, FALSE, eva); > > > > (kgdb) up > > #17 0xc0234929 in uhci_idone (ii=0xc10cfde0) > > at /usr/src/sys/dev/usb/uhci.c:1129 > > 1129 for (std = ii->stdstart; std != NULL; std = std->link.std) { > > (kgdb) list > > 1124 uhci_dump_tds(ii->stdstart); > > 1125 #endif > > 1126 > > 1127 /* The transfer is done, compute actual length and status. */ > > 1128 actlen = 0; > > 1129 for (std = ii->stdstart; std != NULL; std = std->link.std) { > > 1130 nstatus = LE(std->td.td_status); > > 1131 if (nstatus & UHCI_TD_ACTIVE) > > 1132 break; > > 1133 > > (kgdb) info locals > > If this really is where the error is.. is it possile something further in the > loop clears std? This is the complete loop, for (std = ii->stdstart; std != NULL; std = std->link.std) { nstatus = LE(std->td.td_status); if (nstatus & UHCI_TD_ACTIVE) break; status = nstatus; if (UHCI_TD_GET_PID(LE(std->td.td_token)) != UHCI_TD_PID_SETUP) actlen += UHCI_TD_GET_ACTLEN(status); } Sorry, this doesn't mean much either to me... is it getting cleared in the loop? Doesn't look like it to me. I checked by creating this panic again, it is again at the same spot. Since it's so trivial to produce this panic, can't whoever merged the code into -stable take a look at it? Or do things work fine on their machine? Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 16 10:40:19 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CAE137B400; Mon, 16 Sep 2002 10:40:18 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5CF143E3B; Mon, 16 Sep 2002 10:40:17 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020916174017.CNPP16829.rwcrmhc51.attbi.com@InterJet.elischer.org>; Mon, 16 Sep 2002 17:40:17 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA95810; Mon, 16 Sep 2002 10:36:19 -0700 (PDT) Date: Mon, 16 Sep 2002 10:36:18 -0700 (PDT) From: Julian Elischer To: Rahul Siddharthan Cc: stable@freebsd.org, multimedia@freebsd.org Subject: Re: USB audio kernel panics In-Reply-To: <20020915020627.GA241@papagena.rockefeller.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 14 Sep 2002, Rahul Siddharthan wrote: > > > > print sc->sc_intrhead > > and if there is something already on the list, print that. > > also print *ii > > (kgdb) print sc->sc_intrhead > $1 = {lh_first = 0x558d026a} > > (kgdb) print *ii > $2 = {sc = 0xc0ebb000, xfer = 0xc100d300, stdstart = 0xc0fa52c0, > stdend = 0xc0fa52c0, list = {le_next = 0x558d026a, le_prev = 0xc0ebbc78}, > timeout_handle = {callout = 0x0}} > > It means nothing to me :( it crashed because the sc->intrhead points to GARBAGE also ii->list points to teh same garbage. look in the cvs tree to find the author of this file.... > > > > (kgdb) info locals > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 16 11: 1:21 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62D4737B400 for ; Mon, 16 Sep 2002 11:01:18 -0700 (PDT) Received: from kumr.lns.com (kumr.lns.com [63.198.122.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95E4B43E72 for ; Mon, 16 Sep 2002 11:01:17 -0700 (PDT) (envelope-from pozar@kumr.lns.com) Received: (from pozar@localhost) by kumr.lns.com (8.11.6/8.9.3) id g8GI1BZ68734; Mon, 16 Sep 2002 11:01:11 -0700 (PDT) (envelope-from pozar) Date: Mon, 16 Sep 2002 11:01:11 -0700 From: Tim Pozar To: Baldur Gislason Cc: multimedia@FreeBSD.ORG Subject: Re: Recording 16 bit samples Message-ID: <20020916110111.A65614@lns.com> References: <20020914195234.094E227A0@tesla.foo.is> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020914195234.094E227A0@tesla.foo.is>; from baldur@foo.is on Sat, Sep 14, 2002 at 07:51:59PM +0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Sep 14, 2002 at 07:51:59PM +0000, Baldur Gislason wrote: > I'm having trouble recording 16 bit samples with sox in FreeBSD, the > recordings skip and do other weird stuff. I've tried this with 4 different > sound cards, and with both the pcm and the old snd kernel drivers. Anyone > else having the same problem? I have actually had pretty good luck with an "archiving" box I built for an outdoor music fest I was working on. I used FreeBSD 4.6 with 4Front's sound drivers. The case was a small foot print, about 2" heigh by 8" wide and 12" deep. I stuck a 160GB drive in it. It also had on-board sound (Yamaha YMF724F) with two PCI/ISA slots that I populated with an ESS Allegro (ESS1998) card (PCI) and a Creative SB AWE64 (ISA) card. This gave me three sources that I could record from. The first source was the sound board mix, the second source was two-way traffic and the third was a second stage feed. We actually had 4 stages at this event. To archive I used a quick little perl script (see below) to open the /dev/dsp port with another program I wrote (catdsp - available at: http://www.lns.com/papers/catdsp) that opens /dev/dsp and sets the right modes and bit rates and then starts to shove data to STDOUT. EsounD has a simular program called "esdrec". What was nice about the size of the computer and perl script was I could just bury the computer under the sound board and not touch it for the 4 days of the event. The show went from Thursday at noon until Monday (Labor Day) at noon. For a 44.1KHz 16bit stereo file it would be about a 61GB file. I put a signal handler in the script so if I sent it a "kill HUP" it would close the current file and reopen a new file without dropping any data. A couple of times a day I did this. The down side was monitoring levels. Fortunately, we had some soft limiting via a Manley limiter just before the sound cards so I just needed to set the levels at the start of the show and forget it. But to QC the audio, I did write another perl script that would tail the raw PCM file, MP3 encode it via LAME and then send it to an icecast relay (also running on this box) so I could listen to the audio with about a 15 second delay. I did end up with a problem with ground loops between the two-way audio and the program feeds. I had to drop the two-way archiving as conneting to it created a hum about -20dB. Next fest, I will be looking at putting in cards that can support S/PIDF and balanced audio. Hope this helps and gives you some ideas on what you can do. Tim -- #!/usr/bin/perl $bufsize = 176400; # 176400 = 1 second at 44.1KHz stereo 16 bit word $SIG{'HUP'} = \&sig_hup; $SIG{'INT'} = \&sig_int; # $device = "dspW0"; # Yamaha YMF724F $device = "dspW8"; # ESS Allegro (ESS1998) # $device = "dspW10"; # Creative SB AWE64 $devdevice = "/dev/" . $device; $bitrate = 44100; # Year/Month/Day/Hour/Minute/Second... $date =`date "+%Y%m%d%H%M%S"`; chop $date; open(DSP, "catdsp -d $devdevice -r $bitrate |"); # To do a wave file... # open(AUDIOFILE, "| sox -t raw -r $bitrate -s -w -c 2 - $date.$device.wav"); # To do a raw PCM file... open(AUDIOFILE, "> /usr/local/hog/archive/program.$date.$device.raw"); while(1) { $readresult = read(DSP, $buffer, $bufsize); print AUDIOFILE "$buffer"; $readresult = 0; } sub sig_hup { # 1st argument is signal name $olddate = $date; $date=`date`; chop($date); my($sig) = @_; print "$date: Caught a SIG$sig\n"; close(AUDIOFILE); $date =`date "+%Y%m%d%H%M%S"`; chop $date; print "Closing $olddate.raw and opening $date.raw\n"; open(AUDIOFILE, "> /usr/local/hog/archive/progam.$date.$device.raw"); return; } sub sig_int { # 1st argument is signal name $date=`date`; chop($date); my($sig) = @_; print "$date: Caught a SIG$sig\n"; close(AUDIOFILE); exit; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Sep 17 7:54:21 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D63E537B401; Tue, 17 Sep 2002 07:54:19 -0700 (PDT) Received: from ringding.cs.umd.edu (ringding.cs.umd.edu [128.8.129.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 550F143E77; Tue, 17 Sep 2002 07:54:17 -0700 (PDT) (envelope-from fms@cs.umd.edu) Received: from snickers.cs.umd.edu (snickers.cs.umd.edu [128.8.129.109]) by ringding.cs.umd.edu (8.12.5/8.12.5) with ESMTP id g8HEs8A8008990; Tue, 17 Sep 2002 10:54:08 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by snickers.cs.umd.edu (8.12.5/8.12.5) with ESMTP id g8HEs7rA028673; Tue, 17 Sep 2002 10:54:07 -0400 (EDT) Date: Tue, 17 Sep 2002 10:54:06 -0400 (EDT) From: Marat Fayzullin To: Cc: Subject: Maestro2E Problem [pcm bug?] Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello! I have just found that Maestro2E refuses to produce sound if the total buffer size is <16kB. For example, look at the following program: int main(int argc,char *argv) { int I,J,K,SoundFD; char Buf[256]; SoundFD=open("/dev/dsp",O_WRONLY); if(SoundFD<0) return(1); J=AFMT_U8; ioctl(SoundFD,SNDCTL_DSP_SETFMT,&J); J=0; ioctl(SoundFD,SNDCTL_DSP_STEREO,&J); J=44100; ioctl(SoundFD,SNDCTL_DSP_SPEED,&J); J=11|(8<<16); // <------- 8x2048 buffers ioctl(SoundFD,SNDCTL_DSP_SETFRAGMENT,&J); for(J=0;J<256;J++) Buf[J]=J&1? 0:127; for(J=0;J<10000;J++) write(SoundFD,Buf,256); close(SoundFD); return(0); } When I set the fragmentation to 64x256 or 8x2048 or some other similar value, I get the sound. Otherwise, the driver reports "channel dead" and there is silence. My suspicion is that the DMA buffer has to be allocated at a 16kB segment boundary, which does not always happen when its size is <16kB. Unfortunately, I do not know FreeBSD kernel well enough to verify and fix this problem. Could somebody with enough expertise please look at it and try fixing the problem? Because of this, I can't test several programs planned for release. System specifications: SYSTEM: FreeBSD 4.6.2-RELEASE MACHINE: Toshiba Portege 3380 SOUND: ESS Maestro2E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 18 7:15:31 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E615737B401 for ; Wed, 18 Sep 2002 07:15:30 -0700 (PDT) Received: from chainsoftware.nl (chain.xs4all.nl [80.126.25.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ADC743E6A for ; Wed, 18 Sep 2002 07:15:29 -0700 (PDT) (envelope-from sven@hazejager.nl) Received: (from root@localhost) by chainsoftware.nl (8.12.3/8.12.3) id g8IEFSwk095731 for freebsd-multimedia@freebsd.org; Wed, 18 Sep 2002 16:15:28 +0200 (CEST) (envelope-from sven@hazejager.nl) Received: from chainsoftware.nl (localhost [IPv6:::1]) by chainsoftware.nl (8.12.3/8.12.3av) with ESMTP id g8IEFR2T095725 for ; Wed, 18 Sep 2002 16:15:27 +0200 (CEST) (envelope-from sven@hazejager.nl) Received: from localhost (sven@localhost) by chainsoftware.nl (8.12.3/8.12.3/Submit) with ESMTP id g8IEFQS3095722 for ; Wed, 18 Sep 2002 16:15:26 +0200 (CEST) (envelope-from sven@hazejager.nl) X-Authentication-Warning: proxy.chain.loc: sven owned process doing -bs Date: Wed, 18 Sep 2002 16:15:26 +0200 (CEST) From: Sven Hazejager X-X-Sender: sven@proxy.chain.loc To: freebsd-multimedia@freebsd.org Subject: TV card LAN streaming possible? Message-ID: <20020918160936.R95590-100000@proxy.chain.loc> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 (chainsoftware.nl) X-Razor-id: 22c394139d8f34ed836cd71fa3ee4002d1a8d2c3 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I just picked up a Medion MD5044 PCI TV Tuner card, equipped with a Philips MD 5044 chipset. Is it possible to get this card running under FreeBSD and maybe even do some live LAN streaming? Thanks, Sven Hazejager To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 18 13:13:16 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B64A537B401 for ; Wed, 18 Sep 2002 13:13:15 -0700 (PDT) Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2AA543E6A for ; Wed, 18 Sep 2002 13:13:14 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g8IKD6L17955; Wed, 18 Sep 2002 16:13:06 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g8IKD5l15729; Wed, 18 Sep 2002 16:13:05 -0400 (EDT) Received: from mm112324-2k.mitre.org (128.29.105.142) by mailhub2.mitre.org with SMTP id 11605933; Wed, 18 Sep 2002 16:12:57 -0400 Message-ID: <3D88DE15.EA5AD402@mitre.org> Date: Wed, 18 Sep 2002 16:12:05 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.79 [en]C-20020130M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Sven Hazejager Cc: freebsd-multimedia@freebsd.org Subject: Re: TV card LAN streaming possible? References: <20020918160936.R95590-100000@proxy.chain.loc> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Sven Hazejager wrote: > > Hi, > > I just picked up a Medion MD5044 PCI TV Tuner card, equipped with a > Philips MD 5044 chipset. Is it possible to get this card running under > FreeBSD and maybe even do some live LAN streaming? Sure, if you write the driver for it. IIRC, the Phillips SAA7134HL doesn't have any driver support in FreeBSD. There is a linux driver at http://bytesex.org/saa7134/index.html, but it's for the Video4Linux2 project, and won't work on FreeBSD. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 21 14:11:37 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F326F37B401 for ; Sat, 21 Sep 2002 14:11:35 -0700 (PDT) Received: from smtp.wp.pl (ofree.wp-sa.pl [212.77.101.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4760843E4A for ; Sat, 21 Sep 2002 14:11:28 -0700 (PDT) (envelope-from pingo25@wp.pl) Received: (WP-SMTPD 31766 invoked from network); 21 Sep 2002 21:11:18 -0000 Received: from unknown (HELO localhost) ([212.77.101.203]) (envelope-sender ) by smtp2.free.wp-sa.pl (WP-SMTPD) with SMTP for ; 21 Sep 2002 21:11:18 -0000 Date: Sat, 21 Sep 2002 23:11:17 +0200 From: "pingo #" To: freebsd-multimedia@FreeBSD.org Subject: bktr driver Message-ID: <3d8ce075d4380@wp.pl> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Mailer: Interfejs WWW poczty Wirtualnej Polski Organization: Poczta Wirtualnej Polski S.A. http://www.wp.pl/ X-IP:62.121.77.122 X-AntiVirus: skaner antywirusowy poczty Wirtualnej Polski S. A. Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have problem with my tv tuner (Avermedia TVPhone 98), FreeBSD bktr driver doesn't support my tvaudio chip :( (tv picture is ok, but there is no sound) on linux everything is ok (bttv detects TDA9840 tvaudio chip): Linux video capture interface: v1.00 i2c-core.o: i2c core module i2c-algo-bit.o: i2c bit algorithm module bttv: driver version 0.7.83 loaded bttv: using 2 buffers with 2080k (4160k total) for capture bttv: Host bridge is Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller bttv: Bt8xx card found (0). AMD756: dev 109e:036e, router pirq : 1 get irq : 9 PCI: Found IRQ 9 for device 00:08.0 PCI: Sharing IRQ 9 with 00:08.1 PCI: Sharing IRQ 9 with 00:0c.0 bttv0: Bt878 (rev 17) at 00:08.0, irq: 9, latency: 64, memory: 0xe5dfe000 bttv0: detected: AVerMedia TVPhone98 [card=41], PCI subsystem ID is 1461:0003 bttv0: using: BT878(AVerMedia TVPhone 98) [card=41,autodetected] i2c-core.o: adapter bt848 #0 registered as adapter 0. bttv0: Avermedia eeprom[0x0a97]: tuner=5 bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found tvaudio: TV audio decoder + audio/video mux driver tvaudio: known chips: tda9840,tda9873h,tda9874a,tda9850,tda9855,tea6300,tea6420,tda8425 ,pic16c54 (PV951) i2c-core.o: driver generic i2c audio driver registered. bttv0: i2c attach [client=tda9840,ok] i2c-core.o: client [tda9840] registered to adapter [bt848 #0] (pos. 0). i2c-core.o: driver i2c TV tuner driver registered. tuner: chip found @ 0xc2 bttv0: i2c attach [client=Philips PAL,ok] i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0] (pos. 1). bttv0: PLL: 28636363 => 35468950 ... ok but freebsd detects some odd chip (dpl3518a): bktr0: mem 0xe5dfe000-0xe5dfefff irq 9 at device 8.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicbus1: on iicbb0 master-only smbus0: on bti2c0 bktr0: Detected a DPL34-1@-@0 at 0x84 bktr0: AVer Media TV/FM, Philips FR1216 PAL FM tuner, dpl3518a dolby. pci0: (vendor=0x109e, dev=0x0878) at 8.1 irq 9 Anyone know how to solve problem with bktr driver (i'm looking for how-to or bktr driver description so i can add to it tda9840 support) or where i could find other FreeBSD tv tuner drivers? ----------------------------------------------------------------------- Wystawa Picasso w Warszawie "Grafika, Ceramika, Arrasy" Zobacz! < http://www.picasso.wystawa.wp.pl/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message