summaryrefslogtreecommitdiff
path: root/v4l
AgeCommit message (Collapse)Author
2007-04-14Use a better format to represent usbvision supported boardsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Changed usbvision cards table to allow: 1) Not repeat USB ID on two structs; 2) Not need to specify both usb and card description tables at the same order, removing some magic; Some cards had duplicated names. Fixed. A test for an specific board were doing by using a string comparation. The comparation were wrong. Also, it is not a good practice to recognize a board based on his string name. Acked-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-03Add script to generate CARDLIST.usbvisionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-30build: Fix bug with make qrefreshTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Annoyingly, the Hg mq extension will strip lines starting with "From: " from the patch header. Since the v4l-dvb format commit message contains a line starting with "From: ", it will mess them up. This changes prep_commit_msg to create a decoy "from" line to keep mq from messing up commit messages. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-12build: add a qrefresh target, like commit for use with mqTrent Piepho
Adds a qrefresh target to the top-level Makefile. It's like commit, but for use with the Hg mq extension. It will execute hg qrefresh, so you should have a current mq patch created with hg qnew already! It will run the whitespace and cardlist scripts. If you do not have a commit message from the current mq patch, it will create a default one, as make commit does. If one already exists, then it will put a comment at the beginning of the existing message with the current diffstat and a note of any changes the whitespace script made. The diffstat is done with qdiff, which will show the total diffstat of the patch instead of just the diffstat of from the last version of the patch to the current version. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-11scripts: Enhance analyze_build a bitTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In one case a Kbuild file would do something like: foo-objs := a.o b.o foo-objs += c.o analyze_build didn't understand that the second lines _adds_ c.o to the objects that make up foo.ko. It would think that foo.ko was made up of only c.o. Should be fixed now. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-09build: Add support for DESTDIR when installing/removing modulesTrent Piepho
From: Ludwig Nussel <ludwig.nussel@suse.de> If defined, use $(DESTDIR) as a prefix for installing and removing modules. depmod will also use $(DESTDIR) as a prefix when it is run as part of module installation. Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-11versions.txt: remove DVB_TUNER_LGH06XFMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The lgh06xf module was removed, so we should remove it from versions.txt Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-10Added another variant of acked-by:Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-07build: do a better job at parsing hgrc filesTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> When parsing hgrc files, don't get confused by 'username' appearing in other sections, like [smtp]. Check the repo's hgrc file first, then ~/.hgrc Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-07build: speed up link creationTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Everytime a build is started, the build system creates links to every single source file from the v4l directory. This patch changes the command used, to one that is about 15x faster. When building just one file, the creating the links could take the majority of the total build time. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-07Allow using tea5761 radio device on tuner-coreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> tea5761 is a driver wrote back on 2005, to support Philips tea5671 radio, meanting to be used on some devices that would be lauched with those chips. Recently, some people seems to be interested on having support for those chips at Linux Kernel. Let's enable compilation of this driver and ask they to test if this works fine. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-28merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-27compat: fix test for true already being definedTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The #ifndef true test didn't work, as true is an enum, not a macro. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-27build: Have "make clean" delete Module.symversTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> If Module.symvers is kept around, modpost will think symbols from previous builds are still defined when in the current build they are not. This leads to undefined symbol warnings getting masked. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-27Add ivtv to versions.txt.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-26Add ivtv driver for the Conexant cx23416/cx23415 MPEG encoder/decoderHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> It took three core maintainers, over four years of work, eight new i2c modules, eleven new V4L2 ioctls, three new DVB video ioctls, a Sliced VBI API, a new MPEG encoder API, an enhanced DVB video MPEG decoding API, major YUV/OSD contributions from Ian and John, web/wiki/svn/trac support from Axel Thimm, (hardware) support from Hauppauge, support and assistance from the v4l-dvb people and the many, many users of ivtv to finally make it possible to merge this driver into the kernel. Thank you all! Signed-off-by: Kevin Thayer <nufan_wfk@yahoo.com> Signed-off-by: Chris Kennedy <c@groovy.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: John P Harvey <john.p.harvey@btinternet.com> Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
2007-02-25budget-ci: Fixed compilation error for kernel < 2.6.19Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix compilation error introduced by changeset 6d08d71cbcfb. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-23Fixed credits at gentree.plMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> gentree.pl were part of Gerd Knorr scripts, used to generate patches from his tree against kernel. Several newer capabilities were added to the original script, including the ability to handle with multiple levels of #if/#else/#endif and support for #elif. This patch corrects the credits for this valuable piece of code. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-23Largely re-write gentree.plTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Mostly re-write gentree.pl to make a few improvements: About three times faster Correctly processes BTTV_VERSION_CODE checks Properly handles #elif Doesn't need absolute path names specified in command line arguments Improved debug output, which now shows input line number Can handle almost any general expression for a conditional compilation directive. Can understand all these: #if 0 #ifdef BROKEN_XAWTV #ifndef MM_KERNEL #if defined(STV0297_CS2) #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,20) #elif defined(MM_KERNEL) || !BROKEN_XAWTV #if BTTV_VERSION_CODE > KERNEL_VERSION(0,8,0) || defined(BROKEN_XAWTV) #if (1 > 2) || (I2C_PEC && defined(I2C_CLASS_TV_ANALOG)) #ifndef CONFIG_XC3028 /* Keep */ <- knows to keep this one in the code Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-21Updated gentree.plMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Relaxed some regular expressions to better handle whitespaces at the middle of cpp macros; Added #elif processing capability to the script. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-19compat: Add compat code for vm_insert_page()Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add an inline versin of vm_insert_page() that uses remap_pfn_range() to compat.h. Remove compat code from em28xx-video.c, sn9c102_core.c, and usbvision-video.c since compat.h is now doing the same thing. USB_ZC0301, USB_ET61X251, and USB_ZR364XX will now compile under 2.6.12. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-19compat: input_dev compat code for konicawc and quickcam_messengerTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Adjust konicawc and quickcam_messenger to use backward compat code relating to changes in the input layer in 2.6.15. They should now work in 2.6.12. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-19compat: Fix compat stuff for usbvision and zr364xxTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> compat.h was missing from usbvideo-i2c.c and zr364xx.c zr364xx.c needed the struct semaphore -> struct mutex compat check. Added an old i2c id to compat.h. These could be added to the Hg copy of linux/i2c-id.h instead? There's just this one so far. zr364xx needs 2.6.15 because of vm_insert_page(), so add to versions.txt Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-19compat: Add -include linux/version.h to cflagsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add -include linux/version.h to the cflags. Now code can have backward compatibility test without including compat.h first. Linux headers included from compat.h are removed, so that code will get the same headers when compiling in v4l-dvb as it does in the kernel. Many drivers have compat.h moved to the end of their include list, as this lets compat.h do things it can't do at the beginning. Such as test of something is defined to include compat code, or to put a wrapper around a function without changing the function's name. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-19compat: Add code to compat.h for try_to_sleep()Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Compat.h used to have an argument, now it doesn't. There was also some code: if (current->flags & PF_FREEZE) { refrigerator(PF_FREEZE); } which is the same as try_to_freeze(), and so can be replaced by it. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-11merge: http://linuxtv.org/hg/~mkrufky/megasky.devMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-06VIDEO_VIDEOBUF doesn't exist anymoreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-05Initial support for Sigmatek DVB-110 DVB-TMichael Krufky
From: Antti Palosaari <crope@iki.fi> This patch adds driver for Sigmatek DVB-110 USB DVB-T stick. Stick has based on hardware of Qtuantek QT1010 tuner, Zarlink ZL10353 (Intel CE 6353) demodulator and Alcor Micro AU6610 DVB-T USB controller. HW is rather similar as used in MSI Megasky GL861. Currently, the driver works only in USB 2.0. In my understanding USB 1.1 is also supported by hw but I cannot test it due to lack of USB 1.1 port. Device supports only isochronous mode transfers. There is also eeprom in usb controller(at least in address range 0x80 - 0xbf) for storing data, eg. firmware. Anyway, firmware loading is not used / required by the device. There seems to be at least one unknown I2C device in address 0xa0, probably remote control or GPIO. Windows drivers reads registers from 0x00 to 0x07 from this unknown address. Driver is based on gl861 module. Tuner has a lot of problems to lock with megasky qt1010 module with this hardware with some broadcasting standards. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03gl861: update versions.txt for v4l-dvb.hg local buildMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03m920x: fix build in hg tree / other trivial fixesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - removed extra newline - removed NULL entry - fixed versions.txt Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-23dvb-usb: Initial support for MSI Mega Sky 580 based on Uli m9206Michael Krufky
From: Aapo Tahkola <aet@rasterburn.org> Currently, the driver works in bulk mode supporting both USB 2.0 and 1.0 with and without hardware pid filters. The ULi m9205 also supports isochronous transfer mode, but I have dropped support for it because it depends on firmware and does not work on all USB host chips. Further, I have no firmware with remote controller support for this mode. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-01-09Fix compilation on some webcamsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The recent updates on some webcams replaced vmalloc_32 by vmallo_32_user. However, it seems that this doesn't exist before kernel 2.6.19 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-07Improved script to handle CC and thanks-to tagsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-21Fix building of mconfTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A patch in 2.6.19-rc1, c29121b787f533d135ae47b5f3044adb66cbebef: > user: Sam Ravnborg <sam@neptun.ravnborg.org> > date: Sat Sep 30 07:19:20 2006 -0200 > kbuild: do not build mconf & lxdialog unless needed Was preventing v4l-dvb from building mconf too. That patch checks the make command goal, and only includes rules for mconf when the goal is "menuconfig". We don't want to use make menuconfig, as that would configure the kernel. The workaround is to set hostprogs-y=mconf on the make command line. The kernel build system certainly isn't making this easy for us. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-12-21Support kernels where make menuconfig doesn't need lxdialogTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> make menuconfig used to need to build two kernel configuration programs, mconf and lxdialog. In 2.6.19-rc1, this was changed so there no longer was a separate lxdialog binary, it was integrated into mconf. This adapts the v4l-dvb Makefile to check for lxdialog/Makefile, if it's not present then no lxdialog binary needs to be built. The rules and dependencies on lxdialog will be omitted from the v4l-dvb Makefile in that case. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-12-09Improved #if parsing to accept other syntaxesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01merge: 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-29Fix broken "make gconfig" commandMichael Krufky
From: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-26Removed zr36120 from versions.txtMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-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-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-19Use linux/autoconf.h instead of linux/config.hTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> linux/config.h has been deprecated for some time and is now gone. Switch to using linux/autoconf.h, which is where the config defines have been since at least 2.4 anyway. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-11-19compat: Use kernel version to control PCIAGP_FAIL compat codeTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> PCIAGP_FAIL is a new pci quirk added in 2.6.19. The code in compat.h was checking if PCIAGP_FAIL was already defined to determine whether or not to include the backward compatibility code. This didn't work in a number of cases when compat.h was included before linux/pci.h, as PCIAGP_FAIL would get defined by compat.h and then re-defined by linux/pci.h. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-11-04ov7670 can be compiled with older kernel versionsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> ov7670 compiled fine with 2.6.16. However, cafe_ccic compilation with 2.6.16 produces: CC [M] /home/v4l/master/v4l/cafe_ccic.o /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_setup_siobuf': /home/v4l/master/v4l/cafe_ccic.c:1162: warning: implicit declaration of function 'vmalloc_user' /home/v4l/master/v4l/cafe_ccic.c:1162: warning: assignment makes pointer from integer without a cast /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_v4l_mmap': /home/v4l/master/v4l/cafe_ccic.c:1429: warning: implicit declaration of function 'remap_vmalloc_range' /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_dfs_open': /home/v4l/master/v4l/cafe_ccic.c:1972: error: 'struct inode' has no member named 'i_private' /home/v4l/master/v4l/cafe_ccic.c: In function 'cafe_pci_probe': /home/v4l/master/v4l/cafe_ccic.c:2119: warning: passing argument 2 of 'request_irq' from incompatible pointer type Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-04Make ov7670 and cafe_ccic compile at v4l-dvb treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Those driver are developed using some stuff from newer kernels. Maybe they may compile with kernels lower than 2.6.19, but upper than 2.6.16. Anyway,since the targeted OLPC hardware is not available yet, IMO, it doesn't make much sense to work on backporting the drivers to kernels lower than kernel 2.6.19. CC: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-10-18Add support for DiBcom DiB7000PCPatrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> This patch contains support for the DiB7000PC-driver. Signed-off-by: Francois KANOUNNIKOFF <fkanounnikoff@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2006-10-17use www.ivtvdriver.org for v4l-dvb + ivtv virtual mergeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> ivtvdriver.org is no longer working... but www.ivtvdriver.org still works. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-04Fix bug in check_config_defines.pl scriptTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The code to get the file list from hg manifest wasn't escaped right and the error value check was the opposite of what it should have been. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-10-04Add compat for true/falseMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> true/false were incorporated at a common code on pre-kernel 2.6.19. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>