summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c
AgeCommit message (Collapse)Author
2008-07-08v4l-dvb: remove support for kernels < 2.6.16Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-04-09Adds selectable adapter numbers as per module optionMichael Krufky
From: Janne Grunau <janne-dvb@grunau.be> The adapter_nr module options can be used to allocate static adapter numbers on a driver level. It avoids problems with changing DVB apapter numbers after warm/cold boot or device unplugging and repluging. Each driver holds DVB_MAX_ADAPTER long array of the preferred order of adapter numbers. options dvb-usb-dib0700 adapter_nr=7,6,5,4,3,2,1,0 would result in a reversed allocation of adapter numbers. With adapter_nr=2,5 it tries first to get adapter number 2 and 5. If both are already in use it will allocate the lowest free adapter number. Signed-off-by: Janne Grunau <janne-dvb@grunau.be> Acked-by: Hermann Pitton <hermann.pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-22dibusb-mb: fix tuner autodetection regressionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> We must set i2c_msg.addr in order for the autodetection test to succeed! Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-12dvb: Remove static dependencies on dvb-pllMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch removes all static dependencies on the dvb-pll module. All exported dvb_pll_desc's have been UNexported, and the caller will reference the individual dvb_pll_desc by it's index in the pll_list array. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Acked-by: Manu Abraham <manu@linuxtv.org>
2007-06-12dibusb-mb: fix broken 'tuner_pass_ctrl' functionalityMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> 'tuner_pass_ctrl' functionality of the dib3000-mb devices was broken in the previous changeset: "dibusb-mb: convert pll handling to properly use dvb-pll" This patch fixes this problem by assigning this functionality to the i2c_gate_ctrl callback Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-05-09dibusb-mb: use dvb_attach for dib3000mb_attachMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> convert calls to dib3000mb_attach to use dvb_attach Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-09dibusb-mb: convert pll handling to properly use dvb-pllMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> moved tda665x pll_init into dvb_pll_desc dvb_pll_tda665x.initdata convert handling of tda665x and tua6010xs to properly use dvb-pll Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-13Fixed DVB-USB-Adapter indentionMauro Carvalho Chehab
From: Patrick Boettcher <pb@linuxtv.org> While converting everything to DVB-USB-Adapter, there was a wrong indention. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-10Problem with dibusb-mb.c USB IDsPatrick Boettcher
From: Alistair Buxton <a.j.buxton@gmail.com> There seems to be an off by one error in the dibusb-mb.c which causes the "Artec T1 with AN2235" box to be detected as a totally different box - but it only happens if the Artec is one with the correct USB IDs. A patch is attached to the second post. However, even with this patch, the box still won't tune. It will tune using a 2.6.12 kernel though. Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-15drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereferencePatrick Boettcher
From: Adrian Bunk <bunk@stusta.de> The Coverity checker spotted the following "we dereference d->fe only when we know it's NULL" bug: <-- snip --> ... static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_device *d) { ... if ((d->fe = dib3000mb_attach(&demod_cfg,&d->i2c_adap,&st->ops)) == NULL) { d->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c; d->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; return -ENODEV; } ... <-- snip --> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-07-04sync with masterPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> sync with master Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-14[PATCH] dibcom mod3000p + mt2060 -- remote controlPatrick Boettcher
From: Sergei Haller <sergei@sergei-haller.de> + Added support for the remote control shipped with the pen drive size DVB-T receiver [ID 10b8:0bc7 DiBcom DiBcom USB2.0 DVB-T reference design (MOD3000P)] Signed-off-by: Sergei Haller <sergei@sergei-haller.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
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-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-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-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>
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-08-16changed the init call to get the dvb_usb_device back immediatly if necessary.Patrick Boettcher
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-07-11added USB IDs if the Kworld Xpert DVB-T USB2.0 (clone of the ADStech box)Patrick Boettcher
Thanks to Marcus Hagn for testing. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-28Changed the name-field of the pci_driver and usb_driver structs to the name ofPatrick Boettcher
the module after compilation. It seems that this field is used in some places where special characters are not allowed. Maybe related to: http://www.uwsg.iu.edu/hypermail/linux/kernel/0505.1/0983.html Thanks to Alan Halverson for finding this problem. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-17Steve Chang reported the real name behind 0x14aa: WideView.Patrick Boettcher
changed USB IDs accordingly fixed a assignment Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-07added another USB ID pair for the VideoWalker USB DVB-TPatrick Boettcher
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-07There was no pid-filter-count set for some devices - led to an error. Thanks ↵Patrick Boettcher
to Gerolf Wendland. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-30From: Thierry Vignaud <tvignaud@mandriva.com>Patrick Boettcher
fix compiling USB DVB drivers (at least with gcc-4): Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-26fixed support for the ADSTech Instant TV DVB-T USB (2.0 version) Thanks to ↵Patrick Boettcher
Gerolf Wendland for his support. hacked the firmware for the ADSTech USB2 to have a different USB ID than the USB1.1 version (to avoid conflicts in programming) Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-13added #define for device with faulty USB IDsPatrick Boettcher
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-10error checking when doing init was wrong (== 0 was missing).Patrick Boettcher
Thanks to Gerolf Wendland for discovering.
2005-05-02preparation for the uDigitv and DViCO USB2.0 boxes: moved pll handling from ↵Patrick Boettcher
dibusb-common to dvb-usb added pll_init to dvb-usb added another dvb_pll_desc for TDA665x
2005-04-29added comments to dvb-usb.h to better describe the dvb-usb structurePatrick Boettcher
renamed some fields
2005-04-29never test any change you make with old drivers, neverPatrick Boettcher
2005-04-29added key-mapping for the a800 (Thanks to Glen Harris)Patrick Boettcher
changed remote-control-key-types and functions (saved about 80 lines code)
2005-04-27- removed the field which specified the delay between the two transfer of a ↵Patrick Boettcher
read operation (not unused, didn't help) - correct the maximal number of feed for each device (up to now it was always 255 even if the device was only able to handle 16 pids) - added preliminary remote control support for the AVerTV USB2 A800 - changed the remote-control-struct for the NEC-protocol
2005-04-17enabled remote controls againPatrick Boettcher
nova-t has now real RC5 keys :)
2005-04-17- ported all dibusb drivers to fit into the dvb-usb-framewordPatrick Boettcher
- created dvb-pll-entries for the tuner used with the dibusb-drivers - removed all traces of the dibusb driver - adapted the dib3000-frontends to get along with the dvb-pll-changes