summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-28s5h1411: Enable QAM_AUTO modeSteven Toth
From: Steven Toth <stoth@hauppauge.com> If apps pass QAM_AUTO then we need to obey it. Priority: normal Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-08-28s5h1409: Enable QAM_AUTO modeSteven Toth
From: Steven Toth <stoth@hauppauge.com> If apps pass QAM_AUTO then we need to obey it. Priority: normal Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-08-24vivi: Fix some issues at vivi register routineMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch fixes several small issues at vivi register routines: 1) minor and n_devs should be unsigned; 2) n_devs = 0 were not properly handled; 3) if n_devs specify a high number, the driver would just roll back and won't register any device. The proper behaviour is to keep all succeded devices registered; 4) both n_devs and minor were using 0 as permissions. Better to have them with 0444. With the current patch, if n_devs specify a very large value, it will register all possible devices. For example, on a machine without any other V4L drivers loaded, with this patch, we will have something like: vivi: V4L2 device registered as /dev/video0 vivi: V4L2 device registered as /dev/video1 vivi: V4L2 device registered as /dev/video2 ... vivi: V4L2 device registered as /dev/video31 video_register_device_index: get_index failed Video Technology Magazine Virtual Video Capture Board ver 0.5.0 successfully loaded. 5) The number of allocated devices on success is now kept at n_devs: $ cat /sys/module/vivi/parameters/n_devs 32 Priority: high Thanks to Henne <henne@nachtwindheim.de> for pointing that there were some issues at vivi. CC: Henne <henne@nachtwindheim.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22V4L: check inval in video_register_device_index()Mauro Carvalho Chehab
From: Henrik Kretzschmar <henne@nachtwindheim.de> Better check the video_device pointer before using it. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-24Fix error code, when camera is not turned on by sonypiMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22V4L: fix return value of meye probe callbackMauro Carvalho Chehab
From: Henrik Kretzschmar <henne@nachtwindheim.de> The return vaule of the probe function should return -ENOMEM instead of -EBUSY if video_device_alloc() fails. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-24Improve script to work with pine/alpine foldersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22v4l-dvb: fix compile warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22v4l2: fix a bunch of compile warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22compat.h: add DIV_ROUND_UP for kernels <= 2.6.18Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22mt9m111: fix compile error and warning when compiling for kernel 2.6.25.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-18pvrusb2: use proper byteorder interfaceMauro Carvalho Chehab
From: Harvey Harrison <harvey.harrison@gmail.com> ___swab32 is an internal detail of the implementation. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-By: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22merge: http://linuxtv.org/hg/~ajacquet/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22drx397xD: fix compilation error caused by changeset 71046dfb0853Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: Normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20Use DIV_ROUND_UPMauro Carvalho Chehab
From: Julia Lawall <julia@diku.dk> The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) / (d)) but is perhaps more readable. An extract of the semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @haskernel@ @@ @depends on haskernel@ expression n,d; @@ ( - (n + d - 1) / d + DIV_ROUND_UP(n,d) | - (n + (d - 1)) / d + DIV_ROUND_UP(n,d) ) @depends on haskernel@ expression n,d; @@ - DIV_ROUND_UP((n),d) + DIV_ROUND_UP(n,d) @depends on haskernel@ expression n,d; @@ - DIV_ROUND_UP(n,(d)) + DIV_ROUND_UP(n,d) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-201-make-pms-not-autoprobe-when-builtin updateMauro Carvalho Chehab
From: Rene Herman <rene.herman@keyaccess.nl> On 10-08-08 23:37, Alan Cox wrote: > > Would probably make the printk "pms: not enabled, use pms.enable=1 to > probe" > > So you know > a) What is wittering about not being probed > b) How to undo it. > > But thats trivia really. Signed-off-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20V4L1: make PMS not autoprobe when builtin.Mauro Carvalho Chehab
From: Rene Herman <rene.herman@keyaccess.nl> The old Mediavision Pro Movie Studio legacy ISA V4L1 driver was found to hang the boot during Ingo Molnar's testing of randconfig kernels. Have it require a "pms.enable=1" kernel parameter to enable the driver when builtin which avoids such problems. This is a deprecated and, very likely, unused driver. Nothing changes modular behaviour moreover. Signed-off-by: Rene Herman <rene.herman@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20link tuner before saa7134Mauro Carvalho Chehab
From: Simon Arlott <simon@fire.lp0.eu> If saa7134_init is run before v4l2_i2c_drv_init (tuner), then saa7134_board_init2 will try to set the tuner type for devices that don't exist yet. This moves tuner to before all of the device-specific drivers so that it's loaded early enough on boot. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20drx397xD.c sparse annotationsMauro Carvalho Chehab
From: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20dvb: drx397xD: checkpatch.pl cleanupsMauro Carvalho Chehab
From: Felipe Balbi <felipe.balbi@nokia.com> This driver sure needs some rework. For now, let's try to clean it up a bit before start reimplementing anything. checkpatch.pl still not happy with this driver after this patch, but the most annoying errors are gone, comments now use C-style only, labels are well placed and some other minor fixes. Some more clean up patches will come as I work on this driver. Please review it carefully. Priority: normal Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: Henk Vergonet <henk.vergonet@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> [mchehab@infradead.org: Manually fixed some conflicts with a previous patch] Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22merge: http://linuxtv.org/hg/~mkrufky/sms1xxxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22merge: http://linuxtv.org/hg/~jfrancois/gspca/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22merge: http://linuxtv.org/hg/~awalls/v4l-dvb-criticalMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22gspca: V4L2_CAP_SENSOR_UPSIDE_DOWN added as a cap for some webcams.Jean-Francois Moine
From: Hans de Goede <j.w.r.degoede@hhs.nl> This patch adds a V4L2_CAP_SENSOR_UPSIDE_DOWN flag to the capabilities flags, and sets this flag for the Philips SPC200NC cam (which has its sensor installed upside down). The same flag is also needed and added for the Philips SPC300NC. Together with a patch to libv4l which adds flipping the image in software this fixes the upside down display with the SPC200NC cam. Signed-of-by: Hans de Goede <j.w.r.degoede@hhs.nl> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-21sms1xxx: fix typo in license headerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This should have read, "GNU General Public License version 2" rather than, "GNU General Public License version 3" This was actually a typo mass-blunder -- this is not a change in licence, as the code was always GPLv2. Priority: high Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-21gspca: Have VIDIOC_QUERYCTRL more compliant to the spec.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - return -EINVAL when control not supported. - start the private controls at V4L2_CID_PRIVATE_BASE. Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-21gspca: suspend/resume added.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-21gspca: Frame buffer too small for small resolutions (sonixj and t613).Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-21gspca: Bad start of sn9c110 and sensor ov7630.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-20gspca: Change the name of some webcam in the gspca doc.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-20capture_example: code cleanupsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Just fixed a bunch of checkpatch warnings and tightened up the code. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-20capture_example: Don't change the format by defaultHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Don't change the capture format by default. This lets the user select the capture pixel format and resolution using v4l2-ctl. The old behavior (forcing the format to 640x480 YUYV) can still be obtained by passing -f. Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-19gspca: Bad start of sn9c110 and sensor om6802.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-19gspca: Bad color control again in sonixj.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-19v4l2-ctl: merge strings in the usage messageHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Function calls aren't cheap. By merging the strings printed by the usage() function, we reduce the number of times printf (or actually puts) is called, from 121 to only 4. This makes usage() about twice as fast as before, and also shrinks the binary size a bit (4 kB). Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-19v4l2-ctl: added support to set the pixelformatHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-19gspca: Bad start of sonixj webcams since changeset a8779025e7e8.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-18merge: dtv5100Antoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18dtv5100: remove prohibited space...Antoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18dtv5100: remove old definition from headerAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18merge: v4l-dvbAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18merge: v4l-dvbAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18zr364xx: handle video exclusive open internalyAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Count the users and do not use video_exclusive_open() anymore. Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18zr364xx: remove BKLAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Remove the Big Kernel Lock from zr364xx driver after pushdown. Now using an internal locking mecanism on open(). Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18gspca: Bad controls and quantization table of pac7311.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Patch adapted from a gspca v1 patch by Thomas Kaiser. Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-18gspca: Bad color control in sonixj.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-18gspca: Fix initialization and controls of sn9x110 - ov7630.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-18usbvideo: add proper error check and add release functionHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>