summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-04mt9v011: let's stick with datasheet values where it worksMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> The original driver for Silvercrest cameras were using some values that are different from what datasheet says. As result, it was taken very less snapshots per second than expected. A test with the datasheet values showed that they work fine and give a better frame rate. So, let's stick with datasheet values. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-04mt9v011: properly calculate image resolution registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Instead of working with a table of precalculated values, fill them with the proper values. Also, adds format functions that allow changing the resolution, by cropping the image to the center of the sensor. While here, move the sensor version check to the probe routine, to indicate to the caller if the sensor is not supported by this driver. Also, fixes a stupid bug where we're using &buffer[] instead of buffer[]. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-03em28xx: Add autodetection code for Silvercrest 1.3 mpixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-03em28xx: Allow its usage with other different output formatsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Discovered the bug that were limiting the output format to just RGB565. Now, it is possible to output image at Bayer format (the original one, as generated by Silvercrest sensor, and two others), and also on YUY. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-02v4l2grab: Be sure that libv4l is properly converting to RGB24Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> To be simple, there's no format conversion inside v4l2grab. It relies that libv4l will do the hard work of converting whatever input format into RGB24. Instead of just proceeding and writing wrong images, die if libv4l can't convert into RGB24. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-02em28xx-video: fix VIDIOC_G_FMT and VIDIOC_ENUMFMT with webcamsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Webcams have different constraints than other v4l devices. This patch makes the format ioctls to behave better. It also fixes a bug at open() handler, that were always reseting resolution to the maximum available one. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-02v4l2-ioctl: avoid flooding log with unasked debug messagesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Thanks to Hans Verkuil <hverkuil@xs4all.nl> for pointing this issue on my last patch. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11tuner-xc2028: Fix 7 MHz DVB-TMauro Carvalho Chehab
From: Andy Walls <awalls@radix.net> The following patch should fix 7 MHz DVB-T with the XC3028 using the DTV7 firmware from the xc3028-v27.fw firmware image. Signed-off-by: Andy Walls <awalls@radix.net> Tested-by: Terry Wu <terrywu2009@gmail.com> [mchehab@redhat.com: thanks to John Ferlito, we have a real test in Australia] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16cx23885: add FIXME comment above set_frontend overrideMauro Carvalho Chehab
From: Michael Krufky <mkrufky@kernellabs.com> add FIXME comment to indicate that the set_frontend override is a temporary hack. This will be done a better way in the next kernel. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-08cx23885: override set_frontend to allow rf input path switching on the HVR1275Mauro Carvalho Chehab
From: Michael Krufky <mkrufky@kernellabs.com> Use separate RF input spigots for Antennae and Cable. Priority: normal Reviewed-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-01do_merge.pl: make easier to identify merge troublesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30merge: http://kernellabs.com/hg/~mkrufky/au0828Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30merge: http://www.kernellabs.com/hg/~dheitmueller/em28xx-terratec-zl10353/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30v4l2-spec: Add doc for bayer V4L2_PIX_FMT_SGRBG8Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Fixes a build error at documentation: jade:/home/v4l/master/v4l2-spec/videodev2.h.sgml:329:23:X: reference to non-existent ID "V4L2-PIX-FMT-SGRBG8" Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-miscMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30videodev2.h: Reorganize fourcc tableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> With the changes this file suffered along the time, things got a little disorganized. In particular, V4L2_PIX_FMT_YVYU were shown as a device-specific format, instead of yet another variant of YUV. There's no functional change on this patch. It just adds some comments and reorder fourcc formats to their proper places. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30move V4L2_PIX_FMT_SGRBG8 to the proper placeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Instead of defining a new pif format on an internal header, move it to the V4L2 API header. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30pwc: remove definitions that are already present at videodev2.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30Remove a bogus codeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30merge: http://linuxtv.org/hg/~tlorenz/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30v4l2grab: Add an userspace application for webcam testing, using libv4l2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> During FISL 10 (Forum Internacional de Software Livre) and the first FudCon Latam (Fedora Users and Developers Conference), while preparing the V4L panel, I and Douglas noticed the need of a very simple application to be an example for developers to test their drivers and to write newer v4l2 applications. So, we come to the idea of creating a v4l2grab application that takes pictures from the webcam and saves them with the ppm format, using libv4l to work with all webcam models. This application uses the absolute minimum of V4L2 calls to take 640x480 pictures, and was tested with uvcvideo and vivi drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30em28xx: Add Silvercrest to CARDLIST.em28xxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-30em28xx: add other video formatsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Add suppport for the teste RGB565 format (16 bits/pixel). Currently, webcam support works only at RGB565, at 640x480. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-29em28xx: add support for Silvercrest WebcamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This webcam uses a em2710 chipset, that identifies itself as em2820, plus a mt9v011 sensor, and a DY-301P lens. It needs a few different initializations than a normal em28xx device. Thanks to Hans de Goede <hdegoede@redhat.com> and Douglas Landgraf <dougsland@redhat.com> for providing the acces for the webcam during this weekend, I could make a patch for it while returning back from FISL/Fudcom LATAM 2009. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-29mt9v011: CodingStyle fixesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-29mt9v011: Some fixes at the register initialization tableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-29Add a driver for mt9v011 sensorMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Adds driver for mt9v011 based on its datasheet, available at: http://download.micron.com/pdf/datasheets/imaging/MT9V011.pdf The driver was tested with a webcam that will be added on a next patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-26au0828: fix i2c for kernels prior to 2.6.26Michael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-06-26ttpci: config TTPCI_EEPROM depends on I2CHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> If I2C is not enabled, then we shouldn't build ttpci_eeprom.c. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-06-26em28xx: enable new-style i2c API for kernels >= 2.6.26, not 2.6.22.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-06-26v4l2-common: fix uninitialized variableHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Fix compiler warning for uninitialized variable when compiling for pre 2.6.26 kernels. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-06-25vivi: bug: don't assume that S_STD will be called before streamingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> precalculate_bars() improved vivi performance. However, it assumed that always before streaming, the driver would call VIDIOC_S_STD. This is not an API requirement, and the testing apps don't do that. Due to that, a regression were caused by the patch that added it. This patch moves the precalculate_bars to the proper place of the code, calling it at buffer_prepare() callback. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-24soc-camera: fix missing clean up on error pathGuennadi Liakhovetski
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> If soc_camera_init_user_formats() fails in soc_camera_probe(), we have to call client's .remove() method to unregister the video device. Reported-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Priority: high --- drivers/media/video/soc_camera.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)
2009-06-24soc_camera: Fix debug output of supported formats countGuennadi Liakhovetski
From: Stefan Herbrechtsmeier <hbmeier@hni.uni-paderborn.de> The supported formats count must be set to 0 after debug output right before the second pass. Signed-off-by: Stefan Herbrechtsmeier <hbmeier@hni.uni-paderborn.de> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Priority: high --- drivers/media/video/soc_camera.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
2009-06-24v4l: add cropping prototypes to struct v4l2_subdev_video_opsGuennadi Liakhovetski
From: Guennadi Liakhovetski <lyakh@axis700.grange> Add g_crop, s_crop and cropcap methods to video v4l2-subdev operations. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> --- include/media/v4l2-subdev.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
2009-06-23Building system: Improve compatibility for delayed workMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-23v4l2-spec: add missing V4L2_PIX_FMT_OV511 documentation.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-06-23merge: http://jusst.de/hg/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-23merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-subdev2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-22em28xx: Fix tuning for Terratec Cinergy T XS USB (zl10353 version)Devin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Fix the code so that the zl10353 version of the Terratec Cinergy T XS USB starts working again. This includes fixing what must have been a typo in the GPIO definition for the digital side of the board, and setting of the disable_i2c_gate_ctrl property for the zl10353 config, so that the i2c bus doesn't get wedged the first time something tries to close the gate. Also, add a printk() making clear that the mt352 version still isn't supported. This issue is still being actively debugged, but in the meantime at least the dmesg output will show a very clear error... Thanks to Jelle de Jong for providing sample hardware to test with. Thanks to Simon Kenyon for testing various patches and providing SSH access to his environment so I could debug with access to a valid signal source. Priority: high Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Jelle de Jong <jelledejong@powercraft.nl> Cc: Simon Kenyon <simon@koala.ie>
2009-06-21/v4l2-ioctl: better output debug messages for VIDIOC_ENUM_FRAMESIZESMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-21merge: http://linuxtv.org/hg/~mcisely/pvrusb2-devMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-21merge: http://kernellabs.com/hg/~mkrufky/bug-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-21merge: http://linuxtv.org/hg/~tap/fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-21removed v4l2_queryctrl in favor of v4l2_ctrl_query_fillTobias Lorenz
Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-06-21CleanupTobias Lorenz
- Remove user count log messages - Comments adopted to general style Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-06-21Version 1.0.10Tobias Lorenz
Add support for interrupt mode for RDS endpoint, instead of polling. Improves RDS reception significantly Signed-off-by: Edouard Lafargue <edouard@lafargue.name> Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-06-20pvrusb2: De-obfuscate code which handles routing schemesMike Isely
From: Mike Isely <isely@pobox.com> This change does not change any outward behavior; it merely chops down some large if-conditions with embedded assignments into something a little more maintainable for others (I of course never had a problem with this...). Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
2009-06-20pvrusb2: Improve handling of routing schemesMike Isely
From: Mike Isely <isely@pobox.com> The pvrusb2 driver has a concept of "routing scheme" which defines which physical inputs should be connected based on application's choice of logical input. The correct "routing scheme" depends on the specific device since different devices might wire up their muxes differently - it can't be coded into the sub-device driver and it can't be just a single setting in the pvrusb2 driver since the driver handles multiple different devices. This concept has been in place for a while and works, however there are cases where a specific input for a specific device has no route - previously due to an oversight this was handled badly. With these changes the driver can now specifically recognize cases where there is no defined route for a given input. Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>