summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2006-11-22[PATCH 4/8] budget-ci IR: be more verbose in case of init failureAndrew de Quincey
Trivial change to help the user understand what went wrong. Taken from Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 3/8] budget-ci IR: improve error checking in init and deinit functionsAndrew de Quincey
Improve the error checking in the IR init and deinit functions. Based on Darren Salt's dvb-ir patchset. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 2/8] budget-ci IR: support EVIOCGPHYSAndrew de Quincey
This patch adds a 'phys' string, of the same form as used by various other DVB cards' IR drivers, for access by any program which uses the EVIOCPHYS ioctl or may read /sys/class/input/*/phys (e.g. udev) to identify input device nodes. Taken from Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22[PATCH 1/8] budget-ci IR: groundwork for following patchesAndrew de Quincey
This patch lays down some groundwork for later budget-ci patches. The bulk of this consists of moving a few members into a new struct and renaming a few of them. It also allocates extra space for the device name (the "name" field in /proc/bus/input/devices and in the relevant sysfs dir) to avoid truncation and uses snprintf rather than sprintf in case the extra space shouldn't be enough. Taken from Darren Salt's dvb-ir patchset Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22Fix oops on symbol rate==0Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The tda10086 causes an oops (divide by zero) if a zero symbol rate is used; this prevents this. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-22Correct budget.c permissionsAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> budget.c permissions seem to have accidentally been changed to executable - this removes that Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-21saa7134-alsa improvementsHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The change does the following: - At device open, it sets the recording source to the current input instead of LINE2. So it is no longer necessary to set the recording source with a mixer application. - Connects the mixer volume control to the input sensitivity selection of the analog sound inputs. This allows only one 6db step. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-11-21Fix i2c dependencies of VIDEO_TVEEPROM and VIDEO_TUNERMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-21merge: http://linuxtv.org/hg/~mkrufky/dvb-pllMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-21adding support for 400e (forgot the files :) )Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> adding files is sometimes better Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-11-21Fix: Slot 0 not NULL on disconnecting SN9C10x PC CameraMauro Carvalho Chehab
From: Luca Risolia <luca.risolia@studio.unibo.it> The patch fix bug 5748. Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-21TDA826x I2C read with 2 messagesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Added a dump I2C message to the TDA826x-driver to fix I2C read for identification with ttusb2-driver. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-11-21Adding support for Pinnacle PCTV 400e DVB-SPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Adding support for Pinnacle PCTV 400e DVB-S. The module name is called ttusb2, because it this device (and other Pinnacle devices) is using the USB-protocol originally used by Technotrend device. I'm suspecting Technotrend as the device-designer. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-11-20Fixes uninitialized variables passed to VIDIOC_G_FBUF.Mauro Carvalho Chehab
From: audetto@tiscali.it <"audetto@tiscali.it"> Signed-off-by: Andrea A Odetti <audetto@tiscali.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20lgh06xf: use return value of dvb_pll_configure() to fill priv->frequencyMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> In lgh06xf_set_params: Rename int variable "err" to "result". Remove needless calculation of the set frequency, since this value is now being returned by dvb_pll_configure(). Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-20dvb-pll: return frequency set by dvb_pll_configure()Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch removes some duplicated code by returning the frequency set by dvb_pll_configure(), instead of recalculating it again in dvb_pll_set_params() and dvb_pll_calc_regs(). If the return value of dvb_pll_configure is less than zero, it is an error code. Otherwise, the return value is the frequency actually set by the function. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-20whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - adhere to 80-column limit - replace some spaces with tabs Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-20Remove the need of a STD array for drivers using video_ioctl2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> CC: Jonathan Corbet <corbet@lwn.net> video_ioctl2 will auto-generate standard entries at ENUM_FMT. Also, now, a driver may return a subset of the video array at the return, to be stored as the current_norm. For example, a driver may ask for V4L2_STD_PAL. At return, driver may change it to V4L2_STD_PAL_B. This way, a futher call to G_STD will return the exact detected video std. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20Optimization of v4l1 handlingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20Fix initializations on some video_ioctl2 handlersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20Fix: implement missing VIDIOCSTUNER on v4l1-compat moduleMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20Cleans some ioctl structs before calling V4L2 counterpartMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20merge: http://linuxtv.org/hg/~quincy/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20Handle errors from input_register_device()Mauro Carvalho Chehab
From: Dmitry Torokhov <dtor@insightbb.com> Also sprinkled some input_sync() throughout the code. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Ricardo Cerqueira <v4l@cerqueira.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20merge: http://linuxtv.org/hg/~mcisely/pvrusb2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-20Add missing spin_unlock to saa6588 decoder driverMauro Carvalho Chehab
From: Ira Snyder <kernel@irasnyder.com> Sparse noticed a lock imbalance in read_from_buf(). Further inspection shows that the lock should not be held when the function exits. This adds a spin_unlock_irqrestore(), so that every exit path of the read_from_buf() function is consistent. The unlock was missing on an error path. Signed-off-by: Ira W. Snyder <devel@irasnyder.com> Signed-off-by: Hans J. Koch <koch@hjk-az.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-19lgh06xf: fix compiler error when not selectedMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> fix build error: lgh06xf.h:29: error: syntax error before '{' token Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-19merge: http://linuxtv.org/hg/~mkrufky/lgh06xfMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-19pvrusb2: Fix horizontal resolution setting problem for 24xxx devicesMike Isely
From: Mike Isely <isely@pobox.com> Fix long-standing issue which prevented use of 24xxx devices at any horizontal resolution other an 720. The problem is in the cx25840 module, if no attempt is made to initialize VBI there. Such a thing should not be needed, but the pvrusb2 driver is updated now to deal with this. Signed-off-by: Mike Isely <isely@pobox.com>
2006-11-19drivers/media/dvb/frontends: kfree() cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> We don't have to check for NULL before kfree() Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-19create new lgh06xf atsc tuner moduleMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch creates a new atsc tuner module for the LG TDVS-H06xF ATSC tuners, called lgh06xf. The purpose of this change is to reduce some duplicated code, and to allow the lgh06xf tuner code to take advantage of dvb_attach(). As a side effect, the dependency of dvb-bt8xx on dvb-pll has been removed, since the lgh06xf module itself will use dvb-pll, while remaining optional for the dvb-bt8xx driver through the use of DVB_FE_CUSTOMISE Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-19Updated camera driverMauro Carvalho Chehab
From: Jonathan Corbet <corbet@lwn.net> A couple of Cafe driver fixes, and support for the hue and saturation controls. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-19Support KNC1 DVBC cards with alternative tda10021 i2c addressAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> For some reason, some of these cards have the tda10021 configured to a different address. This adds support for such cards Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-19Added a newer PCI ID to CARDLIST.cx88Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-19budget: diseqc_method module parameter for cards with subsystem-id 13c2:1003Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> New module parameter diseqc_method for cards with subsystem-id 13c2:1003. - 0: unreliable method, can be used by all board revisions (default) - 1: reliable method, works for newer board layouts only The parameter has no effect for cards with other subsystem-ids. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-11-18Add support ptv-305Mauro Carvalho Chehab
From: Jelle Foks <jelle@foks.8m.com> Add subvendor/device of the ADSTech Instant TV Deluxe PTV-305 to the card list as card=45 (KWORLD_HARDWARE_MPEG_TV_XPERT). Signed-off-by: Jelle Foks <jelle@foks.8m.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-18Fix cx88-blackbird null pointerMauro Carvalho Chehab
From: Jelle Foks <jelle@foks.8m.com> Allows 'debug=1' for cx88-blackbird module (dev needs to be valid for dprintk). Fixes a null-pointer dereference when using debug=1. Signed-off-by: Jelle Foks <jelle@foks.8m.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-17merge: http://linuxtv.org/hg/~hhackmann/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-17Cafe_ccic.c: make a function staticMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> This patch makes the needlessly global cafe_v4l_dev_release() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-17Patch for SATELCO EasyWatch PCI (DVB-C)Andrew de Quincey
From: Thomas Hamm <thhamm@t-online.de> Add support for Satelco EasyWatch PCI DVBC cards Signed-off-by: Thomas Hamm <thhamm@t-online.de> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-17Fix uninitialised variable in dvb_frontend_swzigzagAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Spotted by coverity/Adrian Bunk. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-16Fix tuning on older budget DVBS cards.Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Fixes to DISEQC on these cards inadvertently broke normal tone/voltage signalling. This restores the necessary function. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-11-16Start adding v4l2_mmap_bufs to prepare for streamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This method requests buffers and maps it into a mmaped memory. Still under testing. Still need other stuff to make stream to work. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-16Added support for both DVB frontends of the Lifeview TrioHartmut Hackmann
From: Nico Sabbi (nsabbi@tiscali.it) This card (like some others) supports both, DVB-T and a DVB-S. The patch adds an insmod option to select the frontend: use_frontend=0 -> DVB-T use_frontend=1 -> DVB-S Signed-off-by: Nico Sabbi (nsabbi@tiscali.it) Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-11-16Added support for the Terratec Cinergy HT PCMCIA moduleHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This is a hybrid cardbus module. Besides the card support, i modified the definition names for AGC and GPIO of the tda10046. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-11-14FIX bug 5760: audio were not working on some bttv driversMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> CC: Christian Casteyde <casteyde.christian@free.fr> This fixes a bug introduced by the changeset bellow: http://linuxtv.org/hg/v4l-dvb?cs=f8b432b28d7f;style=gitweb It seems that some bttv apps can't work fine when audioset=0. Thanks to Christian Casteyde <casteyde.christian@free.fr> for pointing this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-14Add alternative device ID (0xb808) for AverMedia AverTV Volar dongles.Patrick Boettcher
From: Jose Carlos Garcia Sogo <jsogo@debian.org> Add alternative device ID (0xb808) for AverMedia AverTV Volar dongles. Signed-off-by: Jose Carlos Garcia Sogo <jsogo@debian.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-11-13saa7134: Fix missing 'break' for avermedia card caseMichael Krufky
From: Linus Torvalds <torvalds@osdl.org> Commit 450efcfd2e1d941e302a8c89322fbfcef237be98 broke Avermedia 777 support. Added obvious missing "break" statement. kernel-sync ... from git commit 4dd7406e9c7e7a5422425ef699780463490b8745 Cc: Jose Suarez <j.suarez.agapito@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-12merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>