2 .\" $FreeBSD: src/share/man/man4/bktr.4,v 1.9.2.9 2002/03/29 09:55:39 schweikh Exp $
3 .\" $DragonFly: src/share/man/man4/bktr.4,v 1.3 2003/09/07 17:04:00 hmp Exp $
10 .Nd video capture driver
20 driver provides support for PCI
24 capture on low cost, high performance boards.
25 The driver is based on the Matrox Meteor driver and uses the same API.
26 The bktr driver should support most video cards
28 .Em "Brooktree Bt848/849/878/879 Video Capture Chip" .
29 The driver also supports
31 if the tuner supports it.
33 Specifically, the following cards are known to work:
34 .Bd -unfilled -offset indent
35 .Em Hauppauge Wincast TV and WinTV/PCI
36 .Em STB TV PCI Television Tuner
38 .Em Intel Smart Video Recorder III
40 .Em Video Highway XTreme
41 .Em VideoLogic Captivator PCI
44 The driver currently supports the following features:
45 .Bd -unfilled -offset indent
46 PCI to PCI dma transfer
54 On these cards, tuners and other components are interconnected with an I2C bus.
55 The Brooktree848 chips act as a master device on the bus to control them.
61 controller declarations are mandatory to activate bktr support.
63 The following kernel parameters may be used to further configure the driver:
65 .Em options "BROOKTREE_ALLOC_PAGES=xxx"
66 specifies the number of contiguous pages to allocate when successfully
68 The default number of pages allocated by the kernel is 216.
69 This means that there are (216*4096) bytes available for use.
71 .Em options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
72 .Em options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
74 One of these options can be used to set the default video format for the driver.
75 This fixed random hangs and lockups with the VideoLogic Captivator PCI card.
77 The following sysctls may be used to further configure the driver:
79 .Em sysctl hw.bt848.card=nnnn
80 This can be used to override the card make which was detected at boot time.
82 is set to an integer from 1 to 13 taken from the following table:
84 .Bl -tag -compact -width 22n
109 .It VIDEO_HIGHWAY_XTREME
113 .Em sysctl hw.bt848.tuner=nnnn
114 This can be used to override the tuner make which was detected at boot time.
116 is set to an integer from 1 to 13 taken from the following table:
118 .Bl -tag -compact -width 22n
137 .It PHILIPS_FR1236_NTSC
138 9 /* These have FM Radio support */
139 .It PHILIPS_FR1216_PAL
140 10 /* These have FM Radio support */
141 .It PHILIPS_FR1236_SECAM
142 11 /* These have FM Radio support */
150 This driver is based on the work of
151 .An Jim Lowe Aq james@miller.cs.uwm.edu ,
152 .An Mark Tinguely Aq tinguely@plains.nodak.edu ,
153 .An Amancio Hasty Aq hasty@star\-gate.com ,
154 .An Roger Hardiman Aq roger@FreeBSD.org
155 and a bunch of other people.
157 .Bl -tag -width /usr/share/examples/meteor -compact
158 .It Pa /usr/share/examples/meteor
159 Examples of what you can do with the (similarly designed) Meteor driver.
160 .It Pa /usr/ports/graphics/fxtv
161 A TV and Camera display program utilizing the bktr driver - requires that
162 .Em The X Window System
164 .Em The Ports Collection
166 .It Pa /usr/ports/misc/alevt
167 A program to capture and display Teletext (VideoText) pages - requires that
168 .Em The X Window System
170 .Em The Ports Collection
172 .It Pa /usr/ports/audio/xmradio
173 An FM Radio Tuner for cards which have an FM Radio tuner fitted. - requires that
174 .Em The X Window System
176 .Em The Ports Collection
189 driver first appeared in