summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
2008-10-11cx88: Add intial config for FM radio supportdarron@kewl.org
From: Darron Broad <darron@kewl.org> This add initial configuration for radio support on the hvr-3000/4000. FM radio doesn't work as yet without further patches (to come), but this prepares for that. Experimental radio support shows that it works when combined with additional audio routing work for cards with an FMD1216ME analogue frontend, but not the MEX variant (more later). Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11cx88: Add audio routing for the hvr-3000/4000darron@kewl.org
From: Darron Broad <darron@kewl.org> This adds audio routing on the hvr-3000/4000 This is a preliminary patch for later routing requirements. This adds line-in support on the 2 cards mentioned. It is also apparent that there is an initial open fault for line-in when opening composite/s-video. This will be fixed later. It was also noticed that the bit-field for audio routing which was 2 bits needs an increase as the WM8775 for example, allows a value 4 bits wide for it's audio mux. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11MFE: Add multi-frontend mutual exclusiondarron@kewl.org
From: Darron Broad <darron@kewl.org> This add frontend R/W mutual exclusion. Prior to this point in time it was possible to open both frontends simultaneously which an MFE card cannot support. In order to stop this, a delayed open is performed which has the following function: Return EBUSY after a configurable amount of time if a frontend is unavailable due to the other being in use. Only allow opening of a frontend if the kernel thread of the other has stopped. This solution was chosen to allow switching between frontends to work as seamlessly as possible. When both frontends are actually opened simultaneously then one will only open, but if quick switching is performed between one of many then the new open will succeed in a clean fashion rather than interrupting a kernel thread. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11MFE: cx88: Reset cx22702 on hvr-3000/4000darron@kewl.org
From: Darron Broad <darron@kewl.org> The cx22702 is now always reset on module load. Prior to this the cx22702 was not found on i2c scan without a full reset. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11MFE: Add configurable gate controldarron@kewl.org
From: Darron Broad <darron@kewl.org> This adds a configurable (one per card) gate control option for multi-frontend. Prior to this point gate control was assumed to be on the primary frontend, this is a fault when the gate to the analogue section is on the secondary which is the default for both the HVR-3000 and HVR-4000 in MFE. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11MFE: bugfix: add missing frontend allocationdarron@kewl.org
From: Darron Broad <darron@kewl.org> When using MFE on a setup with both and HVR-3000 and ASUS P7131 card it was noticed that frontend allocation for saa7134 adapters was missing. This patch adds that allocation for both saa7134 and cx23885 adapters. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11MFE: Fix a number of bugs and some tidying updarron@kewl.org
From: Darron Broad <darron@kewl.org> A number of reference to videobuf_dvb_get_frontend used an invalid index. This has been fixed. The section for the HVR3000 in advise_acquire was redundant as the same logic is used on the HVR4000. This has been removed and both cards now use the same function. A number of small errors and whitespace errors are also fixed. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11S2API: Add Multiple-frontend on a single adapter support.darron@kewl.org
From: Steven Toth <stoth@linuxtv.org> A detailed description from the original patches 2 years ago: "The WinTV-HVR3000 has a single transport bus which is shared between a DVB-T and DVB-S modulator. These patches build on the bus acquisition cx88 work from a few weeks ago to add support for this. So to applications the HVR3000 looks like this: /dev/dvb/adapter0/fe0 (cx24123 DVB-S demod) /dev/dvb/adapter0/fe1 (cx22702 DVB-T demod) Additional boards continue as before, eg: /dev/dvb/adapter1/fe0 (lgdt3302 ATSC demod) The basic change is removing the single instance of the videobuf_dvb in cx8802_dev and saa7134_dev(?) and replacing it with a list and some supporting functions. *NOTE* This branch was taken before v4l-dvb was closed for 2.6.19 so two or three current cx88 patches appear to be reversed by this tree, this will be cleaned up in the near future. The patches missing change the mutex handing to core->lock, fix an enumeration problem." It should be recognised that a number of people have been maintaining this patchset. Significant levels of Kudos to everyone one involved, including but not limited to: Darron Broad Fabio M. Di Nitto Carlo Scarfoglio Hans Werner Without the work of these people, and countless others, my two year old patches would of died on the Mercurial linuxtv.org vine a long time ago. TODO: Revise these patches a little further so that the need for demux1 and dvr0 is optional, not mandatory on the HVR3000. HISTORY (darron): This is the last update to MFE prepared by Hans which is based upon the `scratchpad' diff created by Carlo. All MFE work prior to that point must be attributed to Fabio who ported and maintained Steve's original patch up to that time. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-11ivtv: partially revert an earlier patch that checks the max image heightHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Ian Armstrong pointed out to me that it is perfectly valid to have a 576 lines YUV video with NTSC output in this particular case. In fact, without this the X driver for ivtv does not function properly. Reverted my earlier change that restrictred the height to 480 for NTSC and add the comments provided by Ian to explain what is happening here. Priority: normal Thanks-to: Ian Armstrong <ian@iarmst.co.uk> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-11ivtv: yuv write() error handling tweakHans Verkuil
From: Ian Armstrong <ian@iarmst.demon.co.uk> Modifies behaviour of a failed dma write() operation for the yuv device. If the dma transfer for the yuv device fails, the write() operation will now exit immediately. Priority: normal Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-10-08Added support for Prof 7300 DVB-S/S2 cardsOleg Roitburd
From: Oleg Roitburd <oroitburd@gmail.com> Added support for Prof 7300 DVB-S/S2 card. The card based on cx24116 demodulator. Signed-off-by: Oleg Roitburd <oroitburd@gmail.com>
2008-10-07cx24116: Change the default SNR units back to percentage by default.Steven Toth
From: Steven Toth <stoth@linuxtv.org> cx24116: Change the default SNR units back to percentage by default. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06S2API: Return error of the caller provides 0 commands.Steven Toth
From: Steven Toth <stoth@linuxtv.org> S2API: Return error of the caller provides 0 commands. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06S2API: Added support for DTV_HIERARCHYSteven Toth
From: Steven Toth <stoth@linuxtv.org> A user tuning DVB-T via the S2API reports that this was not implemented, and his tuning was failing. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06S2API: Add support fot DTV_GUARD_INTERVAL and DTV_TRANSMISSION_MODESteven Toth
From: Steven Toth <stoth@linuxtv.org> Tuning DVB-T via the S2API was failing, missing some essential items. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06S2API: Added support for DTV_CODE_RATE_HP/LPSteven Toth
From: Steven Toth <stoth@linuxtv.org> Reports from users that using the new API for tuning DTV was failing, and the cache was missing some essential items. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06cx24116: Add module parameter to return SNR as ESNO.Steven Toth
From: Steven Toth <stoth@linuxtv.org> I've retained the older percentage code after discussing this with Darron Broad, but made the ESNO option default. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-06S2API: Change _8PSK / _16APSK to PSK_8 and APSK_16Steven Toth
From: Steven Toth <stoth@linuxtv.org> ... and cleanup any drivers using them. I've also removed NBC_QPSK and modified the cx24116 driver to check the delivery_type also, removing some excess namespace baggage. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-05Add support for DvbWorld USB cards with STV0288 demodulator.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for DvbWorld USB cards with STV0288 demodulator. Those cards use Earda EDS-1547 tuner. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-10-05Remove NULL pointer in stb6000 driver.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Remove NULL pointer in stb6000 driver, as it raises error for DvbWorld USB card. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-10-05Allow custom inittab for ST STV0288 demodulator.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Allow custom inittab for ST STV0288 demodulator, as it is needed for DvbWorld USB card. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-10-06S2API: Remove the hardcoded command limit during validationSteven Toth
From: Steven Toth <stoth@linuxtv.org> This means that when developers add new commands then they'll be see the DTV_MAX_COMMAND define and will be more likely to modify it, without having to modify the command validation code. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-10-03S2API: Bugfix related to DVB-S / DVB-S2 tuning for the legacy API.Steven Toth
From: Darron Broad <darron@kewl.org> Fixes switching from S2API to legacy where legacy params given to S2API aware demods are cached ones and not those implied in the legacy API. It was found (on an S2API aware demod at least) that after using an S2API aware application and then switching to a legacy application that prior S2API params were in effect were legacy has only implied values. This fixes this. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-03S2API: Stop an OOPS if illegal commands are dumped in S2API.Steven Toth
From: Darron Broad <darron@kewl.org> Quick fix to stop an OOPS if illegal commands are dumped in S2API. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-03cx24116: Sanity checking to data input via S2API to the cx24116 demod.Steven Toth
From: Darron Broad <darron@kewl.org> Add some sanity checking to data input via S2API to the cx24116 demod. This patch is valid for both s2-mfe and s2. It was found when testing KAFFEINE with S2API support that invalid modulation modes amongst other parameters were being delivered to the demod. In order to debug this sanity checking has been added. An example session would involve kaffeine setting QAM_AUTO when querying DVB-T, then later when trying to tune to DVB-S this cached value would be presented in error. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-10-04saa7134: fixes for the Asus Tiger Revision 1.00Mauro Carvalho Chehab
From: Hermann Pitton <hermann-pitton@arcor.de> In opposite to the P7131 Dual this early OEM card has a male radio antenna connector and also no remote. We currently switch the DVB-T RF feed to the radio input, like on the P7131 with female radio connector used also for DVB-T and should improve this. Priority: normal Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04merge: http://linuxtv.org/hg/~awalls/cx18-mmio-fixesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04merge: http://linuxtv.org/hg/~tmerle/cinergyT2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04merge: http://hg.jannau.net/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04merge: http://linuxtv.org/hg/~dougsland/em28xx-hvrMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04merge: http://linuxtv.org/hg/~dougsland/radio-mr800/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04merge: http://linuxtv.org/hg/~dougsland/em28xx-310uMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04Whitespace cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-04gspca: Adjust control values and restore compilation of sonixj.Mauro Carvalho Chehab
From: Jean-Francois Moine <moinejf@free.fr> - no compilation since last changeset - brightness is a signed value - better values of the color matrix Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr> [mchehab@redhat.com: fix a merge conflict] Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-10-03gspca: Subdriver selection at config time.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-03gspca: Moves some sensor initialization to each sensor in m5602.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-03cx18: Up the version to 1.0.1Andy Walls
From: Andy Walls <awalls@radix.net> cx18: Up the version to 1.0.1. This will make it easy to tell if retries of MMIO access are implemented or not in trouble reports. First course of action for I2C and other initialization problem reports will be to have user upgrade to v1.0.1 of driver. Priority: high Signed-off-by: Andy Walls <awalls@radix.net>
2008-10-03gspca: Frame counter in ALi m5602.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-03gspca: Cleanup code and small changes.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> - convert some #define to enum. - remove some comments. - return ENOMEM on memory allocation failure. Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-02gspca: Bad init values for sonixj ov7660.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-01radio-mr800: Add driver for AverMedia MR 800 USB FM radio devicesDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> This patch creates a new usb-radio driver, radio-mr800.c, that supports the AverMedia MR 800 USB FM radio devices. This device plugs into both the USB and an analog audio input, so this thing only deals with initialization and frequency setting, the audio data has to be handled by a sound driver. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-10-01merge: http://www.linuxtv.org/hg/~stoth/s2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-01gspca: Subdriver m5602 (ALi) added.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> This patch adds support for the ALi m5602 usb bridge and is based on the gspca framework. It contains code for communicating with 5 different sensors: OmniVision OV9650, Pixel Plus PO1030, Samsung S5K83A, S5K4AA and finally Micron MT9M111. Priority: high Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-30correct Makefile symbol for stv0288 frontendJanne Grunau
From: Janne Grunau <janne-dvb@grunau.be> Priority: high Signed-off-by: Janne Grunau <janne-dvb@grunau.be>
2008-09-30gspca: Restart the state machine when no frame buffer in finepix.Jean-Francois Moine
From: Frank Zago <frank@zago.net> Priority: normal Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-30em28xx: Add detection for K-WORLD DVB-T 310UDouglas Schilling Landgraf
From: Darron Broad <darron@kewl.org> Correct firmware type to MTS Correct audio routing for composite/s-video Add DVB-T detection. This patch uses the eeprom hash method for detection as the vendor/product ids are also used for the DIGIVOX_AD. This may be a clone of the same product. Explanatory text has been added prior to the hask look-up in anticipation that it may help others. The following has been tested to work: Analogue TV (PAL-I) Composite In DVB-T (UK Crystal Palace) USB AUDIO The following has not been tested but probably works: S-Video In Priority: high Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@linuxtv.org>
2008-09-29gspca: Remove the duplicated EOF (ff d9) in t613.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-29gspca: New subdriver 'finepix' added.Jean-Francois Moine
From: Frank Zago <frank@zago.net> Priority: normal Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-29gspca: Image transfer by bulk uses altsetting 0 with any buffer size.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - gspca_dev field 'bulk_size' added. - when only one altsetting usable, do image transfer by bulk. Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-29saa7134: fix I2C remote controls on saa7134Mauro Carvalho Chehab
From: Dmitri Belimov <d.belimov@gmail.com> This is patch for solve this regression. Load ir-kbd-i2c module when remote is i2c type. With my best regards, Dmitry. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>