From owner-freebsd-multimedia Sun Oct 5 03:33:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA11753 for multimedia-outgoing; Sun, 5 Oct 1997 03:33:08 -0700 (PDT) Received: from gaia.coppe.ufrj.br (jonny@[146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA11744 for ; Sun, 5 Oct 1997 03:33:01 -0700 (PDT) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id HAA11806; Sun, 5 Oct 1997 07:32:59 -0300 (EST) From: Joao Carlos Mendes Luis Message-Id: <199710051032.HAA11806@gaia.coppe.ufrj.br> Subject: Proposed patches to bt848 device To: multimedia@FreeBSD.ORG Date: Sun, 5 Oct 1997 07:32:59 -0300 (EST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, Here are my proposed patches to the bt848 device driver to support all video formats supported by the chip. I tested it with NTSC and PAL/M, but cannot test it with other formats. Please test and send reports. If there's no problem, I'd like to see it committed. My system is a 2.2-stable from one or two weeks ago. I did not see any changes to bt848 device on cvs lists, so it's probably the same as 2.2.5-beta. Bugs: I had to copy some data from brktree_reg.h to ioctl_bt848.h Maybe this could be better rewritten. Oh, I'll send patches to fxtv right after this. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 --- sys/pci/brooktree848.c.old Mon Sep 29 20:36:56 1997 +++ sys/pci/brooktree848.c Sun Oct 5 07:03:50 1997 @@ -1298,6 +1298,38 @@ *(u_short *)arg = temp; break; + case BT848SFMT: /* set input format */ + temp = *(unsigned long*)arg & BT848_IFORM_FORMAT; + bt848->iform &= ~BT848_IFORM_FORMAT; + bt848->iform |= temp; + switch( temp ) { + case BT848_IFORM_F_AUTO: + bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | + METEOR_AUTOMODE; + break; + + case BT848_IFORM_F_NTSCM: + case BT848_IFORM_F_NTSCJ: + case BT848_IFORM_F_PALM: + bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | + METEOR_NTSC; + bt848->adelay = 0x68; + bt848->bdelay = 0x5d; + bktr->format_params = FORMAT_PARAMS_NTSC525; + break; + + case BT848_IFORM_F_PALBDGHI: + case BT848_IFORM_F_PALN: + case BT848_IFORM_F_SECAM: + case BT848_IFORM_F_RSVD: + bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | + METEOR_PAL; + bt848->adelay = 0x7f; + bt848->bdelay = 0x72; + bktr->format_params = FORMAT_PARAMS_PAL625; + } + break; + case METEORSFMT: /* set input format */ switch(*(unsigned long *)arg & METEOR_FORM_MASK ) { case 0: /* default */ @@ -1334,6 +1366,10 @@ case METEORGFMT: /* get input format */ *(u_long *)arg = bktr->flags & METEOR_FORM_MASK; + break; + + case BT848GFMT: /* get input format */ + *(u_long *)arg = bt848->iform & BT848_IFORM_FORMAT; break; case METEORSCOUNT: /* (re)set error counts */ --- sys/i386/include/ioctl_bt848.h.old Sun Oct 5 07:07:00 1997 +++ sys/i386/include/ioctl_bt848.h Sun Oct 5 05:36:20 1997 @@ -181,3 +181,19 @@ /* set clip list */ #define BT848SCLIP _IOW('x', 66, struct _bktr_clip ) #define BT848GCLIP _IOR('x', 66, struct _bktr_clip ) + +/* set input format */ +#define BT848SFMT _IOW('x', 67, unsigned long ) +#define BT848GFMT _IOR('x', 67, unsigned long ) + +/* XXX - Copied from /sys/pci/brktree_reg.h */ +#define BT848_IFORM_FORMAT (0x7<<0) +# define BT848_IFORM_F_RSVD (0x7) +# define BT848_IFORM_F_SECAM (0x6) +# define BT848_IFORM_F_PALN (0x5) +# define BT848_IFORM_F_PALM (0x4) +# define BT848_IFORM_F_PALBDGHI (0x3) +# define BT848_IFORM_F_NTSCJ (0x2) +# define BT848_IFORM_F_NTSCM (0x1) +# define BT848_IFORM_F_AUTO (0x0) + From owner-freebsd-multimedia Sun Oct 5 03:45:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA12259 for multimedia-outgoing; Sun, 5 Oct 1997 03:45:45 -0700 (PDT) Received: from gaia.coppe.ufrj.br (jonny@[146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA12253 for ; Sun, 5 Oct 1997 03:45:36 -0700 (PDT) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id HAA11860; Sun, 5 Oct 1997 07:45:33 -0300 (EST) From: Joao Carlos Mendes Luis Message-Id: <199710051045.HAA11860@gaia.coppe.ufrj.br> Subject: Proposed patches to fxtv To: multimedia@freebsd.org Date: Sun, 5 Oct 1997 07:45:33 -0300 (EST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Here are the patches I have done to fxtv 0.44 to support my changes to the bt848 driver. It's just a test patch,, with a not so good interface so it should be completely redesigned. I know nothing about X programming, so please don't flame me for programming style. After understanding how the bt848 chip works, it took me 10 minutes to patch the kernel, and a whole night to patch fxtv. :) Randall, could you please take a look on this and make any changes you want ? I'd like to see support for this integrated in some future version of fxtv, so that I can (also) work and watch TV at the same time. :) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 --- org/tvcapture.h Wed Sep 3 20:25:52 1997 +++ tvcapture.h Sun Oct 5 06:44:03 1997 @@ -57,9 +57,14 @@ } TV_INPUT_DEVICE; typedef enum { - TV_INPUT_NTSC, - TV_INPUT_PAL, - TV_INPUT_AUTO + TV_INPUT_AUTO, + TV_INPUT_NTSCM, + TV_INPUT_NTSCJ, + TV_INPUT_PALBDGHI, + TV_INPUT_PALM, + TV_INPUT_PALN, + TV_INPUT_SECAM, + TV_INPUT_PALNCOMB } TV_INPUT_FORMAT; typedef enum { --- org/tv.c Sun Sep 7 20:48:45 1997 +++ tv.c Sun Oct 5 07:17:04 1997 @@ -199,6 +199,24 @@ { TV_FREQ_SET_WEUROPE , "weurope" }, { TV_FREQ_SET_JPNBCST , "jpnbcst" }, }; + static const struct { + TV_INPUT_FORMAT mode; + const char *str; + } formats[] = { + { TV_INPUT_AUTO, "auto" }, + { TV_INPUT_NTSCM, "ntsc" }, + { TV_INPUT_NTSCM, "ntscm" }, + { TV_INPUT_NTSCJ, "ntscj" }, + { TV_INPUT_PALBDGHI, "palbdghi" }, + { TV_INPUT_PALBDGHI, "pal" }, + { TV_INPUT_PALM, "palm" }, + { TV_INPUT_PALN, "paln" }, + { TV_INPUT_SECAM, "secam" }, + { TV_INPUT_PALNCOMB, "palncomb" }, + { TV_INPUT_PALNCOMB, "rsvd" }, + { 0, NULL } + }; + TV_DISK *dsk = &G_glob.disk; TV_DISPLAY *d = &G_glob.display; @@ -218,10 +236,12 @@ if ( !App_res.driver_defaults ) { /* Input format */ - input_format = TV_INPUT_NTSC; - if (( strcmp( App_res.input_format, "pal" ) == 0 ) || - ( strcmp( App_res.input_format, "PAL" ) == 0 )) - input_format = TV_INPUT_PAL; + input_format = TV_INPUT_NTSCM; + for ( i = 0 ; formats[i].str == NULL ; ++i ) { + if ( strcasecmp( App_res.input_format, formats[i].str ) == 0 ) { + input_format = formats[i].mode; + } + } TVCAPTURESetInputFormat( c, input_format ); dsk->video.geom.w = c->width_max / 2; --- org/tvcapture.c Sun Sep 7 18:47:06 1997 +++ tvcapture.c Sun Oct 5 06:45:30 1997 @@ -382,27 +382,38 @@ TV_INT32 larg; switch ( format ) { - case TV_INPUT_NTSC : larg = METEOR_FMT_NTSC; break; - case TV_INPUT_PAL : larg = METEOR_FMT_PAL ; break; + case TV_INPUT_AUTO : larg = BT848_IFORM_F_AUTO ; break; + case TV_INPUT_NTSCM : larg = BT848_IFORM_F_NTSCM ; break; + case TV_INPUT_NTSCJ : larg = BT848_IFORM_F_NTSCJ ; break; + case TV_INPUT_PALBDGHI : larg = BT848_IFORM_F_PALBDGHI; break; + case TV_INPUT_PALM : larg = BT848_IFORM_F_PALM ; break; + case TV_INPUT_PALN : larg = BT848_IFORM_F_PALN ; break; + case TV_INPUT_SECAM : larg = BT848_IFORM_F_SECAM ; break; + case TV_INPUT_PALNCOMB : larg = BT848_IFORM_F_RSVD ; break; default : fprintf( stderr, "TVCAPTURESetInputFormat: Unsupported format %d\n", format ); exit(1); } - if ( ioctl( c->fd, METEORSFMT, &larg ) < 0 ) { - DO_IOCTL_SERR( "METEORSFMT", larg ); + if ( ioctl( c->fd, BT848SFMT, &larg ) < 0 ) { + DO_IOCTL_SERR( "BT848SFMT", larg ); return; } /* Update max capture size based on driver format */ /* FIXME: These belong in the driver/driver include file */ switch ( format ) { - case TV_INPUT_NTSC : + case TV_INPUT_NTSCM: + case TV_INPUT_NTSCJ: + case TV_INPUT_PALM: c->width_max = 640; c->height_max = 480; c->fps_max = 30; break; - case TV_INPUT_PAL : + case TV_INPUT_PALBDGHI: + case TV_INPUT_PALN: + case TV_INPUT_SECAM: + case TV_INPUT_PALNCOMB: c->width_max = 768; c->height_max = 576; c->fps_max = 25; @@ -611,14 +622,19 @@ } /* INPUT FORMAT */ - if ( ioctl( c->fd, METEORGFMT, &larg ) < 0 ) { - DO_IOCTL_GERR( "METEORGFMT" ); + if ( ioctl( c->fd, BT848GFMT, &larg ) < 0 ) { + DO_IOCTL_GERR( "BT848GFMT" ); return False; } switch ( larg ) { - case METEOR_FMT_NTSC : s->input_fmt = TV_INPUT_NTSC; break; - case METEOR_FMT_PAL : s->input_fmt = TV_INPUT_PAL ; break; - case METEOR_FMT_AUTOMODE : s->input_fmt = TV_INPUT_AUTO; break; + case BT848_IFORM_F_AUTO : s->input_fmt = TV_INPUT_AUTO ; break; + case BT848_IFORM_F_NTSCM : s->input_fmt = TV_INPUT_NTSCM ; break; + case BT848_IFORM_F_NTSCJ : s->input_fmt = TV_INPUT_NTSCJ ; break; + case BT848_IFORM_F_PALBDGHI: s->input_fmt = TV_INPUT_PALBDGHI; break; + case BT848_IFORM_F_PALM : s->input_fmt = TV_INPUT_PALM ; break; + case BT848_IFORM_F_PALN : s->input_fmt = TV_INPUT_PALN ; break; + case BT848_IFORM_F_SECAM : s->input_fmt = TV_INPUT_SECAM ; break; + case BT848_IFORM_F_RSVD : s->input_fmt = TV_INPUT_PALNCOMB; break; default : fprintf( stderr, "TVCAPTUREQueryDriverState(): Bad FMT %d\n", larg ); @@ -1084,7 +1100,7 @@ exit(1); } - c->input_format = METEOR_FMT_NTSC; + c->input_format = BT848_IFORM_F_NTSCM; c->input_dev = METEOR_INPUT_DEV0; c->bpp_format = METEOR_GEO_RGB16; c->cap_mode = TV_CAPTURE_CONTINUOUS; @@ -1118,12 +1134,13 @@ c->height_min = 2; c->height_res = 2; switch ( c->input_format ) { - case METEOR_FMT_NTSC : + case BT848_IFORM_F_NTSCM : + case BT848_IFORM_F_NTSCJ : + case BT848_IFORM_F_PALM : c->width_max = 640; c->height_max = 480; c->fps_max = 30; break; - case METEOR_FMT_PAL : default : c->width_max = 768; c->height_max = 576; --- org/tvmenu.h Sun Sep 7 12:35:58 1997 +++ tvmenu.h Sun Oct 5 06:53:40 1997 @@ -50,6 +50,14 @@ TV_MENUITEM_INPUT_SVHS, TV_MENUITEM_TMODE_ANTENNA, TV_MENUITEM_TMODE_CABLE, + TV_MENUITEM_FORMAT_AUTO, + TV_MENUITEM_FORMAT_NTSCM, + TV_MENUITEM_FORMAT_NTSCJ, + TV_MENUITEM_FORMAT_PALBDGHI, + TV_MENUITEM_FORMAT_PALM, + TV_MENUITEM_FORMAT_PALN, + TV_MENUITEM_FORMAT_SECAM, + TV_MENUITEM_FORMAT_PALNCOMB, TV_MENUITEM_OPTIONS_ASPECT, TV_MENUITEM_OPTIONS_AFC, TV_MENUITEM_OPTIONS_SAVE, @@ -83,6 +91,8 @@ Widget TVTOOLSGetVolumeScrollbar( void ); void TVMENUSetSelectedInputDevice( TV_INPUT_DEVICE dev ); + +void TVMENUSetSelectedInputFormat( TV_INPUT_FORMAT fmt ); void TVMENUSetSelectedAfcMode( TV_BOOL afc ); --- org/app_rsrc.h Sun Sep 7 21:02:27 1997 +++ app_rsrc.h Sun Oct 5 07:02:43 1997 @@ -423,6 +423,17 @@ "*menuBox*inputMenu*tmodeCable.label: Cable", "*menuBox*inputMenu*appearanceCmd.label: Appearance...", + "*menuBox*formatMenu.label: Format", + "*menuBox*formatMenu.menu.label: Format", + "*menuBox*formatMenu*autoFmt.label: Auto", + "*menuBox*formatMenu*ntscmFmt.label: NTSC/M", + "*menuBox*formatMenu*ntscjFmt.label: NTSC/J", + "*menuBox*formatMenu*palbdghiFmt.label: PAL/BDGHI", + "*menuBox*formatMenu*palmFmt.label: PAL/M", + "*menuBox*formatMenu*palnFmt.label: PAL/N", + "*menuBox*formatMenu*secamFmt.label: SECAM", + "*menuBox*formatMenu*palncombFmt.label: PAL/N Comb", + "*menuBox*optionsMenu.label: Options", "*menuBox*optionsMenu.menu.label: Options", "*menuBox*optionsMenu*aspectLockCmd.label: Aspect Lock", --- org/tvmenu.c Sun Sep 7 12:44:15 1997 +++ tvmenu.c Sun Oct 5 07:08:23 1997 @@ -62,6 +62,7 @@ typedef enum { TV_MENU_FILE = 0, TV_MENU_INPUT, + TV_MENU_FORMAT, TV_MENU_OPTIONS, TV_MENU_HELP, TV_NUM_MENUS @@ -97,7 +98,7 @@ static XT_CB QuitCB, FreezeCB, MuteCB, ZoomCB, InputCB, AfcCB, TModeCB, ChanUpDnCB, AppearCB, AspectCB, AboutCB, ImgSavCB, ImgSavAsCB, - AudSavAsCB, VidSavAsCB; + AudSavAsCB, VidSavAsCB, FormatCB; /* ******************** Private variables ************** */ @@ -112,6 +113,7 @@ static TV_MENU_DEF Menu_def[] = { { TV_MENU_FILE , "fileMenu" }, { TV_MENU_INPUT , "inputMenu" }, + { TV_MENU_FORMAT , "formatMenu" }, { TV_MENU_OPTIONS, "optionsMenu" }, { TV_MENU_HELP , "helpMenu" } }; @@ -137,6 +139,14 @@ { TVMI( INPUT,TMODE_CABLE ), "tmodeCable" , WC_mcmd , TModeCB }, { TV_MENU_INPUT, -1 , "line" , WC_mline, NULL }, { TVMI( INPUT,INPUT_APPEARANCE ), "appearanceCmd" , WC_mcmd , AppearCB }, + { TVMI( FORMAT,FORMAT_AUTO ), "autoFmt" , WC_mcmd , FormatCB }, + { TVMI( FORMAT,FORMAT_NTSCM ), "ntscmFmt" , WC_mcmd , FormatCB }, + { TVMI( FORMAT,FORMAT_NTSCJ ), "ntscjFmt" , WC_mcmd , FormatCB }, + { TVMI( FORMAT,FORMAT_PALBDGHI ), "palbdghiFmt" , WC_mcmd , FormatCB }, + { TVMI( FORMAT,FORMAT_PALM ), "palmFmt" , WC_mcmd , FormatCB }, + { TVMI( FORMAT,FORMAT_PALN ), "palnFmt" , WC_mcmd , FormatCB }, + { TVMI( FORMAT,FORMAT_SECAM ), "secamFmt" , WC_mcmd , FormatCB }, + { TVMI( FORMAT,FORMAT_PALNCOMB ), "palncombFmt" , WC_mcmd , FormatCB }, { TVMI( OPTIONS,OPTIONS_ASPECT ), "aspectLockCmd" , WC_mcmd , AspectCB }, { TVMI( OPTIONS,OPTIONS_AFC ), "setAfcCmd", WC_mcmd , AfcCB }, { TV_MENU_OPTIONS, -1 , "line" , WC_mline, NULL }, @@ -285,6 +295,57 @@ } +/* FormatCB - Change the input format to that selected */ +static void FormatCB( Widget w, XtPointer cl, XtPointer cb ) +{ + static struct { + TV_MENUITEM_KEY key; + TV_INPUT_FORMAT fmt; + } menuitem[] = { + { TV_MENUITEM_FORMAT_AUTO, TV_INPUT_AUTO }, + { TV_MENUITEM_FORMAT_NTSCM, TV_INPUT_NTSCM }, + { TV_MENUITEM_FORMAT_NTSCJ, TV_INPUT_NTSCJ }, + { TV_MENUITEM_FORMAT_PALBDGHI, TV_INPUT_PALBDGHI }, + { TV_MENUITEM_FORMAT_PALM, TV_INPUT_PALM }, + { TV_MENUITEM_FORMAT_PALN, TV_INPUT_PALN }, + { TV_MENUITEM_FORMAT_SECAM, TV_INPUT_SECAM }, + { TV_MENUITEM_FORMAT_PALNCOMB, TV_INPUT_PALNCOMB }, + { -1, -1 } + }; + int i; + + TV_DISPLAY *d = &G_glob.display; + TV_CAPTURE *c = &G_glob.capture; + TV_BOOL on; + TV_INPUT_FORMAT fmt; + + fmt = -1; + for ( i = 0 ; menuitem[i].key != -1 ; ++i ) { + if ( w == LookupMenuItemByKey( menuitem[i].key )->wgt ) { + fmt = menuitem[i].fmt; + break; + } + } + + if ( fmt == -1 ) { + fprintf( stderr, "Unknown input format widget: %s\n", XtName( w ) ); + return; + } + + on = d->enabled && c->contin_on; + + /* Update input device setting */ + if ( on ) + TVSCREENStopVideo( False ); + TVCAPTURESetInputFormat( c, fmt ); + if ( on ) + TVSCREENStartVideo( False ); + + /* Update which menu item is selected */ + TVMENUSetSelectedInputFormat( fmt ); +} + + /* AfcCB - Change the AFC mode */ static void AfcCB( Widget w, XtPointer cl, XtPointer cb ) { @@ -694,6 +755,39 @@ pix = ( dev == TV_DEVICE_SVHS ) ? Select_pixmap : Unselect_pixmap; XtVaSetValues( svhs->wgt , XtNleftBitmap, pix, NULL ); +} + +void TVMENUSetSelectedInputFormat( TV_INPUT_FORMAT fmt ) +{ + /* This struct is EQUAL to FormatCB, maybe it should be a global. */ + static struct { + TV_MENUITEM_KEY key; + TV_INPUT_FORMAT fmt; + } menu[] = { + { TV_MENUITEM_FORMAT_AUTO, TV_INPUT_AUTO }, + { TV_MENUITEM_FORMAT_NTSCM, TV_INPUT_NTSCM }, + { TV_MENUITEM_FORMAT_NTSCJ, TV_INPUT_NTSCJ }, + { TV_MENUITEM_FORMAT_PALBDGHI, TV_INPUT_PALBDGHI }, + { TV_MENUITEM_FORMAT_PALM, TV_INPUT_PALM }, + { TV_MENUITEM_FORMAT_PALN, TV_INPUT_PALN }, + { TV_MENUITEM_FORMAT_SECAM, TV_INPUT_SECAM }, + { TV_MENUITEM_FORMAT_PALNCOMB, TV_INPUT_PALNCOMB }, + { -1, -1 } + }; + TV_MENUITEM_DEF *mi; + Pixmap pix; + int i; + + if ( Select_pixmap == None ) + TVMENULoadRadioPixmaps(); + + for ( i = 0 ; menu[i].key != -1 ; ++i ) { + mi = LookupMenuItemByKey( menu[i].key ); + assert( mi != NULL ); + assert( mi->wgt != NULL ); + pix = ( fmt == menu[i].fmt ) ? Select_pixmap : Unselect_pixmap; + XtVaSetValues( mi->wgt, XtNleftBitmap, pix, NULL); + } } void TVMENUSetSelectedTunerMode( TV_TUNER_MODE mode ) From owner-freebsd-multimedia Sun Oct 5 12:09:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA04781 for multimedia-outgoing; Sun, 5 Oct 1997 12:09:39 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA04776 for ; Sun, 5 Oct 1997 12:09:34 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id MAA00237; Sun, 5 Oct 1997 12:09:27 -0700 (PDT) Message-Id: <199710051909.MAA00237@rah.star-gate.com> To: Joao Carlos Mendes Luis cc: multimedia@FreeBSD.ORG Subject: Re: Proposed patches to bt848 device In-reply-to: Your message of "Sun, 05 Oct 1997 07:32:59 -0300." <199710051032.HAA11806@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Oct 1997 12:09:27 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Cool, Just try your patch over here and it seems to work!! I have a few patches also for submittal and if we can get more people to test your patch I will be happy to see that the latest driver gets committed. The latest driver should be always available from : http://www.freebsd.org/~ahasty/Bt848.html or from ftp://rah.star-gate.com/pub/bt848.tar.gz Tnks! Amancio >From The Desk Of Joao Carlos Mendes Luis : > Hi, > > Here are my proposed patches to the bt848 device driver to support > all video formats supported by the chip. I tested it with NTSC and > PAL/M, but cannot test it with other formats. Please test and send > reports. If there's no problem, I'd like to see it committed. > > My system is a 2.2-stable from one or two weeks ago. I did not > see any changes to bt848 device on cvs lists, so it's probably the > same as 2.2.5-beta. > > Bugs: I had to copy some data from brktree_reg.h to ioctl_bt848.h > Maybe this could be better rewritten. > > Oh, I'll send patches to fxtv right after this. > > Jonny > > -- > Joao Carlos Mendes Luis jonny@gta.ufrj.br > +55 21 290-4698 jonny@coppe.ufrj.br > Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI > PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 > > --- sys/pci/brooktree848.c.old Mon Sep 29 20:36:56 1997 > +++ sys/pci/brooktree848.c Sun Oct 5 07:03:50 1997 > @@ -1298,6 +1298,38 @@ > *(u_short *)arg = temp; > break; > > + case BT848SFMT: /* set input format */ > + temp = *(unsigned long*)arg & BT848_IFORM_FORMAT; > + bt848->iform &= ~BT848_IFORM_FORMAT; > + bt848->iform |= temp; > + switch( temp ) { > + case BT848_IFORM_F_AUTO: > + bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | > + METEOR_AUTOMODE; > + break; > + > + case BT848_IFORM_F_NTSCM: > + case BT848_IFORM_F_NTSCJ: > + case BT848_IFORM_F_PALM: > + bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | > + METEOR_NTSC; > + bt848->adelay = 0x68; > + bt848->bdelay = 0x5d; > + bktr->format_params = FORMAT_PARAMS_NTSC525; > + break; > + > + case BT848_IFORM_F_PALBDGHI: > + case BT848_IFORM_F_PALN: > + case BT848_IFORM_F_SECAM: > + case BT848_IFORM_F_RSVD: > + bktr->flags = (bktr->flags & ~METEOR_FORM_MASK) | > + METEOR_PAL; > + bt848->adelay = 0x7f; > + bt848->bdelay = 0x72; > + bktr->format_params = FORMAT_PARAMS_PAL625; > + } > + break; > + > case METEORSFMT: /* set input format */ > switch(*(unsigned long *)arg & METEOR_FORM_MASK ) { > case 0: /* default */ > @@ -1334,6 +1366,10 @@ > > case METEORGFMT: /* get input format */ > *(u_long *)arg = bktr->flags & METEOR_FORM_MASK; > + break; > + > + case BT848GFMT: /* get input format */ > + *(u_long *)arg = bt848->iform & BT848_IFORM_FORMAT; > break; > > case METEORSCOUNT: /* (re)set error counts */ > --- sys/i386/include/ioctl_bt848.h.old Sun Oct 5 07:07:00 1997 > +++ sys/i386/include/ioctl_bt848.h Sun Oct 5 05:36:20 1997 > @@ -181,3 +181,19 @@ > /* set clip list */ > #define BT848SCLIP _IOW('x', 66, struct _bktr_clip ) > #define BT848GCLIP _IOR('x', 66, struct _bktr_clip ) > + > +/* set input format */ > +#define BT848SFMT _IOW('x', 67, unsigned long ) > +#define BT848GFMT _IOR('x', 67, unsigned long ) > + > +/* XXX - Copied from /sys/pci/brktree_reg.h */ > +#define BT848_IFORM_FORMAT (0x7<<0) > +# define BT848_IFORM_F_RSVD (0x7) > +# define BT848_IFORM_F_SECAM (0x6) > +# define BT848_IFORM_F_PALN (0x5) > +# define BT848_IFORM_F_PALM (0x4) > +# define BT848_IFORM_F_PALBDGHI (0x3) > +# define BT848_IFORM_F_NTSCJ (0x2) > +# define BT848_IFORM_F_NTSCM (0x1) > +# define BT848_IFORM_F_AUTO (0x0) > + From owner-freebsd-multimedia Sun Oct 5 14:43:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA11796 for multimedia-outgoing; Sun, 5 Oct 1997 14:43:01 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA11786 for ; Sun, 5 Oct 1997 14:42:58 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id OAA00528; Sun, 5 Oct 1997 14:42:55 -0700 (PDT) Message-Id: <199710052142.OAA00528@rah.star-gate.com> To: multimedia@freebsd.org cc: Brad Parker , Keith Sklower Subject: [video] bt848 driver update Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Oct 1997 14:42:55 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This driver includes the following patches submitted by: 1.0 Hideyuki Suzuki Japanese Cable support 2.0 Keith Sklower Minor update to the BSDI section so it compiles cleanly on BSDI 3.0 Joao Carlos Mendes Luis ioctl interface to select video format , NTSC, PAL, etc.. The driver is available from: http://www.freebsd.org/~ahasty/Bt848.html ftp://rah.star-gate.com/pub/bt848.tar.gz If all goes well the driver will be submitted to FreeBSD 2.2.5 and FreeBSD 3.0-current Monday Night. That means you got a day or so to report back feedback. Amancio From owner-freebsd-multimedia Sun Oct 5 15:00:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA12459 for multimedia-outgoing; Sun, 5 Oct 1997 15:00:11 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA12440 for ; Sun, 5 Oct 1997 15:00:07 -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.7/8.8.5) with ESMTP id OAA00586; Sun, 5 Oct 1997 14:53:41 -0700 (PDT) Message-Id: <199710052153.OAA00586@rah.star-gate.com> To: multimedia@FreeBSD.ORG cc: Randall Hopper Subject: [video] frame rate and fxtv Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Oct 1997 14:53:40 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk So far I have received the following information from brooktree and I can't seem to get the set frame rate functionality to work properly on single frames and with odd/even frames. For now, I suggest that fxtv emulates the frame rate functionality by specifying the full frame rate and skipping frames based upon the desired frame rate for video capture. Amancio from brooktree: > 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/ part 2 from brooktree: > Amancio, > Now that your up to speed on thein and outs of the Bt848's Temporal > Decimation process, I want to address the PCI Error issue. > I checked on the behavior of the Bt848 when it drops a frame or two > unintentionally because of a PCI error or delay. This condition will > be reported though a number of different registers and pins. The > Command and Status Register(PCI Configuration Header register location > 0x04) on page 97 of the Bt848A_A spec. explains that when a master > transaction is terminated with a Master Abort or Target Abort, > bit[29] and bit[28] respectively of this register will be set. > Furthermore, the SERR/System Error output pin(#50)from the Bt848A will > report an address parity error to external devices in the case of an > address parity error. > Also, if there is a long delay in Input Video, the PRES bit of the > DSTATUS register will denote this condition. > Finally, the INT_STAT register(Local Register Mapped Location 0x100) > has several interrupt status bits which will denote different > PCI-related and FIFO-related errors. Specifically, examine > RISC_EN[bit 27], SCERR[bit 19], OCERR[bit 18], and bits 17-12. > This closes my responses to you regarding this inquiry. If you have > future questions regarding the Bt848 or other encoders or decoders we > design and manufacture, please send your questions to > did-apps@rss.rockwell.com. Thank you for your design efforts with the > Bt848. > I am stilll researching an answer for you on how to enable reading > ACTIVE pin #88 in Digital Video In Mode. I caution you that if you > choose to use this mode to take advantage of the Complementary ACTIVE > output, then all 24 GPIO pins will be in this mode and assume their > complementary pin assignments. You cannot have some be in NORMAL mode > and other in an alternate mode. From owner-freebsd-multimedia Sun Oct 5 16:05:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA15129 for multimedia-outgoing; Sun, 5 Oct 1997 16:05:31 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from victoria.bc1.com (victoria.bc1.com [207.34.139.253]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA15119 for ; Sun, 5 Oct 1997 16:05:25 -0700 (PDT) (envelope-from jake@bc1.com) Received: from bc1.com (207.34.139.136) by victoria.bc1.com (EMWAC SMTPRS 0.81) with SMTP id ; Sun, 05 Oct 1997 16:02:18 -0700 Message-ID: <34381D53.65FC7137@bc1.com> Date: Sun, 05 Oct 1997 16:05:55 -0700 From: Jake X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: "multimedia@FreeBSD.ORG" Subject: no sound in fxtv Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm not getting any sound in FXTV. I have a zoltrix bt848 pci card, and a soundblaster 16 cound card. I've got an audio cable running from the sound card to the capture card, and from the capture card to my cdrom. cdrom audio works fine. I have the sound driver installed, and all the programs required by fxtv. cat x.au >/dev/audio works, the sound file x.au plays. I made all the snd0 devices. Can't think of anything else, how come there's no sound? I get picture, no sound. Do I have to have the linux emulator installed? I read the readme for the voxware sound driver, and it seemed like it as for linux. thanks for any suggestions Jake -- Machine Independent: Does not run on any existing Machine. From owner-freebsd-multimedia Sun Oct 5 17:25:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19665 for multimedia-outgoing; Sun, 5 Oct 1997 17:25:56 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA19659 for ; Sun, 5 Oct 1997 17:25:54 -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.7/8.8.5) with ESMTP id RAA00594; Sun, 5 Oct 1997 17:25:45 -0700 (PDT) Message-Id: <199710060025.RAA00594@rah.star-gate.com> To: "Reginald J. Reed" cc: multimedia@freebsd.org Subject: Re: fxtv/bt848 driver problem [FreeBSD 2.2.2] In-reply-to: Your message of "Sat, 04 Oct 1997 20:16:39 EDT." <19971004201639.08628@Sigma2.The-Reeds.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Oct 1997 17:25:44 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I think that fxtv has to be modified to work with Luigi's sound driver With respect to "ioctl(BT848_GHUE) failed: Inappropriate ioctl for device" download the latest bt848 driver from : ftp://rah.star-gate.com/pub/bt848.tar.gz After you unpack the driver, cp /sys/i386/include/ioctl_bt848.h /usr/include/machine/. Next recompile fxtv-0.44 Don't worry we should be able to get you going... Cheers, Amancio >From The Desk Of "Reginald J. Reed" : > On Sun, Oct 05, 1997 at 11:42:48AM -0700, Amancio Hasty wrote: > > Hi, > > > > Which version of FreeBSD are you using? > > {hasty} uname -a > > FreeBSD rah.star-gate.com 3.0-CURRENT FreeBSD 3.0-CURRENT #42: Sat Oct 4 2 1:47:18 PDT 1997 hasty@rah.star-gate.com:/usr/src/sys/compile/STAR-GATE i3 86 > > FreeBSD Sigma2.The-Reeds.Com 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Thu Oct 2 21:45:17 EDT 1997 root@Sigma2.The-Reeds.Com:/usr/src/sys/compile/sigma2. stb i386 > > > > > > Have you configured the sound driver and if so which sound card do you > > have? > > Yes I have, I'm using a SB16 PNP on pcm1. Xanim works fine with this card. > > > Which version of fxtv are you using? > > fxtv v0.44. Is there a newer version out? > > Once again, thanks for your help. > > -Reggie From owner-freebsd-multimedia Sun Oct 5 17:58:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA21095 for multimedia-outgoing; Sun, 5 Oct 1997 17:58:50 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from neptune.ajc.state.net (neptune.ajc.state.net [204.120.158.168]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA21090 for ; Sun, 5 Oct 1997 17:58:46 -0700 (PDT) (envelope-from Al.Johnson@AJC.State.Net) Received: from AJC.State.Net (saturn.ajc.state.net [204.120.158.166]) by neptune.ajc.state.net (8.8.6/8.8.5) with ESMTP id TAA04139; Sun, 5 Oct 1997 19:57:44 -0500 (CDT) Message-ID: <343837A4.E9E08B2A@AJC.State.Net> Date: Sun, 05 Oct 1997 19:58:13 -0500 From: Al Johnson Organization: Al Johnson Consulting X-Mailer: Mozilla 4.02 [en] (Win95; I) MIME-Version: 1.0 To: Amancio Hasty CC: "Reginald J. Reed" , multimedia@FreeBSD.ORG Subject: Re: fxtv/bt848 driver problem [FreeBSD 2.2.2] References: <199710060025.RAA00594@rah.star-gate.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm using FxTv 0.44 with Luigi's PnP and sound drivers without any problems. Might need to look elsewhere for the solution --Al Amancio Hasty wrote: > I think that fxtv has to be modified to work with Luigi's sound driver > > With respect to "ioctl(BT848_GHUE) failed: Inappropriate ioctl for device" > > download the latest bt848 driver from : > ftp://rah.star-gate.com/pub/bt848.tar.gz > > After you unpack the driver, > cp /sys/i386/include/ioctl_bt848.h /usr/include/machine/. > > Next recompile fxtv-0.44 > > Don't worry we should be able to get you going... > > Cheers, > Amancio > >From The Desk Of "Reginald J. Reed" : > > On Sun, Oct 05, 1997 at 11:42:48AM -0700, Amancio Hasty wrote: > > > Hi, > > > > > > Which version of FreeBSD are you using? > > > {hasty} uname -a > > > FreeBSD rah.star-gate.com 3.0-CURRENT FreeBSD 3.0-CURRENT #42: Sat Oct 4 2 > 1:47:18 PDT 1997 hasty@rah.star-gate.com:/usr/src/sys/compile/STAR-GATE i3 > 86 > > > > FreeBSD Sigma2.The-Reeds.Com 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Thu Oct > 2 21:45:17 EDT 1997 root@Sigma2.The-Reeds.Com:/usr/src/sys/compile/sigma2. > stb i386 > > > > > > > > > > Have you configured the sound driver and if so which sound card do you > > > have? > > > > Yes I have, I'm using a SB16 PNP on pcm1. Xanim works fine with this card. > > > > > Which version of fxtv are you using? > > > > fxtv v0.44. Is there a newer version out? > > > > Once again, thanks for your help. > > > > -Reggie From owner-freebsd-multimedia Sun Oct 5 18:02:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA21343 for multimedia-outgoing; Sun, 5 Oct 1997 18:02:13 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA21338 for ; Sun, 5 Oct 1997 18:02:07 -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.7/8.8.5) with ESMTP id SAA00868; Sun, 5 Oct 1997 18:02:02 -0700 (PDT) Message-Id: <199710060102.SAA00868@rah.star-gate.com> to: "Reginald J. Reed" , multimedia@FreeBSD.ORG Subject: Re: fxtv/bt848 driver problem [FreeBSD 2.2.2] In-reply-to: Your message of "Sun, 05 Oct 1997 19:58:13 CDT." <343837A4.E9E08B2A@AJC.State.Net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Oct 1997 18:02:01 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Reggie, Can you send us the output of : dmesg Also make sure that you have copy /sys/i386/isa/snd/soundcard.h to /usr/include/machine Cheers, Amancio >From The Desk Of Al Johnson : > I'm using FxTv 0.44 with Luigi's PnP and sound drivers without any > problems. Might need to look elsewhere for the solution > > --Al > > Amancio Hasty wrote: > > > I think that fxtv has to be modified to work with Luigi's sound driver > > > > With respect to "ioctl(BT848_GHUE) failed: Inappropriate ioctl for device" > > > > download the latest bt848 driver from : > > ftp://rah.star-gate.com/pub/bt848.tar.gz > > > > After you unpack the driver, > > cp /sys/i386/include/ioctl_bt848.h /usr/include/machine/. > > > > Next recompile fxtv-0.44 > > > > Don't worry we should be able to get you going... > > > > Cheers, > > Amancio > > >From The Desk Of "Reginald J. Reed" : > > > On Sun, Oct 05, 1997 at 11:42:48AM -0700, Amancio Hasty wrote: > > > > Hi, > > > > > > > > Which version of FreeBSD are you using? > > > > {hasty} uname -a > > > > FreeBSD rah.star-gate.com 3.0-CURRENT FreeBSD 3.0-CURRENT #42: Sat Oct 4 2 > > 1:47:18 PDT 1997 hasty@rah.star-gate.com:/usr/src/sys/compile/STAR-GATE i3 > > 86 > > > > > > FreeBSD Sigma2.The-Reeds.Com 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Thu Oct > > 2 21:45:17 EDT 1997 root@Sigma2.The-Reeds.Com:/usr/src/sys/compile/sig ma2. > > stb i386 > > > > > > > > > > > > > > Have you configured the sound driver and if so which sound card do you > > > > have? > > > > > > Yes I have, I'm using a SB16 PNP on pcm1. Xanim works fine with this car d. > > > > > > > Which version of fxtv are you using? > > > > > > fxtv v0.44. Is there a newer version out? > > > > > > Once again, thanks for your help. > > > > > > -Reggie > > > From owner-freebsd-multimedia Sun Oct 5 18:30:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA23112 for multimedia-outgoing; Sun, 5 Oct 1997 18:30:51 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from Sigma2.The-Reeds.Com (root@sigma2.the-reeds.com [208.207.21.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA23100 for ; Sun, 5 Oct 1997 18:30:47 -0700 (PDT) (envelope-from rjr@Sigma2.The-Reeds.Com) Received: (from rjr@localhost) by Sigma2.The-Reeds.Com (8.8.5/8.8.5) id VAA05520; Sat, 4 Oct 1997 21:16:42 -0400 (EDT) Message-ID: <19971004211642.17284@Sigma2.The-Reeds.Com> Date: Sat, 4 Oct 1997 21:16:42 -0400 From: "Reginald J. Reed" To: Amancio Hasty Cc: multimedia@freebsd.org Subject: Re: fxtv/bt848 driver problem [FreeBSD 2.2.2] References: <343837A4.E9E08B2A@AJC.State.Net> <199710060102.SAA00868@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74e In-Reply-To: <199710060102.SAA00868@rah.star-gate.com>; from Amancio Hasty on Sun, Oct 05, 1997 at 06:02:01PM -0700 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, Oct 05, 1997 at 06:02:01PM -0700, Amancio Hasty wrote: > Hi Reggie, > > Can you send us the output of : > dmesg > > Also make sure that you have copy /sys/i386/isa/snd/soundcard.h to > /usr/include/machine Did that. Also, just to give you guys an idea of my background, I'm a Unix admin for a network management development group with Cisco Systems. Here's the output of dmesg: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.2-RELEASE #0: Thu Oct 2 21:45:17 EDT 1997 root@Sigma2.The-Reeds.Com:/usr/src/sys/compile/sigma2.stb CPU: Pentium (132.96-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 30490624 (29776K bytes) Probing for devices on PCI bus 0: chip0 rev 2 on pci0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 ncr0 rev 1 int a irq 12 on pci0:17 ncr0 waiting for scsi devices to settle (ncr0:0:0): 5.0 MB/s (200 ns, offset 8) (ncr0:0:0): " DFRSS2F 4B4B" type 0 fixed SCSI 2 sd0(ncr0:0:0): Direct-Access sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8) 2150MB (4404489 512 byte sectors) (ncr0:1:0): "IBM DORS-32160 WA0A" type 0 fixed SCSI 2 sd1(ncr0:1:0): Direct-Access sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8) 2063MB (4226725 512 byte sectors) (ncr0:2:0): "SyQuest EZ135S 1-17" type 0 removable SCSI 2 sd2(ncr0:2:0): Direct-Access sd2(ncr0:2:0): 5.0 MB/s (200 ns, offset 8) 128MB (262144 512 byte sectors) (ncr0:4:0): "YAMAHA CDR400t 1.0c" type 5 removable SCSI 2 cd0(ncr0:4:0): CD-ROM cd present [400000 x 2048 byte records] (ncr0:5:0): "ARCHIVE Python 25588-XXX 2.96" type 1 removable SCSI 2 st0(ncr0:5:0): Sequential-Access st0(ncr0:5:0): asynchronous. st0(ncr0:5:0): M_REJECT received (5:8). density code 0x13, 512-byte blocks, write-enabled bktr0 rev 17 int a irq 9 on pci0:18 STB TV/PCI, Temic NTSC tuner, dbx stereo. vga0 rev 6 int a irq 15 on pci0:20 Probing for PnP devices: CSN 1 Vendor ID: CTL0028 [0x28008c0e] Serial 0x001c43a5 pcm1 (SB16pnp sn 0x001c43a5) at 0x220 irq 5 drq 1 flags 0x15 id 1 4 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x340-0x35f irq 11 on isa ed0: address 00:80:ad:ab:2c:fa, type NE2000 (16 bit) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 not found at 0xffffffff lpt1 not found at 0xffffffff pcm0 at 0xffff irq 7 drq 1 mem 0x0 flags 0x0 en 1 confl 0 mss_probe: no address supplied, try default 0x530 mss_detect error, busy still set (0xff) sb_probe: no address supplied, try defaults (0x220,0x240) device at 0x220 already attached as unit 1 pcm0 not found at 0xffffffff fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in npx0 flags 0x1 on motherboard npx0: INT 16 interface changing root device to sd1a -Reggie From owner-freebsd-multimedia Mon Oct 6 00:06:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA09442 for multimedia-outgoing; Mon, 6 Oct 1997 00:06:19 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA09437 for ; Mon, 6 Oct 1997 00:06:13 -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.7/8.8.5) with ESMTP id AAA01548; Mon, 6 Oct 1997 00:06:06 -0700 (PDT) Message-Id: <199710060706.AAA01548@rah.star-gate.com> To: "Reginald J. Reed" cc: multimedia@FreeBSD.ORG Subject: Re: fxtv/bt848 driver problem [FreeBSD 2.2.2] In-reply-to: Your message of "Sat, 04 Oct 1997 21:16:42 EDT." <19971004211642.17284@Sigma2.The-Reeds.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 Oct 1997 00:06:06 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, >ioctl(BT848_SAUDIO, 128) failed: Inappropriate ioctl for device >ioctl(BT848_GHUE) failed: Inappropriate ioctl for device >TVCAPTUREQueryDriverState() failed Do the following: grep GHUE /sys/pci/brooktree848.c grep GHUE /usr/include/machine/ioctl_bt848.h ls -ald /dev/tuner* {hasty} ls -ald /dev/tuner* crw-r--r-- 1 root wheel 79, 16 Mar 22 1997 /dev/tuner0 ls -ald /dev/bktr* crw-r--r-- 1 root wheel 79, 0 Dec 9 1996 /dev/bktr lrwxrwxrwx 1 root wheel 4 Jan 2 1997 /dev/bktr0 -> bktr crw-r--r-- 1 root wheel 79, 1 Mar 6 1997 /dev/bktr1 Tnks, Amancio >From The Desk Of "Reginald J. Reed" : > On Sun, Oct 05, 1997 at 06:02:01PM -0700, Amancio Hasty wrote: > > Hi Reggie, > > > > Can you send us the output of : > > dmesg > > > > Also make sure that you have copy /sys/i386/isa/snd/soundcard.h to > > /usr/include/machine > > Did that. Also, just to give you guys an idea of my background, I'm a > Unix admin for a network management development group with Cisco Systems. > > Here's the output of dmesg: > > Copyright (c) 1992-1997 FreeBSD Inc. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > > FreeBSD 2.2.2-RELEASE #0: Thu Oct 2 21:45:17 EDT 1997 > root@Sigma2.The-Reeds.Com:/usr/src/sys/compile/sigma2.stb > CPU: Pentium (132.96-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x52c Stepping=12 > Features=0x1bf > real memory = 33554432 (32768K bytes) > avail memory = 30490624 (29776K bytes) > Probing for devices on PCI bus 0: > chip0 rev 2 on pci0:0 > chip1 rev 1 on pci0:7:0 > chip2 rev 0 on pci0:7:1 > ncr0 rev 1 int a irq 12 on pci0:17 > ncr0 waiting for scsi devices to settle > (ncr0:0:0): 5.0 MB/s (200 ns, offset 8) > (ncr0:0:0): " DFRSS2F 4B4B" type 0 fixed SCSI 2 > sd0(ncr0:0:0): Direct-Access > sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8) > 2150MB (4404489 512 byte sectors) > (ncr0:1:0): "IBM DORS-32160 WA0A" type 0 fixed SCSI 2 > sd1(ncr0:1:0): Direct-Access > sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8) > 2063MB (4226725 512 byte sectors) > (ncr0:2:0): "SyQuest EZ135S 1-17" type 0 removable SCSI 2 > sd2(ncr0:2:0): Direct-Access > sd2(ncr0:2:0): 5.0 MB/s (200 ns, offset 8) > 128MB (262144 512 byte sectors) > (ncr0:4:0): "YAMAHA CDR400t 1.0c" type 5 removable SCSI 2 > cd0(ncr0:4:0): CD-ROM cd present [400000 x 2048 byte records] > (ncr0:5:0): "ARCHIVE Python 25588-XXX 2.96" type 1 removable SCSI 2 > st0(ncr0:5:0): Sequential-Access > st0(ncr0:5:0): asynchronous. > > st0(ncr0:5:0): M_REJECT received (5:8). > density code 0x13, 512-byte blocks, write-enabled > bktr0 rev 17 int a irq 9 on pci0:18 > STB TV/PCI, Temic NTSC tuner, dbx stereo. > vga0 rev 6 int a irq 15 on pci0:20 > Probing for PnP devices: > CSN 1 Vendor ID: CTL0028 [0x28008c0e] Serial 0x001c43a5 > pcm1 (SB16pnp sn 0x001c43a5) at 0x220 irq 5 drq 1 flags 0x15 i d 1 > 4 > Probing for devices on the ISA bus: > sc0 at 0x60-0x6f irq 1 on motherboard > sc0: VGA color <16 virtual consoles, flags=0x0> > ed0 at 0x340-0x35f irq 11 on isa > ed0: address 00:80:ad:ab:2c:fa, type NE2000 (16 bit) > sio0 at 0x3f8-0x3ff irq 4 on isa > sio0: type 16550A > sio1 at 0x2f8-0x2ff irq 3 on isa > sio1: type 16550A > sio2: disabled, not probed. > sio3: disabled, not probed. > lpt0 not found at 0xffffffff > lpt1 not found at 0xffffffff > pcm0 at 0xffff irq 7 drq 1 mem 0x0 flags 0x0 en 1 confl 0 > mss_probe: no address supplied, try default 0x530 > mss_detect error, busy still set (0xff) > sb_probe: no address supplied, try defaults (0x220,0x240) > device at 0x220 already attached as unit 1 > pcm0 not found at 0xffffffff > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > fdc0: NEC 72065B > fd0: 1.44MB 3.5in > npx0 flags 0x1 on motherboard > npx0: INT 16 interface > changing root device to sd1a > > -Reggie From owner-freebsd-multimedia Mon Oct 6 05:14:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA23887 for multimedia-outgoing; Mon, 6 Oct 1997 05:14:01 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from Sigma2.The-Reeds.Com (rjr@sigma2.the-reeds.com [208.207.21.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA23881 for ; Mon, 6 Oct 1997 05:13:57 -0700 (PDT) (envelope-from rjr@Sigma2.The-Reeds.Com) Received: (from rjr@localhost) by Sigma2.The-Reeds.Com (8.8.5/8.8.5) id IAA06170; Sun, 5 Oct 1997 08:12:03 -0400 (EDT) Message-ID: <19971005081203.27870@Sigma2.The-Reeds.Com> Date: Sun, 5 Oct 1997 08:12:03 -0400 From: "Reginald J. Reed" To: Amancio Hasty Cc: multimedia@freebsd.org Subject: Re: fxtv/bt848 driver problem [FreeBSD 2.2.2] References: <19971004211642.17284@Sigma2.The-Reeds.Com> <199710060706.AAA01548@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74e In-Reply-To: <199710060706.AAA01548@rah.star-gate.com>; from Amancio Hasty on Mon, Oct 06, 1997 at 12:06:06AM -0700 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Here is the requested output: # grep GHUE /usr/src/sys/pci/brooktree848.c Randall Hopper's fixes of BT848_GHUE & BT848_GBRIG. case METEORGHUE: /* get hue */ case BT848_GHUE: /* get hue */ # grep GHUE /usr/include/machine/ioctl_bt848.h #define BT848_GHUE _IOR('x', 37, int) /* get hue */ # ls -ald /dev/tuner* drwxr-xr-x 2 root wheel 512 Oct 2 11:27 /dev/tuner0 # ls -ald /dev/bktr* crw-r--r-- 1 root wheel 79, 0 Sep 29 18:25 /dev/bktr0 Thanks. On Mon, Oct 06, 1997 at 12:06:06AM -0700, Amancio Hasty wrote: > Hi, > >ioctl(BT848_SAUDIO, 128) failed: Inappropriate ioctl for device > >ioctl(BT848_GHUE) failed: Inappropriate ioctl for device > >TVCAPTUREQueryDriverState() failed > > Do the following: > > grep GHUE /sys/pci/brooktree848.c > grep GHUE /usr/include/machine/ioctl_bt848.h > > > ls -ald /dev/tuner* > > {hasty} ls -ald /dev/tuner* > crw-r--r-- 1 root wheel 79, 16 Mar 22 1997 /dev/tuner0 > > ls -ald /dev/bktr* > crw-r--r-- 1 root wheel 79, 0 Dec 9 1996 /dev/bktr > lrwxrwxrwx 1 root wheel 4 Jan 2 1997 /dev/bktr0 -> bktr > crw-r--r-- 1 root wheel 79, 1 Mar 6 1997 /dev/bktr1 > > > > Tnks, > Amancio > > >From The Desk Of "Reginald J. Reed" : > > On Sun, Oct 05, 1997 at 06:02:01PM -0700, Amancio Hasty wrote: > > > Hi Reggie, > > > > > > Can you send us the output of : > > > dmesg > > > > > > Also make sure that you have copy /sys/i386/isa/snd/soundcard.h to > > > /usr/include/machine > > > > Did that. Also, just to give you guys an idea of my background, I'm a > > Unix admin for a network management development group with Cisco Systems. > > > > Here's the output of dmesg: > > > > Copyright (c) 1992-1997 FreeBSD Inc. > > Copyright (c) 1982, 1986, 1989, 1991, 1993 > > The Regents of the University of California. All rights reserved. > > > > FreeBSD 2.2.2-RELEASE #0: Thu Oct 2 21:45:17 EDT 1997 > > root@Sigma2.The-Reeds.Com:/usr/src/sys/compile/sigma2.stb > > CPU: Pentium (132.96-MHz 586-class CPU) > > Origin = "GenuineIntel" Id = 0x52c Stepping=12 > > Features=0x1bf > > real memory = 33554432 (32768K bytes) > > avail memory = 30490624 (29776K bytes) > > Probing for devices on PCI bus 0: > > chip0 rev 2 on pci0:0 > > chip1 rev 1 on pci0:7:0 > > chip2 rev 0 on pci0:7:1 > > ncr0 rev 1 int a irq 12 on pci0:17 > > ncr0 waiting for scsi devices to settle > > (ncr0:0:0): 5.0 MB/s (200 ns, offset 8) > > (ncr0:0:0): " DFRSS2F 4B4B" type 0 fixed SCSI 2 > > sd0(ncr0:0:0): Direct-Access > > sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8) > > 2150MB (4404489 512 byte sectors) > > (ncr0:1:0): "IBM DORS-32160 WA0A" type 0 fixed SCSI 2 > > sd1(ncr0:1:0): Direct-Access > > sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8) > > 2063MB (4226725 512 byte sectors) > > (ncr0:2:0): "SyQuest EZ135S 1-17" type 0 removable SCSI 2 > > sd2(ncr0:2:0): Direct-Access > > sd2(ncr0:2:0): 5.0 MB/s (200 ns, offset 8) > > 128MB (262144 512 byte sectors) > > (ncr0:4:0): "YAMAHA CDR400t 1.0c" type 5 removable SCSI 2 > > cd0(ncr0:4:0): CD-ROM cd present [400000 x 2048 byte records] > > (ncr0:5:0): "ARCHIVE Python 25588-XXX 2.96" type 1 removable SCSI 2 > > st0(ncr0:5:0): Sequential-Access > > st0(ncr0:5:0): asynchronous. > > > > st0(ncr0:5:0): M_REJECT received (5:8). > > density code 0x13, 512-byte blocks, write-enabled > > bktr0 rev 17 int a irq 9 on pci0:18 > > STB TV/PCI, Temic NTSC tuner, dbx stereo. > > vga0 rev 6 int a irq 15 on pci0:20 > > Probing for PnP devices: > > CSN 1 Vendor ID: CTL0028 [0x28008c0e] Serial 0x001c43a5 > > pcm1 (SB16pnp sn 0x001c43a5) at 0x220 irq 5 drq 1 flags 0x15 i > d 1 > > 4 > > Probing for devices on the ISA bus: > > sc0 at 0x60-0x6f irq 1 on motherboard > > sc0: VGA color <16 virtual consoles, flags=0x0> > > ed0 at 0x340-0x35f irq 11 on isa > > ed0: address 00:80:ad:ab:2c:fa, type NE2000 (16 bit) > > sio0 at 0x3f8-0x3ff irq 4 on isa > > sio0: type 16550A > > sio1 at 0x2f8-0x2ff irq 3 on isa > > sio1: type 16550A > > sio2: disabled, not probed. > > sio3: disabled, not probed. > > lpt0 not found at 0xffffffff > > lpt1 not found at 0xffffffff > > pcm0 at 0xffff irq 7 drq 1 mem 0x0 flags 0x0 en 1 confl 0 > > mss_probe: no address supplied, try default 0x530 > > mss_detect error, busy still set (0xff) > > sb_probe: no address supplied, try defaults (0x220,0x240) > > device at 0x220 already attached as unit 1 > > pcm0 not found at 0xffffffff > > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > > fdc0: NEC 72065B > > fd0: 1.44MB 3.5in > > npx0 flags 0x1 on motherboard > > npx0: INT 16 interface > > changing root device to sd1a > > > > -Reggie > From owner-freebsd-multimedia Mon Oct 6 10:51:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA14389 for multimedia-outgoing; Mon, 6 Oct 1997 10:51:15 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA14383 for ; Mon, 6 Oct 1997 10:51:05 -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.7/8.8.5) with ESMTP id KAA14045; Mon, 6 Oct 1997 10:50:49 -0700 (PDT) Message-Id: <199710061750.KAA14045@rah.star-gate.com> To: "Reginald J. Reed" cc: Amancio Hasty , multimedia@freebsd.org Subject: Re: fxtv/bt848 driver problem [FreeBSD 2.2.2] In-reply-to: Your message of "Sun, 05 Oct 1997 08:12:03 EDT." <19971005081203.27870@Sigma2.The-Reeds.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 Oct 1997 10:50:49 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk rmdir /dev/tuner0 mknod /dev/tuner0 c 79 16 Cheers, Amancio >From The Desk Of "Reginald J. Reed" : > Here is the requested output: > > # grep GHUE /usr/src/sys/pci/brooktree848.c > Randall Hopper's fixes of BT848_GHUE & BT848_GBRIG . > case METEORGHUE: /* get hue */ > case BT848_GHUE: /* get hue */ > > # grep GHUE /usr/include/machine/ioctl_bt848.h > #define BT848_GHUE _IOR('x', 37, int) /* get hue */ > > # ls -ald /dev/tuner* > drwxr-xr-x 2 root wheel 512 Oct 2 11:27 /dev/tuner0 > > # ls -ald /dev/bktr* > crw-r--r-- 1 root wheel 79, 0 Sep 29 18:25 /dev/bktr0 > > Thanks. > > On Mon, Oct 06, 1997 at 12:06:06AM -0700, Amancio Hasty wrote: > > Hi, > > >ioctl(BT848_SAUDIO, 128) failed: Inappropriate ioctl for device > > >ioctl(BT848_GHUE) failed: Inappropriate ioctl for device > > >TVCAPTUREQueryDriverState() failed > > > > Do the following: > > > > grep GHUE /sys/pci/brooktree848.c > > grep GHUE /usr/include/machine/ioctl_bt848.h > > > > > > ls -ald /dev/tuner* > > > > {hasty} ls -ald /dev/tuner* > > crw-r--r-- 1 root wheel 79, 16 Mar 22 1997 /dev/tuner0 > > > > ls -ald /dev/bktr* > > crw-r--r-- 1 root wheel 79, 0 Dec 9 1996 /dev/bktr > > lrwxrwxrwx 1 root wheel 4 Jan 2 1997 /dev/bktr0 -> bktr > > crw-r--r-- 1 root wheel 79, 1 Mar 6 1997 /dev/bktr1 > > > > > > > > Tnks, > > Amancio > > > > >From The Desk Of "Reginald J. Reed" : > > > On Sun, Oct 05, 1997 at 06:02:01PM -0700, Amancio Hasty wrote: > > > > Hi Reggie, > > > > > > > > Can you send us the output of : > > > > dmesg > > > > > > > > Also make sure that you have copy /sys/i386/isa/snd/soundcard.h to > > > > /usr/include/machine > > > > > > Did that. Also, just to give you guys an idea of my background, I'm a > > > Unix admin for a network management development group with Cisco Systems. > > > > > > Here's the output of dmesg: > > > > > > Copyright (c) 1992-1997 FreeBSD Inc. > > > Copyright (c) 1982, 1986, 1989, 1991, 1993 > > > The Regents of the University of California. All rights reserved . > > > > > > FreeBSD 2.2.2-RELEASE #0: Thu Oct 2 21:45:17 EDT 1997 > > > root@Sigma2.The-Reeds.Com:/usr/src/sys/compile/sigma2.stb > > > CPU: Pentium (132.96-MHz 586-class CPU) > > > Origin = "GenuineIntel" Id = 0x52c Stepping=12 > > > Features=0x1bf > > > real memory = 33554432 (32768K bytes) > > > avail memory = 30490624 (29776K bytes) > > > Probing for devices on PCI bus 0: > > > chip0 rev 2 on pci0:0 > > > chip1 rev 1 on pci0:7:0 > > > chip2 rev 0 on pci0:7:1 > > > ncr0 rev 1 int a irq 12 on pci0:17 > > > ncr0 waiting for scsi devices to settle > > > (ncr0:0:0): 5.0 MB/s (200 ns, offset 8) > > > (ncr0:0:0): " DFRSS2F 4B4B" type 0 fixed SCSI 2 > > > sd0(ncr0:0:0): Direct-Access > > > sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8) > > > 2150MB (4404489 512 byte sectors) > > > (ncr0:1:0): "IBM DORS-32160 WA0A" type 0 fixed SCSI 2 > > > sd1(ncr0:1:0): Direct-Access > > > sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 8) > > > 2063MB (4226725 512 byte sectors) > > > (ncr0:2:0): "SyQuest EZ135S 1-17" type 0 removable SCSI 2 > > > sd2(ncr0:2:0): Direct-Access > > > sd2(ncr0:2:0): 5.0 MB/s (200 ns, offset 8) > > > 128MB (262144 512 byte sectors) > > > (ncr0:4:0): "YAMAHA CDR400t 1.0c" type 5 removable SCSI 2 > > > cd0(ncr0:4:0): CD-ROM cd present [400000 x 2048 byte records] > > > (ncr0:5:0): "ARCHIVE Python 25588-XXX 2.96" type 1 removable SCSI 2 > > > st0(ncr0:5:0): Sequential-Access > > > st0(ncr0:5:0): asynchronous. > > > > > > st0(ncr0:5:0): M_REJECT received (5:8). > > > density code 0x13, 512-byte blocks, write-enabled > > > bktr0 rev 17 int a irq 9 on pci0:18 > > > STB TV/PCI, Temic NTSC tuner, dbx stereo. > > > vga0 rev 6 int a irq 15 on pci0:20 > > > Probing for PnP devices: > > > CSN 1 Vendor ID: CTL0028 [0x28008c0e] Serial 0x001c43a5 > > > pcm1 (SB16pnp sn 0x001c43a5) at 0x220 irq 5 drq 1 flags 0x 15 i > > d 1 > > > 4 > > > Probing for devices on the ISA bus: > > > sc0 at 0x60-0x6f irq 1 on motherboard > > > sc0: VGA color <16 virtual consoles, flags=0x0> > > > ed0 at 0x340-0x35f irq 11 on isa > > > ed0: address 00:80:ad:ab:2c:fa, type NE2000 (16 bit) > > > sio0 at 0x3f8-0x3ff irq 4 on isa > > > sio0: type 16550A > > > sio1 at 0x2f8-0x2ff irq 3 on isa > > > sio1: type 16550A > > > sio2: disabled, not probed. > > > sio3: disabled, not probed. > > > lpt0 not found at 0xffffffff > > > lpt1 not found at 0xffffffff > > > pcm0 at 0xffff irq 7 drq 1 mem 0x0 flags 0x0 en 1 confl 0 > > > mss_probe: no address supplied, try default 0x530 > > > mss_detect error, busy still set (0xff) > > > sb_probe: no address supplied, try defaults (0x220,0x240) > > > device at 0x220 already attached as unit 1 > > > pcm0 not found at 0xffffffff > > > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > > > fdc0: NEC 72065B > > > fd0: 1.44MB 3.5in > > > npx0 flags 0x1 on motherboard > > > npx0: INT 16 interface > > > changing root device to sd1a > > > > > > -Reggie > > From owner-freebsd-multimedia Mon Oct 6 15:40:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA05350 for multimedia-outgoing; Mon, 6 Oct 1997 15:40:19 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA05339 for ; Mon, 6 Oct 1997 15:40:14 -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.7/8.8.5) with ESMTP id PAA15854; Mon, 6 Oct 1997 15:40:01 -0700 (PDT) Message-Id: <199710062240.PAA15854@rah.star-gate.com> To: Jake cc: "multimedia@FreeBSD.ORG" Subject: Re: no sound in fxtv In-reply-to: Your message of "Sun, 05 Oct 1997 16:05:55 PDT." <34381D53.65FC7137@bc1.com> Date: Mon, 06 Oct 1997 15:40:00 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, Can you send us the output of dmesg? Also, ls -ald /dev/tuner* Did you compile fxtv in your system? Which version of the sound driver are you using? Tnks, Amancio >From The Desk Of Jake : > Hi, I'm not getting any sound in FXTV. > I have a zoltrix bt848 pci card, and a soundblaster 16 cound card. > I've got an audio cable running from the sound card to the capture card, > > and from the capture card to my cdrom. > cdrom audio works fine. I have the sound driver installed, and all the > programs required by > fxtv. cat x.au >/dev/audio works, the sound file x.au plays. > I made all the snd0 devices. > Can't think of anything else, how come there's no sound? > I get picture, no sound. > Do I have to have the linux emulator installed? > I read the readme for the voxware sound driver, and it seemed like it as > for linux. > > thanks for any suggestions > > Jake > > -- > Machine Independent: > Does not run on any existing Machine. > > > From owner-freebsd-multimedia Mon Oct 6 16:26:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA07796 for multimedia-outgoing; Mon, 6 Oct 1997 16:26:40 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (jonny@[146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA07789 for ; Mon, 6 Oct 1997 16:26:36 -0700 (PDT) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id VAA01293; Mon, 6 Oct 1997 21:22:29 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199710062322.VAA01293@gaia.coppe.ufrj.br> Subject: Re: [video] bt848 driver update In-Reply-To: <199710052142.OAA00528@rah.star-gate.com> from Amancio Hasty at "Oct 5, 97 02:42:55 pm" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Mon, 6 Oct 1997 21:22:28 -0200 (EDT) Cc: multimedia@FreeBSD.ORG, brad@parker.boston.ma.us, sklower@CS.Berkeley.EDU X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Amancio Hasty) // Subject: [video] bt848 driver update // Date: Sun, 05 Oct 1997 14:42:55 -0700 // From: Amancio Hasty // // // This driver includes the following patches submitted by: // // 1.0 Hideyuki Suzuki // // Japanese Cable support // // 2.0 Keith Sklower // // Minor update to the BSDI section so it compiles cleanly on BSDI // // 3.0 Joao Carlos Mendes Luis // // ioctl interface to select video format , NTSC, PAL, etc.. // // The driver is available from: // // http://www.freebsd.org/~ahasty/Bt848.html Oops... diff shows no difference between the default RELENG_2_2 driver... http://www.freebsd.org/~ahasty/files/bt848.tar.gz // ftp://rah.star-gate.com/pub/bt848.tar.gz This seems to be ok, but there's a redundant mask as shown in the following patch. --- brooktree848.c Sun Oct 5 18:19:46 1997 +++ brooktree848.c.new Mon Oct 6 21:20:00 1997 @@ -904,7 +904,6 @@ bt848->int_mask = BT848_INT_MYSTERYBIT | BT848_INT_RISCI | - BT848_INT_RISCI | BT848_INT_VSYNC | BT848_INT_FMTCHG; It seems to be ok other than this. But I can only test fully at home. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Mon Oct 6 16:36:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA08296 for multimedia-outgoing; Mon, 6 Oct 1997 16:36:14 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (jonny@[146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA08290 for ; Mon, 6 Oct 1997 16:36:08 -0700 (PDT) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id VAA01569 for multimedia@freebsd.org; Mon, 6 Oct 1997 21:36:06 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199710062336.VAA01569@gaia.coppe.ufrj.br> Subject: vic + bktr + ATI RageII == green ? To: multimedia@freebsd.org Date: Mon, 6 Oct 1997 21:36:05 -0200 (EDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm trying to use vic with my bt848 card at home. I got the last version from rah.star-gate.com, and it works perfectly at work (ATI GPT, mach64, True Color, WinCast/TV). But at home (ATI 3DPT, RageII+, True Color, WinCast/TV) it shows a deep green scene. Fxtv work perfectly, either in DirectV mode or not. OTOH, at work I cannot make fxtv work with True Color, but vic works nicely. Fxtv says it cannot work in DirectV mode, but even in Ximages mode it show only a black screen. I have no clue on how to fix this, so hope this helps somebody else to fix. :) Thanks in advance. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Mon Oct 6 20:54:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA22603 for multimedia-outgoing; Mon, 6 Oct 1997 20:54:13 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA22597 for ; Mon, 6 Oct 1997 20:54:10 -0700 (PDT) (envelope-from henrich@crh.cl.msu.edu) Resent-From: henrich@crh.cl.msu.edu Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.5/8.8.5) id XAA08200 for freebsd-multimedia@freebsd.org; Mon, 6 Oct 1997 23:54:06 -0400 (EDT) Resent-Message-Id: <199710070354.XAA08200@crh.cl.msu.edu> Message-ID: <19971006153558.29515@crh.cl.msu.edu> Date: Mon, 6 Oct 1997 15:35:58 -0400 From: Charles Henrich To: freebsd-emulation@freebsd.org Subject: Linux and Real Video 5.0 for linux Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 X-Operating-System: FreeBSD 2.2.2-RELEASE X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Resent-Date: Mon, 6 Oct 1997 23:54:06 -0400 Resent-To: freebsd-multimedia@freebsd.org Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Okay you linux emu folks, the Real Video 5.0 player just popped out, and the linux emulator emits: LINUX: 'ioctl' fd=5, typ=0x450(P), num=0xf not implemented When attempting to play a rv stream... What is it? -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich From owner-freebsd-multimedia Mon Oct 6 21:05:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA23047 for multimedia-outgoing; Mon, 6 Oct 1997 21:05:41 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA23039 for ; Mon, 6 Oct 1997 21:05:37 -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.7/8.8.5) with ESMTP id VAA17532; Mon, 6 Oct 1997 21:05:22 -0700 (PDT) Message-Id: <199710070405.VAA17532@rah.star-gate.com> To: Joao Carlos Mendes Luis cc: multimedia@FreeBSD.ORG, brad@parker.boston.ma.us, sklower@CS.Berkeley.EDU Subject: Re: [video] bt848 driver update In-reply-to: Your message of "Mon, 06 Oct 1997 21:22:28 -0200." <199710062322.VAA01293@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 Oct 1997 21:05:21 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Tnks, I took out the redundant bit setting. The driver up at www.freebsd.org has been updated and I getting ready to generate diffs for submittal. Cheers, Amancio >From The Desk Of Joao Carlos Mendes Luis : > #define quoting(Amancio Hasty) > // Subject: [video] bt848 driver update > // Date: Sun, 05 Oct 1997 14:42:55 -0700 > // From: Amancio Hasty > > // > // > // This driver includes the following patches submitted by: > // > // 1.0 Hideyuki Suzuki > // > // Japanese Cable support > // > // 2.0 Keith Sklower > // > // Minor update to the BSDI section so it compiles cleanly on BSDI > // > // 3.0 Joao Carlos Mendes Luis > // > // ioctl interface to select video format , NTSC, PAL, etc.. > // > // The driver is available from: > // > // http://www.freebsd.org/~ahasty/Bt848.html > > Oops... diff shows no difference between the default RELENG_2_2 driver... > > http://www.freebsd.org/~ahasty/files/bt848.tar.gz > > // ftp://rah.star-gate.com/pub/bt848.tar.gz > > This seems to be ok, but there's a redundant mask as shown in the following > patch. > > --- brooktree848.c Sun Oct 5 18:19:46 1997 > +++ brooktree848.c.new Mon Oct 6 21:20:00 1997 > @@ -904,7 +904,6 @@ > bt848->int_mask = BT848_INT_MYSTERYBIT | > BT848_INT_RISCI | > - BT848_INT_RISCI | > BT848_INT_VSYNC | > BT848_INT_FMTCHG; > > > It seems to be ok other than this. But I can only test fully at home. > > Jonny > > -- > Joao Carlos Mendes Luis jonny@gta.ufrj.br > +55 21 290-4698 jonny@coppe.ufrj.br > Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI > PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Mon Oct 6 23:19:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA00539 for multimedia-outgoing; Mon, 6 Oct 1997 23:19:22 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (jonny@[146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA00529 for ; Mon, 6 Oct 1997 23:19:17 -0700 (PDT) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id EAA07651; Tue, 7 Oct 1997 04:19:15 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199710070619.EAA07651@gaia.coppe.ufrj.br> Subject: Re: vic + bktr + ATI RageII == green ? In-Reply-To: From jonny at "Oct 6, 97 09:36:05 pm" To: jonny@coppe.ufrj.br (jonny) Date: Tue, 7 Oct 1997 04:19:14 -0200 (EDT) Cc: multimedia@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(jonny) // I'm trying to use vic with my bt848 card at home. I got the last version // from rah.star-gate.com, and it works perfectly at work (ATI GPT, mach64, // True Color, WinCast/TV). But at home (ATI 3DPT, RageII+, True Color, // WinCast/TV) it shows a deep green scene. Fxtv work perfectly, either // in DirectV mode or not. OOOOOOOOOOOOOps.... My fault. I had an old version of the bt848 driver at home. With this new one it now shows a good screen in vic. :) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Tue Oct 7 02:25:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA12202 for multimedia-outgoing; Tue, 7 Oct 1997 02:25:17 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id CAA11304; Tue, 7 Oct 1997 02:13:48 -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 IAA07727; Tue, 7 Oct 1997 08:54:38 +0100 From: Luigi Rizzo Message-Id: <199710070754.IAA07727@labinfo.iet.unipi.it> Subject: snd971007.tgz To: multimedia@freebsd.org Date: Tue, 7 Oct 1997 08:54:37 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [crossposted to -stable and hackers since people might be interested there as well -- sorry for the duplicates... reply go to multimedia only] New snap of the sound code at the following URL: http://www.iet.unipi.it/~luigi/snd971007.tgz http://www.iet.unipi.it/~luigi/pnp970924.tgz this implements AUTO-DMA mode, has been tested for several days on a 2.2.1 system. It seems to work quite well in full duplex with Crystal CS423x, Opti931 and even with the SB16 (and clones of WSS and SB16). It works in half duplex with the SBPro, although with some limitations. Compared to previous snapshots, this code does not suffer from the problems (clicks and deadlocks) which affected the previous driver with certain boards. I have added some code so that -current users can use the code by simply uncommenting a #define USE_POLL in file sound.h If there is sufficient positive feedback it might be possible to put this into 2.2.5 so please guy test this code. The code is still a bit verbose but this is done to ease debugging. If you have problems please supply, in plain ascii, the following data: - OS version; - card type (the more detail, the better it is) - dmesg output if relevant; - pnpinfo output if you have a PnP card. Thanks for your help. Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Tue Oct 7 09:37:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA08728 for multimedia-outgoing; Tue, 7 Oct 1997 09:37:00 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from galileo.ravel.ufrj.br (galileo.ravel.ufrj.br [146.164.32.68]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA08722 for ; Tue, 7 Oct 1997 09:36:57 -0700 (PDT) (envelope-from rodolfo@galileo.ravel.ufrj.br) Received: (from rodolfo@localhost) by galileo.ravel.ufrj.br (8.8.7/8.8.7) id NAA00394; Tue, 7 Oct 1997 13:35:32 -0300 (EST) From: Rodolfo Heitor Gevaerd de Faria Message-Id: <199710071635.NAA00394@galileo.ravel.ufrj.br> Subject: Re: snd971007.tgz In-Reply-To: <199710070754.IAA07727@labinfo.iet.unipi.it> from Luigi Rizzo at "Oct 7, 97 08:54:37 am" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Tue, 7 Oct 1997 13:35:32 -0300 (EST) Cc: multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo was saying that, ^ [crossposted to -stable and hackers since people might be interested ^ there as well -- sorry for the duplicates... reply go to multimedia ^ only] ^ ^ New snap of the sound code at the following URL: ^ ^ http://www.iet.unipi.it/~luigi/snd971007.tgz ^ http://www.iet.unipi.it/~luigi/pnp970924.tgz Is this code already in 3.0-current ? I'm trying to put an SB16 (It's not PnP) to work in a 3.0-current. Everything works fine except for VAT. When I start vat I get: SNDCTL_DSP_GETFMTS returns 0xb0000058 full duplex but all I get is noise. I know you have a hacked version of vat, this is the version of vat I'm using which I got from a friend of mine. any suggestions ? ^ ^ this implements AUTO-DMA mode, has been tested for several days on a ^ 2.2.1 system. It seems to work quite well in full duplex with ^ Crystal CS423x, Opti931 and even with the SB16 (and clones of WSS ^ and SB16). It works in half duplex with the SBPro, although with ^ some limitations. ^ ^ Compared to previous snapshots, this code does not suffer from the ^ problems (clicks and deadlocks) which affected the previous driver with ^ certain boards. ^ ^ I have added some code so that -current users can use the code by ^ simply uncommenting a #define USE_POLL in file sound.h ^ ^ If there is sufficient positive feedback it might be possible to put ^ this into 2.2.5 so please guy test this code. ^ ^ The code is still a bit verbose but this is done to ease debugging. If ^ you have problems please supply, in plain ascii, the following data: ^ - OS version; ^ - card type (the more detail, the better it is) ^ - dmesg output if relevant; ^ - pnpinfo output if you have a PnP card. ^ ^ Thanks for your help. ^ 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/ ^ _____________________________|______________________________________ ^ Rodolfo H G Faria From owner-freebsd-multimedia Tue Oct 7 10:09:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11330 for multimedia-outgoing; Tue, 7 Oct 1997 10:09:14 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA11320 for ; Tue, 7 Oct 1997 10:09:07 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 7 Oct 1997 13:07:59 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA03874; Tue, 7 Oct 97 13:07:57 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id NAA02807; Tue, 7 Oct 1997 13:03:58 -0400 Message-Id: <19971007130358.27857@ct.picker.com> Date: Tue, 7 Oct 1997 13:03:58 -0400 From: Randall Hopper To: Amancio Hasty Cc: multimedia@freebsd.org Subject: [video] bktr clipping (REPOST) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The mail was down here last night so I don't think this got out. Let me try again. Randy -----Forwarded message----- Date: Mon, 6 Oct 1997 23:02:41 -0400 From: Randall Hopper Subject: [video] bktr clipping Started trying out the bktr clipping half hour ago and noticed a few small bugs. My tests have been very minimal, but so far what I've noticed is that the driver seems to swap X and Y (X and Y defined per display convention and as X does), and the Y coordinates (X, with the swap bug) are doubled when capturing both fields. The latter's probably just a loop stepping typo. For example, with this clip rect: (X 10, Y 50) - ( X 20, Y 100 ) with single field, what gets clipped is: (X 50, Y 10) - ( X 100, Y 20 ) and with double field, it's: (X 50, Y 20) - ( X 100, Y 40 ) Will continue working with it tomorrow ev. BTW, this is with the 971005 driver off of rah. Thanks, Randall -----End of forwarded message----- From owner-freebsd-multimedia Tue Oct 7 10:11:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11487 for multimedia-outgoing; Tue, 7 Oct 1997 10:11:12 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA11479 for ; Tue, 7 Oct 1997 10:11:05 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 7 Oct 1997 13:09:57 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA03998; Tue, 7 Oct 97 13:09:55 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id NAA02831; Tue, 7 Oct 1997 13:05:56 -0400 Message-Id: <19971007130556.58906@ct.picker.com> Date: Tue, 7 Oct 1997 13:05:56 -0400 From: Randall Hopper To: Amancio Hasty Cc: multimedia@freebsd.org Subject: Re: [video] frame rate and fxtv (REPOST) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Another one I sent last night that didn't get out. Randall -----Forwarded message----- Date: Mon, 6 Oct 1997 21:09:19 -0400 From: Randall Hopper Subject: Re: [video] frame rate and fxtv Amancio Hasty: |So far I have received the following information from brooktree and I |can't seem to get the set frame rate functionality to work properly |on single frames and with odd/even frames. | |For now, I suggest that fxtv emulates the frame rate functionality by |specifying the full frame rate and skipping frames based upon the |desired frame rate for video capture. Thanks for forwarding the info from Brooktree. I'll take another crack at the driver code with their comments as soon as I get the features I'm currently adding to Fxtv in a good state. If still no luck with decimation, I'll try your suggestion and run some performance tests. The loss of memory- and mem-to-PCI-disk bandwidth due to a full-bandwidth Bt-to-mem stream may not really be significant due to the write latency of disk subsystem with most hard disks. If so, I'll go that route. Thanks for the suggestion. Randall -----End of forwarded message----- From owner-freebsd-multimedia Tue Oct 7 10:11:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11505 for multimedia-outgoing; Tue, 7 Oct 1997 10:11:18 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from mail.id.net (mail.id.net [199.125.1.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA11486 for ; Tue, 7 Oct 1997 10:11:12 -0700 (PDT) (envelope-from rls@mail.id.net) Received: from shell.id.net (shell.id.net [199.125.2.8]) by mail.id.net (8.8.6/8.8.6) with ESMTP id NAA19934 for ; Tue, 7 Oct 1997 13:22:23 -0400 (EDT) From: Robert Shady Received: (from rls@localhost) by shell.id.net (8.8.5/8.7.3) id NAA22621 for freebsd-multimedia@freebsd.org; Tue, 7 Oct 1997 13:15:05 -0400 (EDT) Message-Id: <199710071715.NAA22621@shell.id.net> Subject: Bt848 VideoCapture: Need Source To: freebsd-multimedia@freebsd.org Date: Tue, 7 Oct 1997 13:15:05 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Anyone out there have some simple source code to capture a single frame (or continuous frames) to disk in JPEG format? I've been looking all over for some programming examples and haven't quite been able to find what I am looking for... I don't need the images to display on the screen at all.. I tried taking a look at 'fxtv', although not being an X-Windows programmer, and having about a million more things than I think I actually need, the task was a bit dawnting.. If someone has a short example on this (C preferred), I'd appreciate it.. -- Rob From owner-freebsd-multimedia Tue Oct 7 14:25:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA24226 for multimedia-outgoing; Tue, 7 Oct 1997 14:25:21 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA24220 for ; Tue, 7 Oct 1997 14:25:17 -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.7/8.8.5) with ESMTP id OAA06560; Tue, 7 Oct 1997 14:24:52 -0700 (PDT) Message-Id: <199710072124.OAA06560@rah.star-gate.com> To: Robert Shady cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Bt848 VideoCapture: Need Source In-reply-to: Your message of "Tue, 07 Oct 1997 13:15:05 EDT." <199710071715.NAA22621@shell.id.net> Date: Tue, 07 Oct 1997 14:24:52 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You can take a look at ftp://rah.star-gate.com/pub/tv-0.2.tar.gz It is a simple X program with the capability to save images in jpeg format . It should be obvious how to setup the bt848 for single frame capture which then you can just call the jpeg routine. Amancio >From The Desk Of Robert Shady : > Anyone out there have some simple source code to capture a single frame > (or continuous frames) to disk in JPEG format? I've been looking all > over for some programming examples and haven't quite been able to find > what I am looking for... I don't need the images to display on the > screen at all.. I tried taking a look at 'fxtv', although not being > an X-Windows programmer, and having about a million more things than > I think I actually need, the task was a bit dawnting.. If someone has > a short example on this (C preferred), I'd appreciate it.. > > -- Rob > From owner-freebsd-multimedia Tue Oct 7 17:10:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA03964 for multimedia-outgoing; Tue, 7 Oct 1997 17:10:16 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA03957 for ; Tue, 7 Oct 1997 17:10:13 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 7 Oct 1997 20:09:04 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA16008; Tue, 7 Oct 97 20:09:02 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA04375; Tue, 7 Oct 1997 20:05:02 -0400 Message-Id: <19971007200501.26657@ct.picker.com> Date: Tue, 7 Oct 1997 20:05:01 -0400 From: Randall Hopper To: Amancio Hasty Cc: multimedia@freebsd.org Subject: Re: [video] bktr clipping References: <19971006230241.32887@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <19971006230241.32887@ct.picker.com>; from Randall Hopper on Mon, Oct 06, 1997 at 11:02:41PM -0400 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Amancio, it's probably not worth your time to juice up the driver clipping code at this point. I haven't yet found a decent event-driven way to keep an exposed region definition up-to-date with X (polling the X server's window list every 10th of a second ain't decent IMO). News, list, FAQ, and O'Reilly searches thus far haven't turned up anything satisfactory. I've got a question posted to c.w.x.i386unix and c.windows.x so we'll see if someone else has a trick up their sleeve. If nothing else, I'll do the next best thing in the next version and flip Fxtv in and out of XImages mode as the video window moves between Unobscured and PartiallyObscured (i.e. let the X server clip when clipping is required). Randall From owner-freebsd-multimedia Tue Oct 7 17:28:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA04857 for multimedia-outgoing; Tue, 7 Oct 1997 17:28:05 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA04820 for ; Tue, 7 Oct 1997 17:27:55 -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.7/8.8.5) with ESMTP id RAA07470; Tue, 7 Oct 1997 17:27:44 -0700 (PDT) Message-Id: <199710080027.RAA07470@rah.star-gate.com> To: Randall Hopper cc: multimedia@freebsd.org Subject: Re: [video] bktr clipping In-reply-to: Your message of "Tue, 07 Oct 1997 20:05:01 EDT." <19971007200501.26657@ct.picker.com> Date: Tue, 07 Oct 1997 17:27:43 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Unobscured and PartiallyObscured (i.e. let the X server clip when clipping >is required). I like that solution as for X doing the right thing for our scenario (hardware clipping) it does not . The best approach so far is to take the whole video capture process to the X server and there I can take care of the exposure problems . However, there is only one gotcha : how can I tell the server to process the video stream bear in mind that the X server is event driven so I can't kick off a routine and expect it to do single capture or continous capture without going thru the event loop in the X server. Cheers, Amancio >From The Desk Of Randall Hopper : > Amancio, it's probably not worth your time to juice up the driver > clipping code at this point. I haven't yet found a decent event-driven way > to keep an exposed region definition up-to-date with X (polling the X > server's window list every 10th of a second ain't decent IMO). News, list, > FAQ, and O'Reilly searches thus far haven't turned up anything > satisfactory. > > I've got a question posted to c.w.x.i386unix and c.windows.x so we'll > see if someone else has a trick up their sleeve. > > If nothing else, I'll do the next best thing in the next version and > flip Fxtv in and out of XImages mode as the video window moves between > Unobscured and PartiallyObscured (i.e. let the X server clip when clipping > is required). > > Randall From owner-freebsd-multimedia Tue Oct 7 19:45:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA11865 for multimedia-outgoing; Tue, 7 Oct 1997 19:45:48 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id TAA11851 for ; Tue, 7 Oct 1997 19:45:42 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com ([144.54.37.11]) by whqvax.picker.com with SMTP; Tue, 7 Oct 1997 18:43:11 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA14844; Tue, 7 Oct 97 18:43:08 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id SAA04283; Tue, 7 Oct 1997 18:39:01 -0400 Message-Id: <19971007183900.28519@ct.picker.com> Date: Tue, 7 Oct 1997 18:39:00 -0400 From: Randall Hopper To: Joao Carlos Mendes Luis Cc: multimedia@FreeBSD.ORG Subject: Re: Proposed patches to fxtv References: <199710051045.HAA11860@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <199710051045.HAA11860@gaia.coppe.ufrj.br>; from Joao Carlos Mendes Luis on Sun, Oct 05, 1997 at 07:45:33AM -0300 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk | Here are the patches I have done to fxtv 0.44 to support my changes |to the bt848 driver. It's just a test patch,, with a not so good interface |so it should be completely redesigned. | | I know nothing about X programming, so please don't flame me for |programming style. After understanding how the bt848 chip works, |it took me 10 minutes to patch the kernel, and a whole night to |patch fxtv. :) | | Randall, could you please take a look on this and make any changes you |want ? I'd like to see support for this integrated in some future version |of fxtv, so that I can (also) work and watch TV at the same time. :) Sure, I'd be glad to. Thanks for taking the time to work up the patches! I'll massage them into my local source tree and release with 0.45. I should be at a release point by Friday. Thanks again, Randall From owner-freebsd-multimedia Tue Oct 7 20:00:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12801 for multimedia-outgoing; Tue, 7 Oct 1997 20:00:43 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA12789 for ; Tue, 7 Oct 1997 20:00:39 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 7 Oct 1997 20:57:05 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA16633; Tue, 7 Oct 97 20:56:58 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA04408; Tue, 7 Oct 1997 20:50:57 -0400 Message-Id: <19971007205057.36136@ct.picker.com> Date: Tue, 7 Oct 1997 20:50:57 -0400 From: Randall Hopper To: Joao Carlos Mendes Luis , Amancio Hasty Cc: multimedia@FreeBSD.ORG Subject: [video] tuner input format issues References: <199710051045.HAA11860@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <199710051045.HAA11860@gaia.coppe.ufrj.br>; from Joao Carlos Mendes Luis on Sun, Oct 05, 1997 at 07:45:33AM -0300 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jonny, your patches applied without a hitch. Thanks. As I was merging them in though, several issues related to format selection occurred to me. First, I'm assuming that selecting anything but NTSC/M, NTSC/J, or PAL/M on a non-NTSC tuner isn't really a valid thing to do. Similarly for selecting the three above types on, say, a Temic or Philips PAL tuner. And is anything but SECAM valid on a Philips SECAM tuner? Seems what we need is a driver ioctl to return the supported input formats for the installed tuner. Apps like Fxtv could use this to suppress GUI and resource file selection of these invalid input formats. Some other tuner-specific info would be useful in the return struct for this new "tuner capabilities" ioctl as well: max capture geometry (640x480 or 768x576) and max FPS (30 or 25). The latter two would let fxtv get rid of these hard-coded FIXME values that are input-format specific. I'd add this ioctl myself if I knew all the input-format capabilities of each tuner. If you know (Jonny, or anyone), fill me in and I'll cook the driver patch. Second, I disabled the selectability of the "AUTO" input format. I think we need some driver and app mods to support this. If we can assume that a particular tv card only supports one max res and max fps limit across all its inputs (i.e. either 640x480x30 or 768x576x25, never both regardless of input or selected input format), then we just need a way to query this max res and max fps from the driver so we can set up the appropriate transfer size and capture limitations in the app dynamically before engaging AUTO input format selection. If the above assumption isn't valid, some different driver changes would be needed. Randall From owner-freebsd-multimedia Tue Oct 7 20:06:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA13133 for multimedia-outgoing; Tue, 7 Oct 1997 20:06:23 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA13128 for ; Tue, 7 Oct 1997 20:06:20 -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.7/8.8.5) with ESMTP id UAA08211 for ; Tue, 7 Oct 1997 20:06:12 -0700 (PDT) Message-Id: <199710080306.UAA08211@rah.star-gate.com> To: multimedia@freebsd.org Subject: [video] bt848 driver checked in Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Oct 1997 20:06:12 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The latest bt848 driver is now part of 3.0 -current and 2.2 . The driver is also available from: http://www.freebsd.org/~ahasty/Bt848.html ftp://rah.star-gate.com/pub/bt848.tar.gz Enjoy, Amancio From owner-freebsd-multimedia Tue Oct 7 20:09:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA13356 for multimedia-outgoing; Tue, 7 Oct 1997 20:09:52 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA13338 for ; Tue, 7 Oct 1997 20:09:46 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 7 Oct 1997 21:04:13 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA16741; Tue, 7 Oct 97 21:04:11 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA04428; Tue, 7 Oct 1997 21:00:12 -0400 Message-Id: <19971007210012.09378@ct.picker.com> Date: Tue, 7 Oct 1997 21:00:12 -0400 From: Randall Hopper To: Jake Cc: "multimedia@FreeBSD.ORG" Subject: Re: no sound in fxtv References: <34381D53.65FC7137@bc1.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <34381D53.65FC7137@bc1.com>; from Jake on Sun, Oct 05, 1997 at 04:05:55PM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jake: |Hi, I'm not getting any sound in FXTV. |I have a zoltrix bt848 pci card, and a soundblaster 16 cound card. |I've got an audio cable running from the sound card to the capture card, ... |fxtv. cat x.au >/dev/audio works, the sound file x.au plays. In addition to Amancio's suggestions and requests, a few other things to look at. I don't know anything about the Zoltrix Bt848 card, but the Wincast cards have a stereo miniplug audio output on them and come with a small stereo miniplug M-to-M cable to connect from the plug on the capture card to the line input of your soundcard. Verify that this is connected and that it's plugged into the line input plug of your soundcard. Also, verify that your line input volume is cranked up. Randall From owner-freebsd-multimedia Wed Oct 8 07:09:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA19315 for multimedia-outgoing; Wed, 8 Oct 1997 07:09:15 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gatekeeper.sial.com (gatekeeper.sial.com [199.217.212.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA19308 for ; Wed, 8 Oct 1997 07:09:12 -0700 (PDT) (envelope-from skn0@sigsmtp.sial.com) Received: by gatekeeper.sial.com; (5.65v3.2/1.3/10May95) id AA27870; Wed, 8 Oct 1997 09:08:41 -0500 Received: from [141.247.13.26] by dev.sial.com; (5.65/1.1.8.2/24Sep96-1224PM) id AA31188; Wed, 8 Oct 1997 09:08:23 -0500 Message-Id: <343B94A6.6BFD@sigsmtp.sial.com> Date: Wed, 08 Oct 1997 09:11:50 -0500 From: Scott Nelson Reply-To: skn0@sigsmtp.sial.com Organization: Sigma Aldrich Chemical Company X-Mailer: Mozilla 3.0 (Win95; U) Mime-Version: 1.0 To: multimedia@freebsd.org Subject: Tuner and Video cards Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am in the process of deciding what kind of computer to buy and what features I need. I'm looking at the Gateway, Micron, and Dell. Because we have children, I think I'd like to have a tuner card so the kids can capture images from the camcorder, satellite dish, etc. I know nothing about tuner cards so I need to know what to look for, what software I need, etc. It seems that only Gateway offers a tuner card. Can anyone give me some feedback? Thanks From owner-freebsd-multimedia Wed Oct 8 09:12:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA26808 for multimedia-outgoing; Wed, 8 Oct 1997 09:12:14 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from neptune.ajc.state.net (neptune.ajc.state.net [204.120.158.168]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA26796 for ; Wed, 8 Oct 1997 09:12:09 -0700 (PDT) (envelope-from Al.Johnson@AJC.State.Net) Received: from AJC.State.Net (saturn.ajc.state.net [204.120.158.166]) by neptune.ajc.state.net (8.8.6/8.8.5) with ESMTP id LAA15696; Wed, 8 Oct 1997 11:10:53 -0500 (CDT) Message-ID: <343BB0BB.97AD1BF0@AJC.State.Net> Date: Wed, 08 Oct 1997 11:11:39 -0500 From: Al Johnson Organization: Al Johnson Consulting X-Mailer: Mozilla 4.02 [en] (Win95; I) MIME-Version: 1.0 To: skn0@sigsmtp.sial.com CC: multimedia@FreeBSD.ORG Subject: Re: Tuner and Video cards References: <343B94A6.6BFD@sigsmtp.sial.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Scott, I've got a Gateway 2000 but my tuner card was added after purchase. I picked up a STB TV/PCI card for $89 at Best Buy. It works virtually flawlessly with any S3 video chip. I pipe in camcorder, C/Ku band satellite and use the tuner occasionally for local broadcast TV stuff. THE STB TV/PCI comes with Win95 software but I have found the FXTV FreeBSD version to be just as good. -- Al Scott Nelson wrote: > > I am in the process of deciding what kind of computer to buy and what > features I need. I'm looking at the Gateway, Micron, and Dell. Because > we have children, I think I'd like to have a tuner card so the kids can > capture images from the camcorder, satellite dish, etc. I know nothing > about tuner cards so I need to know what to look for, what software I > need, etc. It seems that only Gateway offers a tuner card. Can anyone > give me some feedback? > > Thanks From owner-freebsd-multimedia Wed Oct 8 09:56:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA29766 for multimedia-outgoing; Wed, 8 Oct 1997 09:56:00 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from galileo.ravel.ufrj.br (galileo.ravel.ufrj.br [146.164.32.68]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA29742 for ; Wed, 8 Oct 1997 09:55:48 -0700 (PDT) (envelope-from rodolfo@galileo.ravel.ufrj.br) Received: (from rodolfo@localhost) by galileo.ravel.ufrj.br (8.8.7/8.8.7) id NAA00417; Wed, 8 Oct 1997 13:53:18 -0300 (EST) From: Rodolfo Heitor Gevaerd de Faria Message-Id: <199710081653.NAA00417@galileo.ravel.ufrj.br> Subject: Re: snd971007.tgz In-Reply-To: <199710071553.QAA08762@labinfo.iet.unipi.it> from Luigi Rizzo at "Oct 7, 97 04:53:14 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Wed, 8 Oct 1997 13:53:18 -0300 (EST) Cc: multimedia@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo was saying that, ^ > ^ http://www.iet.unipi.it/~luigi/snd971007.tgz ^ > ^ http://www.iet.unipi.it/~luigi/pnp970924.tgz ^ > ^ > Is this code already in 3.0-current ? ^ ^ only the pnp code. ^ ^ > I'm trying to put an SB16 (It's not PnP) to work in a 3.0-current. ^ > Everything works fine except for VAT. ^ ^ for vat to work you need this new version of the code. there are a ^ couple of minor bugs which you will notice when compiling, you need to ^ change the name of a variable called "events" into "rw". ^ ^ Cheers ^ Luigi I've tryed your new version of the drivers and it's really better than the previous one, I don't get the noise in VAT anymore, and I have Full Duplex working just fine. I had only one problem, sometimes I get from VAT: failed to select input failed to set mic volume failed to output level xx ^^This is just the number of the level. Then I have no audio at all, and I have to restart VAT. I'll see if I can trace exactly what I do to get in this condition, I could not force that to occur, it seems to happen after some time. I'm using VAT 4.0b2 with your patch for audio-voxware.cc, and 3.0-current cvsuped from cvsup.freebsd.org 3 days ago. Besides that everything seems to be perfect. Rodolfo H G Faria From owner-freebsd-multimedia Wed Oct 8 10:29:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA02446 for multimedia-outgoing; Wed, 8 Oct 1997 10:29:52 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA02437 for ; Wed, 8 Oct 1997 10:29:46 -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 RAA11043; Wed, 8 Oct 1997 17:11:09 +0100 From: Luigi Rizzo Message-Id: <199710081611.RAA11043@labinfo.iet.unipi.it> Subject: Re: snd971007.tgz To: rodolfo@ravel.ufrj.br (Rodolfo Heitor Gevaerd de Faria) Date: Wed, 8 Oct 1997 17:11:09 +0100 (MET) Cc: multimedia@freebsd.org In-Reply-To: <199710081653.NAA00417@galileo.ravel.ufrj.br> from "Rodolfo Heitor Gevaerd de Faria" at Oct 8, 97 01:52:59 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I've tryed your new version of the drivers and it's really better > than the previous one, I don't get the noise in VAT anymore, and > I have Full Duplex working just fine. > > I had only one problem, sometimes I get from VAT: > > failed to select input > failed to set mic volume > failed to output level xx > ^^This is just the number of the level. this happens when vat decides to release the audio device and somehow forgets to reopen the mixer device when reconnecting to the audio thing. should be easy to fix in audio-voxware.cc -- or click on 'Keep audio' button on the vat window. > Besides that everything seems to be perfect. glad to hear that Cheers Luigi From owner-freebsd-multimedia Wed Oct 8 13:18:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA12115 for multimedia-outgoing; Wed, 8 Oct 1997 13:18:41 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (jonny@cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA12108 for ; Wed, 8 Oct 1997 13:18:35 -0700 (PDT) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id SAA22480; Wed, 8 Oct 1997 18:16:56 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199710082016.SAA22480@gaia.coppe.ufrj.br> Subject: Re: [video] tuner input format issues In-Reply-To: <19971007205057.36136@ct.picker.com> from Randall Hopper at "Oct 7, 97 08:50:57 pm" To: rhh@ct.picker.com (Randall Hopper) Date: Wed, 8 Oct 1997 18:16:56 -0200 (EDT) Cc: jonny@coppe.ufrj.br, hasty@rah.star-gate.com, multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Randall Hopper) // Jonny, your patches applied without a hitch. Thanks. Indeed, after sending them I found some other missing modifications. They are mostly related to X widgets interface, so I think you should already have seen them. // As I was merging them in though, several issues related to format selection // occurred to me. // // First, I'm assuming that selecting anything but NTSC/M, NTSC/J, or PAL/M on // a non-NTSC tuner isn't really a valid thing to do. Similarly for selecting // the three above types on, say, a Temic or Philips PAL tuner. And is // anything but SECAM valid on a Philips SECAM tuner? You are right, but I think you could still insert video through the RCA conector. Probably a very rare condition, but possible. My original project was to select just between PAL/M and NTSC, but the chip interface was so easy... :) // Seems what we need is a driver ioctl to return the supported input formats // for the installed tuner. Apps like Fxtv could use this to suppress GUI and // resource file selection of these invalid input formats. Some other // tuner-specific info would be useful in the return struct for this new // "tuner capabilities" ioctl as well: max capture geometry (640x480 or // 768x576) and max FPS (30 or 25). The latter two would let fxtv get rid of // these hard-coded FIXME values that are input-format specific. // // I'd add this ioctl myself if I knew all the input-format capabilities of // each tuner. If you know (Jonny, or anyone), fill me in and I'll cook the // driver patch. I also don't know (yet). But with my comments above, maybe this is not desirable, is it ? // Second, I disabled the selectability of the "AUTO" input format. I think I was thinking about that too. Mostly because auto does not work for me, since it thinks my TV is NTSC and not PAL/M. :) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Wed Oct 8 17:22:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25245 for multimedia-outgoing; Wed, 8 Oct 1997 17:22:31 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA25240 for ; Wed, 8 Oct 1997 17:22:26 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Wed, 8 Oct 1997 20:21:18 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA20220; Wed, 8 Oct 97 20:21:11 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA17965; Wed, 8 Oct 1997 20:17:05 -0400 Message-Id: <19971008201705.40619@ct.picker.com> Date: Wed, 8 Oct 1997 20:17:05 -0400 From: Randall Hopper To: Joao Carlos Mendes Luis Cc: hasty@rah.star-gate.com, multimedia@FreeBSD.ORG Subject: Re: [video] tuner input format issues References: <19971007205057.36136@ct.picker.com> <199710082016.SAA22480@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <199710082016.SAA22480@gaia.coppe.ufrj.br>; from Joao Carlos Mendes Luis on Wed, Oct 08, 1997 at 06:16:56PM -0200 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Joao Carlos Mendes Luis: |Indeed, after sending them I found some other missing modifications. |They are mostly related to X widgets interface, so I think you should |already have seen them. I might have, but you might give me a clue just as a double-check. |// First, I'm assuming that selecting anything but NTSC/M, NTSC/J, or |// PAL/M on a non-NTSC tuner isn't really a valid thing to do. Similarly |// for selecting the three above types on, say, a Temic or Philips PAL |// tuner. And is anything but SECAM valid on a Philips SECAM tuner? | |You are right, but I think you could still insert video through the RCA |conector. Probably a very rare condition, but possible. ... |// I'd add this ioctl myself if I knew all the input-format capabilities of |// each tuner. If you know (Jonny, or anyone), fill me in and I'll cook the |// driver patch. | |I also don't know (yet). But with my comments above, maybe this is not |desirable, is it ? Yeah, I think it still would be useful. When on the tuner input, it'd be good to grey-out the choices not supported by the tuner. These wouldn't be greyed out when the selected input was the RCA jacks since the tuner wouldn't be configured then (or at least "shouldn't" I'd think). When on the tuner, this would prevent bogus attempts to configure NTSC tuners for PAL625 formats, and vice versa. Also, for tuner or RCA input, it would be nice to get the 640x480x30 and 768x576x25 hard-coded values out of the app and pull them from the driver per input format. Randall From owner-freebsd-multimedia Wed Oct 8 19:07:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA00574 for multimedia-outgoing; Wed, 8 Oct 1997 19:07:38 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br (jonny@cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA00565 for ; Wed, 8 Oct 1997 19:07:31 -0700 (PDT) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id AAA28073; Thu, 9 Oct 1997 00:07:07 -0200 (EDT) From: Joao Carlos Mendes Luis Message-Id: <199710090207.AAA28073@gaia.coppe.ufrj.br> Subject: Re: [video] tuner input format issues In-Reply-To: <19971008201705.40619@ct.picker.com> from Randall Hopper at "Oct 8, 97 08:17:05 pm" To: rhh@ct.picker.com (Randall Hopper) Date: Thu, 9 Oct 1997 00:07:07 -0200 (EDT) Cc: jonny@coppe.ufrj.br, hasty@rah.star-gate.com, multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Randall Hopper) // Joao Carlos Mendes Luis: // |Indeed, after sending them I found some other missing modifications. // |They are mostly related to X widgets interface, so I think you should // |already have seen them. // // I might have, but you might give me a clue just as a double-check. Ok. I'll send you (priately) the patches against my last sources when I get home again. // |// First, I'm assuming that selecting anything but NTSC/M, NTSC/J, or // |// PAL/M on a non-NTSC tuner isn't really a valid thing to do. Similarly // |// for selecting the three above types on, say, a Temic or Philips PAL // |// tuner. And is anything but SECAM valid on a Philips SECAM tuner? // // Yeah, I think it still would be useful. When on the tuner input, it'd be // good to grey-out the choices not supported by the tuner. These wouldn't be // greyed out when the selected input was the RCA jacks since the tuner // wouldn't be configured then (or at least "shouldn't" I'd think). When // on the tuner, this would prevent bogus attempts to configure NTSC tuners // for PAL625 formats, and vice versa. I don't know enough about PAL625 formats or Philips tuners to be sure. But I think that the trick with PAL/M and NTSC just worked because the tuner is working just as a frequency converter and an audio tuner. The Phase Alternate Line operation and the Chroma Carrier are being decoded by the bt848 chip. In theory, *if* the bandwidth for PAL625 is the same as NTSC525, *and* the audio carrier is at the same offset, it would work as a PAL tuner too. But this is improbable, or it would not be called a NTSC tuner. :) So let's stop mind melting and get back to serious work... :))))) // Also, for tuner or RCA input, it would be nice to get the 640x480x30 and // 768x576x25 hard-coded values out of the app and pull them from the driver // per input format. How would it know the input's size ? I think that's what IFORM_AUTO is for. So the right way of doing this would be to set the input to auto mode, wait for sync, and read some status register to find which mode has been chosen. I think vic does this, since it gives this warning when my camera is turned off: vic: meteor sees no signal(1)-using ntsc. Maybe Amancio is better suited to give you a help on this topic. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Wed Oct 8 19:31:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA01508 for multimedia-outgoing; Wed, 8 Oct 1997 19:31:19 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA01502 for ; Wed, 8 Oct 1997 19:31:17 -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.7/8.8.5) with ESMTP id TAA09015; Wed, 8 Oct 1997 19:30:59 -0700 (PDT) Message-Id: <199710090230.TAA09015@rah.star-gate.com> To: Joao Carlos Mendes Luis cc: rhh@ct.picker.com (Randall Hopper), multimedia@FreeBSD.ORG Subject: Re: [video] tuner input format issues In-reply-to: Your message of "Thu, 09 Oct 1997 00:07:07 -0200." <199710090207.AAA28073@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Oct 1997 19:30:59 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From a driver stand point of view , it needs a mechanism for selecting the video format in case that the auto feature fails to detect the proper video format. I am surprised that I didn't originally provided such API. Amancio >From The Desk Of Joao Carlos Mendes Luis : > #define quoting(Randall Hopper) > // Joao Carlos Mendes Luis: > // |Indeed, after sending them I found some other missing modifications. > // |They are mostly related to X widgets interface, so I think you should > // |already have seen them. > // > // I might have, but you might give me a clue just as a double-check. > > Ok. I'll send you (priately) the patches against my last sources when > I get home again. > > // |// First, I'm assuming that selecting anything but NTSC/M, NTSC/J, or > // |// PAL/M on a non-NTSC tuner isn't really a valid thing to do. Similarl y > // |// for selecting the three above types on, say, a Temic or Philips PAL > // |// tuner. And is anything but SECAM valid on a Philips SECAM tuner? > // > // Yeah, I think it still would be useful. When on the tuner input, it'd be > // good to grey-out the choices not supported by the tuner. These wouldn't b e > // greyed out when the selected input was the RCA jacks since the tuner > // wouldn't be configured then (or at least "shouldn't" I'd think). When > // on the tuner, this would prevent bogus attempts to configure NTSC tuners > // for PAL625 formats, and vice versa. > > I don't know enough about PAL625 formats or Philips tuners to be sure. > But I think that the trick with PAL/M and NTSC just worked because the > tuner is working just as a frequency converter and an audio tuner. > The Phase Alternate Line operation and the Chroma Carrier are being > decoded by the bt848 chip. > > In theory, *if* the bandwidth for PAL625 is the same as NTSC525, *and* > the audio carrier is at the same offset, it would work as a PAL tuner > too. But this is improbable, or it would not be called a NTSC tuner. :) > So let's stop mind melting and get back to serious work... :))))) > > // Also, for tuner or RCA input, it would be nice to get the 640x480x30 and > // 768x576x25 hard-coded values out of the app and pull them from the driver > // per input format. > > How would it know the input's size ? I think that's what IFORM_AUTO is > for. So the right way of doing this would be to set the input to auto > mode, wait for sync, and read some status register to find which mode > has been chosen. I think vic does this, since it gives this warning when > my camera is turned off: > > vic: meteor sees no signal(1)-using ntsc. > > Maybe Amancio is better suited to give you a help on this topic. > > Jonny > > -- > Joao Carlos Mendes Luis jonny@gta.ufrj.br > +55 21 290-4698 jonny@coppe.ufrj.br > Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI > PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-multimedia Thu Oct 9 09:36:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA10670 for multimedia-outgoing; Thu, 9 Oct 1997 09:36:58 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA10548 for ; Thu, 9 Oct 1997 09:35:52 -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 QAA13337 for multimedia@freebsd.org; Thu, 9 Oct 1997 16:19:31 +0100 From: Luigi Rizzo Message-Id: <199710091519.QAA13337@labinfo.iet.unipi.it> Subject: quickcam performance... To: multimedia@freebsd.org Date: Thu, 9 Oct 1997 16:19:31 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I am trying to use vic with the quickcam on the parallel port using /dev/qcam, and performance is just horrible. I don't remember it so bad when using the user-space library on a much slower system, so there must be something wrong... Is there any known performance problem with /dev/qcam , or some configuration problem on my side ? I think I am using basic (unidirectional) parallel port to access the camera, as I was with the user-space library... and I am running 2.2.1 Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ From owner-freebsd-multimedia Thu Oct 9 18:01:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA12074 for multimedia-outgoing; Thu, 9 Oct 1997 18:01:35 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from w2xo.pgh.pa.us (w2xo.pgh.pa.us [206.210.70.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA12066 for ; Thu, 9 Oct 1997 18:01:31 -0700 (PDT) (envelope-from durham@w2xo.pgh.pa.us) Received: from w2xo.pgh.pa.us (localhost [127.0.0.1]) by w2xo.pgh.pa.us (8.8.5/8.8.4) with ESMTP id VAA21360 for ; Thu, 9 Oct 1997 21:01:48 -0400 (EDT) Message-ID: <343D7E7B.AC63BC9@w2xo.pgh.pa.us> Date: Thu, 09 Oct 1997 21:01:48 -0400 From: Jim Durham Organization: Dis- X-Mailer: Mozilla 4.02b7 [en] (X11; I; FreeBSD 3.0-970618-SNAP i386) MIME-Version: 1.0 To: FreeBSD-multimedia@freebsd.org Subject: Realaudio encoder line in problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This may have been discussed before, but I didn't see it. On my 3.0-SNAP system, the RealAudio encoder 3.0 will not record sound directly from the line or mic inputs on my Sounblaster 16. Attempts to do so result in an immediate core dump. In order to produce a .ra file, I have to first make a raw file, then feed the raw file through raenc. Is this a known bug? I got no response from the RealAudio folks. Thanks.. -- Jim Durham From owner-freebsd-multimedia Fri Oct 10 12:34:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA02583 for multimedia-outgoing; Fri, 10 Oct 1997 12:34:09 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from scheme.xcf.berkeley.edu (scheme.XCF.Berkeley.EDU [128.32.43.207]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA02574 for ; Fri, 10 Oct 1997 12:34:03 -0700 (PDT) (envelope-from nordwick@scheme.xcf.berkeley.edu) Received: (qmail 15694 invoked by uid 27268); 10 Oct 1997 19:25:38 -0000 Date: 10 Oct 1997 19:25:38 -0000 Message-ID: <19971010192538.15693.qmail@scheme.xcf.berkeley.edu> From: Jason Alan Nordwick MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: multimedia@freebsd.org Subject: crystal audio chips ... X-Mailer: VM 6.32 under Emacs 19.34.1 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am only on -questions, so i need to be Cc'ed on this, please. What driver do i need to enable in the kernel ? and what device files do i need to make ? I was basically trying to get RealAudio up, and was having problems. I am using a snap of 3.0 from February. thanks Jay -- Join the FreeBSD Revolution! mailto:nordwick@xcf.berkeley.edu http://xcf.berkeley.edu/~nordwick From owner-freebsd-multimedia Fri Oct 10 13:31:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA06210 for multimedia-outgoing; Fri, 10 Oct 1997 13:31:07 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from feith1.FEITH.COM (feith1.FEITH.COM [192.251.93.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA06199 for ; Fri, 10 Oct 1997 13:31:03 -0700 (PDT) (envelope-from john@jwlab.feith.com) Received: from jwlab.FEITH.COM by feith1.FEITH.COM (SMI-8.6/SMI-SVR4/Feith Feb 13 1997) id QAA05123; Fri, 10 Oct 1997 16:30:28 -0400 Received: by jwlab.FEITH.COM (SMI-8.6/SMI-SVR4) id QAA14454; Fri, 10 Oct 1997 16:30:27 -0400 Date: Fri, 10 Oct 1997 16:30:27 -0400 From: john@jwlab.feith.com (John Wehle) Message-Id: <199710102030.QAA14454@jwlab.FEITH.COM> To: multimedia@freebsd.org Subject: Patch to FreeBSD 3.0 Ensoniq Soundscape device driver Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The enclosed patch adds support for the Ensoniq Soundscape to FreeBSD. It has only been lightly tested using an Ensoniq SoundScape Elite, however so far the only problems which have turned up are some unnecesary snaps in the sound when closing the device. The snaps seem to be due to existing bugs in the ad1848 driver (they're caused by ad1848_halt entering MCE which it doesn't need to when just shutting down DMA and clearing the interrupt status according to the sample code from Ensoniq). Sincerely, John Wehle ------------------8<------------------------8<------------------------ *** sys/i386/conf/files.i386.ORIGINAL Sun Sep 21 17:34:31 1997 --- sys/i386/conf/files.i386 Thu Oct 9 16:04:41 1997 *************** *** 210,215 **** --- 210,219 ---- i386/isa/sound/midibuf.c optional uart device-driver i386/isa/sound/trix.c optional trix device-driver i386/isa/sound/sscape.c optional sscape device-driver + i386/isa/sound/ad1848.c optional sscape device-driver + i386/isa/sound/mpu401.c optional sscape device-driver + i386/isa/sound/midi_synth.c optional sscape device-driver + i386/isa/sound/midibuf.c optional sscape device-driver i386/isa/sound/awe_wave.c optional awe device-driver i386/isa/spigot.c optional spigot device-driver i386/isa/spkr.c optional speaker device-driver *** sys/i386/conf/LINT.ORIGINAL Wed Oct 8 20:53:05 1997 --- sys/i386/conf/LINT Fri Oct 10 16:01:12 1997 *************** *** 986,991 **** --- 986,993 ---- # gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX # gusxvi: Gravis Ultrasound 16-bit PCM (do not use) # mss: Microsoft Sound System + # sscape: Ensoniq Soundscape MIDI interface + # sscape_mss: Ensoniq Soundscape PCM (requires sscape) # opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum # uart: stand-alone 6850 UART for MIDI # mpu: Roland MPU-401 stand-alone card *************** *** 1040,1052 **** device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr #device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr device opl0 at isa? port 0x388 device mpu0 at isa? port 0x330 irq 6 drq 0 device uart0 at isa? port 0x330 irq 5 vector "m6850intr" # More undocumented sound devices with bogus configurations for linting. # broken - #device sscape0 at isa? port 0x330 irq 6 drq 0 #device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr # Luigi's snd code --- 1042,1055 ---- device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr #device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr + device sscape0 at isa? port 0x330 irq 9 drq 0 vector sscapeintr + device sscape_mss0 at isa? port 0x534 irq 5 drq 1 vector sscape_mssintr device opl0 at isa? port 0x388 device mpu0 at isa? port 0x330 irq 6 drq 0 device uart0 at isa? port 0x330 irq 5 vector "m6850intr" # More undocumented sound devices with bogus configurations for linting. # broken #device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr # Luigi's snd code *** sys/i386/i386/userconfig.c.ORIGINAL Thu Sep 18 04:00:48 1997 --- sys/i386/i386/userconfig.c Thu Oct 9 00:08:02 1997 *************** *** 289,294 **** --- 289,296 ---- {"mss", "Microsoft Sound System", 0, CLS_MMEDIA}, {"opl", "OPL-2/3 FM, Soundblaster, SBPro, SB16, ProAudio Spectrum",0,CLS_MMEDIA}, {"mpu", "Roland MPU401 MIDI", 0, CLS_MMEDIA}, + {"sscape", "Ensoniq Soundscape MIDI interface", 0, CLS_MMEDIA}, + {"sscape_mss", "Ensoniq Soundscape PCM", 0, CLS_MMEDIA}, {"uart", "6850 MIDI UART", 0, CLS_MMEDIA}, {"pca", "PC speaker PCM audio driver", FLG_FIXED, CLS_MMEDIA}, {"ctx", "Coretex-I frame grabber", 0, CLS_MMEDIA}, *** sys/i386/isa/sound/sscape.c.ORIGINAL Tue Sep 10 04:26:07 1996 --- sys/i386/isa/sound/sscape.c Fri Oct 10 13:16:25 1997 *************** *** 33,38 **** --- 33,40 ---- #include + #define EXCLUDE_NATIVE_PCM + /* * I/O ports */ *************** *** 96,101 **** --- 98,105 ---- {0}; static struct sscape_info *devc = &dev_info; + static int sscape_mss_irq = -1; + DEFINE_WAIT_QUEUE (sscape_sleeper, sscape_sleep_flag); #ifdef REVEAL_SPEA *************** *** 489,496 **** int resid; DO_SLEEP (sscape_sleeper, sscape_sleep_flag, 1); clear_dma_ff (devc->dma); ! if ((resid = get_dma_residue (devc->dma)) == 0) done = 1; } --- 493,507 ---- int resid; DO_SLEEP (sscape_sleeper, sscape_sleep_flag, 1); + #if defined(linux) clear_dma_ff (devc->dma); ! resid = get_dma_residue (devc->dma); ! #elif defined(__FreeBSD__) ! resid = isa_dmastatus (devc->dma); ! #else ! # error This routine is not valid for this OS. ! #endif ! if (resid == 0) done = 1; } *************** *** 881,887 **** case 5: /* Don't destroy CD-ROM DMA config bits (0xc0) */ sscape_write (devc, i, (regs[i] & 0x3f) | ! (sscape_read (devc, i) & 0x0c)); break; case 6: /* CD-ROM config. Don't touch. */ --- 892,898 ---- case 5: /* Don't destroy CD-ROM DMA config bits (0xc0) */ sscape_write (devc, i, (regs[i] & 0x3f) | ! (sscape_read (devc, i) & 0xc0)); break; case 6: /* CD-ROM config. Don't touch. */ *************** *** 1065,1070 **** --- 1076,1083 ---- #endif + printk (" "); + /* * Setup the DMA polarity. */ *************** *** 1092,1098 **** if (hw_config->irq == devc->irq) printk ("SoundScape: Warning! The WSS mode can't share IRQ with MIDI\n"); ! ad1848_init ("SoundScape", hw_config->io_base, hw_config->irq, hw_config->dma, hw_config->dma); --- 1105,1113 ---- if (hw_config->irq == devc->irq) printk ("SoundScape: Warning! The WSS mode can't share IRQ with MIDI\n"); ! sscape_mss_irq = hw_config->irq; ! ! ad1848_init ("MS Sound System", hw_config->io_base, hw_config->irq, hw_config->dma, hw_config->dma); *************** *** 1115,1120 **** --- 1130,1141 ---- #endif return mem_start; + } + + void + sscape_mssintr(INT_HANDLER_PARMS(unit, dummy)) + { + ad1848_interrupt(INT_HANDLER_CALL (sscape_mss_irq)); } #endif *** sys/i386/isa/sound/soundcard.c.ORIGINAL Sun Sep 21 17:43:35 1997 --- sys/i386/isa/sound/soundcard.c Wed Oct 8 23:10:11 1997 *************** *** 90,95 **** --- 90,97 ---- struct isa_driver gusmaxdriver = {sndprobe, sndattach, "gusmax"}; struct isa_driver uartdriver = {sndprobe, sndattach, "uart"}; struct isa_driver mssdriver = {sndprobe, sndattach, "mss"}; + struct isa_driver sscapedriver = {sndprobe, sndattach, "sscape"}; + struct isa_driver sscape_mssdriver = {sndprobe, sndattach, "sscape_mss"}; #ifdef PC98 struct isa_driver pcmdriver = {sndprobe, sndattach, "pcm"}; #endif *************** *** 278,283 **** --- 280,289 ---- return(SNDCARD_GUS16); else if(driver == &mssdriver) return(SNDCARD_MSS); + else if(driver == &sscapedriver) + return(SNDCARD_SSCAPE); + else if(driver == &sscape_mssdriver) + return(SNDCARD_SSCAPE_MSS); #ifdef PC98 else if(driver == &pcmdriver) return(SNDCARD_PCM86); *** sys/i386/isa/sound/local.h.ORIGINAL Fri Nov 15 13:35:30 1996 --- sys/i386/isa/sound/local.h Thu Oct 9 16:01:13 1997 *************** *** 55,61 **** #if NGUS == 0 && !defined(EXCLUDE_GUSMAX) # define EXCLUDE_GUSMAX ! # if defined(EXCLUDE_GUS16) && defined(EXCLUDE_MSS) && !defined(EXCLUDE_AD1848) # define EXCLUDE_AD1848 # endif #else --- 55,61 ---- #if NGUS == 0 && !defined(EXCLUDE_GUSMAX) # define EXCLUDE_GUSMAX ! # if defined(EXCLUDE_GUS16) && defined(EXCLUDE_MSS) && defined(EXCLUDE_SSCAPE) && !defined(EXCLUDE_AD1848) # define EXCLUDE_AD1848 # endif #else *************** *** 112,118 **** /* nothing but a sequencer (Adlib/OPL) ? */ #if NGUS == 0 && NSB == 0 && NSBMIDI == 0 && NPAS == 0 && NMPU == 0 && \ ! NUART == 0 && NMSS == 0 #ifndef EXCLUDE_MIDI #define EXCLUDE_MIDI #endif --- 112,118 ---- /* nothing but a sequencer (Adlib/OPL) ? */ #if NGUS == 0 && NSB == 0 && NSBMIDI == 0 && NPAS == 0 && NMPU == 0 && \ ! NUART == 0 && NMSS == 0 && NSSCAPE == 0 #ifndef EXCLUDE_MIDI #define EXCLUDE_MIDI #endif *************** *** 125,131 **** /* nothing but a Midi (MPU/UART) ? */ #if NGUS == 0 && NSB == 0 && NSBMIDI == 0 && NPAS == 0 && NOPL == 0 && \ ! NMSS == 0 /* MPU depends on sequencer timer */ #if NMPU == 0 && !defined(EXCLUDE_SEQUENCER) #define EXCLUDE_SEQUENCER --- 125,131 ---- /* nothing but a Midi (MPU/UART) ? */ #if NGUS == 0 && NSB == 0 && NSBMIDI == 0 && NPAS == 0 && NOPL == 0 && \ ! NMSS == 0 && NSSCAPE == 0 /* MPU depends on sequencer timer */ #if NMPU == 0 && !defined(EXCLUDE_SEQUENCER) #define EXCLUDE_SEQUENCER ------------------------------------------------------------------------- | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | | John Wehle | Fax: 1-215-540-5495 | | ------------------------------------------------------------------------- From owner-freebsd-multimedia Fri Oct 10 13:57:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA08067 for multimedia-outgoing; Fri, 10 Oct 1997 13:57:51 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from zed.ludd.luth.se (zed.ludd.luth.se [130.240.16.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA08055 for ; Fri, 10 Oct 1997 13:57:45 -0700 (PDT) (envelope-from gozer@ludd.luth.se) Received: from father.ludd.luth.se (gozer@father.ludd.luth.se [130.240.16.18]) by zed.ludd.luth.se (8.8.5/8.8.5) with SMTP id VAA04355 for ; Fri, 10 Oct 1997 21:57:32 +0100 Date: Fri, 10 Oct 1997 22:57:31 +0200 (MET DST) From: Johan Larsson To: FreeBSD Multimedia Subject: guspnp20.tar.gz Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk When compiling the kernel with the guspnp20 i get: cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DSBC_IRQ=5 -DINET -DMSDOSFS -DNFS -DFFS -DCOMPAT_43 -DKERNEL -include opt_global.h -c vers.c loading kernel isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment *** Error code 1 Stop. Have i missed something in the list or what? :-) Johan -- * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * * finger gozer@mother.ludd.luth.se for more information... +-+-+-+ * * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * From owner-freebsd-multimedia Fri Oct 10 14:57:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA12963 for multimedia-outgoing; Fri, 10 Oct 1997 14:57:44 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA12955 for ; Fri, 10 Oct 1997 14:57:38 -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.7/8.8.5) with ESMTP id OAA05013; Fri, 10 Oct 1997 14:57:16 -0700 (PDT) Message-Id: <199710102157.OAA05013@rah.star-gate.com> To: Johan Larsson cc: FreeBSD Multimedia Subject: Re: guspnp20.tar.gz In-reply-to: Your message of "Fri, 10 Oct 1997 22:57:31 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Oct 1997 14:57:16 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Which OS are you running? Amancio >From The Desk Of Johan Larsson : > When compiling the kernel with the guspnp20 i get: > > cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -nostdinc -I- -I. -I../.. -I../../../include -DSBC_IRQ=5 -DINET -DMSDOSFS > -DNFS -DFFS -DCOMPAT_43 -DKERNEL -include opt_global.h -c vers.c > loading kernel > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > *** Error code 1 > > Stop. > > Have i missed something in the list or what? :-) > > Johan > > -- > * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * > * finger gozer@mother.ludd.luth.se for more information... +-+-+-+ * > * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * > From owner-freebsd-multimedia Fri Oct 10 14:59:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA13147 for multimedia-outgoing; Fri, 10 Oct 1997 14:59:22 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from zed.ludd.luth.se (zed.ludd.luth.se [130.240.16.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA13139 for ; Fri, 10 Oct 1997 14:59:17 -0700 (PDT) (envelope-from gozer@ludd.luth.se) Received: from father.ludd.luth.se (gozer@father.ludd.luth.se [130.240.16.18]) by zed.ludd.luth.se (8.8.5/8.8.5) with SMTP id WAA06784; Fri, 10 Oct 1997 22:59:03 +0100 Date: Fri, 10 Oct 1997 23:59:02 +0200 (MET DST) From: Johan Larsson To: Amancio Hasty cc: FreeBSD Multimedia Subject: Re: guspnp20.tar.gz In-Reply-To: <199710102157.OAA05013@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You mean version? -current, but i haven't have time lately to followup on the -current list, is 300 mails back. :) Johan On Fri, 10 Oct 1997, Amancio Hasty wrote: > Which OS are you running? > > Amancio > > >From The Desk Of Johan Larsson : > > When compiling the kernel with the guspnp20 i get: > > > > cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > > -nostdinc -I- -I. -I../.. -I../../../include -DSBC_IRQ=5 -DINET -DMSDOSFS > > -DNFS -DFFS -DCOMPAT_43 -DKERNEL -include opt_global.h -c vers.c > > loading kernel > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > *** Error code 1 > > > > Stop. > > > > Have i missed something in the list or what? :-) > > > > Johan > > > > -- > > * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * > > * finger gozer@mother.ludd.luth.se for more information... +-+-+-+ * > > * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * > > > > -- * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * * finger gozer@mother.ludd.luth.se for more information... +-+-+-+ * * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * From owner-freebsd-multimedia Fri Oct 10 15:07:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA13538 for multimedia-outgoing; Fri, 10 Oct 1997 15:07:12 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA13531 for ; Fri, 10 Oct 1997 15:07:05 -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.7/8.8.5) with ESMTP id PAA05088; Fri, 10 Oct 1997 15:06:52 -0700 (PDT) Message-Id: <199710102206.PAA05088@rah.star-gate.com> To: Johan Larsson cc: FreeBSD Multimedia Subject: Re: guspnp20.tar.gz In-reply-to: Your message of "Fri, 10 Oct 1997 23:59:02 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Oct 1997 15:06:52 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thats fine and you probably have not miss much on that list. Try to build the OS without the sound driver and see if you get the same error. I suspect that you will. Amancio >From The Desk Of Johan Larsson : > You mean version? -current, but i haven't have time lately to followup on > the -current list, is 300 mails back. :) > > Johan > > On Fri, 10 Oct 1997, Amancio Hasty wrote: > > > Which OS are you running? > > > > Amancio > > > > >From The Desk Of Johan Larsson : > > > When compiling the kernel with the guspnp20 i get: > > > > > > cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit h > > > -nostdinc -I- -I. -I../.. -I../../../include -DSBC_IRQ=5 -DINET -DMSDOSFS > > > -DNFS -DFFS -DCOMPAT_43 -DKERNEL -include opt_global.h -c vers.c > > > loading kernel > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > *** Error code 1 > > > > > > Stop. > > > > > > Have i missed something in the list or what? :-) > > > > > > Johan > > > > > > -- > > > * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * > > > * finger gozer@mother.ludd.luth.se for more information... +-+-+-+ * > > > * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * > > > > > > > > > -- > * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * > * finger gozer@mother.ludd.luth.se for more information... +-+-+-+ * > * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * > From owner-freebsd-multimedia Fri Oct 10 16:21:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA17265 for multimedia-outgoing; Fri, 10 Oct 1997 16:21:48 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from foxhound.cisco.com (foxhound.cisco.com [171.69.192.161]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA17257 for ; Fri, 10 Oct 1997 16:21:40 -0700 (PDT) (envelope-from brainey@cisco.com) Received: from brainey-ss20.cisco.com (brainey-ss20.cisco.com [171.69.193.41]) by foxhound.cisco.com (8.8.4-Cisco.1/8.6.5) with ESMTP id QAA05701; Fri, 10 Oct 1997 16:20:32 -0700 (PDT) Received: (brainey@localhost) by brainey-ss20.cisco.com (8.6.12/CISCO.WS.1.1) id QAA10034; Fri, 10 Oct 1997 16:20:32 -0700 Date: Fri, 10 Oct 1997 16:20:32 -0700 Message-Id: <199710102320.QAA10034@brainey-ss20.cisco.com> From: Bill Rainey To: hasty@rah.star-gate.com CC: gozer@ludd.luth.se, freebsd-multimedia@FreeBSD.ORG In-reply-to: <199710102206.PAA05088@rah.star-gate.com> (message from Amancio Hasty on Fri, 10 Oct 1997 15:06:52 -0700) Subject: Re: guspnp20.tar.gz Reply-to: brainey@cisco.com Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I believe you'll need to update your config program - some one added a new device table and config is the one that generates it (with one null entry). Bill Rainey > You mean version? -current, but i haven't have time lately to followup on > the -current list, is 300 mails back. :) > > Johan > > On Fri, 10 Oct 1997, Amancio Hasty wrote: > > > Which OS are you running? > > > > Amancio > > > > >From The Desk Of Johan Larsson : > > > When compiling the kernel with the guspnp20 i get: > > > > > > cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit h > > > -nostdinc -I- -I. -I../.. -I../../../include -DSBC_IRQ=5 -DINET -DMSDOSFS > > > -DNFS -DFFS -DCOMPAT_43 -DKERNEL -include opt_global.h -c vers.c > > > loading kernel > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > isa.o: Undefined symbol `_isa_devtab_cam' referenced from text segment > > > *** Error code 1 > > > > > > Stop. > > > > > > Have i missed something in the list or what? :-) > > > > > > Johan From owner-freebsd-multimedia Fri Oct 10 23:41:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA03776 for multimedia-outgoing; Fri, 10 Oct 1997 23:41:30 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from bachue.usc.unal.edu.co ([168.176.3.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA03765 for ; Fri, 10 Oct 1997 23:41:26 -0700 (PDT) (envelope-from giffunip@asme.org) Received: from unalmodem.usc.unal.edu.co ([168.176.3.33]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.0) with SMTP id AAA23641 for ; Sat, 11 Oct 1997 01:44:19 +0500 Message-ID: <343F3978.4444@asme.org> Date: Sat, 11 Oct 1997 01:31:52 -0700 From: "Pedro Giffuni S," Organization: Ingenieria Integral Ltda. X-Mailer: Mozilla 3.01Gold [it] (Win16; I) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Re: Patch to FreeBSD 3.0 Ensoniq Soundscape device driver References: <199710102030.QAA14454@jwlab.FEITH.COM> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk FWIW, Analog Devices' datasheets are available at http://www.analog.com/ . I was curious about the AD1848 (which is discontinued) and they sent me a hard copy of the replacement (AD1849K) free of charge. cheers, Pedro John Wehle wrote: > > The enclosed patch adds support for the Ensoniq Soundscape to > FreeBSD. It has only been lightly tested using an Ensoniq > SoundScape Elite, however so far the only problems which have > turned up are some unnecesary snaps in the sound when closing > the device. The snaps seem to be due to existing bugs in the > ad1848 driver (they're caused by ad1848_halt entering MCE which > it doesn't need to when just shutting down DMA and clearing the > interrupt status according to the sample code from Ensoniq). > > Sincerely, > > John Wehle From owner-freebsd-multimedia Sat Oct 11 01:37:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA08647 for multimedia-outgoing; Sat, 11 Oct 1997 01:37:39 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA08642 for ; Sat, 11 Oct 1997 01:37:36 -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.7/8.8.5) with ESMTP id BAA00943 for ; Sat, 11 Oct 1997 01:37:35 -0700 (PDT) Message-Id: <199710110837.BAA00943@rah.star-gate.com> To: multimedia@freebsd.org Subject: ftp://rah.star-gate.com/pub/bt848-yuv.tar.gz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 01:37:35 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This version of the bt848 driver can capture yuv12 frames. The yuv support is preliminary however so far it is proving to be useful. For instance we can now capture yuv12 frames to a single file and feed the file to mpeg_encode as opposed to creating N frame files of type X format . The size of a yuv12 frame is : width*height + (width*height/4)*2 so a frame of size 320x240 has this many bytes: 115200 = 320*240 + (320*240)/4 * 2 The tar ball includes: 1. bt848 driver with yuv12 functionality 2. yuv12capture.c sample program to store frames to a file. It is a very simple program. 3. foo.param mpeg_encode's param file to encode mpeg files. two steps to generate your mpeg file yuv12capture mpeg_encode -float_dct Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA16902 for multimedia-outgoing; Sat, 11 Oct 1997 04:56:59 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from zed.ludd.luth.se (zed.ludd.luth.se [130.240.16.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA16897 for ; Sat, 11 Oct 1997 04:56:53 -0700 (PDT) (envelope-from gozer@ludd.luth.se) Received: from father.ludd.luth.se (gozer@father.ludd.luth.se [130.240.16.18]) by zed.ludd.luth.se (8.8.5/8.8.5) with SMTP id MAA25334; Sat, 11 Oct 1997 12:56:44 +0100 Date: Sat, 11 Oct 1997 13:56:44 +0200 (MET DST) From: Johan Larsson To: Bill Rainey cc: hasty@rah.star-gate.com, freebsd-multimedia@FreeBSD.ORG Subject: Re: guspnp20.tar.gz In-Reply-To: <199710102320.QAA10034@brainey-ss20.cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 10 Oct 1997, Bill Rainey wrote: > > I believe you'll need to update your config program - some one added a > new device table and config is the one that generates it (with one > null entry). That was it :-) Thanks a lot. Johan From owner-freebsd-multimedia Sat Oct 11 06:40:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA19934 for multimedia-outgoing; Sat, 11 Oct 1997 06:40:45 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA19929 for ; Sat, 11 Oct 1997 06:40:41 -0700 (PDT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (uRcD6hJa5q58+EPrFrxwvwBe98DkqWrS@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.7) with ESMTP id PAA22191; Sat, 11 Oct 1997 15:40:18 +0200 (SAT) Received: from greenpeace.grondar.za (YhjTm4gXcDzyG7Crt2yqO4zDutrahSgx@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.7/8.8.7) with ESMTP id PAA28835; Sat, 11 Oct 1997 15:41:21 +0200 (SAT) Message-Id: <199710111341.PAA28835@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: Amancio Hasty cc: multimedia@FreeBSD.ORG Subject: Re: ftp://rah.star-gate.com/pub/guspnp20.tar.gz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 15:41:19 +0200 From: Mark Murray Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty wrote: > > For 3.0-current users: > > Bug fixes for this release: > > 1. utimeout does not compile with the most recent -current This compiles and runs (mostly) nicely. I have 2 observations: 1) The sound channnel mappings are better - now "DSP" controls the dsp, but "FM" controls the cd input line. I haven't yet determined what actually contols the fm channel. Perhaps LINE"? 2) The irritating warble is still there. Starts about a minute into an mpg3, and lasts about 5secs. I have a GUSPNP with 4 megs on board, and a SMP motherboard with 2xp5/200. I am running CURRENT (very current). M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org From owner-freebsd-multimedia Sat Oct 11 10:34:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA28934 for multimedia-outgoing; Sat, 11 Oct 1997 10:34:22 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA28927 for ; Sat, 11 Oct 1997 10:34:18 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sat, 11 Oct 1997 13:33:44 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA21379; Sat, 11 Oct 97 13:33:42 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id NAA09059; Sat, 11 Oct 1997 13:29:38 -0400 Message-Id: <19971011132938.10617@ct.picker.com> Date: Sat, 11 Oct 1997 13:29:38 -0400 From: Randall Hopper To: multimedia@freebsd.org Subject: [video] Fxtv 0.45 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is the tuning and full-screen surfing pleasure version. Just put it up for grabs on the web site: http://multiverse.com/~rhh/fxtv HIGHLIGHTS: Video Window Annotation for changes in Station, Input Device, Tuner Mode, Volume, and Mute should make it more enjoyable to surf when zoomed full-screen. Station IDs will let the PAL (and NTSC) folks come up with their own names for stations (e.g. E1, ITH, FOX, CBS). You can map these IDs to channel numbers or frequencies. Channel number lists are now obsoleted by the more general station lists. (NOTE: See README sections 1.6.1-1.6.2) Video window translations added for changing station (via ID, channel number, or frequency). Should make full-screen surfing of cable or satellite simpler. Japanese cable support from (Hideyuki Suzuki), and Dynamic Input Format Selection (Joao Carlos Mendes Luis). And Direct Video enhancements for moving and stacking the TV window on your desktop. Now when you lower the video window behind another window, Fxtv will continue to blast (using XImages) rather than just turn off. Also, unlike previous versions, Fxtv shouldn't leave any video trash on your desktop after you move it in direct video mode. Note that if you have opaque moves on in your window manager, you'll of course see video stream trails "while" you're moving the Fxtv window, but after you let go, the desktop will be entirely cleaned up. Fxtv also won't stomp on occluding windows anymore. Hope you have fun with it, and let me know if you have any problems. Randall From owner-freebsd-multimedia Sat Oct 11 12:49:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA04188 for multimedia-outgoing; Sat, 11 Oct 1997 12:49:41 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA04180 for ; Sat, 11 Oct 1997 12:49:36 -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.7/8.8.5) with ESMTP id MAA10279; Sat, 11 Oct 1997 12:49:23 -0700 (PDT) Message-Id: <199710111949.MAA10279@rah.star-gate.com> To: Randall Hopper cc: multimedia@FreeBSD.ORG Subject: Re: [video] Fxtv 0.45 In-reply-to: Your message of "Sat, 11 Oct 1997 13:29:38 EDT." <19971011132938.10617@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 12:49:23 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, I like this version a lot 8) Good Job!! Amancio >From The Desk Of Randall Hopper : > This is the tuning and full-screen surfing pleasure version. Just put it > up for grabs on the web site: > > http://multiverse.com/~rhh/fxtv > > HIGHLIGHTS: > > Video Window Annotation for changes in Station, Input Device, Tuner Mode, > Volume, and Mute should make it more enjoyable to surf when zoomed > full-screen. > > Station IDs will let the PAL (and NTSC) folks come up with their own names > for stations (e.g. E1, ITH, FOX, CBS). You can map these IDs to channel > numbers or frequencies. Channel number lists are now obsoleted by > the more general station lists. (NOTE: See README sections 1.6.1-1.6.2) > > Video window translations added for changing station (via ID, channel > number, or frequency). Should make full-screen surfing of cable or > satellite simpler. > > Japanese cable support from (Hideyuki Suzuki), and Dynamic Input Format > Selection (Joao Carlos Mendes Luis). > > And Direct Video enhancements for moving and stacking the TV window on > your desktop. Now when you lower the video window behind another window, > Fxtv will continue to blast (using XImages) rather than just turn off. > Also, unlike previous versions, Fxtv shouldn't leave any video trash on > your desktop after you move it in direct video mode. Note that if you have > opaque moves on in your window manager, you'll of course see video stream > trails "while" you're moving the Fxtv window, but after you let go, the > desktop will be entirely cleaned up. Fxtv also won't stomp on occluding > windows anymore. > > Hope you have fun with it, and let me know if you have any problems. > > Randall From owner-freebsd-multimedia Sat Oct 11 13:19:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05523 for multimedia-outgoing; Sat, 11 Oct 1997 13:19:15 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA05516 for ; Sat, 11 Oct 1997 13:19:10 -0700 (PDT) (envelope-from mark@greenpeace.grondar.za) Received: from greenpeace.grondar.za (ONBMplZjcu1dGNOl3zfQy7vOVlcXSgeo@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.8.7/8.8.7) with ESMTP id WAA22706; Sat, 11 Oct 1997 22:19:16 +0200 (SAT) Received: from greenpeace.grondar.za (8HTDccGqLnLuF+6X4LlfZHBUR6816KVI@localhost [127.0.0.1]) by greenpeace.grondar.za (8.8.7/8.8.7) with ESMTP id WAA09921; Sat, 11 Oct 1997 22:19:05 +0200 (SAT) Message-Id: <199710112019.WAA09921@greenpeace.grondar.za> X-Mailer: exmh version 2.0zeta 7/24/97 To: Amancio Hasty cc: Randall Hopper , multimedia@FreeBSD.ORG Subject: Re: [video] Fxtv 0.45 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 22:19:04 +0200 From: Mark Murray Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Amancio Hasty wrote: > > I like this version a lot 8) Me too! I'll commit the updated port just now. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org From owner-freebsd-multimedia Sat Oct 11 13:31:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05893 for multimedia-outgoing; Sat, 11 Oct 1997 13:31:36 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA05888 for ; Sat, 11 Oct 1997 13:31:32 -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.7/8.8.5) with ESMTP id NAA10499; Sat, 11 Oct 1997 13:31:18 -0700 (PDT) Message-Id: <199710112031.NAA10499@rah.star-gate.com> To: Mark Murray cc: Randall Hopper , multimedia@FreeBSD.ORG Subject: Re: [video] Fxtv 0.45 In-reply-to: Your message of "Sat, 11 Oct 1997 22:19:04 +0200." <199710112019.WAA09921@greenpeace.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 13:31:18 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Imagine this: A consumer walks to an tv/stereo store to purchase a new tv: Sony, Toshiba, Panasonic, FreeBSD/Fxtv Cheers, Amancio >From The Desk Of Mark Murray : > Amancio Hasty wrote: > > > I like this version a lot 8) > > Me too! > > I'll commit the updated port just now. > > M > -- > Mark Murray > Join the anti-SPAM movement: http://www.cauce.org > > From owner-freebsd-multimedia Sat Oct 11 13:52:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA06840 for multimedia-outgoing; Sat, 11 Oct 1997 13:52:23 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA06835 for ; Sat, 11 Oct 1997 13:52:19 -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 UAA01989; Sat, 11 Oct 1997 20:33:14 +0100 From: Luigi Rizzo Message-Id: <199710111933.UAA01989@labinfo.iet.unipi.it> Subject: Re: [video] Fxtv 0.45 To: hasty@rah.star-gate.com (Amancio Hasty) Date: Sat, 11 Oct 1997 20:33:13 +0100 (MET) Cc: mark@grondar.za, rhh@ct.picker.com, multimedia@FreeBSD.ORG In-Reply-To: <199710112031.NAA10499@rah.star-gate.com> from "Amancio Hasty" at Oct 11, 97 01:30:59 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Imagine this: > > A consumer walks to an tv/stereo store to purchase a new tv: > > Sony, Toshiba, Panasonic, FreeBSD/Fxtv I am afraid we would not be competitive in the price. Any chance to make this ROMable :) CHeers Luigi From owner-freebsd-multimedia Sat Oct 11 13:59:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA07185 for multimedia-outgoing; Sat, 11 Oct 1997 13:59:27 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from earth.mat.net (root@earth.mat.net [206.246.122.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA07174 for ; Sat, 11 Oct 1997 13:59:21 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by earth.mat.net (8.8.7/8.6.12) with SMTP id QAA15935 for ; Sat, 11 Oct 1997 16:59:15 -0400 (EDT) Date: Sat, 11 Oct 1997 15:59:11 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: multimedia@freebsd.org Subject: getting the Hauppage Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I went looking on the ads and on the net, and everyone is selling cheap knockoffs. Seeing as everyone seems to be saying that the dbs/tv/fm version of the Hauppauge card is the best one, and I can't find out where to buy it, does anyone at all know of a place I can order it from (via mailorder, I suppose) ? I'm envious of all you guys playing with the neat toys. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+----------------------------------------------- From owner-freebsd-multimedia Sat Oct 11 15:19:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA14627 for multimedia-outgoing; Sat, 11 Oct 1997 15:19:34 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from red.juniper.net (red.juniper.net [208.197.169.254]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA14622 for ; Sat, 11 Oct 1997 15:19:31 -0700 (PDT) (envelope-from pst@juniper.net) Received: from base.juniper.net (base.juniper.net [208.197.169.208]) by red.juniper.net (8.8.5/8.8.5) with ESMTP id PAA27795; Sat, 11 Oct 1997 15:19:00 -0700 (PDT) Received: (from pst@localhost) by base.juniper.net (8.8.7/8.7.3) id PAA03889; Sat, 11 Oct 1997 15:18:59 -0700 (PDT) To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) cc: multimedia@freebsd.org Subject: Re: quickcam performance... References: <199710091519.QAA13337@labinfo.iet.unipi.it> From: Paul Traina Date: 11 Oct 1997 15:18:58 -0700 In-Reply-To: luigi@labinfo.iet.unipi.it's message of 9 Oct 97 15:19:31 GMT Message-ID: <7yzpogndt9.fsf@base.juniper.net> Lines: 27 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk luigi@labinfo.iet.unipi.it (Luigi Rizzo) writes: > > Hi, > > I am trying to use vic with the quickcam on the parallel port using > /dev/qcam, and performance is just horrible. I don't remember it so bad > when using the user-space library on a much slower system, so there > must be something wrong... > > Is there any known performance problem with /dev/qcam , or some > configuration problem on my side ? I think I am using basic > (unidirectional) parallel port to access the camera, as I was with the > user-space library... and I am running 2.2.1 The problem is that the qcam won't generate an interrupt defining when a start of frame is available (the hardware just isn't there, the right pin wasn't used on the damn parallel port). Therefore the driver spins in the kernel. This sucks, and is why I abandoned further development on it. I think the only sane approach to a kernel driver is to do a timer based wakeup. Unfortunately, I just don't have time to mess with the thing these days. Sorry, Paul From owner-freebsd-multimedia Sat Oct 11 15:32:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA15235 for multimedia-outgoing; Sat, 11 Oct 1997 15:32:53 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from red.juniper.net (red.juniper.net [208.197.169.254]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA15225 for ; Sat, 11 Oct 1997 15:32:48 -0700 (PDT) (envelope-from pst@juniper.net) Received: from base.juniper.net (base.juniper.net [208.197.169.208]) by red.juniper.net (8.8.5/8.8.5) with ESMTP id PAA27967 for ; Sat, 11 Oct 1997 15:32:17 -0700 (PDT) Received: (from pst@localhost) by base.juniper.net (8.8.7/8.7.3) id PAA03908; Sat, 11 Oct 1997 15:32:16 -0700 (PDT) Date: Sat, 11 Oct 1997 15:32:16 -0700 (PDT) Message-Id: <199710112232.PAA03908@base.juniper.net> From: Paul Traina To: multimedia@freebsd.org Subject: good CS4237 based sound cards? Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm looking to buy a 4237 based sound card for use with FreeBSD. Can someone point me to boards that use this chip? From owner-freebsd-multimedia Sat Oct 11 15:52:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA16091 for multimedia-outgoing; Sat, 11 Oct 1997 15:52:29 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from feith1.FEITH.COM (feith1.FEITH.COM [192.251.93.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id PAA16086 for ; Sat, 11 Oct 1997 15:52:22 -0700 (PDT) (envelope-from john@jwlab.feith.com) Received: from jwlab.FEITH.COM by feith1.FEITH.COM (SMI-8.6/SMI-SVR4/Feith Feb 13 1997) id SAA23861; Sat, 11 Oct 1997 18:51:51 -0400 Received: by jwlab.FEITH.COM (SMI-8.6/SMI-SVR4) id SAA18270; Sat, 11 Oct 1997 18:51:50 -0400 Date: Sat, 11 Oct 1997 18:51:50 -0400 From: john@jwlab.feith.com (John Wehle) Message-Id: <199710112251.SAA18270@jwlab.FEITH.COM> To: multimedia@freebsd.org Subject: Patch to FreeBSD 3.0 AD1848 device driver Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The enclosed patch clears up some of the snaps in the audio produced by the AD1848 which were caused by overuse of the autocalibration feature. The changes are based on the Analog Devices AD1845 datasheet and Ensoniq sample code. FYI: the AD1845 is pin compatible with the AD1846, AD1848, CS4231, and CS4248. Changes: 1) ad1848_output_block and ad1848_start_input activated autocalibration (which causes a snap) even though according to the documentation it's only necessary to do this once and it had already been performed by ad1848_init. 2) ad1848_prepare_for_IO suffered from code duplication seemingly due to someone trying to reconcile the code with similar code from another port. 3) ad1848_prepare_for_IO didn't ensure that the ACAL bit was cleared prior to disabling the MCE bit. This could cause an autocalibration to occur. 4) ad1848_halt suffered from code duplication seemingly due to someone trying to reconcile the code with similar code from another port. 5) ad1848_halt enabled MCE which according to the documentation it isn't necessary to do when disabling DMA, clearing the DMA registers, and clearing the INT bit. 6) The comment in ad1848_init didn't state that clearing the MCE bit causes an autocalibration since the ACAL bit was set with the indirect registers were loaded. Note: 1) The datasheet states the following about changing sample rates: "... Reads will produce "1000 0000 (80h)" until the resynchronization is complete. Poll the Index Register until something other than this value is returned." Sincerely, John Wehle ------------------8<------------------------8<------------------------ *** sys/i386/isa/sound/ad1848.c.ORIGINAL Tue Nov 12 20:59:56 1996 --- sys/i386/isa/sound/ad1848.c Sat Oct 11 15:06:45 1997 *************** *** 813,827 **** ad_write (devc, 15, (unsigned char) (cnt & 0xff)); ad_write (devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); ! ad_write (devc, 9, 0x0d); /* * Playback enable, single DMA channel mode, ! * auto calibration on. */ ! ad_leave_MCE (devc); /* ! * Starts the calibration process and ! * enters playback mode after it. ! */ ad_unmute (devc); devc->xfer_count = cnt; --- 813,825 ---- ad_write (devc, 15, (unsigned char) (cnt & 0xff)); ad_write (devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); ! ad_write (devc, 9, 0x05); /* * Playback enable, single DMA channel mode, ! * auto calibration off. */ ! ad_leave_MCE (devc); ! ad_unmute (devc); devc->xfer_count = cnt; *************** *** 877,891 **** ad_write (devc, count_reg + 1, (unsigned char) (cnt & 0xff)); ad_write (devc, count_reg, (unsigned char) ((cnt >> 8) & 0xff)); ! ad_write (devc, 9, 0x0e); /* * Capture enable, single DMA channel mode, ! * auto calibration on. */ ! ad_leave_MCE (devc); /* ! * Starts the calibration process and ! * enters playback mode after it. ! */ ad_unmute (devc); devc->xfer_count = cnt; --- 875,887 ---- ad_write (devc, count_reg + 1, (unsigned char) (cnt & 0xff)); ad_write (devc, count_reg, (unsigned char) ((cnt >> 8) & 0xff)); ! ad_write (devc, 9, 0x06); /* * Capture enable, single DMA channel mode, ! * auto calibration off. */ ! ad_leave_MCE (devc); ! ad_unmute (devc); devc->xfer_count = cnt; *************** *** 906,975 **** DISABLE_INTR (flags); ad_enter_MCE (devc); /* Enables changes to the format select reg */ fs = devc->speed_bits | (devc->format_bits << 5); if (devc->channels > 1) fs |= 0x10; ad_write (devc, 8, fs); /* * Write to I8 starts resyncronization. Wait until it completes. */ timeout = 10000; - #ifdef PC98 - while (timeout > 0 && (INB (devc->base) & 0x80) == 0x80) - #else while (timeout > 0 && INB (devc->base) == 0x80) - #endif timeout--; - #ifdef PC98 - ad_write (devc, 8, fs); /* ! * Write to I8 starts resyncronization. Wait until it completes. */ - timeout = 10000; - while (timeout > 0 && (INB (devc->base) & 0x80) == 0x80) - timeout--; - #endif - /* - * If mode == 2 (CS4231), set I28 also. It's the capture format register. - */ if (devc->mode == 2) { ! ad_write (devc, 28, fs); /* ! * Write to I28 starts resyncronization. Wait until it completes. */ timeout = 10000; - #ifdef PC98 - while (timeout > 0 && (INB (devc->base) & 0x80) == 0x80) - #else while (timeout > 0 && INB (devc->base) == 0x80) - #endif timeout--; - } ! #ifdef PC98 ! ad_write (devc, 28, fs); ! /* ! * Write to I28 starts resyncronization. Wait until it completes. ! */ ! timeout = 10000; ! while (timeout > 0 && (INB (devc->base) & 0x80) == 0x80) ! timeout--; ! #endif ! ! ad_leave_MCE (devc); /* ! * Starts the calibration process and ! * enters playback mode after it. ! */ RESTORE_INTR (flags); devc->xfer_count = 0; return 0; } --- 902,947 ---- DISABLE_INTR (flags); ad_enter_MCE (devc); /* Enables changes to the format select reg */ + fs = devc->speed_bits | (devc->format_bits << 5); if (devc->channels > 1) fs |= 0x10; ad_write (devc, 8, fs); + /* * Write to I8 starts resyncronization. Wait until it completes. */ + timeout = 10000; while (timeout > 0 && INB (devc->base) == 0x80) timeout--; /* ! * If mode == 2 (CS4231), set I28 also. It's the capture format register. */ if (devc->mode == 2) { ! ad_write (devc, 28, fs & 0x70); /* ! * Write to I28 starts resyncronization. Wait until it completes. */ + timeout = 10000; while (timeout > 0 && INB (devc->base) == 0x80) timeout--; } ! ad_write (devc, 9, ad_read (devc, 9) & 0xc7); ! ad_leave_MCE (devc); RESTORE_INTR (flags); + devc->xfer_count = 0; + return 0; } *************** *** 985,1000 **** ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; ad_mute (devc); - #ifdef PC98 - ad_enter_MCE (devc); - #endif - ad_write (devc, 9, ad_read (devc, 9) & ~0x03); /* Stop DMA */ - #ifdef PC98 - ad_leave_MCE (devc); - #endif - OUTB (0, io_Status (devc)); /* Clear interrupt status */ ! ad_enter_MCE (devc); OUTB (0, io_Status (devc)); /* Clear interrupt status */ ad_write (devc, 15, 0); /* Clear DMA counter */ ad_write (devc, 14, 0); /* Clear DMA counter */ --- 957,965 ---- ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; ad_mute (devc); ! ad_write (devc, 9, ad_read (devc, 9) & 0xcc); /* Stop DMA */ ! OUTB (0, io_Status (devc)); /* Clear interrupt status */ ad_write (devc, 15, 0); /* Clear DMA counter */ ad_write (devc, 14, 0); /* Clear DMA counter */ *************** *** 1005,1016 **** ad_write (devc, 31, 0); /* Clear DMA counter */ } - ad_write (devc, 9, ad_read (devc, 9) & ~0x03); /* Stop DMA */ - - OUTB (0, io_Status (devc)); /* Clear interrupt status */ - OUTB (0, io_Status (devc)); /* Clear interrupt status */ - ad_leave_MCE (devc); - DMAbuf_reset_dma (dev); } --- 970,975 ---- *************** *** 1257,1263 **** nr_ad1848_devs++; /* ! * Toggle the MCE bit. It completes the initialization phase. */ ad_enter_MCE (devc); /* In case the bit was off */ --- 1216,1224 ---- nr_ad1848_devs++; /* ! * Toggle the MCE bit. This will cause an autocalibration ! * (since the ACAL bit was set earlier) and completes the ! * initialization phase. */ ad_enter_MCE (devc); /* In case the bit was off */ ------------------------------------------------------------------------- | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | | John Wehle | Fax: 1-215-540-5495 | | ------------------------------------------------------------------------- From owner-freebsd-multimedia Sat Oct 11 16:33:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA17231 for multimedia-outgoing; Sat, 11 Oct 1997 16:33:38 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA17224 for ; Sat, 11 Oct 1997 16:33:35 -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.7/8.8.5) with ESMTP id QAA11053; Sat, 11 Oct 1997 16:33:23 -0700 (PDT) Message-Id: <199710112333.QAA11053@rah.star-gate.com> To: john@jwlab.feith.com (John Wehle) cc: multimedia@FreeBSD.ORG, Mark Murray Subject: Re: FreeBSD Sound Driver Patches for Ensoniq Soundscape In-reply-to: Your message of "Sat, 11 Oct 1997 18:58:17 EDT." <199710112258.SAA18288@jwlab.FEITH.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 16:33:22 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Just mail them to Mark however if you are going to be doing sound driver level work it will be nice if it was on Luigi's sound driver and if for some reason you prefer the voxware sound driver then the patches should be against the guspnp series of sound driver. Again, our main focus with respect to sound drivers is Luigi's sound driver project. Tnks, Amancio >From The Desk Of John Wehle : > Luigi Rizzo mentioned that you are the current maintainer of > the voxware-derived drivers. Are you aware of some patches > that I recently emailed to multimedia@freebsd.org and what's > involved in folding them into the current source tree? > > -- John > ------------------------------------------------------------------------- > | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | > | John Wehle | Fax: 1-215-540-5495 | | > ------------------------------------------------------------------------- > From owner-freebsd-multimedia Sat Oct 11 17:36:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19181 for multimedia-outgoing; Sat, 11 Oct 1997 17:36:11 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA19161; Sat, 11 Oct 1997 17:36:06 -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.7/8.8.5) with ESMTP id RAA00404; Sat, 11 Oct 1997 17:36:00 -0700 (PDT) Message-Id: <199710120036.RAA00404@rah.star-gate.com> To: smpatel@prognet.com cc: Bakul Shah , multimedia@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: RealVideo-5.0 and FreeBSD In-reply-to: Your message of "Tue, 07 Oct 1997 15:28:25 EDT." <199710071928.PAA13338@chai.torrentnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 17:36:00 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Our sound driver API is the linux sound driver 3.5. What is currently on 2.2 and 3.0 is the linux sound driver 3.0. The guspnp series of sound driver which I have been supporting for over a year is the linux sound driver 3.5 plus some hacks like support of user land dma I/O which is mostly used for applications such as Quake. Luigi's sound driver eventually will be linux sound driver 3.5 compliant right now is not. It is a huge task and is going rather well so if you are a sound driver level hacker now is a good time to join and make a difference rather than later bitching about it. If you have a commercial product then I suggest to just get the OSS sound driver : http://www.4front-tech.com/ This just means that while we are in the process of rebuilding the sound driver you have the option *today* of coding up to the API . With the respect to the video capture there is no reason that I can think of why RealNetworks is not supporting the Bt848 driver. If you guys have specific issues just mail me . Currently, the Bt848 driver is available for FreeBSD 2.2 and FreeBSD 3.0 -current with no change in the driver. You can also you check out our new Bt848 driver web page: http://www.freebsd.org/~ahasty/Bt848.html I know this is not related however right now we (the multimedia group) are really having a ball with Randall Hopper's fxtv : http://multiverse.com/~rhh/fxtv Excerpt from the announcement: " HIGHLIGHTS: Video Window Annotation for changes in Station, Input Device, Tuner Mode, Volume, and Mute should make it more enjoyable to surf when zoomed full-screen. " Additionally it can generate mpeg files (non-realtime). Regards, Amancio >From The Desk Of Bakul Shah : > Amancio, RealVideo-5.0 beta for FreeBSD is due out RSN. When > I queried, Sujal Patel said he will spit out the port in a > week or two that'll work with 2.2.5. I suspect he will need > your help in making sure the *right thing* (TM) gets done. > It would be a real boon if RV5.0 works out of the box with > FreeBSD-2.2.5! You can reach Sujal at smpatel@real.com. > You can tell him I asked you to bug him :-) > > I am a bit unclear about which driver will end up being the > official FreeBSD one in 2.2.5 and feel you are the best > person to guide RealNetwork (aka Progressive Networks) on > this! I think from a commercial point of view what'll help > is if you (multimedia guys) can settle on an interface that > your as well as Luigi's driver can adhere to. From owner-freebsd-multimedia Sat Oct 11 17:48:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19558 for multimedia-outgoing; Sat, 11 Oct 1997 17:48:36 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA19552 for ; Sat, 11 Oct 1997 17:48:32 -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.7/8.8.5) with ESMTP id RAA00476; Sat, 11 Oct 1997 17:48:30 -0700 (PDT) Message-Id: <199710120048.RAA00476@rah.star-gate.com> To: multimedia@freebsd.org cc: thomaspf@microsoft.com Subject: [audio] http://www.microsoft.com/netshow/download/unix.htm Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 17:48:29 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, There is a Microsoft's NetShow for linux available . Haven't tried it out however I will download the binary tonite. One good thing about NetShow is that it support H.263 which means we can get reasonable video frame rates much better than H.261. It would be nice if we had a native NetShow port and it should not be a difficult task. Cheers, Amancio From owner-freebsd-multimedia Sat Oct 11 17:55:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19833 for multimedia-outgoing; Sat, 11 Oct 1997 17:55:11 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from jake.bc1.com (dial135.bc1.com [207.34.139.135]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA19828 for ; Sat, 11 Oct 1997 17:55:04 -0700 (PDT) (envelope-from jake@jake.bc1.com) Received: (from jake@localhost) by jake.bc1.com (8.8.5/8.8.5) id RAA01226; Sat, 11 Oct 1997 17:54:58 -0700 (PDT) Message-ID: <19971011175458.08814@bc1.com> Date: Sat, 11 Oct 1997 17:54:58 -0700 From: Jake To: multimedia@freebsd.org Subject: no sound in FXTV Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e X-Pinky: Uhh, I think so brain, but where are we going to find a tattoo parlor open this time of night? Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm still not getting any sound in FXTV. I just upgraded to the latest bt848 driver, and fxtv 0.45. I like the new additions, but I iwsh I could get sound. I have a zoltrix tx max pci capture card, and a soundblaster 16 sound card. I think everything is setup right. I got all the extra prgrams fxtv needed that weren't ports, and I made the tuner devices. Sound works in doom, and an audio cd plays with xcdplayer. I have my sound crad connetced to my stereo, so all the sound plays thorugh that, and then I have a 1/8" mini-plug from sound-in on the sound card to sound out on the capture card. I'm using 2.2.2-RELEASE, but I haven't done anything to the sound driver. Is there a newer version I should get? I've tryed changing the vol, line, cd and mic settings in mixer to 100. I have it hooked up to an antenna, and i always get good picture, but no sound. The only thing I can think of is that the card is detected as a Miro TV card with TEMIC NTSC tuner. should I change it to card_unkown? I know the zoltrix isn't under the supported cards, but it is just a bt848 card. When I compile my kernel I get one error message, when compiling the sound driver; it says undefined prototype for 'sbintr'. it says sbintr on the sb0 line if my kernel config file, should I remove it? I haven't tried the card with win95 yet for obvious reasons, but I have a feeling that's the only way to kno if the card is producing sound at all. Thanks for any help Jake -- "Pascal is not a high-level language." -- Steven Feiner From owner-freebsd-multimedia Sat Oct 11 19:40:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA23805 for multimedia-outgoing; Sat, 11 Oct 1997 19:40:02 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA23765 for ; Sat, 11 Oct 1997 19:39:58 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id TAA15649; Sat, 11 Oct 1997 19:39:47 -0700 (PDT) Message-ID: <19971011193947.64831@hydrogen.nike.efn.org> Date: Sat, 11 Oct 1997 19:39:47 -0700 From: John-Mark Gurney To: Paul Traina Cc: multimedia@FreeBSD.ORG Subject: Re: good CS4237 based sound cards? References: <199710112232.PAA03908@base.juniper.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199710112232.PAA03908@base.juniper.net>; from Paul Traina on Sat, Oct 11, 1997 at 03:32:16PM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul Traina scribbled this message on Oct 11: > I'm looking to buy a 4237 based sound card for use with FreeBSD. > Can someone point me to boards that use this chip? well.. I sell these boards for $25+shipping... the ones that I sell are Audio Excel AV-320... they are 48k/16bit full duplex boards.. plus OPL3 and MPU-401 midi uarts... they also probide SB/Pro emulation and SB16 (at least the docs say that, but I haven't tried/test it)... another person on this list also sells a similar board... ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-multimedia Sat Oct 11 21:08:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA26969 for multimedia-outgoing; Sat, 11 Oct 1997 21:08:10 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from neptune.ajc.state.net (neptune.ajc.state.net [204.120.158.168]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA26964 for ; Sat, 11 Oct 1997 21:08:05 -0700 (PDT) (envelope-from Al.Johnson@AJC.State.Net) Received: from AJC.State.Net (pluto.ajc.state.net [204.120.158.169]) by neptune.ajc.state.net (8.8.6/8.8.5) with ESMTP id XAA04574 for ; Sat, 11 Oct 1997 23:06:37 -0500 (CDT) Message-ID: <34404C8B.16C0EE9A@AJC.State.Net> Date: Sat, 11 Oct 1997 23:05:31 -0500 From: Al Johnson Reply-To: Al.Johnson@AJC.State.Net Organization: Al Johnson Consulting X-Mailer: Mozilla 4.02 [en] (Win95; I) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: Bt848 and FxTv 0.45 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm trying to upgrade from FxTv 0.44 to 0.45 but am having a few problem. I grabbed the latest bt848 (10/6/97) but at package make time for fxtv this is what I get: tvcapture.c: In function `TVCAPTURESetInputFormat': tvcapture.c:387: `BT848_IFORM_F_NTSCM' undeclared (first use this function) tvcapture.c:387: (Each undeclared identifier is reported only once tvcapture.c:387: for each function it appears in.) tvcapture.c:388: `BT848_IFORM_F_NTSCJ' undeclared (first use this function) tvcapture.c:389: `BT848_IFORM_F_PALBDGHI' undeclared (first use this function) tvcapture.c:390: `BT848_IFORM_F_PALM' undeclared (first use this function) tvcapture.c:391: `BT848_IFORM_F_PALN' undeclared (first use this function) tvcapture.c:392: `BT848_IFORM_F_SECAM' undeclared (first use this function) tvcapture.c:393: `BT848_IFORM_F_RSVD' undeclared (first use this function) tvcapture.c:400: `BT848SFMT' undeclared (first use this function) tvcapture.c: In function `TVCAPTURESetTunerFreqSet': tvcapture.c:531: `CHNLSET_JPNCABLE' undeclared (first use this function) tvcapture.c: In function `TVCAPTUREQueryDriverState': tvcapture.c:653: `BT848GFMT' undeclared (first use this function) tvcapture.c:658: `BT848_IFORM_F_AUTO' undeclared (first use this function) tvcapture.c:659: `BT848_IFORM_F_NTSCM' undeclared (first use this function) tvcapture.c:660: `BT848_IFORM_F_NTSCJ' undeclared (first use this function) tvcapture.c:661: `BT848_IFORM_F_PALBDGHI' undeclared (first use this function) tvcapture.c:662: `BT848_IFORM_F_PALM' undeclared (first use this function) tvcapture.c:663: `BT848_IFORM_F_PALN' undeclared (first use this function) tvcapture.c:664: `BT848_IFORM_F_SECAM' undeclared (first use this function) tvcapture.c:665: `BT848_IFORM_F_RSVD' undeclared (first use this function) tvcapture.c:666: warning: unreachable code at beginning of switch statement tvcapture.c:773: `CHNLSET_JPNCABLE' undeclared (first use this function) tvcapture.c: In function `TVCAPTUREInit': tvcapture.c:1135: `BT848_IFORM_F_NTSCM' undeclared (first use this function) tvcapture.c:1175: `BT848_IFORM_F_NTSCJ' undeclared (first use this function) tvcapture.c:1176: `BT848_IFORM_F_PALM' undeclared (first use this function) tvcapture.c:1181: warning: unreachable code at beginning of switch statement It goes on a little bit longer but this should be enough to ident the problem. Any suggestions to correct this. Thanks, -- Al From owner-freebsd-multimedia Sat Oct 11 21:31:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA27548 for multimedia-outgoing; Sat, 11 Oct 1997 21:31:26 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA27543 for ; Sat, 11 Oct 1997 21:31:22 -0700 (PDT) (envelope-from henrich@crh.cl.msu.edu) Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.5/8.8.5) id AAA00692; Sun, 12 Oct 1997 00:31:20 -0400 (EDT) Message-ID: <19971012003120.12324@crh.cl.msu.edu> Date: Sun, 12 Oct 1997 00:31:20 -0400 From: Charles Henrich To: Amancio Hasty , freebsd-multimedia@freebsd.org Subject: Re: your mail References: <19971011234539.23228@crh.cl.msu.edu> <199710120408.VAA01243@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <199710120408.VAA01243@rah.star-gate.com>; from Amancio Hasty on Sat, Oct 11, 1997 at 09:08:15PM -0700 X-Operating-System: FreeBSD 2.2.2-RELEASE X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On the subject of Re: your mail, Amancio Hasty stated: > >From The Desk Of Charles Henrich : Hey Amancio, how did you get netshow to > >run? With 2.2.2-RELEASE and the linux emulator loaded all I get is: > > > > 11:45pm crh> netshow ELF binary type not known Abort > > > brandelf -t Linux netshow > > Cheers, Amancio Great, Thanks! (God a Microsoft product on my desktop *shudder*) Notice the code is attributed to "Xanim Software" ? -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich From owner-freebsd-multimedia Sat Oct 11 21:34:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA27749 for multimedia-outgoing; Sat, 11 Oct 1997 21:34:30 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA27742 for ; Sat, 11 Oct 1997 21:34:26 -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.7/8.8.5) with ESMTP id VAA01356; Sat, 11 Oct 1997 21:34:21 -0700 (PDT) Message-Id: <199710120434.VAA01356@rah.star-gate.com> To: Charles Henrich cc: freebsd-multimedia@freebsd.org Subject: Re: your mail In-reply-to: Your message of "Sun, 12 Oct 1997 00:31:20 EDT." <19971012003120.12324@crh.cl.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 21:34:21 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Well, Lets give it a chance .. and yes it feels weird to have a microsoft product running on our desktop --- it should be the other way around 8) Cheers, Amancio >From The Desk Of Charles Henrich : > On the subject of Re: your mail, Amancio Hasty stated: > > > >From The Desk Of Charles Henrich : Hey Amancio, how did you get netshow to > > >run? With 2.2.2-RELEASE and the linux emulator loaded all I get is: > > > > > > 11:45pm crh> netshow ELF binary type not known Abort > > > > > brandelf -t Linux netshow > > > > Cheers, Amancio > > Great, Thanks! (God a Microsoft product on my desktop *shudder*) > > Notice the code is attributed to "Xanim Software" ? > > -Crh > > Charles Henrich Michigan State University henrich@msu.edu > > http://pilot.msu.edu/~henrich From owner-freebsd-multimedia Sat Oct 11 22:11:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA28872 for multimedia-outgoing; Sat, 11 Oct 1997 22:11:08 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA28867 for ; Sat, 11 Oct 1997 22:11:03 -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 EAA02536; Sun, 12 Oct 1997 04:52:25 +0100 From: Luigi Rizzo Message-Id: <199710120352.EAA02536@labinfo.iet.unipi.it> Subject: Re: good CS4237 based sound cards? To: gurney_j@resnet.uoregon.edu Date: Sun, 12 Oct 1997 04:52:24 +0100 (MET) Cc: pst@juniper.net, multimedia@FreeBSD.ORG In-Reply-To: <19971011193947.64831@hydrogen.nike.efn.org> from "John-Mark Gurney" at Oct 11, 97 07:39:28 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Paul Traina scribbled this message on Oct 11: > > I'm looking to buy a 4237 based sound card for use with FreeBSD. > > Can someone point me to boards that use this chip? > > well.. I sell these boards for $25+shipping... the ones that I sell > are Audio Excel AV-320... they are 48k/16bit full duplex boards.. plus > OPL3 and MPU-401 midi uarts... they also probide SB/Pro emulation and > SB16 (at least the docs say that, but I haven't tried/test it)... I think the emulation is only SBPro, not SB16. Just for the records of course since the WSS mode is the preferred way of using the card. Cheers Luigi From owner-freebsd-multimedia Sat Oct 11 22:32:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA29578 for multimedia-outgoing; Sat, 11 Oct 1997 22:32:02 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA29550 for ; Sat, 11 Oct 1997 22:31:56 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id WAA16003; Sat, 11 Oct 1997 22:31:47 -0700 (PDT) Message-ID: <19971011223147.46923@hydrogen.nike.efn.org> Date: Sat, 11 Oct 1997 22:31:47 -0700 From: John-Mark Gurney To: Luigi Rizzo Cc: pst@juniper.net, multimedia@FreeBSD.ORG Subject: Re: good CS4237 based sound cards? References: <19971011193947.64831@hydrogen.nike.efn.org> <199710120352.EAA02536@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199710120352.EAA02536@labinfo.iet.unipi.it>; from Luigi Rizzo on Sun, Oct 12, 1997 at 04:52:24AM +0100 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo scribbled this message on Oct 12: > > Paul Traina scribbled this message on Oct 11: > > > I'm looking to buy a 4237 based sound card for use with FreeBSD. > > > Can someone point me to boards that use this chip? > > > > well.. I sell these boards for $25+shipping... the ones that I sell > > are Audio Excel AV-320... they are 48k/16bit full duplex boards.. plus > > OPL3 and MPU-401 midi uarts... they also probide SB/Pro emulation and > > SB16 (at least the docs say that, but I haven't tried/test it)... > > I think the emulation is only SBPro, not SB16. Just for the records of > course since the WSS mode is the preferred way of using the card. yes... I agree, but a friend was looking at the cdrom (for the drivers that REQUIRE win3.1 to install).. and the docs say it was supported.. but nothing in the pdf of the cs4237b that I read says anything of the sb16 emulation... the actual chip is cx4237 though... also, I agree.. WSS is the best mode to run it in.. :) lets me use vat flawlessly.. ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD