summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2009-12-12stv090x: Add DiSEqC envelope modeOliver Endriss
Support DiSEqC envelope mode. Feature is enabled by setting config->diseqc_envelope_mode = true (default: disabled). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2009-12-12lnbp21: Implement 22 kHz tone controlOliver Endriss
Support 22 kHz tone control for lnbp21 and lnbh24. (Overrides the 'set_tone' hook of the frontend driver.) Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2009-12-08Manual merge with http://powarman.dyndns.org/hg/v4l-dvbMatthias Benesch
From: Matthias Benesch <twoof7@freenet.de> Added bugfixes of modules stv090x and stv6110x from http://powarman.dyndns.org/hgwebdir.cgi/v4l-dvb/. Priority: normal
2009-12-08Changed stv0900_config within module ngene.Matthias Benesch
From: Matthias Benesch <twoof7@freenet.de> Removed stv0900_regs and set stv0900_config.ts_config_regs=NULL. Set path1_mode and path2_mode to STV0900_SRIAL_PUNCT_CLOCK. Priority: normal
2009-12-08Changes within module ngene based on information from Media-Pointer.Matthias Benesch
From: Matthias Benesch <twoof7@freenet.de> Added initialisation of register TSTTNR1=0x26 & TSTTNR3=0x26. Used "#ifdef 0" instead of commenting unnecessary sourcecode. Set repeter level from STV090x_RPTLEVEL_64 to STV090x_RPTLEVEL_16. Priority: normal
2009-09-26dib0700: Be less verbose when an IR key is pressedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-26Add support for Pixelview SBTVD IRMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This IR uses NEC protocol. In order to use, dvb_usb_dib0700_ir_proto=0 should be used. Priority: normal CC: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-26Add NEC protocol to firmware v1.2 handlerMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Currently, dvb_usb_dib0700_ir_proto is supported only with firmwares older than 1.2. Adds support for it also with the newer firmware. This is needed in order to support PixelView SBTVD IR. Priority: normal CC: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-22dib0700: not building CONFIG_DVB_TUNER_DIB0070 breaks compilationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As reported by Ingo Molnar: Here's another new build breakage that triggers in -tip testing: drivers/built-in.o:(.data+0xb1f40): undefined reference to `dib0070_ctrl_agc_filter' drivers/built-in.o:(.data+0xb1f80): undefined reference to `dib0070_ctrl_agc_filter' triggers due to: CONFIG_DVB_USB_DIB0700=y CONFIG_DVB_TUNER_DIB0070 is not set While working on a better approach, for now, let's just select tuner dib0070 anytime we compile dib0700. CC: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-19dvbdev: Remove an anoying/uneeded warningMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As pointed by Marcin Slusarz <marcin.slusarz@gmail.com>, the warns happens because CONFIG_DVB_MAX_ADAPTERS depends on CONFIG_DVB_CORE, and there are valid configs where DVB_CORE is not selected. This causes such warnings, for every V4L and common drivers that may or may not be compiled with DVB support: drivers/media/dvb/dvb-core/dvbdev.h:36:2: warning: #warning invalid CONFIG_DVB_MAX_ADAPTERS value We can safely remove the warning. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-19pt1: Don't use a deprecated DMA_BIT_MASK macroMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> drivers/media/dvb/pt1/pt1.c: In function ‘pt1_probe’: drivers/media/dvb/pt1/pt1.c:915: warning: ‘DMA_nnBIT_MASK’ is deprecated Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-18merge: http://www.linuxtv.org/hg/~dougsland/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-18kzalloc failure ignored in au8522_probe()Douglas Schilling Landgraf
From: Roel Kluin <roel.kluin@gmail.com> Prevent NULL dereference if kzalloc() fails. Priority: normal Signed-off-by: Roel Kluin <roel.kluin@gmail.com> CC: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18kmalloc failure ignored in lgdt3304_attach() and s921_attach()Douglas Schilling Landgraf
From: Roel Kluin <roel.kluin@gmail.com> Prevent NULL dereference if kmalloc() fails. Priority: normal Signed-off-by: Roel Kluin <roel.kluin@gmail.com> CC: Markus Rechberger <mrechberger@sundtek.de> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18kmalloc failure ignored in m920x_firmware_download()Douglas Schilling Landgraf
From: Roel Kluin <roel.kluin@gmail.com> Prevent NULL dereference if kmalloc() fails. Priority: normal Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-17merge: http://linuxtv.org/hg/~anttip/ce6230/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-17ce6230: increase BULK transfer size from 512 to 8192Antti Palosaari
From: Antti Palosaari <crope@iki.fi> increase BULK transfer size from 512 to 8192 to increase wakeups Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2009-09-17anysee: coding style fixAntti Palosaari
From: Antti Palosaari <crope@iki.fi> coding style fix Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2009-09-17anysee: increase BULK transfer size from 512 to 8192Antti Palosaari
From: Antti Palosaari <crope@iki.fi> increase BULK transfer size from 512 to 8192 to increase wakeups Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2009-09-16dib0700: Add support for Prolink SBTVDMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-16dib0700_devices: Fix a merge conflict that lead to wrong entry valuesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-16merge: http://linuxtv.org/hg/~pb/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-15DIB0700: added USB IDs for a Terratec DVB-T XXSPatrick Boettcher
From: Patrick Boettcher <pboettcher@kernellabs.com> Since there is now correct support for the DiB7770 the support for the 'Terratec Cinergy T USB XXS (HD)' can be added. One USB-ID has been moved, another one has been added. Priority: normal Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
2009-09-15STK7770P: Add support for STK7770PPatrick Boettcher
From: Olivier Grenie <olivier.grenie@dibcom.fr> Added support for the dib7770P and the STK7770P Priority: normal Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
2009-09-15DIB7000P: SNR calcuation forr DiB7000PPatrick Boettcher
From: Olivier Grenie <olivier.grenie@dibcom.fr> Add the SNR monitoring for the dib7000p. The result is in dB. Priority: normal Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
2009-08-25add driver for 774 Friio White USB ISDB-T receiverMauro Carvalho Chehab
From: Akihiro Tsukada <tskd2@yahoo.co.jp> This patch adds driver for 774 Friio White, ISDB-T USB receiver Friio White is an USB 2.0 ISDB-T receiver. (http://www.friio.com/) The device has a GL861 chip and a Comtech JDVBT90502 canned tuner module. This driver ignores all the frontend_parameters except frequency, as ISDB-T shares the same parameter configuration across the country and thus the device can work like an intelligent one. As this device does not include a CAM nor hardware descrambling feature, the driver passes through scrambled TS streams. There is Friio Black, a variant for ISDB-S, which shares the same USB Vendor/Product ID with White, but it is not supported in this driver. They should be identified in the initialization sequence, but this feature is not tested. Priority: normal Signed-off-by: Akihiro Tsukada <tskd2@yahoo.co.jp> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-23Add a driver for Earthsoft PT1Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Add a driver for Earthsoft PT1 Eearthsoft PT1 is a PCI card for Japanese broadcasting with two ISDB-S and ISDB-T demodulators. This card has neither MPEG decoder nor conditional access module onboard. It transmits only compressed and possibly encrypted MPEG data over the PCI bus, so you need an external software decoder and a decrypter to watch TV on your computer. This driver is originally developed by Tomoaki Ishikawa <tomy@users.sourceforge.jp> by reverse engineering. Priority: normal [mchehab@redhat.com: renamed isdb_ts to isdbs_ts to use the current standard] Signed-off-by: HIRANO Takahito <hiranotaka@zng.info> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-18Add the DTV_ISDB_TS_ID property for ISDB_SMauro Carvalho Chehab
From: HIRANO Takahito <hiranotaka@zng.info> In ISDB-S, time-devision duplex is used to multiplexing several waves in the same frequency. Each wave is identified by its own transport stream ID, or TS ID. We need to provide some way to specify this ID from user applications to handle ISDB-S frontends. This code has been tested with the Earthsoft PT1 driver. Priority: normal [mchehab@infradead.org: Fix merge conflicts with isdbt and rename the new parameter to DTV_ISDBS_TS_ID] Signed-off-by: HIRANO Takahito <hiranotaka@zng.info> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-18Backport a small trival change at dvb_net return codeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-17DiB8000: fix channel search parameter initializationPatrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> This patch is fixing the initialization of the channel search parameters. Priority: normal Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2009-08-17DiB0700: add support for STK807XP and STK807XPVRPatrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> This patchs adds support for the DiB8000 based devices STK807xP and STK807xPVR to the dib0700-device-tree. Priority: normal Signed-off-by: Olivier Grenie <Olivier.Grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2009-08-17DiB8000: added support for DiBcom ISDB-T/ISDB-Tsb demodulator DiB8000Patrick Boettcher
From: Patrick Boettcher <pboettcher@dibcom.fr> This commit adds support for the DiB8000 ISDB-T demodulator made by DiBcom. Priority: normal Signed-off-by: Olivier Grenie <Olivier.Grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <pboettcher@dibcom.fr>
2009-08-17DiB0070: Indenting driver with indent -linuxPatrick Boettcher
From: Patrick Boettcher <pboettcher@kernellabs.com> In order to follow a little bit the kernel coding style from now on after the generation of that driver file and indent -linux call is emitted. Priority: normal Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
2009-09-02Added new Pinnacle USB devices
From: Olivier Grenie <olivier.grenie@dibcom.fr> Added Pinnacle PCTV USB devices based on PCTV 73e. Priority: normal Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
2009-09-13merge: http://linuxtv.org/hg/~anttip/af9015/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-13af9015: fix typo in register compareAntti Palosaari
From: Antti Palosaari <crope@iki.fi> And mask should be 0xff00 instead of 0xae00. Thanks to Jochen Friedrich <jochen@scram.de> for pointing this. Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi> Cc: Jochen Friedrich <jochen@scram.de>
2009-09-13af9015: improve usb control message function slightlyAntti Palosaari
From: Antti Palosaari <crope@iki.fi> * define names for few values * decrease buffer len by one byte which was not used * add check for buffer overflow for sure * indentation fixes * remove useless 0 len check from memcpy It should not happen and if it happens memcpy should not do anything. Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2009-09-12af9015: revert changeset: 12588:184e9d1d8707Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Revert this patch as requested by the patch author. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12siano/Kconfig: a driver shouldn't be selected by defaultMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12backport commit 8a8bdcc7533b104d789d9bb3ed90da9352515e21Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Author: Kay Sievers <kay.sievers@vrfy.org> Date: Thu Apr 30 15:23:42 2009 +0200 Driver Core: dvb: add nodename for dvb drivers This adds support to the dvb core to report the proper device name to userspace for their devices. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12af9015: [2/2] fix USB TS configurationAntti Palosaari
From: Antti Palosaari <crope@iki.fi> Fix wrongly configured USB1.1 TS EP. Patch serie also increases USB URB size to reduce wakeups. USB1.1 URB size from 64 to 940 bytes USB2.0 URB size from 512 to 16356 bytes Priority: high Signed-off-by: Antti Palosaari <crope@iki.fi>
2009-09-12af9015: [1/2] fix USB TS configurationAntti Palosaari
From: Jose Alberto Reguero <jareguero@telefonica.net> Fix wrongly configured USB2.0 TS EP. Priority: high Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> Signed-off-by: Antti Palosaari <crope@iki.fi>
2009-09-07building system: fix compilation with kernels older than 2.6.30Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-02dvb-core: check supported QAM modulationsJanne Grunau
From: Janne Grunau <j@jannau.net> Check the modulation in dvb_frontend_check_parameters against frontend's capabilties for FE_QAM devices. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net>
2009-09-02dvb-core: check fe->ops.set_frontend return valueJanne Grunau
From: Janne Grunau <j@jannau.net> Various frontend driver have parameter checks in their set_frontend functions and return an error if the parameters are not supported, tda10021 and cx24116 to name two. The tuning ioctls FE_SET_FRONTEND/FE_SET_PROPERTY only change values in the property cache and return before set_frontend is called. If a set_frontend call in software zigzag algorithm fails and the card was previously locked it will report a lock and the new parameters but is still tuned to the old transport. This is not detectable from userspace. This change checks the return values of fe->ops.set_frontend and changes the state to the added FESTATE_ERROR for software zigzag. No lock will be reported to userspace if the State is FESTATE_ERROR. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net>
2009-09-02DVB: make DVB_MAX_ADAPTERS configurableJanne Grunau
From: Janne Grunau <j@jannau.net> Support for more than 8 DVB devices is requested regularly so make it a kconfig variable instead of a header define. Values in the range 4-32 are tested. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-29dvb-usb-remote: return KEY_RESERVED if there's free space for new keysMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> The input subsystem checks if get_keycode works for a scan code. Due to that, we need to return a valid value when there's some space at the table that can be used by a scancode. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29dvb-usb-remote: Allow dynamically replacing the IR keycodesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Implements handler for EVIOCGKEYCODE/EVIOCSKEYCODE via adding two new callbacks to the input device. Since on dvb-usb a scan code has 16 bits, to fulfill rc5 standard codes, the default getkeycode/setkeycode input methods would require the driver to spend up to 64 Kb of a sparse table. Instead, add two new callbacks to the event device. With this, it is now possible to replace the keycode tables. There are, however, a few implementation details at the current patch: 1) It will replace the existing device keytable, instead of creating an instance of the data. This works. However, if two devices pointing to the same table were connected, changing the IR table of one will also change the IR table for the other (the solution for this one is simple: just kmalloc some memory); 2) In order to change the scan code, you need first to change the key to KEY_RESERVED or KEY_UNKNOWN to free some space at the table (solution: allocate some additional space for newer scan codes or allow dynamic table grow); 3) The table size cannot be extended. It would be easy to allow the table to grow dynamically: just calling kmalloc(size+1); kfree(old). Yet, maybe we can just create a bigger table with a fixed size, like for example a table with 128 entries. This should be enough even for a very big IR. The current issues should be addressed on a later patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29dvb-usb: store rc5 custom and data at the same fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> In order to be closer to V4L IR implementation, it is needed to replace u8 custom, data to: u16 scan This allows using non-rc5 mappings, like the 8 bit keycodes used on older protocols. It will also allow future implementations of rc6 keystrokes when needed. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29common/ir: use a struct for keycode tablesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Currently, V4L uses a scancode table whose index is the scancode and the value is the keycode. While this works, it has some drawbacks: 1) It requires that the scancode to be at the range 00-7f; 2) keycodes should be masked on 7 bits in order for it to work; 3) due to the 7 bits approach, sometimes it is not possible to replace the default keyboard to another one with a different encoding rule; 4) it is different than what is done with dvb-usb approach; 5) it requires a typedef for it to work. This is not a recommended Linux CodingStyle. This patch is part of a larger series of IR changes. It basically replaces the IR_KEYTAB_TYPE tables by a structured table: struct ir_scancode { u16 scancode; u32 keycode; }; This is very close to what dvb does. So, a further integration with DVB code will be easy. While we've changed the tables, for now, the IR keycode handling is still based on the old approach. The only notable effect is the redution of about 35% of the ir-common module size: text data bss dec hex filename 6721 29208 4 35933 8c5d old/ir-common.ko 5756 18040 4 23800 5cf8 new/ir-common.ko In thesis, we could be using above u8 for scancode, reducing even more the size of the module, but defining it as u16 is more convenient, since, on dvb, each scancode has up to 16 bits, and we currently have a few troubles with rc5, as their scancodes are defined with more than 8 bits. This patch itself shouldn't be doing any functional changes. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>