Reading the commit message again I now realize that there is
a mistake.
On Wed, 26 Jan 2011 09:49:49 +0100
Anatolij Gustschin ag...@denx.de wrote:
...
received data. DMA_BUFx_RDY won't be set by the IPU, so waiting
for this event in the interrupt handler is wrong.
This should read
Hi Mark,
This is completely independent of WL 127X driver, instead this driver
works on top of the shared transport line discipline driver (which is
at driver/misc/ti-st in mainline).
On Tue, Jan 25, 2011 at 8:34 PM, Mark Brown
broo...@opensource.wolfsonmicro.com wrote:
On Tue, Jan 25, 2011 at
On Thu, Jan 27, 2011 at 03:02:43PM +0530, halli manjunatha wrote:
Please don't top post: http://daringfireball.net/2007/07/on_top
This is completely independent of WL 127X driver, instead this driver
works on top of the shared transport line discipline driver (which is
at driver/misc/ti-st in
Em 27-01-2011 04:38, Dmitry Torokhov escreveu:
On Wed, Jan 26, 2011 at 10:18:53PM -0500, Mark Lord wrote:
On 11-01-26 09:12 PM, Dmitry Torokhov wrote:
On Wed, Jan 26, 2011 at 08:07:29PM -0500, Mark Lord wrote:
On 11-01-26 08:01 PM, Mark Lord wrote:
On 11-01-26 10:05 AM, Mark Lord wrote:
On
On Thu, Jan 27, 2011 at 11:54 AM, Mark Brown
broo...@opensource.wolfsonmicro.com So what happens when both
drivers are in the system? It sounds like
you've got two different drivers for the same hardware. There must be
some redundancy there if nothing else.
Not really;
TI's 127x/128x devices
Hi Neil,
On Thursday 27 January 2011 02:43:15 Neil MacMunn wrote:
Ok I solved the segfault problem by updating some of my v4l2 files
(specifically v4l2-common.c). Now I only get nice sounding console
messages.
Linux media interface: v0.10
Linux video capture interface: v2.00
Hi again,
On Thursday 27 January 2011 02:43:15 Neil MacMunn wrote:
Ok I solved the segfault problem by updating some of my v4l2 files
(specifically v4l2-common.c). Now I only get nice sounding console
messages.
Linux media interface: v0.10
Linux video capture interface: v2.00
Hi everybody,
Here's the sixth version of the V4L2 subdev userspace API patches. The patches
have been rebased on top of 2.6.37, and support for the control framework has
been integrated.
You can find them as usual in http://git.linuxtv.org/pinchartl/media.git
(media-0001-subdev-devnode
The two functions are mostly identical. They handle the copy_from_user
and copy_to_user operations related with V4L2 ioctls and call the real
ioctl handler.
Create a __video_usercopy function that implements the core of
video_usercopy and video_ioctl2, and call that function from both.
From: Sakari Ailus sakari.ai...@maxwell.research.nokia.com
Provide v4l2_subdevs with v4l2_event support. Subdev drivers only need very
little to support events.
Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com
Signed-off-by: David Cohen david.co...@nokia.com
Signed-off-by:
There's no reason to require subdevices to implement the core
operations. Remove the check for non-NULL core operations when
initializing the subdev.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
include/media/v4l2-subdev.h |3 +--
1 files changed, 1 insertions(+), 2
v4l2_i2c_new_subdev is a thin wrapper around v4l2_i2c_new_subdev_cfg,
which is itself a wrapper around v4l2_i2c_new_subdev_board.
The intermediate v4l2_i2c_new_subdev_cfg function is called directly by
the ivtv and cafe-ccic drivers only. Merge it with v4l2_i2c_new_subdev
and use
Pass the control-related ioctls to the subdev driver through the control
framework.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
Documentation/video4linux/v4l2-framework.txt | 16
drivers/media/video/v4l2-subdev.c| 25
The function isn't small or performance sensitive enough to be inlined.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/media/video/v4l2-subdev.c | 42 +---
include/media/v4l2-subdev.h | 16 +
2 files changed, 31
Create a device node named subdevX for every registered subdev.
As the device node is registered before the subdev core::s_config
function is called, return -EGAIN on open until initialization
completes.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
Signed-off-by: Vimarsh
Hi everybody,
Here is the eighth version of the media controller core and V4L2 patches.
Quick reminder for those who missed the previous version. let me quote the
documentation (Documentation/DocBook/v4l/media-controller.xml).
Discovering a [media] device internal topology, and configuring it
Due to the wide differences between drivers regarding power management
needs, the media controller does not implement power management.
However, the media_entity structure includes a use_count field that
media drivers can use to track the number of users of every entity for
power management needs.
Create the following ioctl and implement it at the media device level to
query device information.
- MEDIA_IOC_DEVICE_INFO: Query media device information
The ioctl and its data structure are defined in the new kernel header
linux/media.h available to userspace applications.
Signed-off-by:
V4L2 subdevices are media entities. As such they need to inherit from
(include) the media_entity structure.
When registering/unregistering the subdevice, the media entity is
automatically registered/unregistered. The entity is acquired on device
open and released on device close.
Signed-off-by:
V4L2 devices are media entities. As such they need to inherit from
(include) the media_entity structure.
When registering/unregistering the device, the media entity is
automatically registered/unregistered. The entity is acquired on device
open and released on device close.
Signed-off-by:
The header defines the v4l2_mbus_framefmt structure which will be used
by the V4L2 subdevs userspace API.
Change the type of the v4l2_mbus_framefmt::code field to __u32, as enum
sizes can differ between different ABIs on the same architectures.
Signed-off-by: Laurent Pinchart
The v4l2_mbus_framefmt structure will be part of the public userspace
API and used (albeit indirectly) as an ioctl argument. As such, its size
must be fixed across userspace ABIs.
Replace the v4l2_field and v4l2_colorspace enums by __u32 fields and add
padding for future enhancements.
Hi everybody,
Here's the sixth version of the sub-device pad-level operations patches.
The patches are just rebased on top of 2.6.37 and some more padding has
been added for future enhancements.
Antti Koskipaa (1):
v4l: v4l2_subdev userspace crop API
Laurent Pinchart (9):
v4l: Move the
V4L2 sub-devices store pad formats and crop settings in the file handle.
To let drivers initialize those settings properly, add a file::open
operation that is called when the subdev is opened as well as a
corresponding file::close operation.
Signed-off-by: Laurent Pinchart
Add a v4l2_subdev_pad_ops structure for the operations that need to be
performed at the pad level such as format-related operations.
Pad format-related operations use v4l2_mbus_framefmt instead of
v4l2_format.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
From: Stanimir Varbanov svarba...@mm-sol.com
Used for storing subdev information per file handle and hold V4L2 file
handle.
Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com
Signed-off-by: Antti Koskipaa antti.koski...@nokia.com
Signed-off-by: Laurent Pinchart
Adding new pixel codes at the end of the enumeration will soon create a
mess, so group the pixel codes by type and sort them by bus_width, bits
per component, samples per pixel and order of subsamples.
As the codes are part of the kernel ABI their value can't change when a
new code is inserted in
For consistency with the V4L2_MBUS_FMT_Y10_1X10 format.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/media/video/mt9m001.c|2 +-
drivers/media/video/mt9v022.c|4 ++--
drivers/media/video/ov6650.c | 10 +-
From: Antti Koskipaa antti.koski...@nokia.com
This patch adds the VIDIOC_SUBDEV_S_CROP and G_CROP ioctls to the
userland API. CROPCAP is not implemented because it's redundant.
Signed-off-by: Antti Koskipaa antti.koski...@nokia.com
Signed-off-by: Laurent Pinchart
Hi everybody,
Here are eight miscellaneous patches to the V4L2 core that are required by the
OMAP3 ISP driver. They mostly add new format codes, as well as a new subdev
sensor operation.
The v4l: Fix a use-before-set in the control framework and
v4l: Add subdev sensor g_skip_frames operation
Instead of returning an error when receiving an ioctl call with an
unsupported command, forward the call to the subdev core::ioctl handler.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
Documentation/video4linux/v4l2-framework.txt |5 +
Add FCCs for the following pixel formats:
- V4L2_PIX_FMT_SBGGR12
- V4L2_PIX_FMT_SGBRG12
- V4L2_PIX_FMT_SGRBG12
- V4L2_PIX_FMT_SRGGB12
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
include/linux/videodev2.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
Add codes and documentation for the following media bus formats:
- V4L2_MBUS_FMT_SGBRG12_1X12
- V4L2_MBUS_FMT_SGRBG12_1X12
- V4L2_MBUS_FMT_SRGGB12_1X12
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
Documentation/DocBook/v4l/subdev-formats.xml | 51
Add the following media bus format code definitions:
- V4L2_MBUS_FMT_SGRBG10_1X10 for 10-bit GRBG Bayer
- V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 for 10-bit DPCM compressed GRBG Bayer
- V4L2_MBUS_FMT_YUYV16_1X16 for 8-bit YUYV on 16-bit bus
- V4L2_MBUS_FMT_UYVY16_1X16 for 8-bit UYVY on 16-bit bus
-
v4l2_queryctrl sets the step value based on the control type. That would
be fine if it used the control type stored in the V4L2 kernel control
object, not the one stored in the userspace ioctl structure that has
just been memset to 0. Fix this.
Signed-off-by: Laurent Pinchart
The later makes extensive use of structures defined in the former.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
include/media/v4l2-ctrls.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
The three new ioctl VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL,
VIDIOC_SUBDEV_G_FRAME_INTERVAL and VIDIOC_SUBDEV_S_FRAME_INTERVAL can be
used to enumerate and configure a subdev's frame rate from userspace.
Two new video::g/s_frame_interval subdev operations are introduced to
support those ioctls. The
This adds following formats:
- V4L2_MBUS_FMT_SRGGB10_1X10
- V4L2_MBUS_FMT_SGBRG10_1X10
- V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8
- V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8
- V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8
Signed-off-by: Sergio Aguirre saagui...@ti.com
Signed-off-by: Laurent Pinchart
Some buggy sensors generate corrupt frames when the stream is started.
This new operation return the number of corrupt frames to skip when
starting the stream.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
include/media/v4l2-subdev.h |4
1 files changed, 4
The pointer will later be used to register/unregister media entities
when registering/unregistering a v4l2_subdev or a video_device.
With the introduction of media devices, device drivers need to store a
pointer to a driver-specific structure in the device's drvdata.
v4l2_device can't claim
From: Sergio Aguirre saagui...@ti.com
Make sure the kernel can be compiled with both OMAP2 and OMAP3 camera
support linked in, and give public symbols proper omap2/omap3 prefixes.
Signed-off-by: Sergio Aguirre saagui...@ti.com
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
The omap3isp platform device requires platform data. Instead of
registering the device in omap2_init_devices(), export an
omap3_init_camera() function to fill the device structure with the
platform data pointer and register the device.
Signed-off-by: Laurent Pinchart
From: Tuukka Toivonen tuukka.o.toivo...@nokia.com
Add new/changed base address definitions and resources for
OMAP3630 ISP.
The OMAP3430 CSI2PHY block is same as the OMAP3630 CSIPHY2
block. But the later name is chosen as it gives more symmetry
to the names.
Signed-off-by: Tuukka Toivonen
From: Sergio Aguirre saagui...@ti.com
The ISP CBUFF module isn't use, its resource isn't needed.
Signed-off-by: Sergio Aguirre saagui...@ti.com
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
arch/arm/mach-omap2/devices.c |5 -
1 files changed, 0 insertions(+), 5
Hi everybody,
Here's the fifth version of the OMAP3 ISP driver patches, updated to
2.6.37 and the latest changes in the media controller and sub-device APIs.
You can find the patches in http://git.linuxtv.org/pinchartl/media.git as
usual (media-0005-omap3isp).
Laurent Pinchart (2):
omap3: Add
Create the following ioctl and implement it at the media device level to
setup links.
- MEDIA_IOC_SETUP_LINK: Modify the properties of a given link
The only property that can currently be modified is the ENABLED link
flag to enable/disable a link. Links marked with the IMMUTABLE link flag
can
Create the following two ioctls and implement them at the media device
level to enumerate entities, pads and links.
- MEDIA_IOC_ENUM_ENTITIES: Enumerate entities and their properties
- MEDIA_IOC_ENUM_LINKS: Enumerate all pads and links for a given entity
Entity IDs can be non-contiguous.
The media_device structure abstracts functions common to all kind of
media devices (v4l2, dvb, alsa, ...). It manages media entities and
offers a userspace API to discover and configure the media device
internal topology.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
Drivers often need to associate pipeline objects to entities, and to
take stream state into account when configuring entities and links. The
pipeline API helps drivers manage that information.
When starting streaming, drivers call media_entity_pipeline_start(). The
function marks all entities
From: Sakari Ailus sakari.ai...@maxwell.research.nokia.com
Add media entity graph traversal. The traversal follows enabled links by
depth first. Traversing graph backwards is prevented by comparing the next
possible entity in the graph with the previous one. Multiply connected
graphs are thus not
The media_devnode structure provides support for registering and
unregistering character devices using a dynamic major number. Reference
counting is handled internally, making device drivers easier to write
without having to solve the open/disconnect race condition issue over
and over again.
The
On 11-01-27 01:38 AM, Dmitry Torokhov wrote:
..
BTW, I wonder what package ir-keytable is coming from? Ubuntu seems to
have v4l-utils at 0.8.1-2 and you say yours is 0.8.2...
..
I downloaded/built/installed it from the link you gave earlier in this thread.
Cheers
--
To unsubscribe from this
On 11-01-27 05:30 AM, Mauro Carvalho Chehab wrote:
..
0.8.2 is the new version that was released in Jan, 25. One of the major
differences is that it now installs the udev rules, with make install.
Oh, and there's no make uninstall option in the Makefile, either.
Where does it put those
Hi folks,
My first post to the list : I have done a fair bit of googling around
but thought I would ask here. Here in germany a popular dvb usb stick is
the Avermedia Volar Green HD - the major Electronics chain Saturn are
shifting these quite cheaply.
Here is the output of dmesg when I plug
Hello Guennadi again.
I patched tvp5150.c according to tw9910 driver (without real cropping
support yet).
Unfortunately I got the messages:
camera 0-0: Probing 0-0
sh_mobile_ceu sh_mobile_ceu.0: SuperH Mobile CEU driver attached to camera 0
tvp5150 0-005d: chip found @ 0xba (i2c-sh_mobile)
On Wed, Jan 26, 2011 at 10:18:53PM -0500, Mark Lord wrote:
On 11-01-26 09:12 PM, Dmitry Torokhov wrote:
On Wed, Jan 26, 2011 at 08:07:29PM -0500, Mark Lord wrote:
On 11-01-26 08:01 PM, Mark Lord wrote:
On 11-01-26 10:05 AM, Mark Lord wrote:
On 11-01-25 09:00 PM, Dmitry Torokhov wrote:
On Thu, 27 Jan 2011, Janusz Uzycki wrote:
Hello Guennadi again.
I patched tvp5150.c according to tw9910 driver (without real cropping
support yet).
Unfortunately I got the messages:
camera 0-0: Probing 0-0
sh_mobile_ceu sh_mobile_ceu.0: SuperH Mobile CEU driver attached to camera 0
On Thu, Jan 27, 2011 at 08:30:00AM -0200, Mauro Carvalho Chehab wrote:
On my tests here, this is working fine, with Fedora and RHEL 6, on my
usual test devices, so I don't believe that the tool itself is broken,
nor I think that the issue is due to the fix patch.
I remember that when Kay
For Ubuntu there are a little guide in a Italian forum [1] and i wrote
the same
guide in spanish on my blog[2]. It works but is quite inestable, HD
channels
not works...
[1]http://forum.ubuntu-it.org/index.php/topic,384436.msg3370690.html#msg3370690
On 11-01-27 11:39 AM, Dmitry Torokhov wrote:
On Wed, Jan 26, 2011 at 10:18:53PM -0500, Mark Lord wrote:
No, it does not seem to segfault when I unload/reload ir-kbd-i2c
and then invoke it by hand with the same parameters.
Quite possibly the environment is different when udev invokes it,
and
sh_mobile_ceu sh_mobile_ceu.0: SuperH Mobile CEU driver detached from
camera 0
camera: probe of 0-0 failed with error -515
This is strange, however - error code 515... Can you try to find out where
it is coming from?
Something is really wrong:
drivers/base/dd.c: %s: probe
This message is generated daily by a cron job that builds v4l-dvb for
the kernels and architectures in the list below.
Results of the daily build of v4l-dvb:
date:Thu Jan 27 19:00:20 CET 2011
git master: 1b59be2a6cdcb5a12e18d8315c07c94a624de48f
git media-master: gcc version:
Em 27-01-2011 15:21, Dmitry Torokhov escreveu:
On Thu, Jan 27, 2011 at 08:30:00AM -0200, Mauro Carvalho Chehab wrote:
On my tests here, this is working fine, with Fedora and RHEL 6, on my
usual test devices, so I don't believe that the tool itself is broken,
nor I think that the issue is due
Hans,
Em 27-01-2011 16:33, Hans Verkuil escreveu:
This message is generated daily by a cron job that builds v4l-dvb for
the kernels and architectures in the list below.
Results of the daily build of v4l-dvb:
date:Thu Jan 27 19:00:20 CET 2011
git master:
On Thu, Jan 27, 2011 at 01:12:48PM -0500, Mark Lord wrote:
On 11-01-27 11:39 AM, Dmitry Torokhov wrote:
On Wed, Jan 26, 2011 at 10:18:53PM -0500, Mark Lord wrote:
No, it does not seem to segfault when I unload/reload ir-kbd-i2c
and then invoke it by hand with the same parameters.
Quite
Mauro, Hans
Can I pull this patch as is via my tree, or shall we ask the author to
split it into two: to add the subdev operation and to implement it for
soc-camera?
Thanks
Guennadi
On Thu, 20 Jan 2011, Qing Xu wrote:
add vidioc_enum_framesizes implementation, follow default_g_parm()
and
Jordi Verdugo jordi...@staredsi.net writes:
For Ubuntu there are a little guide in a Italian forum [1] and i wrote the
same
guide in spanish on my blog[2]. It works but is quite inestable, HD channels
not works...
On 11-01-27 04:28 AM, Laurent Pinchart wrote:
Hi again,
As you're using an MT9V032 sensor, I can help you with the pipeline setup. You
can run the following commands to capture 5 raw images.
./media-ctl -r -l 'mt9v032 2-005c:0-OMAP3 ISP CCDC:0[1], OMAP3 ISP
CCDC:1-OMAP3 ISP CCDC output:0[1]'
The scheme used to index format in uvc_fixup_video_ctrl() is not robust:
format index is based on descriptor ordering, which does not necessarily
match bFormatIndex ordering. Searching for first matching format will
prevent uvc_fixup_video_ctrl() from using the wrong format/frame to make
On Wed, 26 Jan 2011 09:49:47 +0100
Anatolij Gustschin ag...@denx.de wrote:
On some camera systems we do not tolerate the losing of
captured frames. We observed losing of the first frame
from CSI when double buffering is used (multiple buffers
queued by the mx3-camera driver).
The patches
70 matches
Mail list logo