[RFC PATCH] Rename video_device et al to v4l2_devnode

2010-09-26 Thread Hans Verkuil
Most of the v4l2 framework has prefixes that start with v4l2_ except for struct video_device in v4l2-dev.c. This name is becoming very confusing since it closely resembles struct v4l2_device. Since video_device really represents a v4l2 device node I propose to rename it to v4l2_devnode and rename

Re: [RFC PATCH] Rename video_device et al to v4l2_devnode

2010-09-26 Thread Andy Walls
Sounds good to me. I'm not to sure why you even bothered with the backward compat on the names. I think it can only lead to trouble; but it does make merging out standing patchsets easier I guess. I haven't looked at the patchset, are there any other users outside the drivers/media tree? R,

Re: [RFC PATCH] Rename video_device et al to v4l2_devnode

2010-09-26 Thread Hans Verkuil
On Sunday, September 26, 2010 14:17:48 Andy Walls wrote: Sounds good to me. I'm not to sure why you even bothered with the backward compat on the names. I think it can only lead to trouble; but it does make merging out standing patchsets easier I guess. It made the patches easier to do.

[GIT PATCHES FOR 2.6.37] Move V4L2 locking into the core framework

2010-09-26 Thread Hans Verkuil
Hi Mauro, These are the locking patches. It's based on my previous test tree, but with more testing with em28xx and radio-mr800 and some small tweaks relating to disconnect handling and video_is_registered(). I also removed the unused get_unmapped_area file op and I am now blocking any further

Re: [linux-dvb] Yakumo QuickStick DVB-T doesn't load firmware (SOLVED)

2010-09-26 Thread Petr Tomasek
On Thu, Sep 23, 2010 at 12:56:23PM +0200, Petr Tomasek wrote: Hello! My Yakumo QuickStick suddenly stopped to work. It now doesn't load the firmware (i.e. it stays cold): XXX kernel: usb 1-3: new high speed USB device using ehci_hcd and address 10 XXX kernel: usb 1-3: New USB device

[PATCH] V4L/DVB: dib0700: Prevent NULL pointer dereference during probe

2010-09-26 Thread Jean Delvare
Commit 8dc09004978538d211ccc36b5046919489e30a55 assumes that dev-rc_input_dev is always set. It is, however, NULL if dvb-usb was loaded with option disable_rc_polling=1. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Mauro Carvalho Chehab mche...@redhat.com ---

[RFC/PATCH v1 0/9] Sub-device pad-level operations

2010-09-26 Thread Laurent Pinchart
Hi everybody, Here's the first version of the sub-device pad-level operations patches (this is actually not strictly true, as other versions have been posted before as sample code, but this one is the first version officially sent for public review). Anyway, try to enjoy the documentation (I've

[RFC/PATCH 3/9] v4l: Add 8-bit YUYV on 16-bit bus and SGRBG10 media bus pixel codes

2010-09-26 Thread Laurent Pinchart
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 -

[RFC/PATCH 1/9] v4l: Move the media/v4l2-mediabus.h header to include/linux

2010-09-26 Thread Laurent Pinchart
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

[RFC/PATCH 8/9] v4l: v4l2_subdev userspace frame interval API

2010-09-26 Thread Laurent Pinchart
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

[RFC/PATCH 6/9] v4l: v4l2_subdev pad-level operations

2010-09-26 Thread 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. The format at the output of a subdev usually depends on the format at its input(s). The try format operation is thus not suitable for probing format at individual

[RFC/PATCH 4/9] v4l: Add remaining RAW10 patterns w DPCM pixel code variants

2010-09-26 Thread Laurent Pinchart
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

[RFC/PATCH 5/9] v4l: Create v4l2 subdev file handle structure

2010-09-26 Thread Laurent Pinchart
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

[RFC/PATCH 2/9] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-09-26 Thread Laurent Pinchart
Adding new pixel codes at the end of the enumeration will soon create a mess, so sort the pixel codes by type and then sort them alphabetically. As the codes are part of the kernel ABI their value can't change when a new code is inserted in the enumeration, so they are given an explicit numerical

[RFC/PATCH 9/9] v4l: v4l2_subdev userspace crop API

2010-09-26 Thread Laurent Pinchart
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

Re: Trouble building v4l-dvb

2010-09-26 Thread Jan Hoogenraad
On Linux 2.6.28-19-generic the problem is tackled already: DVB_FIREDTV_IEEE1394: Requires at least kernel 2.6.30 On newer linux versions (I have tried Linux 2.6.32-24-generic) the problem is NOT that the modules dma is not present, it is just that the required header files are not present in

TeVii S660 continuity errors

2010-09-26 Thread Mike
Is anyone else having continuity problems with the S660? causing rare glitching on SD content, and glitching on HD content very often. Turning on the `disable_rc_polling' parameter for the dvb_usb module seems to help, but it's hard to tell for sure. Turning on the `dvb_demux_tscheck'

Re: [RFC/PATCH 5/9] v4l: Create v4l2 subdev file handle structure

2010-09-26 Thread Hans Verkuil
On Sunday, September 26, 2010 18:13:28 Laurent Pinchart wrote: 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

Re: [RFC/PATCH 2/9] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-09-26 Thread Hans Verkuil
On Sunday, September 26, 2010 18:13:25 Laurent Pinchart wrote: Adding new pixel codes at the end of the enumeration will soon create a mess, so sort the pixel codes by type and then sort them alphabetically. As the codes are part of the kernel ABI their value can't change when a new code is

Re: [RFC/PATCH 2/9] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-09-26 Thread Laurent Pinchart
Hi Hans, On Sunday 26 September 2010 19:29:53 Hans Verkuil wrote: On Sunday, September 26, 2010 18:13:25 Laurent Pinchart wrote: Adding new pixel codes at the end of the enumeration will soon create a mess, so sort the pixel codes by type and then sort them alphabetically. As the codes

Re: [RFC/PATCH 5/9] v4l: Create v4l2 subdev file handle structure

2010-09-26 Thread Laurent Pinchart
Hi Hans, On Sunday 26 September 2010 19:25:26 Hans Verkuil wrote: On Sunday, September 26, 2010 18:13:28 Laurent Pinchart wrote: From: Stanimir Varbanov svarba...@mm-sol.com Used for storing subdev information per file handle and hold V4L2 file handle. Signed-off-by: Stanimir

Re: [RFC/PATCH 2/9] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-09-26 Thread Hans Verkuil
On Sunday, September 26, 2010 19:34:49 Laurent Pinchart wrote: Hi Hans, On Sunday 26 September 2010 19:29:53 Hans Verkuil wrote: On Sunday, September 26, 2010 18:13:25 Laurent Pinchart wrote: Adding new pixel codes at the end of the enumeration will soon create a mess, so sort the

Re: [RFC/PATCH 2/9] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-09-26 Thread Laurent Pinchart
Hi Hans, On Sunday 26 September 2010 19:44:38 Hans Verkuil wrote: On Sunday, September 26, 2010 19:34:49 Laurent Pinchart wrote: On Sunday 26 September 2010 19:29:53 Hans Verkuil wrote: On Sunday, September 26, 2010 18:13:25 Laurent Pinchart wrote: Adding new pixel codes at the end of

Re: [RFC/PATCH 5/9] v4l: Create v4l2 subdev file handle structure

2010-09-26 Thread Hans Verkuil
On Sunday, September 26, 2010 19:35:49 Laurent Pinchart wrote: Hi Hans, On Sunday 26 September 2010 19:25:26 Hans Verkuil wrote: On Sunday, September 26, 2010 18:13:28 Laurent Pinchart wrote: From: Stanimir Varbanov svarba...@mm-sol.com Used for storing subdev information per file

Re: [RFC/PATCH 2/9] v4l: Group media bus pixel codes by types and sort them alphabetically

2010-09-26 Thread Hans Verkuil
On Sunday, September 26, 2010 19:51:22 Laurent Pinchart wrote: Hi Hans, On Sunday 26 September 2010 19:44:38 Hans Verkuil wrote: On Sunday, September 26, 2010 19:34:49 Laurent Pinchart wrote: On Sunday 26 September 2010 19:29:53 Hans Verkuil wrote: On Sunday, September 26, 2010

Re: [PATCH] DiSEqC bug fixed for stv0288 based interfaces

2010-09-26 Thread tvbox
Hi Josef This patch does work and has been tested in my driver. However, your patch was still corrupt, here is a cleaned up version. I have had to shorten some quotes in some lines to within 80 characters Tested-by: Malcolm Priestley tvbox...@gmail.com It is also in my own hg tree at

Re: [RFC/PATCH 8/9] v4l: v4l2_subdev userspace frame interval API

2010-09-26 Thread Hans Verkuil
On Sunday, September 26, 2010 18:13:31 Laurent Pinchart wrote: 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

[cron job] v4l-dvb daily build 2.6.26 and up: ERRORS

2010-09-26 Thread Hans Verkuil
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:Sun Sep 26 19:00:10 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15164:1da5fed5c8b2 git master:

Re: [GIT PATCHES FOR 2.6.37] Remove v4l2-i2c-drv.h and most of i2c-id.h

2010-09-26 Thread Jarod Wilson
On Sat, Sep 25, 2010 at 03:09:04AM -0300, Mauro Carvalho Chehab wrote: Em 23-09-2010 03:14, Hans Verkuil escreveu: On Thursday, September 23, 2010 06:18:37 Mauro Carvalho Chehab wrote: Em 15-09-2010 17:00, Hans Verkuil escreveu: Mauro, Jean, Janne, After applying this patch series I get

[RFC PATCH] media: consolidation of -I flags

2010-09-26 Thread matt mooney
I have been doing cleanup of makefiles, namely replacing the older style compilation flag variables with the newer style. While doing this, I noticed that the majority of drivers in the media subsystem seem to rely on a few core header files: -Idrivers/media/video

Re: Webcam Driver Bug while using two Multilaser Cameras simultaneously

2010-09-26 Thread Daniel Moraes
Mauro, first of all I would like to thank you. By using the commands that you told me, I was able to find the problem. Now I need to find a solution. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 005: ID 04fc:2001 Sunplus Technology Co., Ltd Bus 003 Device 004: ID

[PATCH v3] OMAP1: Add support for SoC camera interface

2010-09-26 Thread Janusz Krzysztofik
This patch adds a definition of the OMAP1 camera interface platform device, and a function that allows for providing a board specific platform data. The device will be used with the upcoming OMAP1 SoC camera interface driver. Created and tested against linux-2.6.36-rc5 on Amstrad Delta.

Re: Webcam Driver Bug while using two Multilaser Cameras simultaneously

2010-09-26 Thread Mauro Carvalho Chehab
Em 26-09-2010 21:29, Daniel Moraes escreveu: Mauro, first of all I would like to thank you. By using the commands that you told me, I was able to find the problem. Now I need to find a solution. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 005: ID

[PATCH v3 3/6] SoC Camera: add driver for OV6650 sensor

2010-09-26 Thread Janusz Krzysztofik
This patch provides a V4L2 SoC Camera driver for OV6650 camera sensor, found on OMAP1 SoC based Amstrad Delta videophone. Since I have no experience with camera sensors, and the sensor documentation I was able to find was not very comprehensive, I left most settings at their default (reset)

Re: [PATCH v2] tm6000+audio

2010-09-26 Thread Dmitri Belimov
Hi Em 23-09-2010 13:45, Dmitri Belimov escreveu: Hi Em 20-09-2010 17:07, Dmitri Belimov escreveu: Hi I rework my last patch for audio and now audio works well. This patch can be submited to GIT tree Quality of audio now is good for SECAM-DK. For other standard I set some value

Re: Trouble building v4l-dvb

2010-09-26 Thread Mauro Carvalho Chehab
Em 26-09-2010 13:18, Jan Hoogenraad escreveu: On Linux 2.6.28-19-generic the problem is tackled already: DVB_FIREDTV_IEEE1394: Requires at least kernel 2.6.30 On newer linux versions (I have tried Linux 2.6.32-24-generic) the problem is NOT that the modules dma is not present, it is just