summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb
AgeCommit message (Collapse)Author
2006-03-22cxusb: fix i2c debug messages for bluebird devicesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Only the Medion boxes return 0x08 after an i2c read/write. The bluebird devices do not return anything at all. This patch conditionalizes the test for the 0x08 return code to produce a warning message when using the Medion box, only. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-22cxusb: fix debug messagesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - corrects the wording in some of the debug messages. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-22cxusb: remove FIXME: comment in bluebird_patch_dvico_firmware_downloadMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Removed the FIXME comment from bluebird_patch_dvico_firmware_download: /* FIXME: are we allowed to change the fw-data ? */ Yes, we are allowed. DViCO's Windows driver also does the same thing. A single firmware image is used to support all of the bluebird boxes. The firmware sets all devices to PID: d700. Instead of using that, the driver replaces the d700 with the cold PID+1 before the download. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-22cxusb: conditionalize gpio write for the medion boxMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch removes the (harmless) -ETIMEDOUT during device init for the DViCO FusionHDTV Bluebird boxes, by conditionalizing the gpio write inside cxusb_i2c_xfer to happen only for Medion boxes. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-10[PATCH] dvb NULL noise removalMauro Carvalho Chehab
From: Al Viro <viro@zeniv.linux.org.uk> This patch were applied at kernel on Wed Feb 1 06:02:50 2006 -0500 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2006-03-08Typos grab bag of the monthOliver Endriss
From: Alexey Dobriyan <adobriyan@gmail.com> Typos grab bag of the month. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-15cxusb: fix lgdt3303 namingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The following are specific to lgdt3303, and are being renamed to reflect this. - cxusb_lgdt330x_config renamed to cxusb_lgdt3303_config. - cxusb_lgdt330x_frontend_attach renamed to cxusb_lgdt3303_frontend_attach. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-05FIX: Check if FW was downloaded or not + new firmware filePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> When a firmware was downloaded dvb_usb_device_init returns NULL for the dvb_usb_device, then nothing should be done with that pointer and device, because it will re-enumerate. A new firmware should be used with digitv devices. It should make "slave"-devices work and others, too. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-02-05FIX: Multiple usage of VP7045-based devicesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Reassigning function pointers in a static led to infinite loops when using multiple VP7045-based device at the same time on one system. Using kmalloc'd copies for reassignments is better. bug-fix Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-02-05Use MT352 parallel transport for Bluebird FusionHDTV DVB-T boxes (TH7579 & ↵Michael Krufky
LGZ201) From: Michael Krufky <mkrufky@linuxtv.org> Use the parallel transport function of the MT352 demodulator in TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes. bug-fix Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-04Use parallel transport function of MT352 for FusionHDTV Dual Digital USBMichael Krufky
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Use the parallel transport function of the MT352 in USB demodulator of the Dual Digital board. bug-fix Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-02Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - rename DVB_USB_CXUSB one-liner description to: Conexant USB2.0 hybrid reference design support. - with the addition of bluebird support to dvb-usb-cxusb, it now depends on lgdt330x and mt352 modules. bug-fix Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-01-22drivers/media/dvb/: possible cleanupsMichael Krufky
From: Adrian Bunk <bunk@stusta.de> - make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12cleaned up MODULE_AUTHOR for better codingstyleMichael Krufky
- cleaned up MODULE_AUTHOR for better codingstyle Mauro, please fold this into the previous patch, entitled, "Updated MODULE_AUTHOR" Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Updated MODULE_AUTHORMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Added USB ID for DigitalNow DVB-T Dual USB, DViCO cloneMichael Krufky
- Added USB ID for DigitalNow DVB-T Dual USB, DViCO FusionHDTV DVB-T Dual USB clone Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-11From: Panagiotis Issaris <takis@issaris.org>Mauro Carvalho Chehab
Conversions from kmalloc+memset to k(z|c)alloc Conversions from kmalloc+memset to k(z|c)alloc. kernel-sync Signed-off-by: Panagiotis Issaris <takis@issaris.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-10Add support for DViCO FusionHDTV DVB-T USB devicesMichael Krufky
- Add support for DViCO FusionHDTV DVB-T USB devices (Thomson dtt7579 and LG z201 based) Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-09replace omitted 'TODO:'Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-09Remove DViCO specific firmware hacks from the generic code.Christopher Pascoe
From: Patrick Boettcher <pb@linuxtv.org> Move the code that patches bluebird firmware before upload from the generic code into the cxusb driver itself. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-08Add Kconfig option for wrongly programmed devicesPatrick Boettcher
From: Marc Koschewski <marc@osknowledge.org> A new Kconfig option makes the user able to select if the dibusb-mb driver shall claim faulty programmed USB devices which are coming with default Cypress USB IDs. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-01-08White-space cleanupPatrick Boettcher
From: Marc Koschewski <marc@osknowledge.org> Somewhite-spaces cleaned up unused code removed Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-01-08Indention cleanupsPatrick Boettcher
From: Marc Koschewski <marc@osknowledge.org> Indention cleaned for tabsize=8 Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-01-08Check if PLL-description is setPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Check if in the dvb-usb-device-structure the dvb_pll_desc is set before use. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-01-08Changed indention for define's and their valuesPatrick Boettcher
From: Marc Koschewski <marc@osknowledge.org> Indention for values of several request defines were not TabSized=8. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-01-08revert wrong commitMichael Krufky
- I was wrong in previous commit, and created duplicates. this removes the duplicated ids. Mauro, please fold this into the previous patch. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-08codingstyle cleanups & restore some wrongfully deleted dvb-usb-idsMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-08DViCO USB IR Remote supportChristopher Pascoe
Add support for the remote control receiver inside the DViCO FusionHDTV DVB-T Dual Digital, and a keymap for the MCE remote bundled with it. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-08DViCO Dual Digital DVB-T / USB bluebird updatesChristopher Pascoe
Add support for the USB portion of the DViCO Dual Digital board. Patch correct "warm" USB IDs into bluebird firmware before download. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-06Latest patch #ifs were wrong. fixing.Mauro Carvalho Chehab
kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-06USB: remove .owner field from struct usb_driverMauro Carvalho Chehab
From: Greg Kroah-Hartman <gregkh@suse.de> It is no longer needed, so let's remove it, saving a bit of memory. kernel-sync Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-03rename cxusb_bluebird_atsc_properties to cxusb_bluebird_lgh064f_propertiesMichael Krufky
- This property set is for the LG-H064F (FusionHDTV5 USB Gold) - There may, in the future, be a bluebird device using a different NIM, so renaming the struct to somehting NIM-specific is appropriate. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-01Small cxusb cleanupsMichael Krufky
- Add space after , in memcpy() - Initialize bpll array before memcpy() to pll_init. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-01Use combined firmware for DVB-T and ATSC Bluebird FusionHDTV USB models.Michael Krufky
- Now using firmware "dvb-usb-bluebird-01.fw", with combined support for atsc and dvb-t Bluebird models. - Use usb alt setting 0 for EP4 transfer (dvb-t), - Use usb alt setting 7 for EP2 transfer (atsc) */ Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-01Add support for DViCO FusionHDTV5 USB GoldMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - Adds Bluebird ATSC support to the cxusb driver, using dvb-usb-bluebird-atsc-01.fw firmware. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-31Using new firmware for the WideView StickPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> A new firmware fixes VHF tuning issues. This changes the firmware file name in the driver. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-20Initialize the dvb-usb-device-pointer to NULLPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Initialize the the dvb-usb-device-pointer in the -init function to NULL, to be sure that a dvb-usb-device was really initialized. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-12-08syncronizes some changes between v4l and dvbMauro Carvalho Chehab
- Updated firmware names - kfree (NULL) is valid. - assert_spin_locked() is the new way - small fixes to make in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-04Backport of Dmitry Torokhov's input layer changes at mainline kernelRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> kernel-sync Ported changes by Dmitry Torokhov <dtor_core@ameritech.net> and added backwards compatibility checks for kernels < 2.6.15 Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-20From: Adrian Bunk <bunk@stusta.de>Johannes Stezenbach
Small cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk <bunk@stusta.de>
2005-11-10fixed mistake of an incorrect usage of pid_filter-callbacks inside the ↵Patrick Boettcher
private state of the dvb-usb-devices Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-11-09[PATCH] dvb-usb-urb printk fixMichael Krufky
drivers/media/dvb/dvb-usb/dvb-usb-urb.c: In function `dvb_usb_allocate_stream_buffers': drivers/media/dvb/dvb-usb/dvb-usb-urb.c:199: warning: int format, different type arg (arg 4) Don't assume that dma_addr_t is 32-bit. (dvb has quite a few such warnings. Please compile it with a 64-bit compiler, fix them up - some are oopsable). Cc: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-02To make the integration of future devices easier IPatrick Boettcher
- modified the dvb-usb-part to allow a device-specific firmware download and - added an option to specify whether a device reconnects after a firmware download or not. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-10-28Adding support for the Artec T1 USB2.0 box (real USB2.0)Patrick Boettcher
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-10-01[PATCH] I2C: Kill i2c_algorithm.name (1/7)Michael Krufky
The name member of the i2c_algorithm is never used, although all drivers conscientiously fill it. We can drop it completely, this structure doesn't need to have a name. [PATCH] I2C: Kill i2c_algorithm.id (4/7) There are no more users of i2c_algorithm.id, so we can finally drop this structure member. [PATCH] I2C: Kill i2c_algorithm.id (6/7) In theory, there should be no more users of I2C_ALGO_* at this point. However, it happens that several drivers were using I2C_ALGO_* for adapter ids, so we need to correct these before we can get rid of all the I2C_ALGO_* definitions. Note that this also fixes a bug in media/video/tvaudio.c: /* don't attach on saa7146 based cards, because dedicated drivers are used */ if ((adap->id & I2C_ALGO_SAA7146)) return 0; This test was plain broken, as it would succeed for many more adapters than just the saa7146: any those id would share at least one bit with the saa7146 id. We are really lucky that the few other adapters we want this driver to work with did not fulfill that condition. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-09-19The duplicate key definitions cause misinterpretations withPatrick Boettcher
other keys, e.g. the "TELETEXT" key clashes with "CHANNEL_UP" and thus can not be used with LIRC. This patch removes these duplicates. Signed-off-by: Thorsten Maerz <torte@netztorte.de>
2005-08-27Fixed race between submitting streaming URBs in the driver and starting thePatrick Boettcher
actual transfer in hardware (demodulator and USB controller) which sometimes lead to garbled data transfers. URBs are now submitted first, then the transfer is enabled. Dibusb clones are now fully functional again. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-08-23This patch changes two things:Patrick Boettcher
1) a firmware update made by the vendor, which has to be done in Windows for now, changes the DVB-data-pipe from isochronous to bulk: it fixes the data distortions (and thus the video-distortions) in DVB-T mode; However, the driver is now not compatible anymore when the firmware is running. 2) with the help of Steve Toth some reverse-engineered functionality is now named correctly, thank you Signed-off-by: Patrick Boettcher <pb@linuxtv.org>