summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb
AgeCommit message (Collapse)Author
2007-05-07Add support for the AF9005 demodulator from AfatechMauro Carvalho Chehab
From: Luca Olivetti <luca@ventoso.org> Signed-off-by: Luca Olivetti <luca@ventoso.org> Signed-off-by: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-07merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-06merge: http://linuxtv.org/hg/~aapot/m920xMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-05m920x: Disable second adapter on LifeView TV Walker Twin while it doesn't ↵Aapo Tahkola
work properly. From: Nick Andrew <nick@nick-andrew.net> Disable second adapter on LifeView TV Walker Twin while it doesn't work properly. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2007-05-04dvb-usb: fix typoMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> replace "streaming_crtl" with "streaming_ctrl" Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-04Enable DiSEqC in Starbox II (vp7021a)Mauro Carvalho Chehab
From: Pat Erley <pat-lkml@erley.org> Uncomments code in vp702x-fe.c to enable DiSEqC in vp7021a Cc: <linux-dvb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Pat Erley <pat@erley.org>
2007-04-23opera: use 7-bit i2c addressesMichael Krufky
From: Marco Gittler <g.marco@freenet.de> - the tuner i2c addr now without define (as wanted). - now 7 bit addr are used (the power_ctrl fkt ist ok so, because this is a raw write) - the addr >> 1 , addr << 1 is ok so, i think beause the read write is now taken from the last bit. - now i have no datasheet for the device, all taken from usb-logs Signed-off-by: Marco Gittler <g.marco@freenet.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-04-20m920x: loosen up 80-col limitAapo Tahkola
From: Aapo Tahkola <aet@rasterburn.org> Do not follow 80-col limit where it would cause inconsistency. Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-04-19Merge backoutMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-19Add support for Opera S1- DVB-USBMauro Carvalho Chehab
From: Marco Gittler <g.marco@freenet.de> This patch adds support for DVB-Opera S1 USB 2.0 BOX. Signed-off-by: Marco Gittler <g.marco@freenet.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-14DVB: Fix for bug 8312: oops on dvb-usb-remote when changing keymapMauro Carvalho Chehab
From: Olaf Kirch <olaf.kirch@oracle.com> DVB USB remotes do not support changing keycode maps but set input_dev->keycodesize and input_dev->keycodemax without setting input_dev->keycode. This causes kernel oops when user tries to look up (or change) current keymap. While the proper fix would be to make remotes handle keymap changes we'll just remove keycodemax and keycodesize initialization so EVIOCGKEYCODE and EVIOCSKEYCODE will simply return -EINVAL. Signed-off-by: olaf.kirch@oracle.com Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-26m920x: rename function prefixes from m9206_foo to m920x_fooMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-26m920x: replace deb_rc with debMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> deb_rc is used by the dvb-usb core framework. This patch replaces all occurances of deb_rc with deb, in m920x.c, so that its clear that we're not using dvb-usb's deb_rc. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-26m920x: remove duplicated codeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Some of the devices supported by the m920x driver have identical functions used for tuner_attach and frontend_attach. This patch consolidates the functions in question, and updates the debug code to be generic for each. This patch decreases the size of the kernel. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-26m920x: group like functions togetherMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Group the tuner configurations together. - Group the demod configurations together. - Group the device-specific initialization functions together. - Group demod_attach functions together. - Group tuner_attach functions together. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: various whitespace cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - 80-column cleanups - spaces between operators - tabbing style Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: Initial support for devices likely manufactured by DposhMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> These devices are sold by various companies and chains not involved in hardware manufacturing business. This particular device owned by winisch (from irc) had a sticker with text "TCM 234292" on it. This device was never opened so it is possible that Dposh did not manufacture this stick. However, the bundled software and their product line points into that direction. Also thanks to Michael Krufky for spotting this hw filtering problem and thus avoiding hair loss. Hardware pid filters and the bundled remote controller are not currently supported on this device. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: add "c-basic-offset: 8" to help emacs to enforce tabbing styleMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: Add support for LifeView TV Walker TwinMichael Krufky
From: Nick Andrew <nick@nick-andrew.net> Add support for "LifeView TV Walker Twin" (USB IDs 10fd:0513, 10fd:0514) Signed-off-by: Nick Andrew <nick@nick-andrew.net> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-18m920x: add support for Anubis Electronics / MSI Digi Vox Mini IIMichael Krufky
From: Pierre Willenbrock <pierre@pirsoft.de> Add support for Anubis Electronics "Lifeview" (USB-ID: 0x10fd:0x1513) Signed-off-by: Pierre Willenbrock <pierre@pirsoft.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-15m920x: add error messages for debugging purposesMichael Krufky
From: Pierre Willenbrock <pierre@pirsoft.dnsalias.org> Signed-off-by: Pierre Willenbrock <pierre@pirsoft.dnsalias.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-15m920x: rename megasky_identify_state to m920x_identify_stateMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> This function should work for all m920x-based devices. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-12m920x: Detect zero-length I2C messages and fix a typoTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Change a 00 to just 0 Detect zero-length I2C messages and return not supported. I think I know how to send one, but the problem is getting the slave's ack. The only point of a zero-length message is for probing; too see if the slave will ack its address. Since we don't know how to get the ack, we can't support zero-length messages in a useful way, so it's probably best to just return not supported for them. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-05m920x: Improve I2C operationsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Write some better documentation about what might be known about how the m920x I2C works, since a datasheet is lacking. The I2C xfer function should now handle more types of I2C transactions than it could before. Those it can't, will return error codes instead of being executed incorrectly. Multi-byte reads were not being done correctly, which should be fixed. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-05m920x: remove unneeded codeMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-05m920x: rework driver code to allow for different devicesMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-05fix i2c implementation for gl861 and au6610Michael Krufky
From: Aapo Tahkola <aet@rasterburn.org> - r/w bit is not part of the i2c address Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-05m920x: i2c cleanupsMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> - Implement m920x i2c as suggested by Pierre Willenbrock - remove "magic" hack - r/w bit is not part of the i2c address - move hardware remarks to header file CC: Pierre Willenbrock <pierre@pirsoft.dnsalias.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-02[PATCH] Hauppauge Nova-T endianess problem on powerpcPatrick Boettcher
From: Dennis Ranke <mail@exoticorn.de> When trying to use a Hauppauge Nova-T Stick on a big-endian architecture (such as powerpc) no frontend can be attached. The attached patch fixes this problem by removing two lines in dib0700_ctrl_rd() that try to correct the endianess on two values that already are correct: - /* think about swapping here */ - value = le16_to_cpu(value); - index = le16_to_cpu(index); With this simple patch this dvb hardware works great, thanks to anyone involved for the good work. :) Signed-off-by: Dennis Ranke <mail@exoticorn.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-03-01merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-27dvb: Remove lgh06xf driverTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The code of the dvb-pll driver and the lgh06xf driver is nearly identical. The main difference is that the lgh06xf driver would set the AGC TOP value on every tune call. The dvb-pll driver now has the ability to set the AGC TOP when the front-end device is opened, which is a better way to go about it. By using this ability of dvb-pll, the lgh06xf driver is made unnecessary. There is one other difference. dvb-pll will probe for the presence of an I2C pll chip by doing a one byte read, the lgh06xf driver did not do this. In some devices the PLL is not reachable over I2C at the timer the tuner is attached. Some more initialization, such as firmware loading, must take place first. None of the devices using a LG-H06xF should have this problem. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Michael Krufky <mkrufky@linuxtv.org>
2007-02-27dvb-pll: Fix Kconfig files and add support for making dvb-pll optionalTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A number of drivers selected DVB_PLL when they did not need it, and some that did need it did not select it. The DVB_PLL option is given a name and help text, so that it will show up in the config menu. DVB_PLL support can be turned on if an out-of-tree driver needs it. The standard dvb fe customization support is added to dvb-pll.h. Since all modules which select DVB_PLL do so unconditionally, it is not possible to turn dvb-pll off when an enabled module selects it, unlike most of the other frontend/tuner drivers. This is because the users of dvb-pll have static references to dvb-pll symbols other than the attach function. If these references are removed, then dvb-pll will be disablable as the other frontend/tuner drivers are. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-22[PATCH] Pinnacle PCTV Sat Pro USB (450e) support by ttusb2.c (400e driver)Patrick Boettcher
From: Christophe Cattelain <xof@skynet.be> Added USB_PID_PCTV_450E to the 'usb_device_id ttusb2_table' and an entry in the .devices table. The 400e driver now supports the 'Pinnacle PCTV Sat Pro USB (450e)' with USB_ID 2304:0222. Signed-off-by: Christophe Cattelain <xof@skynet.be> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-02-21digitv: open nxt6000 i2c_gate for TDED4 tuner handlingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> dvb-pll normally opens the i2c gate before attempting to communicate with the pll, but the code for this device is not using dvb-pll. This should be cleaned up in the future, but for now, just open the i2c gate at the appropriate place in order to fix this driver bug. Thanks-to: Alex Woods <linux-dvb@giblets.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-02-21make dvb_usb_gl861_debug staticMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2007-02-21backport changeset 12a917f69d1468c91d646dbad8408dd0d39d6207Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Backport changeset from Jean Delvare <khali@linux-fr.org> that declare i2c_adapter parent devices. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-20cxusb: fix firmware patch for big endian systemsMichael Krufky
From: Jin-Bong lee <jinbong.lee@samsung.com> Without this patch, the device will not be detected after firmware download on big endian systems. Signed-off-by: Jin-Bong lee <jinbong.lee@samsung.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-02-11merge: http://linuxtv.org/hg/~mkrufky/megasky.devMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-06merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-06Avoid race when deregistering the IR control for dvb-usbMauro Carvalho Chehab
From: Chris Rankin <rankincj@yahoo.com> The work item function is dvb_usb_read_remote_control(): INIT_WORK(&d->rc_query_work, dvb_usb_read_remote_control, d); and the last piece of work it does is: schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc_interval)); Hence you need to call "cancel_rearming_delayed_work()" and not "cancel_delayed_work()", correct? I certainly haven't seen this oops reoccur since I applied this patch. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-05Backed out changeset a829a6ca77529b26451610ec6368ceeaa8103ebdMichael Krufky
From: Chris Rankin <rankincj@yahoo.com> Due to usb_to_input_id(), this change was completely unnecessary. These three lines are trying to do exactly what usb_to_input_id() does already. Remove them. Signed-off-by: Chris Rankin <rankincj@yahoo.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-01-27qt1010: use i2c_gate_ctrl where appropriateMichael Krufky
From: Antti Palosaari <crope@iki.fi> This patch adds calls to i2c_gate_ctrl in the qt1010 dvb tuner module, while removing the temporary hack in au6610 and gl861. Tested successfully against fi-Oulu frequencies with MSI Megasky 580 GL861 and Sigmatek DVB-110 AU6610. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-01-21whitespace / 80-column cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-01-21kconfig: qt1010 should be selected by gl861 and au6610Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-01-21dvb: add new qt1010 tuner moduleMichael Krufky
From: Antti Palosaari <crope@iki.fi> gl861: (MSI Megasky) - hack for enable ZL10353 / QT1010 I2C gate - use new QT1010 module instead of old code au6610: (Sigmatek DVB-110) - hack for enable ZL10353 / QT1010 I2C gate - use new QT1010 module instead of old code Tested successfully with au6610 and gl861 devices against fi-Yllas frequencies. Now it locks perfectly with both devices. There is a "hack" to enable probable i2c gate in zl10535 demodulator. QT1010 doesn't respond to any i2c messages before we write 0x1a to demodulator register 0x62. In my understanding this should be fixed to demodulator code. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-11-05Initial support for Sigmatek DVB-110 DVB-TMichael Krufky
From: Antti Palosaari <crope@iki.fi> This patch adds driver for Sigmatek DVB-110 USB DVB-T stick. Stick has based on hardware of Qtuantek QT1010 tuner, Zarlink ZL10353 (Intel CE 6353) demodulator and Alcor Micro AU6610 DVB-T USB controller. HW is rather similar as used in MSI Megasky GL861. Currently, the driver works only in USB 2.0. In my understanding USB 1.1 is also supported by hw but I cannot test it due to lack of USB 1.1 port. Device supports only isochronous mode transfers. There is also eeprom in usb controller(at least in address range 0x80 - 0xbf) for storing data, eg. firmware. Anyway, firmware loading is not used / required by the device. There seems to be at least one unknown I2C device in address 0xa0, probably remote control or GPIO. Windows drivers reads registers from 0x00 to 0x07 from this unknown address. Driver is based on gl861 module. Tuner has a lot of problems to lock with megasky qt1010 module with this hardware with some broadcasting standards. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-09gl861: use parallel_tsMichael Krufky
From: Carl Lundqvist <comabug@gmail.com> - use parallel_ts - Now this driver works. - correct typo in MODULE_VERSION Signed-off-by: Carl Lundqvist <comabug@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-09gl861: remove unneeded declaration of .generic_bulk_ctrl_endpointMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> generic_bulk_ctrl_endpoint isn't being used in this device, so this is not needed here. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-07gl861: correct address of the bulk endpointMichael Krufky
From: Jan Nijs <jan.nijs@scarlet.be> The megasky 580 based on gl861 has three endpoints: - 0x81 BULK/ISOC IN MPEG2 TS - 0x83 INT IN remote control receiver - 0x02 BULK OUT bulk control endpoint It doesn't look like the bulk endpoint is used, but better to have the correct one in the config. Signed-off-by: Jan Nijs <jan.nijs@scarlet.be> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-07gl861: correct oops when loading moduleMichael Krufky
From: Jan Nijs <jan.nijs@scarlet.be> This patch moves the DVB_USB_IS_AN_I2C_ADAPTER flag from the adapter properties to the device properties. Without this patch I get an OOPS when the gl861 driver tries to access any registers. Signed-off-by: Jan Nijs <jan.nijs@scarlet.be> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>