summaryrefslogtreecommitdiff
path: root/linux/drivers
AgeCommit message (Collapse)Author
2006-10-02merge: 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>
2006-10-02Reinstate dropped line to set standard detectionHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The previous patch accidentally dropped a crucial line to set the msp standard detection. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-10-02merge: http://linuxtv.org/hg/~mkrufky/cx88-mpegMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-10-01Fix msp343xG handling (regression from 2.6.16)Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The msp3430G and msp3435G models cannot do Automatic Standard Detection. So these should be forced to BTSC. These chips are early production versions for the msp34xxG series and are quite rare. The workaround for kernel 2.6.18 is to use 'standard=32' as msp3400 module option. Due to broken handling of the 'standard' option in 2.6.17 there is no workaround possible for that kernel. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-09-30merge: http://linuxtv.org/hg/~mkrufky/cxusbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-30fix compiler warning in drivers/media/video/video-buf.cMauro Carvalho Chehab
From: Sujoy Gupta <sujoy@google.com> Using a double cast to avoid compiler warnings when building for PAE. Compiler doesn't like direct casting of a 32 bit ptr to 64 bit integer. Signed-off-by: Martin J. Bligh <mbligh@google.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-29Add WinTV-HVR3000 DVB-T supportSteven Toth
From: Steven Toth <stoth@hauppauge.com> The WinTV-HVR3000 is currently defined for analog support only. This patch adds full DVB-T support. (DVB-S support will be added soon) Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-29Remove the cx8802_dev driver lock and use the core mutexSteven Toth
From: Steven Toth <stoth@hauppauge.com> The cx8802_dev semaphore was unnecessary. This patch removes is and uses the existing core mutex. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-29Force all cx88 DVB frontends to request bus access.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Force all cx88 DVB frontends to request bus access. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-29Adding support for Nova-T-PCI PCI ID 0070:9000Steven Toth
From: Steven Toth <stoth@hauppauge.com> Adding support for Nova-T-PCI PCI ID 0070:9000 Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-29drivers/media/video/cx88: Remove unused defined FALSE/TRUEMauro Carvalho Chehab
From: Richard Knutsson <ricknu-0@student.ltu.se> Remove defines of FALSE/TRUE because they are not used. Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-29norm_notchfilter is used on just one point and argument is bogusMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Removed norm_notchfilter function. All the code is bound to 4 x FSC, so, any other filter won't work fine. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-29merge: http://linuxtv.org/hg/~mkrufky/cx88Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-28Fix some errors at cx88-mpegMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The previous cx88-mpeg patch introduced those errors while compiling: CC [M] /home/v4l/master2/v4l/cx88-mpeg.o /home/v4l/master2/v4l/cx88-mpeg.c: In function 'cx8802_request_acquire': /home/v4l/master2/v4l/cx88-mpeg.c:645: warning: comparison between pointer and integer /home/v4l/master2/v4l/cx88-mpeg.c:645: error: called object '"<7>%s/2-mpeg: "' is not a function /home/v4l/master2/v4l/cx88-mpeg.c: In function 'cx8802_request_release': /home/v4l/master2/v4l/cx88-mpeg.c:660: warning: comparison between pointer and integer /home/v4l/master2/v4l/cx88-mpeg.c:660: error: called object '"<7>%s/2-mpeg: "' is not a function Also, at cx88.h, it is reintroducing this prototype: extern void cx88_print_ioctl(char *name, unsigned int cmd) This function were removed in the past, since it were replaced by a more generic one on v4l2-common.c. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-28merge: http://www.linuxtv.org/hg/~stoth/hvr1300-finalMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-28pvrusb2: Fix VIDIOC_INT_[G|S]_REGISTER so that it actually works nowMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-28use NULL instead of 0 for ptrsMauro Carvalho Chehab
From: Randy Dunlap <rdunlap@xenotime.net> Use NULL instead of 0 for pointer value, eliminate sparse warnings. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-28cxusb: add support for DViCO FusionHDTV DVB-T Dual Digital 2Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> add support for DViCO FusionHDTV DVB-T Dual Digital 2 USB, which is identical to the usb portion of DViCO FusionHDTV DVB-T Dual Digital 1. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-27Dynamic cx88 mpeg port management for HVR1300 MPEG2/DVB-T support. Steven Toth
From: Steven Toth <stoth@hauppauge.com> A series of patches to change the cx88 framework to allow the PCI mpeg port to be shared dynamically between different types of drivers or applications. This patch changes the cx88-dvb and cx88-blackbird drivers to become 'sub drivers' of a higher single cx88-mpeg driver. The cx88-mpeg driver is a superset of the previous cx88-mpeg/blackbird drivers and now owns the IRQ. cx88-dvb/blackbird now become mini drivers, registering themselves with cx88-mpeg through a standard interface with callbacks. Sub drivers request access to hardware via the cx88-mpeg driver. In turn the cx88-mpeg driver determines whether the hardware is busy and accepts or refuses the request, grant access using callbacks into the sub drivers. The net effect is that you are no longer able to tamper with the mpeg port from multiple different applications at the same time, potentially breaking a live mpeg2 hardware encoding or dvb stream. The mechanism extends to enable multiple dvb frontends to be registered and share the single resource. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-26Support for SAA7134-based AVerTV Hybrid A16ARMauro Carvalho Chehab
From: Petr Baudis <pasky@ucw.cz> This adds support for a hybrid PAL/DVB/FM card. Unfortunately I tested only the DVB since I don't have any proper antenna available and I can receive even the DVB just barely so; I can hear noise in the FM part but I couldn't catch any station, then again I don't have an FM antenna either. The PAL/FM and IR control data are based on what I harvested on the 'net. Perhaps I or someone else will fix them if they turn out to be wrong. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-26Allow RC5 codes 64 - 127 in ir-kbd-i2c.cMauro Carvalho Chehab
From: David Hardeman <david@hardeman.nu> The RC5 coding has for a long time supported commands 64-127 in addition to 0-63. This is controlled by the second bit of the RC5 packet (see The attached patch modifies ir-kbd-i2c.c to allow for commands 64-127, tested with a PVR350 card in combination with a programmable remote. Signed-off-by: David Hardeman <david@hardeman.nu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-25cx88: fix analog capture notch filterMichael Krufky
From: Lars Gjesse Kjellberg <lars.g.kjellberg@get2net.dk> This patch changes the setting of the cx2388x notch filter to match that of the video capture sample frequency, removing some annoying interference lines THAT would appear when capturing composite video. This has been tested in PAL and NTSC TV norms. It sets the Y/C separation luma notch filter, which removes the chroma signal from the luma signal when using a composite input. The luma notch filter operates at the video decoder's frequency, not the ADC's frequency or at the frequency of the scaled video. Y/C separation happens after the sample rate converter, before video scaling. The datasheet provides plots of the filter response for three _video decoder_ frequencies, 4x Fsc, square pixel, and ccir601. These are the same three frequencies for the notch filter control. It seems pretty clear that this filter should be set based on the video decoder frequency. The cx88 driver always uses a video decoder frequency of 4xFsc. Signed-off-by: Lars Gjesse Kjellberg <lars.g.kjellberg@get2net.dk> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-25cx88: autodetect Club3D Zap TV2100 by subsystem id 12ab:2300Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The Club3D Zap TV2100 has been reported to be a clone of the Yuan PG300 and KWorld/VStream XPert DVB-T with cx22702 Thanks-to: Lars Gjesse Kjellberg <lars.g.kjellberg@get2net.dk> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-25cx88: rename mpeg capability flags from CX88_BOARD_FOO to CX88_MPEG_FOOMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The flags for mpeg capabilities are sub-optimally named as CX88_BOARD_DVB and CX88_BOARD_BLACKBIRD, which creates some confusion. This patch renames the above to CX88_MPEG_DVB and CX88_MPEG_BLACKBIRD. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> CC: Steven Toth <stoth@hauppauge.com> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-09-25Changed cx88_board .dvb and .register to an enum.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Some basic cleanup in preperation for a future patch where the cx88-mpeg functions have to deal with the port being used by multiple frontends in (mpeg2 hw encoder and dvb demod). Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-25Ensure the WM8775 driver is loaded generically for any board.Steven Toth
From: Steven Toth <stoth@hauppauge.com> A generic change to cards to allow any board to specify whether it needs the wm8775 module loaded (by the core) or not. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-25Add frontend structure callback for bus acquisition.Steven Toth
From: Steven Toth <stoth@hauppauge.com> This patch enables generic bus arbitration callbacks enabling dvbcore frontend_open and frontend_release to pass 'acquire' and 'release' hardware messages back into the DVB bridge frameworks. Frameworks like cx88 can then implement single bus multiple demod card sharing features, which would prohibit two frontends from attempting to use a single transport bus at the same time. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-23pvrusb2: Don't use videodev.h; use v4l2-dev.h in its placeMike Isely
From: Mike Isely <isely@pobox.com> The function prototype needed in pvrusb2-v4l2.c has been moved to v4l2-dev.h. Track that change. Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-23pvrusb2: Get rid of private global context array brain damageMike Isely
From: Mike Isely <isely@pobox.com> A previous attempt to deal with the upcoming loss of video_set_drvdata() and video_get_drvdata() resulted in logic which causes a circular locking dependency - also known as a deadlock. This changeset attacks the problem in a different manner, using a technique that no longer requires the problematic mutex (or that private global array either). Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-23pvrusb2: Implement VIDIOC_INT_[G|S]_REGISTERMike Isely
From: Mike Isely <isely@pobox.com> Implement VIDIOC_INT_SET_REGISTER and VIDIOC_INT_GET_REGISTER for the pvrusb2 driver. This is a debugging aid which will not be enabled unless CONFIG_VIDEO_ADV_DEBUG has been enabled. Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-23pvrusb2: improve 24XXX config option descriptionMike Isely
From: Mike Isely <isely@pobox.com> The CONFIG_VIDEO_PVRUSB2_24XXX is not nearly as "experimental" as the description suggests. So refine the description to better match reality. Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-20Some cleanups at helper chips menuMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Rearranged itens, so that decoders came first; cx25840 is, in fact, an audio and video decoder; Fixed some incorrect upercases; Removed the word "chip" for some audio processors at item name; Removed the word "driver" for some item names; Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-20Fixed Kconfig comment, since cx2584x are, in fact a MPEG decoderMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-20Another fix because of dvb_attachPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Fixed mt2060-usage with dvb_attach Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Power control of the device for dual boardPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Corrected power control of the device for dual boards Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Fixed dvb_attach for dib3000mc in dibusbPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> When converting the dib3000mc-driver to dvb_attach I forgot to invert the check for NULL. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Removed compilation warningsPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Removed compilation warnings for unused statics and locals Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Added module parameter force_lna_activationPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Added a module parameter for force the activation of any LNA on a board. Suggest by Steve Toth. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> - forward the clock to the slave undivided - when sleeping the 3000 do not shutdown the clock Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for DiB3000MC and Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> - make the timing frequency update work. - fix AGC calibration for Nova-T 500 Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Adding another USB product ID for Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Adding another USB product ID for the Nova-T 500. Reported by Jose Alberto Reguero. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for dib0700 downloadPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Several fixes for dib0700-module. (Firmware error checking, dependency) Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Merged VP702x support to dvb-usb multi inputPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> The fixed support for the VP70x (supports only StarBox2) is now in sync with latest changes in the dvb-usb framework. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Hauppauge Nova-T 500 support addedPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This changeset finalizes the support of the Hauppauge Nova-T 500 (Dual DVB-T). It adds correct AGC setting for the 3000P, correct firmware download state detection. Additionally it fixes the mt2060-driver to be able to be used with dvb_attach. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Added module for DiB0700 based devicesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Added module for DiB0700 based USB devices. This module is preliminary and untested (because of a lack of test devices) but should work. Further commits will be necessary to make it work properly. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc. changes, DiB3000MC, MT2060Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Changed the attach-function of the dib3000mc-driver to return only one frontend. In case of multiple dib3000-chips on one board, one has to call the i2c-enumeration manually before. Added a field to Microtune 2060 config to output the clock to other tuners/device on a board. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Added new file for multiple input rewritePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Forgot to add usb-urb.c which is new after adding support for multiple inputs Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Multi-input fix for dtt200uPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Small fix for multi input for dtt200u module. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19cf4dcf5526aa0e0acd02Patrick Boettcher
Multi-input patch for DVB-USB device From: Patrick Boettcher <pb@linuxtv.org> This patch is the first commit of the Multiple Input Patch for the DVB-USB frame work. It changes the DVB-USB-device to be able to have more than one streaming input (e.g. multiple DVB-T sources) on one device. This is a necessary feature for the upcoming DiB7700 driven devices. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-16trivial: use lowercase letters in hex subsystem idsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>