From owner-freebsd-multimedia Mon May 17 22:34:21 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 9C8DD14E46 for ; Mon, 17 May 1999 22:34:17 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (scary.dmem.strath.ac.uk [130.159.202.5]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id GAA07544 Tue, 18 May 1999 06:34:09 +0100 (BST) Message-ID: <3740FBF6.44A254A9@cs.strath.ac.uk> Date: Tue, 18 May 1999 06:34:46 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.2-STABLE i386) MIME-Version: 1.0 To: "David G. Andersen" Cc: multimedia@FreeBSD.ORG Subject: Re: Intel Create & Share followup References: <14144.50650.856134.880437@torrey.cs.utah.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org David G. Andersen wrote: > > i've solved the problem as far as my needs are concerned; opening the > tuner device with the intel create & share causes the camera to > shut-off (and ne'er again to open). Well, that means we know what the problem is, AND I have a fix. 1) Grab version 1.64 of the Bt848 driver from my Web Site at http://telepresence.dmem.strath.ac.uk/bt848 2) Locate this part of the brooktree848.c file { CARD_INTEL, /* the card id */ "Intel Smart Video III/VideoLogic Captivator PCI", /* the 'name' */ NULL, /* the tuner */ 0, /* the tuner i2c address */ 0, 0, 0, 0, { 0, 0, 0, 0, 0 }, /* audio MUX values */ 0x0f }, /* GPIO mask */ ** And change the 0x0f on the LAST line to 0x00 Then make a new kernel and try it again (with /dev/tuner being opened) I bet the Camera's power on/off is controlled from the GPIO lines and the driver is currently setting the bottom 4 GPIO lines to OUTPUTS every time you open /dev/tuner. Changing 0x0f to 0x00 makes the driver set all 24 GPIO lines to INPUT mode. (GPIO - general purpose IO. The bt848 has 24 digital i/o lines for interfacing to other devices on the bt848 card) Bye Roger -- Roger Hardiman Strathclyde Uni Telepresence Research Group, Glasgow, Scotland. http://telepresence.dmem.strath.ac.uk 0141 548 2897 roger@cs.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message