Age | Commit message (Collapse) | Author |
|
From: Ricardo Cerqueira <v4l@cerqueira.org>
cx88-alsa can be compiled in (in distro built kernels, for example), but
not used. In those cases, the audio DMA restart is needed for proper sound
on NICAM channels.
This patch enables the DMA restart even with ALSA, but the functions now
check if cx88-alsa is really active.
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Since kernel include autoconf.h via command line, those config.h inclusion
can be removed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Adrian Bunk <bunk@stusta.de>
remove the following unused hooks:
- cx88-blackbird.c: cx88_ioctl_hook()
- cx88-blackbird.c: cx88_ioctl_translator()
make the following needlessly global functions static:
- cx88-tvaudio.c: cx88_detect_nicam()
remove the following unused EXPORT_SYMBOL's:
- cx88-cards.c: cx88_bcount
- cx88-cards.c: cx88_subids
- cx88-cards.c: cx88_idcount
- cx88-cards.c: cx88_card_list
- cx88-cards.c: cx88_card_setup
- cx88-core.c: cx88_start_audio_dma
- cx88-core.c: cx88_stop_audio_dma
- cx88-i2c.c: cx88_i2c_init
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
clear EN_I2SIN_ENABLE bit for ASUS PVR-416 to enable audio
streaming in both raw video and blackbird mpeg encoder modes.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Ricardo Cerqueira <v4l@cerqueira.org>
There's a call at cx88-tvaudio to reset DMA sound on channel change; that
call was killing cx88-alsa whenever the channel was changed, resulting
in no sound. Remove those calls if cx88-alsa is selected to be compiled.
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
|
|
From: Angelo Marconi <am@massalombarda.net>
- Add support for ProLink Pixelview Playtv@P7000
Raw video and MPEG encoded video confirmed to work properly.
SVideo, Composite and FM inputs are untested - disabled for now.
Signed-off-by: Angelo Marconi <am@massalombarda.net>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
- clear I2SIN to deliver the audio stream to the cx23416 mpeg encoder.
- enable blackbird support on the KWorld HardwareMpegTV XPert
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Michael Krufky <mkrufky@linuxtv.org>
This patch cleans up a potential mess that has yet to occur in the
card-specific part of cx88-tvaudio.c that sets sound input from external adc.
It may be a good idea to move this setting into cx88-cards.c in the future.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Valentin Zagura <puthre@gmail.com>
This patch adds support for KWorld MCE 200 Deluxe.
Raw video is working perfectly, MPEG capture using
cx88-blackbird is also working, but the quality
could be improved.
FIXME: tested TV input only, disabled composite,
svideo and radio until they can be tested also.
Signed-off-by: Valentin Zagura <puthre@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Add a new audio mode V4L2_TUNER_MODE_LANG1_LANG2 (used by VIDIOC_G/S_TUNER).
This mode allows the user to select both languages of a bilingual transmission,
one language on the left, one on the right audio channel. If there is no
bilingual transmission, or it is not supported, then this mode should act like
V4L2_TUNER_MODE_STEREO.
This mode is introduced for PVR-like drivers where it is useful to be able to
record both languages of a bilingual broadcast.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Panagiotis Christeas <p_christ@hol.gr>
- Workaround to fix a known regression at cx88-tvaudio.c
- provide a module parameter workaround to always enable
analog output.
Signed-off-by: Panagiotis Christeas <p_christ@hol.gr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Ricardo Cerqueira <v4l@cerqueira.org>
Existing audio DMA uses conflict with cx88-alsa. This workaround disables
that code if cx88-alsa is being compiled
Signed-off-by:
|
|
From: Steven Toth <stoth@hauppauge.com>
- This patch adds eeprom awareness for the Roslyn. In effect, the
blackbird will query the tuner V4L2_STD_xxxx definitions to determine
whether it's connected to a NTSC or PAL tuner. Based on that, various
default values will change for blackbird encoding.
- Fixes back panel SVIDEO/COMPOSITE with audio, work properly.
- Fixes a problem with lip sync issues, due to bad framerate vs
audio rate assumptions.
- Fixed a problem with the GPIO configuration in cx88-cards.
- Removed the comments in cx88-cards that made no sense.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- enabled audio DMA transfer code even when DMA not in use
to solve a problem on some broken cx88 chips.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
From: Ian Pickworth <ian@pickworth.me.uk>
- resolved problem of sporadic buzz after setting Nicam stereo
- improved setting audio standard with dma reset
- cleaned up comments format
- more sensitive Nicam detection
Signed-off-by: Ian Pickworth <ian@pickworth.me.uk>
Signed-off-by: Michal Pytasz <pytasz@lodz.home.pl>
Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl>
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Thanks to: Ian Pickworth <ian@pickworth.me.uk>
and Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Lots of small changes to allow compiling with kernel 2.4.
Compilation result not tested yet.
- After this patch, .version should be removed, since its
syntax has changed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
(set_audio_finish), (set_audio_standard_BTSC),
(set_audio_standard_NICAM), (set_audio_standard_A2),
(set_audio_standard_EIAJ), (set_audio_standard_FM),
(cx88_detect_nicam), (cx88_set_tvaudio), (cx88_get_stereo),
(cx88_set_stereo), (cx88_audio_thread):
- Reindent cx88-tvaudio.c to keep coding style.
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
- replaced hex values when writing to AUD_CTL to EN_xx for better reading.
- Moved writing to register AUD_CTL from "set_audio_start" to
"set_audio_finish".
- Changed the order of writing Lang2 to work correctly
- Added an "#if 0" to comment out existing code in "cx88_get_stereo"
because simply reading from register "AUD_STATUS" is _not_ enough to
auto-detect btsc-sap, dual-fm-stereo or nicam. It is simply not working.
- Using "EN_A2_AUTO_STEREO" does not work.
- Allow select by hand between Mono, Lang1, Lang2 and Stereo.
- *Bad side effect* is now if I'm selecting for example stereo but it is not
supported from tv-channel I'm currently receiving loud noise.
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
|
|
* cx88-tvaudio.c: (set_audio_standard_NICAM),
(set_audio_standard_A2), (set_audio_standard_FM),
(cx88_detect_nicam), (cx88_set_tvaudio), (cx88_newstation),
(cx88_set_stereo):
* cx88.h:
- Added nicam autodetection for PAL B/G/D/K/I/L.
If it fails then falls back to fm / am mono audio.
- Added debug messages about detecting state.
- 'set_audio_standard_NICAM_L' and 'set_audio_standard_PAL_I'
moved to 'set_audio_standard_A2' and 'set_audio_standard_NICAM'
for cleaner code.
- Changed some WW_xx values for better handling.
- Added 'use_nicam' to 'core' to save nicam detecting state for
later use in 'cx88_set_stereo'.
- Not working:
- Auto fall back to fm / am mono if transmitting quality goes bad.
- A2 dual fm stereo auto detecting.
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Added some registers to control PCI controller at CX2388x chips.
* cx88-tvaudio.c:
- BTSC Lang1 now is set to auto_stereo mode.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Support for BTSC improved.
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- replaced hex values when writing to AUD_CTL to EN_xx for better reading.
- Moved writing to register AUD_CTL from "set_audio_start" to
"set_audio_finish".
- Changed the order of writing Lang2 to work correctly
- Added an "#if 0" to comment out existing code in "cx88_get_stereo"
because simply reading from register "AUD_STATUS" is _not_ enough to
auto-detect btsc-sap, dual-fm-stereo or nicam. It is simply not working.
- Using "EN_A2_AUTO_STEREO" does not work.
- Allow select by hand between Mono, Lang1, Lang2 and Stereo.
- *Bad side effect* is now if I'm selecting for example stereo but it is not
supported from tv-channel I'm currently receiving loud noise.
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Removed remaining trailing spaces.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Added code to eliminate #if 0 and #if 1 when submiting pathes
to new kernel.
Miscelaneous CodingStyle stuff.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
|
|
* cx88-cards.c:
- changed tuner number by it's name as defined on tuner.h.
* scripts/make_kern_diff.sh
- now it also makes diff for include files.
Catalin Climov <catalin@climov.com>:
* cx88-blackbird.c:
- Blackbird firmware API cleanup, symbolic constants for param values.
- improved readability and comprehensibility for api calls.
* cx88-cards.c:
- PVR2000 & MEC gpio fixes.
* cx88-tvaudio.c:
- enable sound input from external adc
* cx88-video.c:
- initialize the hue, contrast and brightness controls to default values
* cx88-mpeg.c:
- s/cx_write/cx_set for MO_TS_INTMSK, MO_DEV_CNTRL2, MO_TS_DMACNTRL
|
|
|
|
- make or51132.c compile (not work) on 2.6.10.
|
|
- misc fixes.
- fixup patch generation control files.
|
|
- tuner: tda8290 fix.
|
|
|
|
- misc card-specific tweaks.
|
|
- cx88: nicam-l fixes (Didier Caillaud).
- cx88: misc minor fixes/cleanups.
|
|
- misc.
|
|
- some pinnacle 300i progress (can talk to mt352 now, not working yet
through).
- misc minor stuff.
|
|
- blackbird + empress updates.
|
|
|
|
|
|
- misc minor fixes.
|
|
|
|
- v4l2: mpeg api first cut
|
|
|
|
|
|
some luck. dvb needs more work.
|
|
|