summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-28Fix bogus error messages in ivtv for VIDIOC_G_CHIP_IDENTHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-28Add VIDIOC_G_CHIP_IDENT to various i2c modulesHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-27Generate driver IDs and chip IDs from the headers and use that in v4l2-dbg.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Instead of a hand-coded list the driver IDs and chip idents are generated automatically from the corresponding headers. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-27Set initial global_alpha to 255 (opaque).Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> An opaque rather than transparent OSD lets it be used as a framebuffer. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-27Update ivtv VIDIOC_G_CHIP_IDENT.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> ivtv now sets the correct chip ident and returns the correct error codes. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-27Improve VIDIOC_G_CHIP_IDENT (better diagnostics)Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Simplify the VIDIOC_G_CHIP_IDENT implementation by adding a single common function. The ident can now also return NONE: not found, UNKNOWN: found, but we don't know what chip it is, and AMBIGUOUS: multiple chips were matched so the match values were too general. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-27Fix comment style and set default debug level to 0Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Convert the '//' comments to kernel approved /* */ style comments. Set the default debug level to 0. As a result of which change some DEBUG_WARNs to errors or remove them altogether. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-27Update zr364xx V4L2 driverMauro Carvalho Chehab
From: Antoine Jacquet <royale@zerezo.com> I did some change on the zr364xx driver following your comments: * I replaced hardcoded values for initialization methods, unfortunately I don't have nicer names to give for now. * I removed the DBG() on all ioctl2 functions and used the .debug var instead. * Following a comment on linux-usb-devel I misunderstood, I added an endianness test which was an error, so I removed it (the order of the bytes in the JPEG header should not depend on endianness). Signed-off-by: Antoine Jacquet <royale@zerezo.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-27merge: http://linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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-26Show v4l2_framebuffer Base address in v4l2-ctl.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25dvb-ttpci: Support for MSC_RAW and MSC_SCAN remote control eventsOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Support for MSC_RAW and MSC_SCAN remote control events. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
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-25merge: http://linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> There's something weird with mercurial... sometimes, hg merge doesn't work. Instead, I need to do: hg update hg merge -r <the other head> hg commit This way, the diff patch will show what happened with the first head, instead of the merging changes added by the newer one :( Anyway, since each individual patch can be seem at the history, it will work. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-25Add cx23415/6 chip idents.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25Add v4l2-dbg debugging utility.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> With v4l2-dbg it is possible to make register dumps of host or i2c chips. It is also possible to query what chips are available. This is just the first version, it will be improved substantially. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25Add v4l2-ctl support for output overlays and framebuffer ioctls.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25Remove V4L2_CHIP_MATCH_ALWAYS.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> V4L2_CHIP_MATCH_ALWAYS turned out to be confusing and also unnecessary. It's now removed. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25Incremented DVB_API_VERSION_MINOR.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> DVB_API_VERSION_MINOR was incremented to reflect the video.h/audio.h additions that were needed to support the cx23415. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Johannes Stezenbach <js@linuxtv.org>
2007-02-25cx23416 doc updates + rename CX2341X_ENC_UNKNOWNHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The documentation of Several miscellaneous commands was updated. As a result of which the CX2341X_ENC_UNKNOWN command was renamed to CX2341X_ENC_SET_VERT_CROP_LINE. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25budget-ci: Use the repeat handling of the input subsystemOliver Endriss
From: David Härdeman <david@hardeman.nu> The attached patch contains the last set of changes to the budget-ci IR handling which makes it use the repeat handling of the input subsystem. This allows some code simplification, makes sure that repeat key presses are reported as such and also allows the "debounce" hack to be removed altogether. In addition a couple of static variables were removed which would have confused the IR code if more than one card is used. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-25dvb-ttpci: Infrared remote control refactoringOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Infrared remote control support rewritten. Now each device provides its own event device, keymap, protocol, inversion and address setting. EVIOCGKEYCODE and EVIOCSKEYCODE ioctls are supported to read/modify a keymap. Keymaps may be loaded using - input tools (keyb etc.) - av7110_loadkeys (obsolete, for backward compatibility) New command line parameters: - ir_protocol: select infrared protocol: 0 RC5, 1 RCMM (default) - ir_inversion: signal inversion: 0 not inverted (default), 1 inverted - ir_device_mask: bitmask of infrared devices (default: accept all) Those parameters may be set anytime. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-24merge: 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>
2007-02-24merge: http://linuxtv.org/hg/~hverkuil/dvb-apiMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-24Fix comment and rename VIDEO_CMD_PAUSE_TO_BLACKHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Fix comment and rename VIDEO_CMD_PAUSE_TO_BLACK to VIDEO_CMD_FREEZE_TO_BLACK to be consistent with the VIDEO_CMD_FREEZE command. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-24It's _IOWR, not _IORW.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-24Add support for VIDIOC_G_CHIP_IDENTHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> VIDIOC_G_CHIP_IDENT improves debugging of card problems: it can be used to detect which chips are on the board and based on that information selected register dumps can be made, making it easy to debug complicated media chips containing tens or hundreds of registers. This ioctl replaces the internal VIDIOC_INT_G_CHIP_IDENT ioctl. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Jonathan Corbet <corbet@lwn.net>
2007-02-24Mark VIDIOC_DBG_S/G_REGISTER as experimental, but no longer internalHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Move VIDIOC_DBG_S/G_REGISTER from the internal ioctl list to the public ioctls, but mark it as experimental for now. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Trent Piepho <xyzzy@speakeasy.org>
2007-02-24Improve chip matching in v4l2_register for VIDIOC_DBG_G/S_REGISTERHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The chip matching in struct v4l2_register was rather primitive. It could not be extended to other busses besides i2c and it lacked a way to differentiate between two i2c chips driven by the same driver on one board (e.g. a PVR500 with two tuner chips, one for analog TV and one for radio). It has now been improved making it much more powerful. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Mike Isely <isely@isely.net> CC: Trent Piepho <xyzzy@speakeasy.org>
2007-02-24Add support for the cx23415 MPEG decoding features.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The cx23415 adds some extra features that this DVB decoding API did not support. This API has been expanded to support the required features. Both source and binary backwards compatibility is kept intact by these changes. So existing applications are not affected. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Ralph Metzler <rjkm@metzlerbros.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-23Rename 'x, y' to 'left, top' to be consistent with struct v4l2_rect.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-23Mark V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY as experimentalHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-23merge: http://linuxtv.org/hg/~mrechberger/v4l-dvb-cx88Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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-21digitv: open nxt6000 i2c_gate for TDED4 tuner handlingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> dvb-pll normally opens the i2c gate before attempting to communicate with the pll, but the code for this device is not using dvb-pll. This should be cleaned up in the future, but for now, just open the i2c gate at the appropriate place in order to fix this driver bug. Thanks-to: Alex Woods <linux-dvb@giblets.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-02-21make pvr2_encoder_prep_config() staticMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21make dvb_usb_gl861_debug staticMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2007-02-21Change compat.h to be at the end of the main kernel headersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21merge: http://linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21Add support for VIDIOC_INT_G/S_STD_OUTPUTHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Added VIDIOC_INT_G_STD_OUTPUT and VIDIOC_INT_S_STD_OUTPUT to allow drivers to set the TV standard for video output separately from the video capture. This is needed for cx23415 support where the decoder is separate from the encoder and can have a different TV standard. Modified the saa7127 module to listen to VIDIOC_INT_G/S_STD_OUTPUT instead of VIDIOC_G/S_STD. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-21Add support for video output overlays.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY support. Also add support for local and global alpha overlays. Add new field enums V4L2_FIELD_INTERLACED_TB and V4L2_FIELD_INTERLACED_BT. These changes are needed to support the ivtv On Screen Display features. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-21backport some typos fixed on MainstreamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21backport git changeset c5a69d57eb48e36f84c0737b5b24ec277d7dbfbaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This backport patch from Tobias Klauser <tklauser@distanz.ch> makes pvrusb2 driver compliant with C99 section 6.11.5. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21merge: 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-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-21coding style changesMarkus Rechberger
From: Markus Rechberger <mrechberger@gmail.com> coding style changes Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
2007-02-21compat: move compat.h location in btaudio driverTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Missed this one, make allyesconfig doesn't build btaudio if you have OSS turned off. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-21backport changeset 12a917f69d1468c91d646dbad8408dd0d39d6207Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Backport changeset from Jean Delvare <khali@linux-fr.org> that declare i2c_adapter parent devices. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>