16 Jan, 2012
1 commit
-
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (655 commits)
[media] revert patch: HDIC HD29L2 DMB-TH USB2.0 reference design driver
mb86a20s: Add a few more register settings at the init seq
mb86a20s: Group registers into the same line
[media] [PATCH] don't reset the delivery system on DTV_CLEAR
[media] [BUG] it913x-fe fix typo error making SNR levels unstable
[media] cx23885: Query the CX25840 during enum_input for status
[media] cx25840: Add support for g_input_status
[media] rc-videomate-m1f.c Rename to match remote controler name
[media] drivers: media: au0828: Fix dependency for VIDEO_AU0828
[media] convert drivers/media/* to use module_platform_driver()
[media] drivers: video: cx231xx: Fix dependency for VIDEO_CX231XX_DVB
[media] Exynos4 JPEG codec v4l2 driver
[media] doc: v4l: selection: choose pixels as units for selection rectangles
[media] v4l: s5p-tv: mixer: fix setup of VP scaling
[media] v4l: s5p-tv: mixer: add support for selection API
[media] v4l: emulate old crop API using extended crop/compose API
[media] doc: v4l: add documentation for selection API
[media] doc: v4l: add binary images for selection API
[media] v4l: add support for selection api
[media] hd29l2: fix review findings
...
11 Jan, 2012
1 commit
-
The af9005_properties and af9015_properties tables make use of USB ids
from the USB id tables with hardcoded indices, as in
"&af9015_usb_table[30]". Adding new entries before the end breaks
such references, so everyone has had to carefully tiptoe to only add
entries at the end of the list.In the spirit of "dw2102: use symbolic names for dw2102_table
indices", use C99-style initializers with symbolic names for each
index to avoid this. In the new regime, properties tables referring
to the USB ids have names like "&af9015_usb_table[CINERGY_T_STICK_RC]"
that do not change meaning when items in the USB id table are
reordered.Encouraged-by: Mauro Carvalho Chehab
Signed-off-by: Jonathan Nieder
Acked-by: Luca Olivetti
Acked-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
31 Dec, 2011
3 commits
-
Instead of using dvb_frontend_parameters struct, that were
designed for a subset of the supported standards, use the DVBv5
cache information.Also, fill the supported delivery systems at dvb_frontend_ops
struct.Signed-off-by: Mauro Carvalho Chehab
-
Rewrite whole af9013 demod driver in order to decrease I2C I/O.
We need to decrease I2C load since AF9015 (I2C adapter / USB-bridge used)
seems to have some problems under heavy I2C traffic.Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
AF9015 firmware does not like if it gets interrupted by I2C adapter
request on some critical phases. During normal operation I2C adapter
is used only 2nd demodulator and tuner on dual tuner devices.Override demodulator callbacks and use mutex for limit access to
those "critical" paths to keep AF9015 happy.Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
19 Nov, 2011
1 commit
-
This converts the drivers in drivers/media/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.Cc: Mauro Carvalho Chehab
Cc: Luca Risolia
Cc: Jean-Francois Moine
Cc: Frank Zago
Cc: Olivier Lorin
Cc: Erik Andren
Cc: Hans de Goede
Cc: Brian Johnson
Cc: Leandro Costantino
Cc: Antoine Jacquet
Cc: Jarod Wilson
Cc: Florian Mickler
Cc: Antti Palosaari
Cc: Michael Krufky
Cc: "David Härdeman"
Cc: Florent Audebert
Cc: Sam Doshi
Cc: Manu Abraham
Cc: Olivier Grenie
Cc: Patrick Boettcher
Cc: "Igor M. Liplianin"
Cc: Derek Kelly
Cc: Malcolm Priestley
Cc: Steven Toth
Cc: "André Weidemann"
Cc: Martin Wilks
Cc: Tejun Heo
Cc: Jose Alberto Reguero
Cc: David Henningsson
Cc: Paul Gortmaker
Cc: Joe Perches
Cc: Jesper Juhl
Cc: Lucas De Marchi
Cc: Hans Verkuil
Cc: Alexey Khoroshilov
Cc: Anssi Hannula
Cc: Rafi Rubin
Cc: Dan Carpenter
Cc: Paul Bender
Cc: Devin Heitmueller
Cc: "Márcio A Alves"
Cc: Julia Lawall
Cc: Laurent Pinchart
Cc: Chris Rankin
Cc: Lee Jones
Cc: Andy Walls
Cc: Andrew Morton
Cc: Mike Frysinger
Cc: Dean Anderson
Cc: Pete Eberlein
Cc: Arvydas Sidorenko
Cc: Andrea Anacleto
Signed-off-by: Greg Kroah-Hartman
07 Sep, 2011
1 commit
-
refactor MFE code to allow for individual streaming configuration
for each frontendSigned-off-by: Michael Krufky
Reviewed-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
27 Aug, 2011
2 commits
-
Style issue.
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Thanks to Thomas Gutzler for reporting this.
Signed-off-by: Antti Palosaari
Cc: Thomas Gutzler
Signed-off-by: Mauro Carvalho Chehab
31 Jul, 2011
1 commit
-
Change adapter FE pointer as array of FE pointers.
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
28 Jul, 2011
7 commits
-
Signed-off-by: Emilio David Diaus Lopez
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
It is useless. There is only one physical I2C-adapter.
2nd adapter was added originally due to some plans for allowing only one
demod to access bus at time. But I never implemented proper locking...Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Remove old code which is not used anymore since IR code is read
directly from memory nowadays.Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Return EOPNOTSUPP for too long messages.
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Reported-by: Jacek M. Holeczek
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
That's this tuner:
The credit card sized remote more or less works if I set remote=4,
so I added the hash to get it autodetected. (`more or less' there
meaning sometimes buttons are `stuck on repeat', i.e. ir-keytable -t
keeps repeating the same scancode until i press another button.)Signed-off-by: Juergen Lock
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
22 Mar, 2011
4 commits
-
Split FW download packages smarter way and bug free. Implementation is
based of Andrea Merello's example he provided for tda18218 driver.
Count remaining FW bytes down in loop instead of division and modulo
combination used earlier.Thanks-to: Andrea Merello
Signed-off-by: Antti Palosaari
Cc: Andrea Merello
Signed-off-by: Mauro Carvalho Chehab -
Map rc-terratec-slim-2 for TerraTec Cinergy T Stick RC device.
Signed-off-by: Antti Palosaari
Cc: Martin Groszhauser
Cc: TerraTux
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Patch from Ian Armstrong.
I've encountered a couple of problems with the current af9015 driver as
supplied with the 2.6.37 kernel, that the attached patch appears to fix. (I've
generated this patch against the current v4l-dvb git).Some key-presses are lost. A key-press is only generated upon 'valid' data
(buf[14] == (u8) ~buf[15]), but the buffer is wiped before this check.
Sometimes the 15th byte has not been set at the time of read, so the data
isn't valid & ignored. On the next poll the 15th byte has been set, but the
rest of the data was wiped previously, so the data is still invalid & the key
is lost.Weird repeat error, where an old key press is sometimes repeated in error. ie.
button sequence '1 (pause) 2 (pause) 3 (pause) 4' generates output like '1
(pause) 2 (pause) 23 (pause) 4'. The current driver zeroes the data for the
key pushed, but sometimes this data is already zero but with other bytes set
suggesting a repeat code. This results in the last key being incorrectly
repeated.This patch attempts to reduce the risk of a missed key-press & also stop the
random repeat of an old key-press when a new key is pressed.Signed-off-by: Ian Armstrong
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
29 Dec, 2010
3 commits
-
for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,IR_TYPE,RC_TYPE,g a && mv a $i; done
for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_type,rc_type,g a && mv a $i; doneSigned-off-by: Mauro Carvalho Chehab
-
Those functions are not InfraRed specific. So, rename them to properly
reflect it.Signed-off-by: Mauro Carvalho Chehab
-
This patch merges the ir_input_dev and ir_dev_props structs into a single
struct called rc_dev. The drivers and various functions in rc-core used
by the drivers are also changed to use rc_dev as the primary interface
when dealing with rc-core.This means that the input_dev is abstracted away from the drivers which
is necessary if we ever want to support multiple input devs per rc device.The new API is similar to what the input subsystem uses, i.e:
rc_device_alloc()
rc_device_free()
rc_device_register()
rc_device_unregister()[mchehab@redhat.com: Fix compilation on mceusb and cx231xx, due to merge conflicts]
Signed-off-by: David Härdeman
Acked-by: Jarod Wilson
Tested-by: Jarod Wilson
Signed-off-by: Mauro Carvalho Chehab
28 Oct, 2010
1 commit
-
Changeset 1724c8fa7eb33d68898e060a08a8e6a88348b62f added an option to change
the maximum I2C size to 8 bytes. However, it forgot to replace the previous
usage at af9015 to use the newly defined macro value
(TDA18271_16_BYTE_CHUNK_INIT).A latter changeset (e350d44fed8eb86a7192a579e3687fcd76a4645b) extended the
possible values for .small_i2c field and, instead of using a random sequence
of numbers, it used a number that makes more sense (e. g. the actual limit,
in terms of bytes).However, as af9015 were using .small_i2c = 1, this become undefined, and the
restriction of a max size of 16 was gone.While here, fix the reported msg size at tda18271-common.c.
Reported-by: Jiri Slaby
Tested-by: Jiri Slaby
Signed-off-by: Mauro Carvalho Chehab
23 Oct, 2010
3 commits
-
It is AF9015+AF9013+2xMXL5007T.
Tanks to Bernard Giannetti and DigitalNow for the help!
Signed-off-by: Antti Palosaari
Cc: Renura Enterprises Pty Ltd
Cc: Bernard Giannetti
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Antti Palosaari
Cc: Renura Enterprises Pty Ltd
Signed-off-by: Mauro Carvalho Chehab -
Read all remote controller registers at once to reduce USB remote polling traffic.
Use .rc_codes() to disable / enable remote polling instead of .rc_query().Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
21 Oct, 2010
12 commits
-
Detection class I2C_CLASS_TV_DIGITAL is set by many adapters but no
I2C device driver is setting it anymore, which means it can be
dropped. I2C devices on digital TV adapters are instantiated
explicitly these days, which is much better.Signed-off-by: Jean Delvare
Signed-off-by: Mauro Carvalho Chehab -
Use new RC core instead of old legacy RC implementation.
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Variable is don't care in that case. No need to set value.
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
The AVerTV Red HD+ (A850T) is basically the same as the existing
AVerTV Volar Black HD (A850), but is specific to the french market.
The A850T identifies itself as a A850, but has its own PID. It even
suffers from the same EEPROM deficiencies.This is based off a collection of information gathered from the
french support forums for Ubuntu, which I tried to properly format
into this patch:
http://forum.ubuntu-fr.org/viewtopic.php?pid=3322825Signed-off-by: "Yann E. MORIN"
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Replace 2nd demod default address 0x3a with value got from eeprom config.
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Remove HID and polling via firmware API. Implement direct access to remote codes via memory read and write.
HID and polling via firmware api never worked 100% well and there was also some limitations which tied used remote and device together.
After that it is possible to use upcoming kernel remote controller core.
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Detect TerraTec Cinergy T Stick Dual RC remote config using device
USB ID instead of device EEPROM hash. It was found that there is
devices with slightly different EEPROM content...Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Thanks to the TerraTec!
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Add USB ID [0ccd:0099] for TerraTec Cinergy T Stick Dual RC.
Device is based for AF9015 + AF9013 + 2 x MxL5007T chips.Thanks to the TerraTec!
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Commit 490ade7e3f4474f626a8f5d778ead4e599b94fbc merge conflict fix
leads situation where last nine device definitions were overridden mistakenly.Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab