summaryrefslogtreecommitdiffstats
path: root/sys/dev/bktr
Commit message (Collapse)AuthorAgeFilesLines
* Use [u]intptr_t instead of [u_]long for casts between pointers andbde1998-08-161-3/+3
| | | | integers. Don't forget to cast to (void *) as well.
* Support the PAL version of the BT878 based Haupauge WinTV/PCI.sos1998-08-101-0/+1
| | | | Submitted by: Matthias Scheler <tron@netbsd.org>
* Updated Hauppauge detection code for Tuner ID 0x0a for newer NTSCsos1998-08-081-5/+13
| | | | | | WinCastTV 404 with Bt878 chipset. Tidied up PAL default in video_open() Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
* Add support for the AVer Media range of cards.sos1998-07-141-9/+13
|
* I checked in the wrong version yesterday . The correct version is 1.38ahasty1998-07-141-12/+32
| | | | Amancio
* Improved Hauppauge's tuner detection and bt878 supportahasty1998-07-132-37/+146
| | | | Amancio
* Removed unused includes.bde1998-06-211-1/+0
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-1/+1
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Reviewed by: hasty@star-gate.comahasty1998-06-051-0/+2
| | | | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> I left out a line of code from Roger's last patch :(
* Reviewed by: hasty@freebsd.orgahasty1998-05-241-7/+0
| | | | | | Submitted by: hasty@star-gate.com Eliminate NTSC default setting if user choses a different video format.
* Reviewed by: ahasty@freebsd.orgahasty1998-05-191-6/+35
| | | | | | | | | | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL in the kernel config file makes the driver's video_open() function select PAL rather than NTSC. This fixed all the hangs on my Dual Crystal card when using a PAL video signal. As a result, you can loose the tsleep (of 2 seconds - now 0.25!!) which I previously added. (Unless someone else wanted the 0.25 second tsleep).
* 1.31 Randall Hopper <rhh@ct.picker.com>ahasty1998-05-163-279/+441
| | | | | | | | | | | | | | | | | | | submitted ioctl to clear the video buffer prior to starting video capture Amancio : clean up yuv12 so that it does not affect rgb capture. Basically, fxtv after capturing in yuv12 mode , switching to rgb would cause the video capture to be too bright. 1.32 disable inverse gamma function for rgb and yuv capture. fixed meteor brightness ioctl it now converts the brightness value from unsigned to signed. 1.33 added sysctl: hw.bt848.tuner, hw.bt848.reverse_mute, hw.bt848.card card takes a value from 0 to bt848_max_card tuner takes a value from 0 to bt848_max_tuner reverse_mute : 0 no effect, 1 reverse tuner mute function some tuners are wired reversed :(
* Forgot to add opt_bktr.hahasty1998-04-191-0/+1
|
* Reviewed by: Amancioahasty1998-04-181-21/+97
| | | | | | | | | | | Submitted by: Roger Hardiman <roger@cs.strath.ac.uk> Roger Hardiman <roger@cs.strath.ac.uk> : Revised autodetection code to correctly handle both old and new VideoLogic Captivator PCI cards. Added tsleep of 2 seconds to initialistion code for PAL users. Corrected clock selection code on format change. --- Amancio
* take out opt_bktr.h from brooktree848.cahasty1998-04-061-1/+0
|
* Reviewed by: Amancioahasty1998-04-052-4/+53
| | | | | | Submitted by: Frank Nobis <fn@Radio-do.de> Mods to view german cable tv and minor fix to correctly identify bt849.
* Restored half of the ANSI semantic errors fix which was clobberedbde1998-03-011-2/+0
| | | | by the previous commit.
* Radio support for bt848 cards from Flemming Jacobsen <fj@trw.nl>ahasty1998-02-263-18/+46
| | | | Amancio
* Added missing #include of "opt_devfs.h".bde1998-02-251-4/+3
| | | | | | | Fixed pedantic semantics errors (in ANSI C, static arrays must have a size, and static objects should be consistently declared as static unless you know more than anyone should have to know about the linkage rules).
* Move Luigi's I2CWR ioctl from the video_ioctl section to theahasty1998-02-201-22/+26
| | | | | tuner_ioctl section. Changed Major device from 79 to 92 and reserved our Major device number -- hasty@star-gate.com
* Staticize.eivind1998-02-091-8/+8
|
* Back out DIAGNOSTIC changes.eivind1998-02-061-1/+0
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-0/+1
|
* Re-add my DEVFS changes after they were stomped on. This time, I throw awayeivind1998-02-042-5/+4
| | | | the DEVFS tokens (as they weren't used anywhere anyway).
* Bugs/Enhancements:ahasty1998-02-023-149/+289
| | | | | | | | | | | | | | | | | 1. Takeshi Ohashi <ohashi@atohasi.mickey.ai.kyutech.ac.jp> submitted code to support bktr_read . /usr/src/share/examples/rgb24.c now works 8) 2. Flemming Jacobsen <fj@schizo.dk.tfs.com> submitted code to support radio available with in some bt848 based cards;additionally, wrote code to correctly recognized his bt848 card. 3. Roger Hardiman <roger@cs.strath.ac.uk> submitted various fixes to smooth out the microcode and made all modes consistent. 4. Added supported for yuv12 so we know can capture raw streams and feed it to mpeg_encoder . The upshot is that we can now mpeg encode more and save nearly 100 percent of the disk requirements previously for programs such as fxtv first save the raw video image to disk then converted to a format suitable for mpeg_encode.
* Attempt at making this use DEVFS properly. (Now it should at least work.)eivind1998-01-312-3/+6
|
* Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.eivind1998-01-241-0/+1
| | | | | | | | This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smooth move of option *FS to opt_dontuse.h later.) LFS is temporarily disabled, and will be re-enabled tomorrow.
* Reviewed by: Amancio Hastyahasty1997-12-311-4/+20
| | | | | | Submitted by: Jonathan Hanna <pangolin@rogers.wave.ca> The patch is for a Hauppauge Win/TV dbx with FM. I still need to config OVERRIDE_TUNER, but it works nicely.
* Reviewed by: Amancio Hastyahasty1997-11-162-9/+185
| | | | | | Submitted by: Amancio Hasty <hasty@star-gate.com> Added yuv12 support for mpeg encoding and Randall Hopper's fixed for Temporal Decimation
* Rats. Committed the wrong version.markm1997-11-061-5/+11
| | | | Move the declarations to the top of the ioctl() function so this compiles.
* 1) Add the IOCTL for Luigi's BT848 -> I2C bus driver.markm1997-11-061-14/+113
| | | | | | | | 2) Fix temporal decimation, disable it when doing CAP_SINGLEs, and in dual-field capture, don't capture fields for different frames Submitted by: Luigi Rizzo & Randall Hopper
* Add the IOCTL for Luigi's BT848 -> I2C bus driver.markm1997-11-061-1/+8
|
* Improve PAL support and fix mux selector values.eivind1997-10-302-32/+104
| | | | | | | This make the Miro PCTV work for me, including audio, and should hopefully fix the other audio problems some people have been having. Reviewed by: ahasty & Luigi Rizzo (freebsd-multimedia)
* Despam 1.11, 1.12 and 1.13 caused by no sync between author/committer/CURRENTmarkm1997-10-081-14/+36
|
* Latest round of patches from the author.markm1997-10-073-18/+102
| | | | | | | | | | | | | This driver includes the following patches submitted by: 1.0 Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp> Japanese Cable support 2.0 Keith Sklower <sklower@CS.Berkeley.EDU> Minor update to the BSDI section so it compiles cleanly on BSDI 3.0 Joao Carlos Mendes Luis <jonny@coppe.ufrj.br> ioctl interface to select video format , NTSC, PAL, etc...
* Amancio's latest in the Brooktree driver.markm1997-09-093-236/+353
| | | | | This fixes the european frequency set, separates this further from the Meteor driver and fixes bugs.
* Removed unused #includes.bde1997-09-021-7/+0
|
* Added frequencies for north american HRC cable.fsmp1997-08-171-2/+19
| | | | | Submitted by: Yixin Jin <yjin@rain.cs.ucla.edu> (I think) Resubmitted by: Kenneth Merry <ken@gt.ed.net>
* Added 2 new defines:fsmp1997-06-141-5/+18
| | | | | | | | | - OVERRIDE_TUNER: allows you to manually choose the tuner type for those cards that fail to probe properly. See source for legal values. - OVERRIDE_DBX: allows you to manually choose DBX or NO DBX for those cards that fail to probe properly. 0 == no DBX circuit present, 1 == DBX circuit present.
* use frames instead of fields, and restore full meteor compatibility forjmg1997-05-051-1/+4
| | | | | | generalized pixel support. Submitted by: Amancio Hasty
* 1.15 4/18/97 John-Mark Gurney <gurney_j@resnet.uoregon.edu>fsmp1997-05-012-126/+559
| | | | | | | | | | | | | | | | | | Added [SR]RGBMASKs ioctl for byte swapping. 1.16 4/20/97 Randall Hopper <rhh@ct.picker.com> Generalized RGBMASK ioctls for general pixel format setting [SG]ACTPIXFMT, and added query API to return driver-supported pix fmts GSUPPIXFMT. 1.17 4/21/97 hasty@rah.star-gate.com Clipping support added. 1.18 4/23/97 Clean up after failed CAP_SINGLEs where bt interrupt isn't delivered, and fixed fixing CAP_SINGLEs that for ODD_ONLY fields. Submitted by: individuals in above log messages.
* 1.15 4/18/97 John-Mark Gurney <gurney_j@resnet.uoregon.edu>fsmp1997-05-011-0/+43
| | | | | | | | | | | | | | | | | | Added [SR]RGBMASKs ioctl for byte swapping. 1.16 4/20/97 Randall Hopper <rhh@ct.picker.com> Generalized RGBMASK ioctls for general pixel format setting [SG]ACTPIXFMT, and added query API to return driver-supported pix fmts GSUPPIXFMT. 1.17 4/21/97 hasty@rah.star-gate.com Clipping support added. 1.18 4/23/97 Clean up after failed CAP_SINGLEs where bt interrupt isn't delivered, and fixed fixing CAP_SINGLEs that for ODD_ONLY fields. Submitted by: individuals in above log messages.
* Amancio:fsmp1997-04-171-13/+13
| | | | | | | | | | | | | This patch fixes the problem of vic only capturing an even or odd frame plus the my early patch for missing frames with resolutions higher than 320x240 in rgb mode. The yuv422 patch introduces a minor bug in that a green line appears at the bottom of the captured window . There is no easy work around for this right now. Reviewed by: various bt848 hackers Submitted by: Amancio Hasty <hasty@rah.star-gate.com>
* PAL support: magic numbers moved into format_params structure.fsmp1997-04-023-676/+1372
| | | | | | | Revised AFC interface. Fixed DMA_PROG_ALLOC size misdefinition. Submitted by: richard@cogsci.ed.ac.uk (Richard Tobin)
* "Louis A. Mamakos" <louie@TransSys.COM> new bt848 structfsmp1997-03-252-1060/+1190
| | | | | | | | | | | | | Randall Hopper <rhh@ct.picker.com> GHUE/GBRIGHT bug Louis Mamakos made a new bt848 struct, including massive changes to the entire body of code, substituting array offsets with struct members. Randall Hopper aadded fixes of BT848_GHUE & BT848_GBRIG. I (fsmp): added polled hardware i2c routines, removed all existing software i2c routines. added eeprom support.
* added support for EEProms writing/reading.fsmp1997-03-251-2/+8
|
* Submitted by: Michael Petry <petry@netwolf.NetMasters.com>fsmp1997-03-212-828/+1256
| | | | | | | | | | Michael submitted code to activate the audio muxes. fsmp: extended those changes for different boards. auto-detection of board types. auto-detection of tuner types. auto-detection of stereo option.
* Submitted by: Michael Petry <petry@netwolf.NetMasters.com>fsmp1997-03-211-14/+31
| | | | | | | | | | Michael submitted code to activate the audio muxes. fsmp: extended those changes for different boards. auto-detection of board types. auto-detection of tuner types. auto-detection of stereo option
* additions for table-driven frequency calculation.fsmp1997-03-191-196/+202
| | | | | | addition of colorbar ioctl. removed unneeded disable_intr()/enable_intr() wrappers in i2c code. minor cleanup.
* additions for table-driven frequency calculation.fsmp1997-03-191-0/+11
| | | | addition of colorbar ioctl.
OpenPOWER on IntegriCloud