summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb
AgeCommit message (Collapse)Author
2006-05-14Change dvb_frontend_ops to be a real field instead of a pointer field inside ↵Patrick Boettcher
dvb_frontend From: Patrick Boettcher <pb@linuxtv.org> The dvb_frontend_ops is a pointer inside dvb_frontend. That's why every demod-driver is having a field of dvb_frontend_ops in its private-state-struct and using the reference for filling the pointer-field in dvb_frontend. - It saves at least two lines of code per demod-driver, - reduces object size (one less dereference per frontend_ops-access), - be coherent with dvb_tuner_ops, - makes it a little bit easier for newbies to understand how it works and - avoids stupid mistakes because you would have to copy the dvb_frontend_ops always, before you could assign the static pointer directly, which was dangerous. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-14Fixes after dvb_tuner_ops-conversionPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Some of the dvb_tuner_ops-pointer were set before having a dvb_frontend creating. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-04-26merge: mkrufky build treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-25Fix dvb-usb tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I had forgotten to rename some of the tuner functions in the refactoring. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-24rename fe_lgh06xf.h to lg_h06xf.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-24merge: http://linuxtv.org/hg/~quincy/v4l-dvb-tuner-refactorMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-19drivers/media/dvb/dvb-usb/: possible cleanupsMichael Krufky
From: Adrian Bunk <bunk@stusta.de> - make the following needlessly global struct static: dvb-usb/cxusb.c: cxusb_mt352_config Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-19cxusb-bluebird: bug-fix: power down corrupts frontendMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch prevents a bug where the frontend is unable to tune after waking from powered down state. Now, the device remains powered on until it is disconnected, just like the windows driver. It seems that the bluebird firmware is unable to successfully handle tuning after a powered down state. This patch fixes all of the FusionHDTV Bluebird USB2 devices. The Medion MD95700 will still behave as before, since it was unaffected by this bug. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-19Fix tda10046 tuningAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> I'd missed the i2c gate ctrl function out of the tda10046, so tuning didn't work Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-19Convert calls from _pllbuf() to _calc_reg()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Johannes Stezenbach suggested this change - definite improvement. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert cxusb to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rename pll calls to appropriate tuner calls. Remove pll functions from demod structures. Hook tuner call into tuner_ops. Attach dvb-pll where possible.
2006-04-18Convert dibusb* to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Hook tuner call into tuner_ops. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert digtv to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rename pll calls to appropriate tuner calls. Remove pll functions from demod structures. Hook tuner call into tuner_ops. Add pll gate control calls where appropriate. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert dvb-usb/umt-010 to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Hook tuner call into tuner_ops. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert core dvb-usb pll code to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rename pll calls to appropriate tuner calls. Add pll gate control calls where appropriate. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18cxusb: use fe_lgh06xf.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - removed duplicated tuning code for LG TDVS H064F Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-16cxusb: lgh064f: set auxiliary byte in pll_setMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This changeset removes pll_init, and instead sets the tuner auxiliary byte in pll_set. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-10Add sysfs device links to dvb devicesAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Currently in /sys/class/dvb/dvbX.demuxY/ we have: dev uevent With the patch, we have (for a PCI DVB device): dev device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:0d.0 uevent So userspace tools can (finally) work out which physical device a DVB adapter refers to. Previously you had to kinda look through dmesg and hope that it hadn't been dumped out of the buffer. This makes debugging a lot easier if the system has been up for a long time! This is done by adding an extra 'struct device *' parameter to dvb_register_adapter(). It will work with any kind of standard linux 'device'. Additionally, if someone has an embedded system which does things differently, they can simply supply 'NULL' and the behaviour will be as before - the link will simply not appear. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Ack'd-by: Manu Abraham <manu@linuxtv.org> Acked-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-28Support for a new revision of the WT220U-stickPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> There seems to be a new version of the USB DVB-T stick from WideView with a new demod-revision inside and thus a new firwmare. This patch enables support for that. Thanks to Mikel Martin for early testing. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-03-26Fix camera key on FusionHDTV portable remote controlMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Thanks to: Andrew Cohen <cohen@andy.bu.edu> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-26cxusb: add support for FusionHDTV USB portable remote controlMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Added keycodes for the DViCO FusionHDTV portable remote control. - Enabled the remote control for both versions of FusionHDTV DVB-T USB and the FusionHDTV 5 USB Gold (ATSC) Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-25Fix compilation warning at powerpc platformMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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>