From owner-freebsd-stable Sun Dec 2 17:42:47 2001 Delivered-To: freebsd-stable@freebsd.org Received: from castle.jp.freebsd.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id B75E337B419 for ; Sun, 2 Dec 2001 17:42:34 -0800 (PST) Received: (from daichi@localhost) by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id KAA26531 for freebsd-stable@freebsd.org; Mon, 3 Dec 2001 10:42:34 +0900 (JST) (envelope-from daichi) Date: Mon, 3 Dec 2001 10:42:34 +0900 (JST) From: Daichi GOTO Message-Id: <200112030142.KAA26531@castle.jp.freebsd.org> To: freebsd-stable@freebsd.org Subject: BT878A-TVPCI(PV951, Chipset: Bt878a, Tunner: Philips) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am using PV951 TV/PCI tuner, but with no sound. This tuner is based on BT878A chip and Linux can use it. I tried to port Linux Bttv device driver ver.0.8.31 to FreeBSD Bktr driver ver.2.18. However, it failed. patch: --- bktr_card.c.orig Wed Nov 28 05:52:36 2001 +++ bktr_card.c Wed Nov 28 09:20:42 2001 @@ -342,6 +342,18 @@ { 0x20000, 0x00000, 0x30000, 0x40000, 1 }, /* audio MUX values*/ 0x70000 }, /* GPIO mask */ + { CARD_PV951, /* the card id */ + "ProVideo PV951(KUROUTOSHIKOU BT878A-TVPCI)", /* the 'name' */ + NULL, /* the tuner */ + 0, /* the tuner i2c address */ + 0, /* dbx is optional */ + 0, + 0, + 0, /* EEProm type */ + 0, /* EEProm size */ + { 0x00, 0x00, 0x00, 0x00, 1 }, /* audio MUX values */ + 0 }, /* GPIO mask */ + }; struct bt848_card_sig bt848_card_signature[1]= { --- bktr_card.h.orig Wed Nov 28 05:52:36 2001 +++ bktr_card.h Wed Nov 28 09:20:25 2001 @@ -76,7 +76,8 @@ #define CARD_ASKEY_DYNALINK_MAGIC_TVIEW 14 #define CARD_LEADTEK 15 #define CARD_TERRATVPLUS 16 -#define Bt848_MAX_CARD 17 +#define CARD_PV951 17 +#define Bt848_MAX_CARD 20 int signCard( bktr_ptr_t bktr, int offset, int count, u_char* sig ); I do not know the cause of this problem. Someone please help me. # Maybe, the cause of this problem is I2C driver. P.S. Pavel V.Cirulnik pointed out this problem at 02/27/2001, too. http://www.geocrawler.com/archives/3/160/2001/2/0/5237802/ Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@jp.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message