Bug 94369 - [bktr] [patch] Patch to support Leadtek WinFast Tv2000 XP bktr card
Summary: [bktr] [patch] Patch to support Leadtek WinFast Tv2000 XP bktr card
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Eitan Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 19:30 UTC by Angelescu Ovidiu
Modified: 2018-05-28 13:13 UTC (History)
0 users

See Also:


Attachments
file.diff (390 bytes, patch)
2006-03-11 19:30 UTC, Angelescu Ovidiu
no flags Details | Diff
file.diff (801 bytes, patch)
2006-03-11 19:30 UTC, Angelescu Ovidiu
no flags Details | Diff
file.diff (374 bytes, patch)
2006-03-11 19:30 UTC, Angelescu Ovidiu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Angelescu Ovidiu 2006-03-11 19:30:20 UTC
I have bought a  Leadtek WinFast Tv2000 XP tv card and i have noticed
that wasn't support in FreeBSD for that card.The card has other audio
mux values than WinFast TV2000 and another tuner. The tuner is a Philips
variant based on TSBH1 control.

Since the tuner type was not written on it i have named tuner FI1216.
I have made a patch to be supported both the card and the tuner.
The patch applies clean from 20 january 2006 on FreeBSD-6.0.
The new card is known as the 23 type and the tuner as 16 type.
Attention This card has sound connected to line1 with an internal cable
as the audio cable of cdrom.

Fix: To correct the problem i have used the following patch

struct bt848_card_sig bt848_card_signature[1]= {
#define CARD_IO_GV             CARD_IO_BCTV2



/* experimental code for Automatic Frequency Control */
 #define TUNER_AFC--InMMe40GVdoyN47TKyLUZQwf4GCXdcTUtPLaQRE4sgq4apXl
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- /sys/dev/bktr/bktr_card.c.orig      Sat Jan 14 14:18:34 2006
+++ /sys/dev/bktr/bktr_card.c   Tue Jan 17 23:49:55 2006
@@ -415,6 +415,18 @@
           0,                                   /* EEProm size */
           { 0x01, 0x04, 0x01, 0x03, 1 },       /* audio MUX values */
           0x00ffffff },
+
+       {  CARD_LEADTEK_WINFAST_2000_XP,        /* the card id */
+           "Leadtek Winfast 2000 XP",           /* the 'name' */
+          NULL,                                /* the tuner */
+          0,                                   /* the tuner i2c address */
+          0,                                   /* dbx is optional */
+          0,
+          0,
+           0,                                   /* EEProm unknown */
+          0,                                   /* size unknown */
+          { 0x122000, 0x1000, 0x620000, 0x0000, 1 },   /* audio MUX values */
+          0xb33000 },                          /* GPIO mask */
 };
How-To-Repeat: Install a Leadtek WinFast Tv2000 XP tv card and using the Winfast TV2000
bktr driver it won't work.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-03-21 00:25:22 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-bugs

This does not sound i386-specific.
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2008-05-06 07:33:09 UTC
Responsible Changed
From-To: freebsd-bugs->itetcu

I'll take it.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2015-11-12 01:14:53 UTC
Reassign to heap after several years of inactivity.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:50:35 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-05-28 13:13:16 UTC
A commit references this bug:

Author: eadler
Date: Mon May 28 13:12:35 UTC 2018
New revision: 334285
URL: https://svnweb.freebsd.org/changeset/base/334285

Log:
  bktr: Support WinFast Tv2000 & PHILIPS FI1216

  - Add support for Leadtek WinFast Tv2000 XP bktr card
  - Add support for PHILIPS FI1216

  PR:		94369
  Submitted by:	Angelescu Ovidiu <mrhsaacdoh@yahoo.com>
  Submitted on:	2006-03-11 19:30 UTC

Changes:
  head/sys/dev/bktr/bktr_card.c
  head/sys/dev/bktr/bktr_card.h
  head/sys/dev/bktr/bktr_tuner.c
  head/sys/dev/bktr/bktr_tuner.h