23 Oct, 2010
2 commits
-
This patch allows this device successfully to show video, at least from
its composite input.I have no information about the true hardware contents of this device and so
this patch is based solely on fiddling with things until it worked. The
chip appears to be em2860, and the closest device with equivalent inputs
is the Typhoon DVD Maker. Copying the settings for that device appears
to do the trick. That's what this patch does.[mchehab@redhat.com: update CARDLIST.em28xx accordingly, via script]
Signed-off-by: Adrian Taylor
Reviewed-by: Jarod Wilson
Signed-off-by: Mauro Carvalho Chehab -
Fix a few troubles at the card entries
Signed-off-by: Mauro Carvalho Chehab
21 Oct, 2010
7 commits
-
Don't hold the lock before unregistering the device, since when the
device is unregistered the datastruct containing the lock may be freed
(if the refcount went to 0).Also fixed the framework documentation that erroneously suggested the
wrong locking order as well.Reported-by: David Ellingsworth
Signed-off-by: Hans Verkuil
Acked-by: David Ellingsworth
Signed-off-by: Mauro Carvalho Chehab -
Drivers can optionally set a pointer to a mutex in struct video_device.
The core will use that to lock before calling open, read, write, unlocked_ioctl,
poll, mmap or release.Updated the documentation as well and ensure that v4l2-event knows about the
lock: it will unlock it before doing a blocking wait on an event and relock it
afterwards.Ensure that the 'video_is_registered' check is done when the lock is held:
a typical disconnect will take the lock as well before unregistering the
device nodes, so to prevent race conditions the video_is_registered check
should also be done with the lock held.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Until now all fops except release and (unlocked_)ioctl returned an error
after the device node was unregistered. Extend this as well to the ioctl
fops. There is nothing useful that an application can do here and it
complicates the driver code unnecessarily.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Alexander Goncharov
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Tested-by: Simon Danner
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Remove all references to /dev/vtx in the documentation, except for
some historical comments in dev-teletext.xml.Documentation/devices.txt is not updated, this will go through Alan Cox
who maintains this file.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
The existing priv field stores subdev private data owned by the subdev
driver. Host (bridge) drivers might need to store per-subdev
host-specific data, such as a pointer to platform data.Add a v4l2_subdev host_priv field to store host-specific data, and
rename the existing priv field to dev_priv.Signed-off-by: Laurent Pinchart
Acked-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
09 Aug, 2010
1 commit
-
Signed-off-by: Hans Verkuil
Reviewed-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab
05 Aug, 2010
1 commit
-
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
Documentation: update broken web addresses.
fix comment typo "choosed" -> "chosen"
hostap:hostap_hw.c Fix typo in comment
Fix spelling contorller -> controller in comments
Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
fs/Kconfig: Fix typo Userpace -> Userspace
Removing dead MACH_U300_BS26
drivers/infiniband: Remove unnecessary casts of private_data
fs/ocfs2: Remove unnecessary casts of private_data
libfc: use ARRAY_SIZE
scsi: bfa: use ARRAY_SIZE
drm: i915: use ARRAY_SIZE
drm: drm_edid: use ARRAY_SIZE
synclink: use ARRAY_SIZE
block: cciss: use ARRAY_SIZE
comment typo fixes: charater => character
fix comment typos concerning "challenge"
arm: plat-spear: fix typo in kerneldoc
reiserfs: typo comment fix
update email address
...
04 Aug, 2010
1 commit
-
Below you will find an updated version from the original series bunching all patches into one big patch
updating broken web addresses that are located in Documentation/*
Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult,
the best way to deal with these is to use web.archive.org to locate these addresses that are outdated.
Now there are also some addresses pointing to .spec files some are located, but some(after searching
on the companies site)where still no where to be found. In this case I just changed the address
to the company site this way the users can contact the company and they can locate them for the users.Signed-off-by: Justin P. Mattock
Signed-off-by: Thomas Weber
Signed-off-by: Mike Frysinger
Cc: Paulo Marques
Cc: Randy Dunlap
Cc: Michael Neuling
Signed-off-by: Jiri Kosina
03 Aug, 2010
6 commits
-
This adds support for the KWorld PlusTV 340U and KWorld UB345-Q ATSC
sticks, which are really the same device. The sticks have an eMPIA
em2870 usb bridge chipset, an LG Electronics LGDT3304 ATSC/QAM
demodulator and an NXP TDA18271HD tuner -- early versions of the 340U
have a a TDA18271HD/C1, later models and the UB435-Q have a C2.The stick has been tested succesfully with both VSB_8 and QAM_256 signals.
Its using lgdt3304 support added to the lgdt3305 driver by a prior patch,
rather than the current lgdt3304 driver, as its severely lacking in
functionality by comparison (see said patch for details).Signed-off-by: Jarod Wilson
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
This patch adds support for TechnoTrend TT-budget T-3000 DVB-T card.
Signed-off-by: Vadim Catana
Signed-off-by: Mauro Carvalho Chehab -
Add Genius iSlim 310 webcam to the supported list of the PAC7302 driver.
For more information see http://linuxtv.org/wiki/index.php/PixArt_PAC7301/PAC7302 .Signed-off-by: Márton Németh
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab
09 Jul, 2010
1 commit
-
Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab
01 Jun, 2010
2 commits
-
This change adds support for Avermedia M733A. The original version for
linux 2.6.31 was sent to me from Avermedia, original author is unknown.
I ported it to current kernels, expanded and fixed key code handling for
RM-K6 remote control, and added an additional pci id also supported.[mchehab@redhat.com: make checkpatch.pl happier]
Signed-off-by: Herton Ronaldo Krzesinski
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Warren Bosworth Focke
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab
19 May, 2010
7 commits
-
[dougsland@redhat.com: Fixed cards numbers reject due changes in saa7134.h]
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov
Signed-off-by: Douglas Schilling Landgraf
Signed-off-by: Mauro Carvalho Chehab -
I have 3 IVC-200 cards (with 4 video channels on each).
2 of the cards identify theirselves as 000[0-3]:a155 (ids already in
cardlist) and another one identifies itself as 080[0-3]:a155, which ids
were unknown so far.Note - it's IVC-200, not IVC-200G.
Signed-off-by: Kirill Smelkov
Signed-off-by: Mauro Carvalho Chehab -
Add documentation on how to use V4L2 events, both for V4L2 drivers and for
V4L2 applications.Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
Add documentation on using V4L2 file handles (v4l2_fh) in V4L2 drivers.
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Guennadi Liakhovetski
Signed-off-by: Mauro Carvalho Chehab -
From: Stefan Ringel
The firmware were seen to be needed with some tm6000 devices that don't
work with version 2.7.Thanks-to: Bee Hock Goh
Signed-off-by: Stefan Ringel
Signed-off-by: Mauro Carvalho Chehab -
After unregister_device all fileops are blocked, except for ioctls.
So it is not just the open that is blocked, others are as well.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
18 May, 2010
6 commits
-
Add support for design which has an em2863/tvp5150 and uses the standard
empia USB ID. In Sander's case, it was branded as an "Eminent model EM3705"Thanks to Sander Van Ginkel for testing and help debugging the support.
[mchehab@redhat.com: move it to a vague card number slot (card=29)]
Signed-off-by: Devin Heitmueller
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Mauro Carvalho Chehab
-
There are some missing entries there
Signed-off-by: Mauro Carvalho Chehab
-
Adds the following models:
- 0c45:624c
- 0c45:628c
- 0458:704a
- 0458:704cSigned-off-by: Brian Johnson
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Adds new capture boards Hawell HW-404M7 and HW-808M7. Those cards have 4
or 8 SAA7130 chips and for the work it only needs initialize registers.
The value of those registers were dumped under Windows using flytest.
But board haven't EEPROM.For the first chip:
SAA7130 (0x7130, SubVenID:1131, SubDevID:0000, Rev: 01)
I2C slave devices found:
No devicesGPIO pins:
Mode : 0x00389C00
Value: 0x00016C00Video input: 3
Audio input: Analog Line1For other chips:
SAA7130 (0x7130, SubVenID:1131, SubDevID:0000, Rev: 01)
I2C slave devices found:
No devicesGPIO pins:
Mode : 0x00389200
Value: 0x00010000Video input: 3
Audio input: Analog Line1Signed-off-by: Vladimir Ermakov
Signed-off-by: Mauro Carvalho Chehab
27 Feb, 2010
6 commits
-
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gscpa Documentation: add cpia1 cameras
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Sony makes custome tuners for its GigaPocket line of ivtv based capture
cards. This adds an entry to the tuner-types list for such tuners.
Parameters are based on experiments by Eric Anderson .Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
CC: Jonathan Corbet
CC: Reviewed-by: Randy Dunlap
Signed-off-by: Mauro Carvalho Chehab -
Videobuf is a moderately complex API which most V4L2 drivers should use,
but its documentation is...sparse. This document attempts to improve the
situation.Signed-off-by: Jonathan Corbet
Reviewed-by: Randy Dunlap
Signed-off-by: Mauro Carvalho Chehab -
video :
use the V4L2_STD macros to select the proper audio setting.radio :
add preemphasis ctr.
test it by the command:
v4l2-ctl -d /dev/radio0 --set-ctrl=pre_emphasis_settings=1[mchehab@redhat.com: folded documentation patch]
Signed-off-by: Huang Shijie
Signed-off-by: Mauro Carvalho Chehab