Re: [RFC] How to get current position/status of iris/focus/pan/tilt/zoom?

2015-07-14 Thread Hans Verkuil
Hi Laurent, On 07/08/15 13:25, Laurent Pinchart wrote: Hi Hans, On Thursday 02 July 2015 14:00:23 Hans Verkuil wrote: When using V4L2_CID_IRIS/FOCUS/PAN/TILT/ZOOM_ABSOLUTE/RELATIVE, how do you know when the new position has been reached? If this is controlled through a motor, then it may

Re: [PATCH 3/5] [media] tc358743: support probe from device tree

2015-07-14 Thread Philipp Zabel
Hi Hans, Am Montag, den 13.07.2015, 12:57 +0200 schrieb Hans Verkuil: [...] @@ -69,6 +72,7 @@ static const struct v4l2_dv_timings_cap tc358743_timings_cap = { struct tc358743_state { struct tc358743_platform_data pdata; + struct v4l2_of_bus_mipi_csi2 bus; Where is this

Re: [PATCH 5/5] [media] tc358743: allow event subscription

2015-07-14 Thread Philipp Zabel
Am Montag, den 13.07.2015, 13:07 +0200 schrieb Hans Verkuil: On 07/10/2015 03:11 PM, Philipp Zabel wrote: This is useful to subscribe to HDMI hotplug events via the V4L2_CID_DV_RX_POWER_PRESENT control. Signed-off-by: Philipp Zabel p.za...@pengutronix.de ---

Re: [PATCH 3/5] [media] tc358743: support probe from device tree

2015-07-14 Thread Hans Verkuil
On 07/14/15 12:10, Philipp Zabel wrote: Hi Hans, Am Montag, den 13.07.2015, 12:57 +0200 schrieb Hans Verkuil: [...] @@ -69,6 +72,7 @@ static const struct v4l2_dv_timings_cap tc358743_timings_cap = { struct tc358743_state { struct tc358743_platform_data pdata; + struct

Re: www.kernellabs.com Contact: Hauppauge hvr1275 TV Tuner card linux problem

2015-07-14 Thread Steven Toth
sorry I don’t know how can I do .. can you help me to fix the problem? Please ensure that all communication include the linux media mailing list. It looks like Hauppauge have released an updated HVR-1275 card, as indicated by the updated PCI-SubDevice ID 2A38. The hardware has changed and

Re: www.kernellabs.com Contact: Hauppauge hvr1275 TV Tuner card linux problem

2015-07-14 Thread Steven Toth
Adding in the linux-media mailing list Subject: Hauppauge hvr1275 TV Tuner card linux problem Message: I had one trouble about Hauppauge hvr1275 TV Tuner card Because of I want use tvtime app to play this TV Tuner card with ATI V4900 VGA Card under centos 6.5 linux 2.6.32-431.el6.i686

Re: [PATCH 0/5] i.MX5/6 mem2mem scaler

2015-07-14 Thread Philipp Zabel
Hi Fabio, Am Montag, den 13.07.2015, 09:57 -0300 schrieb Fabio Estevam: On Fri, Apr 10, 2015 at 11:41 AM, Kamil Debski k.deb...@samsung.com wrote: Hi, From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Philipp Zabel Sent: Tuesday, March 17,

Re: Media Controller - graph_mutex

2015-07-14 Thread Sakari Ailus
Hi Shuah, Shuah Khan wrote: All, ALSA has to make media_entity_pipeline_start() call in irq path. I am seeing warnings that the graph_mutex is unsafe irq lock as expected. We have to update MC start/stop pipeline to be irq safe for ALSA. Maybe there are other MC interfaces that need to be

Re: Media Controller - graph_mutex

2015-07-14 Thread Shuah Khan
On 07/14/2015 08:06 AM, Sakari Ailus wrote: Hi Shuah, Shuah Khan wrote: All, ALSA has to make media_entity_pipeline_start() call in irq path. I am seeing warnings that the graph_mutex is unsafe irq lock as expected. We have to update MC start/stop pipeline to be irq safe for ALSA. Maybe

Re: [PATCH] [media] v4l2-subdev: return -EPIPE instead of -EINVAL in link validate default

2015-07-14 Thread Hans Verkuil
On 07/13/15 10:03, Sakari Ailus wrote: Hi Helen, Helen Fornazier wrote: Hi, On Tue, Jun 30, 2015 at 4:26 PM, Helen Fornazier helen.fornaz...@gmail.com wrote: Hi Sakari and Laurent, Thanks for reviewing this On Tue, Jun 30, 2015 at 6:19 AM, Sakari Ailus sakari.ai...@linux.intel.com

Re: tw5864 driver development, help needed

2015-07-14 Thread Andrey Utkin
An update with a request for help. Asking for help with h264 headers generation. Both copying headers from similar videos and porting headers generation code from reference driver don't work for me (ref driver is weird and very complicated, so porting involved importing of lots of code, but still

Re: [PATCH] [media] v4l2-subdev: return -EPIPE instead of -EINVAL in link validate default

2015-07-14 Thread Laurent Pinchart
Hi Hans, On Tuesday 14 July 2015 16:19:50 Hans Verkuil wrote: On 07/13/15 10:03, Sakari Ailus wrote: Helen Fornazier wrote: On Tue, Jun 30, 2015 at 4:26 PM, Helen Fornazier wrote: On Tue, Jun 30, 2015 at 6:19 AM, Sakari Ailus wrote: Laurent Pinchart wrote: On Monday 29 June 2015

Re: [PATCH] Doc: pps: Fix file name in pps.txt

2015-07-14 Thread Jonathan Corbet
On Mon, 13 Jul 2015 12:29:11 +0900 Masanari Iida standby2...@gmail.com wrote: This patch fix a file name of example code. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

[PATCH 3/7] media: Add ALSA Media Controller devnodes

2015-07-14 Thread Shuah Khan
Add ALSA Media Controller capture, playback, and mixer devnode defines. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- include/uapi/linux/media.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 4e816be..4a30ea3 100644

[PATCH 5/7] media: au8522 change to create MC pad for ALSA Audio Out

2015-07-14 Thread Shuah Khan
Add new pad for ALSA Audio Out to au8522_media_pads. Move the au8522_media_pads enum to au8522.h from au8522_priv.h. This will allow au0828-core to use these defines instead of hard-coding the pad values when it creates media graph linking decode pads to other entities. Signed-off-by: Shuah Khan

[PATCH 7/7] sound/usb: Update ALSA driver to use Managed Media Controller API

2015-07-14 Thread Shuah Khan
Change ALSA driver to use Managed ~media Managed Controller API to share tuner with DVB and V4L2 drivers that control AU0828 media device. Media device is created based on a newly added field value in the struct snd_usb_audio_quirk. Using this approach, the media controller API usage can be added

[PATCH] media-ctl: Update to add support for ALSA devices

2015-07-14 Thread Shuah Khan
Add support to recognize ALSA media nodes and generate media graph that includes ALSA pcm and mixer devices. This patch depends on kernel Media Controller changes to support ALSA. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- utils/media-ctl/libmediactl.c | 18 --

[PATCH 0/7] Update ALSA, and au0828 drivers to use Managed Media Controller API

2015-07-14 Thread Shuah Khan
s patch series updates ALSA driver, and au0828 core driver to use Managed Media controller API to share tuner. Please note that Managed Media Controller API and DVB and V4L2 drivers updates to use Media Controller API have been added in a prior patch series. Media Controller API is enhanced with

[PATCH 2/7] media: Media Controller register/unregister entity_notify API

2015-07-14 Thread Shuah Khan
Add new interfaces to register and unregister entity_notify hook to media device to allow drivers to take appropriate actions when as new entities get added to the shared media device.When a new entity is registered, all registered entity_notify hooks are invoked to allow drivers or modules that

[PATCH 4/7] media: change dvb-frontend to honor MC tuner enable error

2015-07-14 Thread Shuah Khan
Change dvb_frontend_thread() to honor MC tuner enable error and return as opposed to ignoring the error and continuing to use it. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- drivers/media/dvb-core/dvb_frontend.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 1/7] Revert [media] media: media controller entity framework enhancements for ALSA

2015-07-14 Thread Shuah Khan
This reverts commit ed64cf1e182fb30fe67652386c0880fcf3302f97. This patch is no longer necessary as the entity register callback is implemented at media_device level. Signed-off-by: Shuah Khan shua...@osg.samsung.com --- drivers/media/media-device.c | 7 --- include/media/media-entity.h | 4

Re: Compiler warning from drivers/media/usb/au0828/au0828-video.c: In function ‘queue_setup’

2015-07-14 Thread Shuah Khan
On 06/23/2015 09:05 PM, Shuah Khan wrote: Hi Mauro, I am seeing the following warning from au0828 - linux_media media_controller branch: drivers/media/usb/au0828/au0828-video.c: In function ‘queue_setup’: drivers/media/usb/au0828/au0828-video.c:679:6: warning: ‘entity’ may be used

[PATCH 6/7] media: au0828 change to use Managed Media Controller API

2015-07-14 Thread Shuah Khan
Change au0828 to use Managed Media Controller API to coordinate creating/deleting media device on parent usb device it shares with the snd-usb-audio driver. With this change, au0828 uses media_device_get_devres() to allocate a new media device devres or return an existing one, if it finds one. In

RE: www.kernellabs.com Contact: Hauppauge hvr1275 TV Tuner card linux problem

2015-07-14 Thread Tony Chang(Wincomm)
Dear : Steven Toth Thanks for your professional answer Thanks a lot Best Regards -Original Message- From: Steven Toth [mailto:st...@kernellabs.com] Sent: Tuesday, July 14, 2015 8:56 PM To: to...@wincomm.com.tw Cc: Linux-Media Subject: Re: www.kernellabs.com Contact: Hauppauge hvr1275 TV

cron job: media_tree daily build: OK

2015-07-14 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Wed Jul 15 04:00:15 CEST 2015 git branch: test git hash: 8783b9c50400c6279d7c3b716637b98e83d3c933 gcc

Re: file permissions for a video device

2015-07-14 Thread karthik poduval
Never mind, it worked after adding the following entry into ueventd.rc. #camera /dev/video* 0660 system camera On Mon, Jul 13, 2015 at 8:51 PM, karthik poduval karthik.podu...@gmail.com wrote: Hi All, I was working with a USB camera. As soon as I plug it into the host, it

Re: [PATCH] [media] DocBook: Fix typo in intro.xml

2015-07-14 Thread Jonathan Corbet
On Tue, 14 Jul 2015 08:36:50 +0900 Masanari Iida standby2...@gmail.com wrote: This patch fix spelling typos in intro.xml. This xml file is not created from comments within source, I fix the xml file. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line