summaryrefslogtreecommitdiff
path: root/linux/drivers
AgeCommit message (Collapse)Author
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-08Fix stereo and standard reporting of msp3400 (esp. for radio)Hans Verkuil
- Add VIDIOC_LOG_STATUS to the radio device ioctl list. - Reduce the confusion between modes and standards - Fix stereo reporting for radio. - Don't set i2c configuration if the chip doesn't support it. - Fix reporting of current standard for radio. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-08WSS output interface for av7110Oliver Endriss
- implemented v4l2 api for sliced vbi data output to pass WSS data from userspace to the av7110 Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-08msp3400 audio handling bug fixes.Hans Verkuil
- check capabilities for audio settings (volume, balance, bass, treble, loudness, mute) - added loudness support - added missing VIDEO_AUDIO_BALANCE flags for v4l1 compatibility - do not call msp_any_detect_stereo for non-autoselect chips to retrieve the current stereo setting: that will temporarily mute the sound. It is only needed when the stereo mode might be changed, and for autoselect msp processors that do not periodically need to update their stereo setting. - do not wake up the thread if the standard did not change. Prevents temporary audio drop-out if the standard is set to the same value. - fix confused stereo detect code where V4L2_TUNER_SUB_STEREO and V4L2_TUNER_MODE_STEREO values were used incorrectly. - stereo mode reporting was broken (v4l2 value used to index a string array expecting v4l1 mode values). - do not set dsp register 0x30 in the 3410d thread: that register does not exist for pre-'G' revision msp chips. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-08drivers/media/dvb/frontends/bcm3510.c(258): warning #592: variable "ret" is ↵Patrick Boettcher
used before its value is set From: d binderman <dcb314@hotmail.com> just tried to compile kernel 2.6.15 with the Intel C compiler. It said drivers/media/dvb/frontends/bcm3510.c(258): warning #592: variable "ret" is used before its value is set Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-01-08msp3400: use v4l2_std_id and determine chip capabilities.Hans Verkuil
- Replace old norm by the v4l2_std_id values. - Add code to correctly detect the various capabilities of the various msp chips. It's not yet used, that's going to be the next step. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-08i2c fixes and cleanupsMauro Carvalho Chehab
- Miscelaneous i2c cleanups and fixes to work with kernel >2.6.15 - linux/sound/pci/bt87x.c updated to kernel version. kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-08Use correct AGC settings for DNTV Live! DVB-T ProChristopher Pascoe
My original settings for this board were incorrect and resulted in an increased number of signal dropouts. Replace this with the settings from the Windows driver. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
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 FusionHDTV DVB-T Dual Digital PCI supportChristopher Pascoe
Support for DVB reception on the PCI half of the DViCO DVB-T Dual Digital. 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-08SAA7134: GPIO IRQ improvementsRicardo Cerqueira
From: Peter Missel <peter.missel@onlinehome.de> saa7134-core.c saa7134_irq(): Separate GPIO16 and GPIO18 handling. Call IR-remote-GPIO handler only if the GPIO IRQ is "owned" by it. Added infrastructure to branch out to a future I2C-IR IRQ handler. saa7134-core.c saa7134_hwinit2(): Enable only the one GPIO pin and edge to trigger an IRQ that is wired as keyup/keydown mask. IRQ will only be generated for an actual key-down event. saa7134-input.c flyvideo_codes[]: Replace numpad keys with normal ones. Put meaning to mystery keys. Change some key definitions to have their functions match their labels better. Fix typos. saa7134-input.c flydvb_codes[]: Added new table for the larger remote that comes with the LifeView FlyDVB series. saa7134-input.c build_key(): In IRQ mode, signal key-down and then key-up straight in one go. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-07printk cleanupsMauro Carvalho Chehab
- some fixes from the previous patches - printk replaced by v4l_ print macros on saa6752 and bt832 Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-07Some cleanups at I2C modulesMauro Carvalho Chehab
- Latest patch reverted, since __stringfy seems to be needed for kernel < 2.6.15 - Applied kernel I2C cleanups from Jean Delaware. - driver names simplified to allow usage of newer printk macros at v4l2-common.h Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-07small cleanupsMauro Carvalho Chehab
- removed unneeded __stringify - updated i2c-id.h - kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
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-05Both AverTV Studio 303 cards #6 and #36 use the same IR programming.Michael Krufky
From: George Gazurkoff <gazurkoff@gmail.com> - Both AverTV Studio 303 cards, #6 and #36, use the same remote control programming. Signed-off-by: George Gazurkoff <gazurkoff@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-05Make CONFIG_VIDEO_ALSA support all ALSA modules, and enable itRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> VIDEO_ALSA now actually means "enable ALSA modules". Both cx88 and saa7134 are covered by it (bt87x is disabled as it may conflict with snd_bt87x in ALSA's tree), and it now defaults to "y". Signed-off-by:
2006-01-05Workaround to deal with the cx88 DMA code conflictsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Existing audio DMA uses conflict with cx88-alsa. This workaround disables that code if cx88-alsa is being compiled Signed-off-by:
2006-01-05Fix cx88-alsa oopsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Fixed double-spinlock bug Signed-off-by:
2006-01-05Cleanup old code and debug from cx88-alsaRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Cleaned up some code and excessive debug left behind during development Signed-off-by:
2006-01-04Fixes a bug at compat_ioctl32 kernel moduleMauro Carvalho Chehab
- There is a bug in the ioctl translations from 32bit userspace to 64bit kernelspace in do_set_window(). - The video window (vw) should be passed to native_ioctl() instead of the video clip. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-04Add analog support for LifeView FlyDVB Trio.Michael Krufky
From: Peter Missel <peter.missel@onlinehome.de> - Add support for LifeView FlyDVB Trio. - all analog inputs are supported and working, including FM radio - TO DO: dvb & remote control Signed-off-by: Peter Missel <peter.missel@onlinehome.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-04Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner.Nickolay V. Shmyrev
From: Manenti Marco <marco_manenti@colman.it> * linux/Documentation/video4linux/CARDLIST.cx88: * linux/drivers/media/video/cx88/cx88-cards.c: * linux/drivers/media/video/cx88/cx88-dvb.c: (dvb_register): * linux/drivers/media/video/cx88/cx88.h: Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner. Signed-off-by: Manenti Marco <marco_manenti@colman.it> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2006-01-04Fixed the audio distortion in cx88-alsaRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> The audio distortion was apparently being caused by the high amount of interrupts being generated. Increasing the buffer from 512 to 4096 seems to fix it Signed-off-by:
2006-01-03Fix signed/unsigned bug in brightness handling of cx25840Hans Verkuil
Fix signed/unsigned bug in brightness handling (set to 0 and 128 was returned). Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-03Fix signed/unsigned bug in hue handlingHans Verkuil
Fix signed/unsigned bug in hue handling (set to -127 and 129 was returned). Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-03whitespace cleanupsMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-03small cleanupsMauro Carvalho Chehab
kernel-sync Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-03cx88-alsa, now with working sound goodnessRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> It's still not perfect (lots of over and underruns), but there's now working audio. Dropped the videobuf queues (too geared for video...) in favor of a single RISC databuffer, and changed the remaining code accordingly. And it works ;) Signed-off-by:
2006-01-03Add DViCO Bluebird firmware to dvb_get_firmware scriptMichael Krufky
- Add DViCO Bluebird firmware to dvb_get_firmware script, for FusionHDTV USB devices. - Use usb alt setting 0 for EP4 transfer (dvb-t), - Use usb alt setting 7 for EP2 transfer (atsc) - Added comment to lgdt330x.c to indicate support for DViCO FusionHDTV5 USB Gold. Thanks to: Jeff Lee <JeffLee@dvico.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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-03av7110 driver: improved recovery from ARM crash and crash detectionOliver Endriss
Improved recovery from ARM crash and the way a crash is detected. Minor white space clean-up, debug output fixed. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-01-02Added VIDIOC_QUERYCTRL to saa7115Hans Verkuil
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02Added VIDIOC_QUERYCTRL to cx25840.Hans Verkuil
- Added VIDIOC_QUERYCTRL - Removed unnecessary inlines. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02convert diagnostics over to the new v4l2-common.h macros.Hans Verkuil
- convert diagnostics over to the new v4l2-common.h macros. - deprecated tuner_debug option, the new option is debug. - renamed cx25840_debug to debug. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02Fix incorrect filename reference in top commentsMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-02Added new diagnositics macros, convert msp3400 to the new macros.Hans Verkuil
- Added new v4l_err, v4l_warn, v4l_info and v4l_dbg macros to v4l2-common.h for use in v4l-dvb i2c drivers. This ensures a unique prefix for each device instance. - At a later stage these macros may be reimplemented using the device-generic macros from device.h. - Converted the msp3400 driver to the new macros. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02Split msp3400.c into msp3400-driver.c and msp3400-kthreads.cHans Verkuil
- Split msp3400.c into msp3400-driver.c and msp3400-kthreads.c. - Removed experimental DFPREG ioctls. If this is really needed one day then it should be implemented using VIDIOC_G/S_REGISTER. - Added missing BALANCE control info for VIDIOC_QUERYCTRL. - Still more cleanup, clarified some kernel messages. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-01more cleanups, simplify volume/balance/bass/treble handlingHans Verkuil
Continue cleanup effort: - more cosmetic changes - combine volume, balance, bass and treble into one audio function. Revert old 2.4 code that crept in. - print internal ioctls using new debug function. - marked all msp3400c (aka manual) functions as such. - removed some unused data structures. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-01ioctls cleanups.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>