How to control streaming in non-periodic system ?

2010-12-10 Thread Jonghun Han
Hi, I'm looking for a general solution in camera preview application. When I use the following sequence, there is no problem in normal case. Normally application sleeps in poll and then will be waked up by Camera VSYNC. while (1) { poll DQBUF memcpy to FB QBUF } B

Should a index be passed on the fly with the VIDIOC_QBUF ioctl in V4L2_MEMORY_USERPTR case ?

2010-12-10 Thread Jonghun Han
Hi, I wonder that a index should be passed on the fly with the VIDIOC_QBUF ioctl in V4L2_MEMORY_USERPTR case. If it isn't needed, should driver return virtual address gotten from application on the fly with the VIDIOC_DQBUF ioctl ? Best regards, Jonghun Han, -- To unsubscribe from this list: send

Re: [OpenKinect] Kinect sensor and Linux kernel driver.

2010-12-10 Thread Hector Martin
(Resending with reply-all, sorry for that) Hi, > a first, very simplified, linux kernel driver for the Kinect sensor > device is now available, so you now can use it as a ridiculously > expensive webcam with any v4l2 application. Good work! Here are my thoughts on the kernel driver: > As you ca

budget_av and high load

2010-12-10 Thread Schubert Andreas
Hello everybody on the list, I have a KNC-1 DVB-S card running under kernel 2.6.36 and mythtv. I experience high load values in top like mentioned ages ago in this thread: http://www.linuxtv.org/pipermail/linux-dvb/2008-June/026509.html. My card has no CI-Module installed and the high load was

Re: PCI: make pci_restore_state return void

2010-12-10 Thread Jesse Barnes
On Tue, 30 Nov 2010 17:43:26 -0600 Jon Mason wrote: > pci_restore_state only ever returns 0, thus there is no benefit in > having it return any value. Also, a large majority of the callers do > not check the return code of pci_restore_state. Make the > pci_restore_state a void return and avoid

Re: [RESEND] [PATCH 1/2] OMAP1: allow reserving memory for camera

2010-12-10 Thread Janusz Krzysztofik
Friday 10 December 2010 18:03:56 Russell King - ARM Linux napisał(a): > On Fri, Dec 10, 2010 at 12:03:07PM +0100, Janusz Krzysztofik wrote: > > void __init omap1_camera_init(void *info) > > { > > struct platform_device *dev = &omap1_camera_device; > > + dma_addr_t paddr = omap1_camera_phys_

Re: [stable] [RESEND][PATCH for stable 2.6.36 REGRESSION] cx25840: Prevent device probe failure due to volume control ERANGE error]

2010-12-10 Thread Greg KH
On Fri, Dec 10, 2010 at 02:41:03PM -0500, Andy Walls wrote: > On Fri, 2010-12-10 at 10:16 -0800, Greg KH wrote: > > On Fri, Dec 10, 2010 at 08:19:57AM -0500, Andy Walls wrote: > > > Resending, since this didn't appear to make its way into in 2.6.36.2. > > > > That's because it's not in Linus's tre

Re: [stable] [RESEND][PATCH for stable 2.6.36 REGRESSION] cx25840: Prevent device probe failure due to volume control ERANGE error]

2010-12-10 Thread Andy Walls
On Fri, 2010-12-10 at 10:16 -0800, Greg KH wrote: > On Fri, Dec 10, 2010 at 08:19:57AM -0500, Andy Walls wrote: > > Resending, since this didn't appear to make its way into in 2.6.36.2. > > That's because it's not in Linus's tree, right? I have to wait for that > to happen before I can add it to

[cron job] v4l-dvb daily build: WARNINGS

2010-12-10 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:Fri Dec 10 19:00:06 CET 2010 git master: 59365d136d205cc20fe666ca7f89b1c5001b0d5a git media-master: gcc version: i6

Re: [stable] [RESEND][PATCH for stable 2.6.36 REGRESSION] cx25840: Prevent device probe failure due to volume control ERANGE error]

2010-12-10 Thread Greg KH
On Fri, Dec 10, 2010 at 08:19:57AM -0500, Andy Walls wrote: > Resending, since this didn't appear to make its way into in 2.6.36.2. That's because it's not in Linus's tree, right? I have to wait for that to happen before I can add it to a stable tree. thanks, greg k-h -- To unsubscribe from thi

Re: [PATCH v4 0/6] davinci vpbe: dm6446 v4l2 driver

2010-12-10 Thread Kevin Hilman
"Hans Verkuil" writes: >> version4 : addressed Hans's comments >> on: >> 1. replaced mutex_lock_interruptible() with mutex_lock() >> 2. replaced ntsc and pal macros with new equivalent macros >> 3. simplifying the code in the if-else condition >> 4. minor code corrections > > For the whole patch

Re: [RESEND] [PATCH 1/2] OMAP1: allow reserving memory for camera

2010-12-10 Thread Russell King - ARM Linux
On Fri, Dec 10, 2010 at 12:03:07PM +0100, Janusz Krzysztofik wrote: > void __init omap1_camera_init(void *info) > { > struct platform_device *dev = &omap1_camera_device; > + dma_addr_t paddr = omap1_camera_phys_mempool_base; > + dma_addr_t size = omap1_camera_phys_mempool_size; >

dvb-apps: update DVB-T intial tuning files for Finland (fi-*)

2010-12-10 Thread Antti Palosaari
Moi Christoph, Updates all Finnish channels as today. I accidentally removed first fi-Smedsbole file since that was not generated by my scripts. Actually it is for the autonomy island named Åland [1] between Finland and Sweden. They have even own top level domain - ax. I think correct name for

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-12-10 Thread Sakari Ailus
Hi Mark and others! Mark Brown wrote: > On Tue, Dec 07, 2010 at 07:11:39PM +0100, Hans Verkuil wrote: > >> Ah, now I understand what you mean. Would 'activated' be better than >> 'active'? > > Better, yes, though it still sounds a bit like something should be > actively (IYSWIM) happening. In

Re: [PATCH v18 1/2] MFD: WL1273 FM Radio: MFD driver for the FM radio.

2010-12-10 Thread Samuel Ortiz
Hi Matti, On Fri, Dec 10, 2010 at 04:41:33PM +0200, Matti J. Aaltonen wrote: > This is the core of the WL1273 FM radio driver, it connects > the two child modules. The two child drivers are > drivers/media/radio/radio-wl1273.c and sound/soc/codecs/wl1273.c. > > The radio-wl1273 driver implements

[PATCH v18 1/2] MFD: WL1273 FM Radio: MFD driver for the FM radio.

2010-12-10 Thread Matti J. Aaltonen
This is the core of the WL1273 FM radio driver, it connects the two child modules. The two child drivers are drivers/media/radio/radio-wl1273.c and sound/soc/codecs/wl1273.c. The radio-wl1273 driver implements the V4L2 interface and communicates with the device. The ALSA codec offers digital audio

[PATCH v18 0/2] WL1273 FM Radio driver...

2010-12-10 Thread Matti J. Aaltonen
Hi. Thank you for the comments and the conditional ACK. On Thu, 2010-12-09 at 15:17 +0100, ext Samuel Ortiz wrote: > > with the device. The ALSA codec offers digital audio, without it only > > analog audio is available. > The driver looks much better now. If that goes through Mauro's tree, pleas

RE: [PATCH v3 6/6] davinci vpbe: Build infrastructure for VPBE driver

2010-12-10 Thread Hadli, Manjunath
Sergei, Thank you for your comments. Will send a corrected pacth. -Manju On Thu, Dec 09, 2010 at 17:42:00, Sergei Shtylyov wrote: > Hello. > > On 02-12-2010 15:39, Manjunath Hadli wrote: > > > This patch adds the build infra-structure for Davinci VPBE dislay > > driver > > > Signed-off-by: Ma

Re: Old patches sent via the Mailing list

2010-12-10 Thread Ozan Çağlayan
Cuma 10 Aralık 2010 günü (saat 14:38:21) Bjørn Mork şunları yazmıştı: > At least it's now queued for 2.6.38: Thanks :) --- Ozan Çağlayan TUBITAK/UEKAE - Pardus Linux http://www.pardus.org.tr/eng -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to

Re: [patch] [media] bttv: call mutex_init() on newly allocated lock

2010-12-10 Thread Dan Carpenter
On Fri, Dec 10, 2010 at 10:20:30AM +0300, Sergej Pupykin wrote: > > Hi, > > it looks better. Now only 3 oopses. Heh. Yeah. Looking at it now, I can see why my patch was wrong. That mutex is supposed to get initialized in videobuf_queue_sg_init(). But we also can't use the lock until after it

[RESEND][PATCH for stable 2.6.36 REGRESSION] cx25840: Prevent device probe failure due to volume control ERANGE error]

2010-12-10 Thread Andy Walls
Resending, since this didn't appear to make its way into in 2.6.36.2. This patch fixes a regression that breaks analog video and audio on boards supported by the ivtv, pvrusb2, cx231xx, and cx23885 drivers. The regression also breaks IR on boards supported by the cx23885 driver. Regards, Andy

[patch] [media] zoran: bit-wise vs logical and

2010-12-10 Thread Dan Carpenter
zr->frame_num is a counter and && was intended here instead of &. Signed-off-by: Dan Carpenter diff --git a/drivers/media/video/zoran/zoran_device.c b/drivers/media/video/zoran/zoran_device.c index b02007e..e8a2784 100644 --- a/drivers/media/video/zoran/zoran_device.c +++ b/drivers/media/video/

Re: Old patches sent via the Mailing list

2010-12-10 Thread Bjørn Mork
Ozan Çağlayan writes: > Pazartesi 18 Ekim 2010 günü (saat 00:20:31) Mauro Carvalho Chehab şunları > yazmıştı: >> Hi, > >> Jun,21 2010: Mantis, hopper: use MODULE_DEVICE_TABLE use the macro to make > modules http://patchwork.kernel.org/patch/107147 Manu > > This was first spotted by me in Febru

Re: Old patches sent via the Mailing list

2010-12-10 Thread Ozan Çağlayan
Pazartesi 18 Ekim 2010 günü (saat 00:20:31) Mauro Carvalho Chehab şunları yazmıştı: > Hi, > Jun,21 2010: Mantis, hopper: use MODULE_DEVICE_TABLE use the macro to make modules http://patchwork.kernel.org/patch/107147 Manu This was first spotted by me in February 2010 in this list. Then several

[PATCH 2/2] OMAP1: Amstrad Delta: reserve memory for camera

2010-12-10 Thread Janusz Krzysztofik
Patch 1/2 from this set provides a possibility to reserve a block of memory for use as the OMAP1 camera dedicated dma coherent memory. Use this functionality to avoid the camera driver switching form videobuf_contig mode to less efficient videobuf_sg mode in case of dma coherent memory allocatio

[RESEND] [PATCH 1/2] OMAP1: allow reserving memory for camera

2010-12-10 Thread Janusz Krzysztofik
OMAP1 camera driver, when starting up in its videobuf_contig mode, may have problems with allocating dma coherent memory after system memory gets fragmented if there is no dedicated memory declared as a dma coherent memory block associated with the device. To solve this issue, allow for removing

[RESEND] [PATCH 0/2] OMAP1: amsdelta: reserve memory for videobuf_contig

2010-12-10 Thread Janusz Krzysztofik
Since there were no request for changes, I'm resending the set, this time Cc linux-arm-kernel. Sunday 05 December 2010 19:29:05 Janusz Krzysztofik wrote: > Latest developements seem to allow for reserving a block of memory on boot > to be used as a device dedicated dma coherent memory. This may b

Re: [PATCH 5/6] [media] gspca/sonixj: Fix support for sn9c105+0v7660

2010-12-10 Thread Jean-Francois Moine
On Thu, 9 Dec 2010 18:42:38 -0200 Mauro Carvalho Chehab wrote: > This bug were very tricky to discover. Basically, replying the webcam > initialization sequence, after the capture is running make it works. > After several researches, I discovered that the sensor were in > powerdown mode, when the

Re: [PATCH 4/6] [media] gspca/sn9c20x: Fix support for mt9m001 (mi1300) sensor

2010-12-10 Thread Jean-Francois Moine
On Thu, 9 Dec 2010 18:42:37 -0200 Mauro Carvalho Chehab wrote: > Support for mt9m001 (mi1300) is broken: > - Table is incomplete; > - Only one resolution is currently supported by the driver; > - Resolution is incomplete; > - it complains about broken JPEG headers. > > Us

Re: [PATCH 3/6] [media] gspca core: Fix regressions gspca breaking devices with audio

2010-12-10 Thread Jean-Francois Moine
On Thu, 9 Dec 2010 18:42:36 -0200 Mauro Carvalho Chehab wrote: > Changeset 35680ba broke several devices: > - Sony Playstation Eye (1415:2000); > - Gigaware model 25-234 (0c45:628f); > - Logitech Messenger Plus (046d:08f6). > > Probably more devices were broken by this change.

Re: [PATCH 2/6] [media] gspca/sn9c20x: Get rid of scale "magic" numbers

2010-12-10 Thread Jean-Francois Moine
On Thu, 9 Dec 2010 18:42:35 -0200 Mauro Carvalho Chehab wrote: > Use macros for the supported scales, instead of using magic numbers > from 0 to 3. > > Code become cleaner by using macros for it. Acked-by: Jean-Francois Moine -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef

Re: [PATCH 0/2] OMAP1: amsdelta: reserve memory for videobuf_contig

2010-12-10 Thread Janusz Krzysztofik
Friday 10 December 2010 02:29:09 Tony Lindgren wrote: > * Janusz Krzysztofik [101205 10:19]: > > Latest developements seem to allow for reserving a block of memory on > > boot to be used as a device dedicated dma coherent memory. This may be > > required for videobuf_config based video drivers avo

Re: [PATCH 1/6] [media] gspca/sn9c20x: Test if sensor is really an ov9650

2010-12-10 Thread Jean-Francois Moine
On Thu, 9 Dec 2010 18:42:34 -0200 Mauro Carvalho Chehab wrote: > Instead of just assuming a ov9650 sensor based on USB ID, > double-check it, by reading the sensor ID. Hi Mauro, In the patch, you check that the sensor is an OmniVision one, but not the ov9650. So, if the test succeeds, it could

RE: [RFC/PATCH v4 1/4] Changes in include/linux/videodev2.h for MFC 5.1

2010-12-10 Thread Kamil Debski
Hi, From: Mauro Carvalho Chehab [mailto:mche...@redhat.com] > Em 10-12-2010 01:32, 박정태 escreveu: > > Hi, Kamil > > > > What do you think modification of codec class control ID for MFC as > > following. > > 1. Define the CID base for MFC > > 2. Separate decode & encode controls > > 3. Separate comm

RE: [RFC/PATCH v4 2/4] MFC: Add MFC 5.1 driver to plat-s5p

2010-12-10 Thread Kamil Debski
Hi, > From: Kukjin Kim [mailto:kgene@samsung.com] > Kamil Debski wrote: > > > Would be better if you could keep the subject style... > Ok, I'll make the comment more consistent. (snip) > > diff --git a/arch/arm/mach-s5pv210/include/mach/map.h > b/arch/arm/mach- > > s5pv210/include/mach/map

Re: I wonder the difference with mbus_pixelcode and v4l2_colorspace.

2010-12-10 Thread Kim, HeungJun
Thanks Guennadi, Actually, I have been confused between MC & MB. Including this, the link of Laurent is very helpful for me to make M5MOLS subdev driver. Regard, HeungJun Kim 2010-12-08 오후 4:23, Guennadi Liakhovetski 쓴 글: > Hi > > On Wed, 8 Dec 2010, Kim, HeungJun wrote: > >> Hi Guennadi, >>