Age | Commit message (Collapse) | Author |
|
From: Trent Piepho <xyzzy@speakeasy.org>
Add a tuner config parameter for TDA9887, default_pll_gating_18, that
changes the L standard PLL gating value from 36% to 0% (datasheet says
0%, tda9887 code says 18%).
Turn this on for Microtune 4049FM5, as recomended by tuner datasheet.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Although not dangerous, it may allow a normal user with access to a machine
to untune a TV channel.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
A buffer was set just before an if block, and then again in both branches
of the if. Obvious coding error.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
With the LG H06xF tuners, an auxiliary byte must be sent after the
standard four-byte i2c sequence. The code that does this is currently in
the wrong place, causing random bytes to be written to the tuner over
i2c in the set_type function.
This patch moves this code from set_type to default_set_tv_freq.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Many tda9887 settings depend on the chosen tuner. Expand the tuner parameters
to include these tda9887 settings.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
With tuner_debug enabled, if a tuner tries to use a video standard that doesn't
have a matching tuner_params defined, the IFPCoff value and tuner number will
be displayed, and the default tuner_params entry will be used.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
If a given tuner definition contains more than one tuner_params array members,
it will try to select the appropriate tuner_params based on the video standard
in use. If there is no tuner_params defined for the current video standard, it
will select the default, tuner_params[0]
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
Right now, all tuners are using the first tuner_params[]
array element for analog mode. We are now ready to begin merging
similar tuner definitions together, such that each tuner definition
will have a tuner_params struct for each available video standard.
The tuner_params[] array element will be chosen based on the video
standard in use.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
- tuner_dbg will show tuner param and range selected
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
- allow multiple tuner params in each tuner definition.
- the correct tuner_params element will be chosen based on
current video standard.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
- move video std detection to top of set_tv_freq function
- we must detect video std first, so that we can choose the correct tuner_params
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
- move config byte from tuner_params to tuner_range struct.
- dvb tuners must be able to set different config byte for each range.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Moved MSP_SET_MATRIX to v4l2-common.h
- Fix typos and integer overflows in tea5767.c
- Split old freq field into a tv_freq and a radio_freq. Prevents
that a radio tuner is initialized with a tv frequency or vice versa.
- When switching to radio mode initialize the tuner with the last
used radio frequency (this was already done for the TV mode).
As a result of these changes the tuner module now remembers the
last set radio and TV frequencies, which is what you would expect
to happen.
- Move out of range frequencies to the closest valid frequency as per
v4l2 API spec.
- Fix incorrect initial radio frequency (multiplier is 16000, not 16)
- Add boundary check for out of range frequencies.
- Use new flag to check if the order of the CB and freq. depends on
the last set frequency. That is needed for some tuners or you can
get static as a result. The flag is added for those tuners where I know
that the datasheet indicates that this is necessary.
- For this new check use the last set div value, not the last frequency
as radio frequencies are always much higher due to the 16000 multiplier.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Michael Krufky <mkrufky@m1k.net>
- tunertype struct redefined to allow one or more tuner_params structs
per tuner definition, one for each video standard.
- Each tuner_params struct has an element containing an arbitrary
amount of tuner_ranges.
(this is needed for dvb tuners - to be handled later)
- A tuner_range may be referenced by multiple tuner_params structs.
There are many duplicates in here. Reusing tuner_range structs,
rather than defining new ones for each tuner, will cut down on
memory usage, and is preferred when possible.
- tunertype struct contains an element, has_tda988x.
We must set this for all tunertypes that contain a tda988x
chip, and then we can remove this setting from the various
card structs.
- Improves tuners array memory usage efficiency.
- Right now, all tuners are using the first tuner_params[] array element
for analog mode. In the future, we will be merging similar tuner
definitions together, such that each tuner definition will have a
tuner_params struct for each available video standard. At that point,
the tuner_params[] array element will be chosen based on the video
standard in use.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- debug global var is already used inside kernel, so renamed
debug to tuner_debug for the tuner module
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
- create an array containing frequency threshold and control byte.
- allows for an arbitrary amount of
frequency ranges to be set, like dvb-pll.
- improves code readability.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
-#include <media/i2c-compat.h>
+#include "i2c-compat.h"
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
From: Michael Krufky <mkrufky@m1k.net>
- corrected Thomson DTT 7611 tuner programming, based on spec sheet
- renamed to Thomson DTT 761x
- applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A
(DTT 7610 is similar, but slightly different programming)
- corrected frequency ranges for analog and digital modes
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- debug message changed to be coherent with other modules
- added ntsc parameter
- parameters moved to the beginning at the file
- tuner_status moved to a better position.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
Fix incorrect matching of TV standards leading to incorrect IFPCoff values.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Video IF was removed from tuners struct.
- Each Video standard have its own Video IF frequency, so it
is related to video standard. Of course tuner also needs
saw filters for IF, but this way, similar tuners can be grouped
into just one entry, if they have the same cut-off freqs and
the same switch config and global config.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* ../linux/Documentation/video4linux/CARDLIST.tuner:
* ../linux/drivers/media/video/bttv-cards.c:
* ../linux/drivers/media/video/bttv.h:
* ../linux/drivers/media/video/ir-kbd-i2c.c:
* ../linux/drivers/media/video/tuner-simple.c:
* ../linux/include/media/tuner.h:
Support for Sabrent bt848 version.
Signed-off-by: Bill Pechter <pechter@gmail.com>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
(default_set_tv_freq):
- ISO C90 forbids mixed declarations and code
* ../v4l/compat.h:
- Do not build support for nxt200x unless at least one of the
following is true:
a) KERNEL_VERSION >= 2.6.15
b) v4l / dvb merge-trees build environment.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
* ../linux/drivers/media/video/cx88/Makefile:
* ../linux/drivers/media/video/cx88/cx88-dvb.c:
(nxt200x_set_ts_param), (dvb_register):
* ../v4l/Makefile:
- Added support for NXT200X based cards (ATI HDTV Wonder)
* ../linux/drivers/media/video/cx88/cx88-cards.c:
(cx88_card_setup):
- Cleaned up initialization of ATI HDTV Wonder. The card is now
able to work in analog or digital mode and able to switch
between them without any problems.
* ../linux/drivers/media/video/tuner-simple.c:
(default_set_tv_freq):
- Fixed value in "Philips TUV1236D ATSC/NTSC dual in" tuner data.
- When tuning the "Philips TUV1236D ATSC/NTSC dual in" tuner,
make sure that we are in the correct tuning mode.
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Whitespace script improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Added analog support for ATI HDTV Wonder
* tuner.h, tuner-simple.c: (default_set_tv_freq):
- Added support for the Philips TUV1236D tuner on the ATI HDTV Wonder
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
* tuner.h:
* tveeprom.c:
- update the tveeprom tuner list with the tuner
list from the Hauppauge driver
- connect the TCL MPE05-2 tveeprom entry to the
TUNER_PHILIPS_FM1216ME_MK3 tuner.
- based on this info renamed the "LG PAL (TAPE series)"
tuner to "TCL 2002MB".
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
|
|
- Lower switch from VHF_LO to VHF_HI for Philips 1216ME MK3
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
|
|
- The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
* cx88-video.c: (cx8800_resume):
- removed trailing whitespace.
* Changelog:
- fixed some entries missing mchehab's login.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- normalize whitespace and comments in tuner lists
Signed-off-by: Philip Rowlands <phr@doc.ic.ac.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- correct LG NTSC TALN mini tuner takeover as far we can
empirically determine for now.
Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* cx88-video.c: (video_release):
* mt20xx.c: (microtune_init):
* saa7134-video.c: (video_release):
* tda8290.c: (standby), (tda8290_init):
* tda9887.c: (tda9887_set_tvnorm), (tda9887_configure),
(tda9887_command):
* tea5767.c: (set_radio_freq), (tea5767_standby),
(tea5767_tuner_init):
* tuner-core.c: (set_addr), (check_mode), (set_mode),
(tuner_command):
* tuner-simple.c: (default_tuner_init):
* tuner.h:
- New tuner standby API.
|
|
- Add new Digimatrix card and LG TAPC Mini tuner for it
Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
|
|
- Added support for Acorp Y878F card.
- some spaces used for identation replaced by tabs.
- Added support for tuner Ymec TVF66T5-B/DFF
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Added analog support for DViCO FusionHDTV5 Gold.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Removed remaining trailing spaces.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Fix bug in lgdt3302_read_status to return correct
FE_HAS_SIGNAL and FS_HAS_CARRIER status.
* msp3400.c, saa7134-cards.c, saa7134-i2c.c:
* tuner-simple.c, video-buf-dvb.c:
- Remove trailing whitespace.
Signed-off-by: Mac Michaels <wmichaels1@earthlink.net>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Use 50 kHz step when tunning radio for most tuners.
Signed-Off-By: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|