From owner-freebsd-multimedia Mon Jul 20 15:25:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27067 for freebsd-multimedia-outgoing; Mon, 20 Jul 1998 15:25:00 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA27050 for ; Mon, 20 Jul 1998 15:24:55 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Mon, 20 Jul 1998 18:23:33 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA01062; Mon, 20 Jul 98 18:23:30 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id SAA13684; Mon, 20 Jul 1998 18:23:24 -0400 Message-Id: <19980720182324.B13636@ct.picker.com> Date: Mon, 20 Jul 1998 18:23:24 -0400 From: Randall Hopper To: Amancio Hasty , Minlin Fan Cc: multimedia@FreeBSD.ORG Subject: Re: videocapture.c Mail-Followup-To: Amancio Hasty , Minlin Fan , multimedia@FreeBSD.ORG References: <199807192012.NAA10196@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199807192012.NAA10196@rah.star-gate.com>; from Amancio Hasty on Sun, Jul 19, 1998 at 01:12:10PM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Amancio Hasty: |Not sure what is going on over there however there are plenty of folks |which will be able to help you . ... |From: Minlin Fan ... |Hi Amancio Hasty, |I have a C programe written by you from |www.freebsd.org/~ahasty/files/videocapture.c Gee Amancio. It's your code. Minlin, let me see what I can see. I'll take a second and give it a shot. First, a very small nit. Please turn off the HTML-mailing feature in the Linux Netscape 4.05 you are running. It obfuscates the message, and the mail takes "alot longer" to POP across for folks with dial-up connections: |

        i = 112; |
        if (ioctl(bt848, METEORSCONT, |&i) < 0) { |
             |    |1. The " sig_t done" and " sig_t do_write" generate error in |compile-time. No idea on this one. |2. I comment out these lines regarding " sig_t ". The compiling is |successful. But there are run-time errors in ... | if (ioctl(bt848, METEORSCONT, &i) < 0) { ... | if (ioctl(bt848, METEORSBRIG, &i) < 0) { ... | if (ioctl(bt848, METEORSETGEO, &geo) < 0) { ... |Please help me and concentrate on the second problem. Because I got the |same problem in other similar program. |Thank you very much. First question? Do you have a meteor, and do you have the meteor0 device compiled into your kernel? If yes to the first, I'm guessing no to the second. If you have a BT848 (bktr) card, in Bt848-land (see /usr/include/machine/ioctl_bt848.h), the first two should instead be BT848_SCONT, BT848_SBRIG, and they should be issued to the tuner file descriptor (/dev/tuner#). The METEORSETGEO is used in Bt848-land though, and is issued to the Bt848 file descriptor (/dev/bktr#). You need both of these for Bt848 code: #include #include For meteor code, presumably just the first and the symbols that are described in the file you quoted above. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message