From owner-freebsd-multimedia Sun Mar 23 17:07:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA14994 for multimedia-outgoing; Sun, 23 Mar 1997 17:07:48 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA14987 for ; Sun, 23 Mar 1997 17:07:41 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 23 Mar 1997 20:07:10 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA17677; Sun, 23 Mar 97 20:07:07 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA15822; Sun, 23 Mar 1997 20:04:22 -0500 Message-Id: <19970323200422.10997@ct.picker.com> Date: Sun, 23 Mar 1997 20:04:22 -0500 From: Randall Hopper To: multimedia@freebsd.org Cc: Steve Passe Subject: FXTV 0.3.2 (Re: First Cut at separating tuner and capture devices) References: <199703230608.XAA18434@Ilsa.StevesCafe.com> <199703230637.XAA18805@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=HFwDpU9dbj6ez1VG X-Mailer: Mutt 0.65 In-Reply-To: <199703230637.XAA18805@Ilsa.StevesCafe.com>; from Steve Passe on Sat, Mar 22, 1997 at 11:37:41PM -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk --HFwDpU9dbj6ez1VG Content-Type: text/plain; charset=us-ascii Appreciate the Fxtv updates Steve. I've rolled them into the posted version at along with a few other misc fixes. BTW, here's a patch for the 970322 version of the driver to fix returning incorrect values from the GHUE and GBRIG ioctls. I've put temporary fixups in fxtv to account for this so folks can just use the posted driver for now. Randall --HFwDpU9dbj6ez1VG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="bt848.970322-GBRI-GHUE.patch" --- brooktree848.c-970322 Sun Mar 23 05:29:51 1997 +++ brooktree848.c Sun Mar 23 18:01:21 1997 @@ -1056,7 +1056,7 @@ break; case BT848_GHUE: /* get hue */ - *(int*)arg = bt848[BKTR_HUE] & 0xff; + *(int*)arg = (signed char) (bt848[BKTR_HUE] & 0xff); break; /* brightness is a 2's compliment #, -50 to +%49.6% in 0.39% steps */ @@ -1065,7 +1065,7 @@ break; case BT848_GBRIG: /* get brightness */ - *(int *)arg = bt848[BKTR_BRIGHT] & 0xff; + *(int *)arg = (signed char) (bt848[BKTR_BRIGHT] & 0xff); break; /* */ --HFwDpU9dbj6ez1VG--