summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-11Add a proper init code for -alsaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Uses about the same initialization code as defined on usbaudio.c. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11tm6000: allow compilation of tm6000-alsa moduleMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11tm6000: Convert cx88-alsa into tm6000-alsaMauro Carvalho Chehab
- Remove cx88 specific setups; - Add tm6000 specific start/stop commands; - Do CodingStyle cleanups. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11tm6000: copy cx88-alsa as tm6000-alsaMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-10tm6000: several changes on usb preparation trying to avoid -EPROTO errorsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-09tm6000: fixes several CodingStyle and do some cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-09tm6000: fix image hangsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> A previous committed patch hanged image output. This patch corrects this issue. It also warrants that buffer is updated for each frame0+frame1 frame set. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-08tm6000: adds 10ms delay between two consecutive i2c write opsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> tm6000 original driver seems to use a delay between two consecutive i2c write operations. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14tm6000: I2C reading operations is not reliable on tm6000Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> tm6000 sometimes can't read from i2c, but this is currently required for tuner-xc2028 to work. This patch adds an option to tuner-xc2028 to not rely on i2c reading. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-08tuner-xc2028: adds an option to send i2c data on slower speedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-08tm6000: Uses another method for handling incomplete packetsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This requires a little more memory, and some memcpy to work, but the logic is simpler than the previous method. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-08tm6000: Add support for tm6010Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-24tm6000: update USB request names and clean up i2c routineMauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Update the descriptions of the USB request types so that they match what we now know they do. Rework the i2c_xfer function so that it is more explicit what sort of I2C transfers it is that the tm6000 can't perform. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-23tm6000: fix i2c readingsMauro Carvalho Chehab
From: Christopher Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-23tm6000: mts parameter has changed on tuner-xc2028.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-19tm6000: Use dvb_frontend_detach instead of single symbol_put commandsMauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Thanks to Mike Krufky for pointed that one out. Also include some minor cleanups. Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-16tm6000: add a missing symbol_putMauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-16tm6000: fix tm6000 attach method and fix a few CodingStylesMauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-15tm6000: follow videobuf API changesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-05tm6000: fix eeprom reading on tm6000Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-05tm6000: all read messages should use prev_regMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> read messages with length>1 where using the wrong register. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-04tm6000: fix build dependencies for TM6000 and tuner-xc2028Mauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-02tm6000: a few registers is needed from the sif/noif setingsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-02tm6000: Avoid sending xc3028 setups for other tunersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-02tm6000: Remove an old hackMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-02tm6000: Move analog tv standards to tm6000-stdsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> tm5600/6000/6010 requires a large config table for video standards. Better to move this to their own file. Also added register settings for tm6010 (needs testing. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-10-24tm6000: Properly select xc2028 parametersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-10-23tm6000: Select VIDEO_TUNER for tm6000 devicesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-10-15tm6000: Fix a memory leak at tm6000-videoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> if a transfer buffer allocation fails, the last allocated urb is leaked (it hasn't been stored in dev->urb[] yet so tm6000_uninit_isoc misses it). The patch also includes a small typo fix. Thanks to Florin Malita <fmalita@gmail.com> for pointing this. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-10-10tm6000: Build the module properly if CONFIG_VIDEO_TM6000_DVB is selected.Mauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-10-01tm6000: make tm6000_devused staticMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-27tm6000: adds command to enable audio output at tm6000Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-24tm6000: Add support for ADSTech Mini Dual TV (PTV-339).Mauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-22tm6000: fix tm6000 analog video buffer handlingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previously, there were no sync between video buffer filling and received URBs. So, the presented image were a mix of frame and frame-1. Now, a filled buffer should contain only data for that frame. allocates a maximum of 64 KB per each URB area. This fixed two bugs: - Sometimes, there were no available continuos block of about 1 MB; - Image weren't not properly updated, since parts of the URBs aren't updated. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-19tm6000: avoid troubles if a header is broken on two separate URBsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-19tm6000: Split header processing from header findMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-19tm6000: Allow selecting audio bitrateMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-19tm6000: Add a hack for PAL standardsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The common code is not properly working. This hack should do the work for now. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-07tm6000: Fix buffering sizeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> At the first time an application were called, resolutions were wrong. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-04tm6000: Fix the resolutions for 625 line video standards (european PAL/SECAM)Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-09-04tm6000: On some kernels, eeprom reading were generating a bugMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14Improve decode_tm6000 for better usage of mmap methodMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Now, mmap method is the default, when reading from tm6000 V4L2 device. Also, now, it is possible to specify the channel frequency via command line, and the number of video buffers to be used. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-08-27tm6000: fix poll() methodMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-08-27tm6000: check for errors on usb->statusMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-08-25tm6000: fix DVB dependencyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Compilation were causing errors, if DVB_CORE weren't selected. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-08-21tm6000: Add initial DVB-T supportMauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-08-21tm6000: Add support for mmapMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-21tm6000: Remove code dealing with the ZL10353Mauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Remove code dealing with the ZL10353 as this is all handled by the ZL10353 module. Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-24tm6000: Modify tuner_callback to user the device's GPIO address field for ↵Mauro Carvalho Chehab
tuner reset. From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-07-18tm6000: Some cleanups at the driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>