summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
2008-09-17Add support for Silicon Laboratories SI2109/2110 demodulators.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for Silicon Laboratories SI2109/2110 demodulator and cards with it, such as DvbWorld PCI2002. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-21HVR3000/4000 Hauppauge related IR cleanupsSteven Toth
From: Darron Broad <darron@kewl.org> From the author: This patch-set fixes remote control issues I have experienced with hauppauge drivers in Linux since the PVR-350 and now with both a NOVA-S+ and HVR-4000. It has also been confirmed to work with an HVR-1300 user who had exactly the same issue. Hauppage remote controls use RC5. RC5 has a bit-field which represents the target device. The hauppauge windows drivers have a registry key which can enable filtering, but the linux drivers will accept any target device in this bit field for internal processing. This causes problems with setups such as mythtv where remote control key presses destined for the TV (target = 0) are interpreted by the kernel and subsequenctly LIRC then mythtv. Of the remote controls I have to hand (wintv black, pvr/hvr silver) the hauppauge remotes send one of two device targets ids, these are interpreted by the patch which then filters out any non hauppauge addresses. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-09-21S2API: cx24116 register description fixes.Steven Toth
From: Darron Broad <darron@kewl.org> From the author: Here is a simple patch detailing some reverse engineered register detail lost in my latest merge. The comments in the code refer to this register but it is never defined. This corrects this. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-09-14History update: MPEG initialization in cx24116.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Adjust MPEG initialization in cx24116 in order to accomodate different MPEG CLK position and polarity in different cards. For example, HVR4000 uses 0x02 value, but DvbWorld & TeVii USB cards uses 0x01. Without it MPEG stream was broken on that cards for symbol rates > 30000 kSyms/s. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-14S2API: cx24116 Rolloff changes, sysctls cleanup, isl power changes.Steven Toth
From: Darron Broad <darron@kewl.org> Remove the debugging sysctls. Rolloff was broken, not it works as expected and has been tested in kaffeine. Power related changes for the isl6421 are not implemented on the HVR4000/4000LITE. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-09-14Add support for DvbWorld 2004 DVB-S2 PCI adapterIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for DvbWorld 2004 DVB-S2 PCI adapter. The card contains dm1105 PCI chip and cx24116 demodulator Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-13S2API: A number of cleanusp from the last 24 months.Steven Toth
From: Darron Broad <darron@kewl.org> I was given these changes by Darron Broad and Igor Liplianin and represent a series of patches they've been making to the cx24116 driver over the last two years. Changes for handling symbolrates >30Ksps Tone handling changes. Diseqc support. Sleep support, shutting down the clocks correctly. Cleanup on ROLL_OFF and PILOT support. *** ST - We need to cleanup the sysclt control, this is abnormal in a demod driver. We should work towards understanding the missing API's and ensure we have them in S2API. *** Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
2008-09-13Add support for SDMC DM1105 PCI chipIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Add support for SDMC DM1105 PCI chip. There is a lot of cards based on it, like DvbWorld 2002 DVB-S , 2004 DVB-S2 Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-13Nova-se2 / Nova-s-plus Intersil6421 power fix to support switches.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-13S2API: Bugfix related to syncing the cache when used with the old API.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Many thanks to Darron Broad for pointing out the obvious. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-13S2API: Changed bandwidth to be expressed in HZSteven Toth
From: Steven Toth <stoth@linuxtv.org> Also added some compat code for the older API. Added more ISDB message/command suggestions, current not connected in dvb-core. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-13S2API: Allow reliable use of old and new api on the same frontend, regardless.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-12Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return errorIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Bug fix: ioctl FE_SET_PROPERTY/FE_GET_PROPERTY always return error Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-12S2API: Implement GET/SET handing to the demodsSteven Toth
From: Steven Toth <stoth@linuxtv.org> The frontends will be notified (if they chose) of all _get and _set commands so they can help determine result or action. Results are now returned to userspace correctly. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-12S2API: Remove the DTV_SET_ and DTV_GET_ prefixesSteven Toth
From: Steven Toth <stoth@linuxtv.org> The API now assumes that ioctl calls for FE_SET_PROPERTY and all set commands, and FE_GET_PROPERTY are get commands. Simplification. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: Ensure cache->delivery_system is set at all times.Steven Toth
From: Steven Toth <stoth@linuxtv.org> This helps complex demods which support different modulation types be better informed. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDXSteven Toth
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: Cleanup code that prepares tuning structures.Steven Toth
From: Steven Toth <stoth@linuxtv.org> Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: Reduce demod driver complexity by using a cache syncSteven Toth
From: Steven Toth <stoth@linuxtv.org> For demod drivers, we want a single tuning function (set_frontend) to have access to the properly constructed dvb_frontend_parameters structure, or the cache values - regardless of whether the legacy or new API is being used. This cuts down on redundant code in the demod drivers and ensures the tuning parameters are consistent regardless of the API entry type. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: Cleanup SYMBOLRATE, INNERFEC -> SYMBOL_RATE, INNER_FECSteven Toth
From: Steven Toth <stoth@linuxtv.org> This is now consistent with the existing API. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: typedefs replaced, _SEQ_'s removed, fixed 16 command arrays replacedSteven Toth
From: Steven Toth <stoth@linuxtv.org> After discussion the following changes were made: 1. Removed the typedefs in frontend.h, use structures. 2. In the frontend.h, remove the 16 command limit on the API and switch to a flexible variable length API. For practical reasons a #define limits this to 64, this should be discussed. 3. Changed dvb-core ioctl handing to deal with variable sequences of commands. tune-v0.0.3.c is required to use this API, it contains the interface changes. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-11S2API: tv_ / TV_ to dtv_ / DTV_ namespace changesSteven Toth
From: Steven Toth <stoth@linuxtv.org> The group preferred dtv_ over tv_, this implements it. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-09Adjust MPEG initialization in cx24116Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Adjust MPEG initialization in cx24116 in order to accomodate different MPEG CLK position and polarity in different cards. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-09cx24116: Fix lock for high (above 30000 kSyms) symbol ratesIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> cx24116: Fix lock for high (above 30000 kSyms) symbol rates Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-09Kconfig corrections for DVBWorld 2104 and TeVii S650 USB DVB-S2 cardsIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Change menu item in Kconfig for DVBWorld 2104 and TeVii S650 USB DVB-S2 cards Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-08Added support for DVBWorld 2104 and TeVii S650 USB DVB-S2 cardsIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Added support for DVBWorld 2104 and TeVii S650 USB DVB-S2 cards This cards based on cx24116 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-08S2API: DVB-S/S2 voltage selection bug fixSteven Toth
From: Steven Toth <stoth@linuxtv.org> Thanks to Hans Werner for finding the problem. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-04Added support for TeVii S460 DVB-S/S2 cardIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> Added support for TeVii S460 DVB-S/S2 card. The card based on cx24116 demodulator. Signed-off-by: Igor M. Liplianin <liplianin@me.by>
2008-09-04S2API: Allow the properties to call legacy ioctlsSteven Toth
From: Steven Toth <stoth@linuxtv.org> SET_TONE and SET_VOLTAGE were not previously implemented. Two options existed. Either cut/paste from the previous ioctl handler into the process_properties function, which is code duplication. Or, split the current ioctl handler into it's two major pieces. Piece 1, responsible for input validation and semaphore acquiring Piece 2 the processing of the previous ioctls and finally, a new third pieces where the array of properties is processed, and can freely call the legacy ioctl handler without having to re-acquire the fepriv->sem semaphore. This is a clean approach and ensures the existing legacy ioctls are processed as they were previously (but with an extra function call) and allows the new API to share code without duplication. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-04cx88: Add support for the Hauppauge HVR4000 and HVR4000-LITE (S2) boardsSteven Toth
From: Steven Toth <stoth@linuxtv.org> Adding support for Hauppauge's cx88 S2 based products, based on the cx24116 DVB-S2 demodulator. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-04cx24116: Adding DVB-S2 demodulator supportSteven Toth
From: Steven Toth <stoth@linuxtv.org> Adds support for the COnexant cx24116 DVB-S2 demodulator. TODO: checkpatch cleanup. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-04S2API: Added dvb frontend changes to support a newer tuning APISteven Toth
From: Steven Toth <stoth@linuxtv.org> This is an experimental patch to add a new tuning mechanism for dvb frontends. Rather than passing fixed structures across the user/kernel boundary, which need to be revised for each new modulation type (or feature the kernel developers want to add), this implements a simpler message based approach, allowing fe commands to be broken down into a series of small fixed size transactions, presented in an array. The goal is to avoid changing the user/kernel ABI in the future, by simply creating new frontend commands (and sequencies of commands) that help us add support for brand new demodulator, delivery system or statistics related commmands. known issues: checkpatch voilations feedback from various developers yet to be implemented, relating to namespace conventions, variable length array passing conventions, and generally some optimization. This patch should support all existing tuning mechanisms through the new API, as well as adding 8PSK, DVB-S2 NBC-QPSK and ISDB-T API support. For testing and exercise purposes, see the latest tune.c tool available from http://www.steventoth.net/linux/s2 Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-08-30merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-devMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-30merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-30bt856: fix define conflictHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-30compat: add current_uid define to fix compile errors on kernels < 2.6.27Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-29uvcvideo: Add support for a Bison Electronics webcam found in the Fujitsu ↵Mauro Carvalho Chehab
Amilo SI2636. From: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-29uvcvideo: Supress spurious "EOF in empty payload" trace messageMauro Carvalho Chehab
From: Laurent Pinchart <laurent.pinchart@skynet.be> Pass the payload size instead of the header size to uvc_video_decode_end() to avoid generating an extra trace message for each frame. Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-29v4l2: use register_chrdev_region instead of register_chrdevHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Replace the old register_chrdev with the more flexible register_chrdev_region. Ensure that the release() is called when the very last chardev usage was released, and not when the sysfs devices were removed. This should simplify hotpluggable drivers considerably. Tested-by: Mike Isely <isely@isely.net> Tested-by: Laurent Pinchart <laurent.pinchart@skynet.be> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: David Ellingsworth <david@identd.dyndns.org> Reviewed-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-29s2255drv: adds JPEG compression quality controlMauro Carvalho Chehab
From: Dean Anderson <dean@sensoray.com> adds VIDIOC_S_JPEGCOMP and VIDIOC_G_JPEGCOMP ioctls for controlling JPEG compression quality. Signed-off-by: Dean Anderson <dean@sensoray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-29merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-devMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-29merge: http://linuxtv.org/hg/~awalls/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-28dabusb_fpga_download(): fix a memory leakMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> This patch fixes a memory leak in an error path. Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-28tda10048_firmware_upload(): fix a memory leakMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> This patch fixes a memory leak ("fw" wasn't freed). Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-28vivi_release(): fix use-after-freeMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> video_device_release() does kfree(), which made the following printk() doing a use-after-free. printk() first and release then. Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-29merge: http://linuxtv.org/hg/~mkrufky/bristolMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-28dib0700: add basic support for Hauppauge Nova-TD-500 (84xxx)Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This adds basic support for the Hauppauge Nova-TD-500 84xxx series. A future patch will allow for one aerial input to supply both tuners. With the current code, an aerial must be plugged into each antannae input in order for both tuners to function. Priority: high Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-28dib0700: add comment to identify 35th USB id pairMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This comment helps to make the code more readable. Priority: high Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-27CRED: Wrap task credential accesses in video input driversMauro Carvalho Chehab
From: David Howells <dhowells@redhat.com> Wrap access to task credentials so that they can be separated more easily from the task_struct during the introduction of COW creds. Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id(). Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more sense to use RCU directly rather than a convenient wrapper; these will be addressed by later patches. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-29dvb: fix I2C adapters name sizeMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Some DVB drivers are incorrectly assuming that the size of i2c_adapter.name is I2C_NAME_SIZE. Here's a fix. Also change strncpy to strlcpy, as the former is error-prone (and was indeed incorrectly used.) Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Uwe Bugla <uwe.bugla@gmx.de> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>