Re: [GIT PULL FOR v3.19] uvcvideo changes

2014-11-24 Thread Laurent Pinchart
Hi Mauro, On Tuesday 11 November 2014 08:56:26 Mauro Carvalho Chehab wrote: Em Fri, 07 Nov 2014 08:16:28 +0200 Laurent Pinchart escreveu: Hi Mauro, The following changes since commit 4895cc47a072dcb32d3300d0a46a251a8c6db5f1: [media] s5p-mfc: fix sparse error (2014-11-05 08:29:27

[PATCH 0/6] add device_caps support to querycap

2014-11-24 Thread Hans Verkuil
This patch series adds missing device_caps support to the VIDIOC_QUERYCAP implementations of drivers that are missing this. After this series there are still 6 drivers left to do, but those need a bit more thought. Regards, Hans -- To unsubscribe from this list: send the line

[PATCH 4/6] media/radio: fix querycap

2014-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Querycap should set the device_caps field. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/radio/radio-wl1273.c | 4 +++- drivers/media/radio/wl128x/fmdrv_v4l2.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff

[PATCH 5/6] media/platform: fix querycap

2014-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Querycap shouldn't set the version field (the core does that for you), but it should set the device_caps field. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Scott Jiang scott.jiang.li...@gmail.com Cc: Gerhard Sittig g...@denx.de Cc: Jonathan

[PATCH 2/6] staging/media: fix querycap

2014-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Querycap shouldn't set the version field (the core does that for you), but it should set the device_caps field. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Lad, Prabhakar prabhakar.cse...@gmail.com ---

[PATCH 1/6] cx18: add device_caps support

2014-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This was missing in this driver, so add this functionality. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Andy Walls awa...@md.metrocast.net --- drivers/media/pci/cx18/cx18-cards.h | 3 ++- drivers/media/pci/cx18/cx18-driver.h | 1 +

[PATCH 3/6] media/usb,pci: fix querycap

2014-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Querycap shouldn't set the version field (the core does that for you), but it should set the device_caps field. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/pci/meye/meye.c | 3 ---

[PATCH 6/6] media/platform: fix querycap

2014-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Querycap shouldn't set the version field (the core does that for you), but it should set the device_caps field. In addition, remove the CAPTURE and OUTPUT caps for M2M devices. These were already slated for removal, so it's time to do so. Signed-off-by:

bttv:The output of card name is truncated to 32 characters

2014-11-24 Thread triniton adam
When use struct v4l2_capability to get out card name in bttv the output of card name is truncated to 32 characters. I use this code to get card name: char *v4l2_get_name(char *device) { struct v4l2_capability caps; if ((fd = open(device, O_RDONLY)) 0) goto

Re: [GIT PULL FOR v3.19] uvcvideo changes

2014-11-24 Thread Mauro Carvalho Chehab
Em Mon, 24 Nov 2014 11:06:49 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: Hi Mauro, On Tuesday 11 November 2014 08:56:26 Mauro Carvalho Chehab wrote: Em Fri, 07 Nov 2014 08:16:28 +0200 Laurent Pinchart escreveu: Hi Mauro, The following changes since commit

v4l-utils: possible ir-keytable bug

2014-11-24 Thread Olli Salonen
Hi all, I've got an issue with ir-keytable when I try to use the -d parameter to choose the device. I've got one device: olli@dl160:~$ sudo ir-keytable -v Found device /sys/class/rc/rc0/ Input sysfs node is /sys/class/rc/rc0/input18/ Event sysfs node is /sys/class/rc/rc0/input18/event2/ Parsing

Re: [PATCH 2/3] v4l2-ctrl: move function prototypes from common.h to ctrls.h

2014-11-24 Thread Sakari Ailus
On Sun, Nov 23, 2014 at 01:39:54PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com For some unknown reason several control prototypes where in v4l2-common.c instead of in v4l2-ctrls.h. Move them and document them. Signed-off-by: Hans Verkuil hans.verk...@cisco.com

Re: [GIT PULL FOR v3.19] uvcvideo changes

2014-11-24 Thread Laurent Pinchart
Hi Mauro, On Monday 24 November 2014 08:12:11 Mauro Carvalho Chehab wrote: Em Mon, 24 Nov 2014 11:06:49 +0200 Laurent Pinchart escreveu: On Tuesday 11 November 2014 08:56:26 Mauro Carvalho Chehab wrote: Em Fri, 07 Nov 2014 08:16:28 +0200 Laurent Pinchart escreveu: Hi Mauro, The

Re: [REVIEW PATCH v2.1 2/5] v4l: Add V4L2_SEL_TGT_NATIVE_SIZE selection target

2014-11-24 Thread Hans Verkuil
On 11/18/14 22:08, Sakari Ailus wrote: The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a sensor's pixel array. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi For the whole patch series: Acked-by: Hans Verkuil hans.verk...@cisco.com Thanks! Once this is mainlined,

[PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Paul Bolle
by grepping the tree. Triggered by commit db85a0403be4 ([media] omap24xx/tcm825x: remove deprecated omap2 camera drivers.), which is included in next-20141124. What happened is that it removed only one of the two Makefile entries for omap24xx. drivers/staging/media/Makefile | 1 - 1 file changed, 1

Re: [GIT PULL FOR v3.19] uvcvideo changes

2014-11-24 Thread Mauro Carvalho Chehab
Em Mon, 24 Nov 2014 12:41:10 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: Hi Mauro, On Monday 24 November 2014 08:12:11 Mauro Carvalho Chehab wrote: Em Mon, 24 Nov 2014 11:06:49 +0200 Laurent Pinchart escreveu: On Tuesday 11 November 2014 08:56:26 Mauro Carvalho

Re: [PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Hans Verkuil
. Triggered by commit db85a0403be4 ([media] omap24xx/tcm825x: remove deprecated omap2 camera drivers.), which is included in next-20141124. What happened is that it removed only one of the two Makefile entries for omap24xx. drivers/staging/media/Makefile | 1 - 1 file changed, 1 deletion

Re: [GIT PULL FOR v3.19] uvcvideo changes

2014-11-24 Thread Laurent Pinchart
Hi Mauro, On Monday 24 November 2014 08:59:23 Mauro Carvalho Chehab wrote: Em Mon, 24 Nov 2014 12:41:10 +0200 Laurent Pinchart escreveu: On Monday 24 November 2014 08:12:11 Mauro Carvalho Chehab wrote: Em Mon, 24 Nov 2014 11:06:49 +0200 Laurent Pinchart escreveu: On Tuesday 11 November

Re: [PATCH] [media] omap24xx/tcm825x: remove pointless Makefile entry

2014-11-24 Thread Paul Bolle
On Mon, 2014-11-24 at 12:08 +0100, Hans Verkuil wrote: I found the same thing and it is already part of my pull request to Mauro. Either way, this trivial issue will be solved. Thanks, Paul Bolle -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a

[PATCHv7.1 06/12] vb2-dma-sg: move dma_(un)map_sg here

2014-11-24 Thread Hans Verkuil
Change since REVIEWv7: - set buf-dev in get_userptr. Pawel's remark that get_device() wasn't required in get_userptr led me to remove the buf-dev assignment altogether, leaving me with a NULL buf-dev pointer. Obviously that won't work and it should still be assigned to the device in the

[GIT PULL FOR v3.19] vb2: improvements

2014-11-24 Thread Hans Verkuil
Repost due to a dumb bug that was introduced in vb2_dma_sg_get_userptr and which is now fixed. - Add allocation context to dma-sg and have vb2 do the dma mapping instead of the driver. This makes it consistent with the way dma-contig behaves and simplifies drivers. - Add support for DMABUF

[PATCH] [media] omap: Fix typo HAS_MMU

2014-11-24 Thread Paul Bolle
: line seems not worth the trouble here. 2) Tested on top of next-20141124 by doing, in short: cp arch/x86/configs/x86_64_defconfig .config echo CONFIG_COMPILE_TEST=y .config echo CONFIG_MEDIA_SUPPORT=y .config echo CONFIG_MEDIA_CAMERA_SUPPORT=y .config echo

[GIT PULL] si2157 si2168 cxusb em28xx

2014-11-24 Thread Antti Palosaari
The following changes since commit 5937a784c3e5fe8fd1e201f42a2b1ece6c36a6c0: [media] staging: media: bcm2048: fix coding style error (2014-11-21 16:50:37 -0200) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git silabs for you to fetch changes up to

Re: [PATCH 4/4] si2157: Add support for Si2148-A20

2014-11-24 Thread Antti Palosaari
Moikka! I decided apply old crazyCat version, even I originally asked that firmware change! If I ever will ran problem with Si2148 / Si2158 firmware difference, I know who to blame ;p That patch could be dropped. PULL request already sent. regards Antti On 11/24/2014 08:57 AM, Olli Salonen

Connecting ADV76xx to CSI via SFMC

2014-11-24 Thread Jean-Michel Hautbois
Hi, I am working on using the CSI bus of i.MX6 with a adv7611 chip. I started to work with Steve Longerbeam's tree, and here is the current tree I am using : https://github.com/Vodalys/linux-2.6-imx/tree/mx6-camera-staging-v2-vbx This is a WiP tree, and not intended to be complete right now. But

Re: [PATCH 4/4] si2157: Add support for Si2148-A20

2014-11-24 Thread Olli Salonen
Moro Antti, Allright, possibly there won't be new firmware for the previous generation 2148/2158 anyway, who knows. Thanks for the reviews! Cheers, -olli On 24 November 2014 at 15:39, Antti Palosaari cr...@iki.fi wrote: Moikka! I decided apply old crazyCat version, even I originally asked

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Mauro Carvalho Chehab
Em Fri, 21 Nov 2014 10:20:56 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Several drivers (mostly copy-and-paste) still used sg++ instead of sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter entries where combined into one larger entry. Signed-off-by: Hans Verkuil

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Hans Verkuil
On 11/24/2014 07:24 PM, Mauro Carvalho Chehab wrote: Em Fri, 21 Nov 2014 10:20:56 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Several drivers (mostly copy-and-paste) still used sg++ instead of sg = sg_next(sg). Fix them since sg++ won't work if contiguous scatter entries where combined

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Mauro Carvalho Chehab
Em Mon, 24 Nov 2014 19:37:48 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 11/24/2014 07:24 PM, Mauro Carvalho Chehab wrote: Em Fri, 21 Nov 2014 10:20:56 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Several drivers (mostly copy-and-paste) still used sg++ instead of sg =

Re: [PATCH for v3.18] media: use sg = sg_next(sg) instead of sg++

2014-11-24 Thread Hans Verkuil
On 11/24/2014 07:51 PM, Mauro Carvalho Chehab wrote: Em Mon, 24 Nov 2014 19:37:48 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 11/24/2014 07:24 PM, Mauro Carvalho Chehab wrote: Em Fri, 21 Nov 2014 10:20:56 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Several drivers (mostly

[PATCH 1/1] [media] Siano: Deletion of an unnecessary check before the function call rc_unregister_device

2014-11-24 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 24 Nov 2014 22:32:30 +0100 The rc_unregister_device() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [REVIEW PATCH v2.1 2/5] v4l: Add V4L2_SEL_TGT_NATIVE_SIZE selection target

2014-11-24 Thread Sakari Ailus
Hi Hans, On Mon, Nov 24, 2014 at 11:49:01AM +0100, Hans Verkuil wrote: On 11/18/14 22:08, Sakari Ailus wrote: The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a sensor's pixel array. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi For the whole patch series:

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-24 Thread Maxime Ripard
On Fri, Nov 21, 2014 at 10:13:10AM +0100, Hans de Goede wrote: Hi, On 11/21/2014 09:49 AM, Maxime Ripard wrote: Hi, On Thu, Nov 20, 2014 at 04:55:22PM +0100, Hans de Goede wrote: Add a driver for mod0 clocks found in the prcm. Currently there is only one mod0 clocks in the prcm, the

cron job: media_tree daily build: OK

2014-11-24 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: Tue Nov 25 04:00:16 CET 2014 git branch: test git hash: 5937a784c3e5fe8fd1e201f42a2b1ece6c36a6c0 gcc

RFID Mifare 1k chip cards

2014-11-24 Thread Jane
Hello Dear, It's Inam from Meihe Company in China, www.chinanfccard.com We make plastic cardstagsRFID cardcontact chip ic cardswristbandcard inlay for 14 years. Especially in Mifare card, it is our best selling and competitive product. If you have any inquiries,welcome to contact me for