[PATCH] quickcam_messenger.c: add support for all quickcam Messengers of the same family

2009-08-07 Thread Brandon Philips
Hey Mauro- I sent this patch long ago and it seemed to have gotten lost along the way. Jaya acked the patch so it is in my mercurial tree now: http://ifup.org/hg/v4l-dvb/ http://ifup.org/hg/v4l-dvb/rev/335a6ccbacb3 Please pull the patch when you get a chance. Thanks, Brandon On 14:

Re: [PULL] http://kernellabs.com/hg/~mkrufky/cx23885

2009-08-07 Thread hermann pitton
Mike, instead of going to such high tones for nothing, I would much more prefer, that you have a closer look to it, why such ever can happen. [snip] > > I really wish that people would refrain from hijacking email threads > -- it makes it difficult to keep any conversation on track. If that > p

error in compiled v4l cx88_alsa

2009-08-07 Thread Kevin Smith
cannot get sound working in compiled modules as follows. Sound in DVB works just not v4l (tvtime/myth) - thanks using v4l-dvb-0db4331fd64a modles and Aug 7 18:10:50 flipside kernel: xc5000: waiting for firmware upload (dvb-fe-xc5000-1.6.114.fw)... Aug 7 18:10:50 flipside kernel: cx88-mpeg dr

Re: [PATCH v4] ARM: DaVinci: DM646x Video: Platform and board specific setup

2009-08-07 Thread Kevin Hilman
Kevin Hilman writes: > "chaithrika" writes: > >> Russell, >> >> Requesting your ack on this patch. >> > > Chaithrika, Mauro, > > We don't need Russell's ack on this. You've incorporated his comments > and my signoff is enough for stuff under arch/arm/mach-davinci/* > > Mauro, go ahead and merge

Re: Linux Plumbers Conference 2009: V4L2 API discussions

2009-08-07 Thread VDR User
It has been months now since the discussion about actually making (a unified) STR/SNR useful. Is this going to be addressed at the conference? It's one of those things that would be greatly useful for users/applications but seemingly has gotten neglected. Regards, Derek -- To unsubscribe from th

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread David Xiao
On Fri, 2009-08-07 at 13:28 -0700, Russell King - ARM Linux wrote: > The kernel direct mapping maps all system (low) memory with normal > memory cacheable attributes. > > So using vmalloc, dma_alloc_coherent, using pages in userspace all > create duplicate mappings of pages. > If we do want to

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2009 at 10:11:40PM +0200, Laurent Pinchart wrote: > Ok. Maybe the kernel mapping from L_PTE_MT_UNCACHED to strongly ordered for > ARMv6 and up (not sure about how it worked for previous versions) brought > some > confusion. I'll try to be more precise now. It's something we shou

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Laurent Pinchart
On Friday 07 August 2009 21:01:45 Russell King - ARM Linux wrote: > On Fri, Aug 07, 2009 at 08:15:01AM -0500, Robin Holt wrote: > > On Fri, Aug 07, 2009 at 02:07:43PM +0200, Laurent Desnogues wrote: > > > On Fri, Aug 7, 2009 at 11:54 AM, Jamie Lokier wrote: > > > > 1. Does the architecture not pre

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2009 at 11:23:39AM +0100, Jamie Lokier wrote: > David Xiao wrote: > > > However, that won't work with ARMv7's speculative prefetching. I'm > > > afraid with such things, DMA direct into userspace mappings becomes a > > > _lot_ harder, and lets face it, lots of Linux drivers just ar

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2009 at 08:15:01AM -0500, Robin Holt wrote: > On Fri, Aug 07, 2009 at 02:07:43PM +0200, Laurent Desnogues wrote: > > On Fri, Aug 7, 2009 at 11:54 AM, Jamie Lokier wrote: > > > > > > 1. Does the architecture not prevent speculative instruction > > > prefetches from crossing a page bo

Re: [PATCH v4] ARM: DaVinci: DM646x Video: Platform and board specific setup

2009-08-07 Thread Kevin Hilman
"chaithrika" writes: > Russell, > > Requesting your ack on this patch. > Chaithrika, Mauro, We don't need Russell's ack on this. You've incorporated his comments and my signoff is enough for stuff under arch/arm/mach-davinci/* Mauro, go ahead and merge this. Kevin > > On Wed, Aug 05, 2009

[cron job] v4l-dvb daily build 2.6.22 and up: WARNINGS, 2.6.16-2.6.21: ERRORS

2009-08-07 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 Aug 7 19:00:04 CEST 2009 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 12404:0db4331fd64a gcc version: gcc

Re: em28xx: fix: some webcams don't have audio inputs

2009-08-07 Thread Mauro Carvalho Chehab
Em Wed, 5 Aug 2009 14:58:23 -0400 Devin Heitmueller escreveu: > Hello Mauro, > > I just noticed this patch: > > em28xx: fix: some webcams don't have audio inputs > http://linuxtv.org/hg/v4l-dvb/rev/fe5eeff6644d > > I have to wonder what the EM28XX_R00_CHIPCFG contained on this > particular dev

Re: [PATCHv14 2/8] v4l2: video device: Add V4L2_CTRL_CLASS_FM_TX controls

2009-08-07 Thread Hans Verkuil
On Monday 27 July 2009 17:12:04 Eduardo Valentin wrote: > This patch adds a new class of extended controls. This class > is intended to support FM Radio Modulators properties such as: > rds, audio limiters, audio compression, pilot tone generation, > tuning power levels and preemphasis properties.

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb

2009-08-07 Thread Hans Verkuil
On Friday 07 August 2009 16:13:46 Mauro Carvalho Chehab wrote: > Em Thu, 6 Aug 2009 13:22:18 +0200 > "Hans Verkuil" escreveu: > > > > > > Em Sun, 2 Aug 2009 12:10:04 +0200 > > > Hans Verkuil escreveu: > > > > > >> Hi Mauro, > > >> > > >> Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc

2009-08-07 Thread Patrick Boettcher
CX24113 change: Acked-By: Patrick Boettcher On Fri, 7 Aug 2009, Mike Isely wrote: Acked-By: Mike Isely -Mike On Fri, 7 Aug 2009, Hans Verkuil wrote: Hi Mauro, Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc for the following: - pvrusb2: fix compile warning - c

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb

2009-08-07 Thread Mauro Carvalho Chehab
Em Thu, 6 Aug 2009 13:22:18 +0200 "Hans Verkuil" escreveu: > > > Em Sun, 2 Aug 2009 12:10:04 +0200 > > Hans Verkuil escreveu: > > > >> Hi Mauro, > >> > >> Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb for the > >> following: > >> > >> - v4l: introduce string control support. > >

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc

2009-08-07 Thread Mike Isely
Acked-By: Mike Isely -Mike On Fri, 7 Aug 2009, Hans Verkuil wrote: > Hi Mauro, > > Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc for the > following: > > - pvrusb2: fix compile warning > - cx24113: fix mips compiler warning > - hdpvr: add missing initialization of curr

Re: Issues with Empire Dual Pen: request for help and suggestions!!!

2009-08-07 Thread xwang1976
You are right. I've opened the device and with the help of a magnifier I've seen that it has an EMP202 (at first I've read EMP702 but I've seen that such chip does not exist so probably it is an EMP202). Xwang Devin Heitmueller ha scritto: On Fri, Aug 7, 2009 at 6:24 AM, wrote: Just a li

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Robin Holt
On Fri, Aug 07, 2009 at 02:07:43PM +0200, Laurent Desnogues wrote: > On Fri, Aug 7, 2009 at 11:54 AM, Jamie Lokier wrote: > > > > 1. Does the architecture not prevent speculative instruction > > prefetches from crossing a page boundary?  It would be handy under the > > circumstances. > > There's n

[PULL] http://linuxtv.org/hg/~dougsland/empire/

2009-08-07 Thread Douglas Schilling Landgraf
Hello Mauro, Please pull from http://linuxtv.org/hg/~dougsland/empire/ for the following: - em28xx: fix empire auto-detect Cheers, Douglas -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCHv14 6/8] FM TX: si4713: Add files to handle si4713 i2c device

2009-08-07 Thread m7aalton
Hi. On Mon, 2009-07-27 at 17:12 +0200, Valentin Eduardo (Nokia-D/Helsinki) wrote: > This patch adds files to control si4713 devices. > Internal functions to control device properties > + */ > +/* si4713_probe - probe for the device */ > +static int si4713_probe(struct i2c_client *client, >

[PULL} http://kernellabs.com/hg/~dheitmueller/empire-fix

2009-08-07 Thread Devin Heitmueller
Mauro, Please PULL from http://kernellabs.com/hg/~dheitmueller/empire-fix for the following: em28xx: fix regression in Empire DualTV digital tuning This is yet another regression caused by the introduction of the disable_i2c_gate field in the zl10353 driver. Devin -- Devin J. Heitmueller - Ke

Re: Issues with Empire Dual Pen: request for help and suggestions!!!

2009-08-07 Thread Devin Heitmueller
On Fri, Aug 7, 2009 at 6:24 AM, wrote: > Just a little addendum. > I remember that the audio of analog tv has started to work with Markus' > drivers when he added the em28xx-audioep driver because, if I have correctly > understood, my device has a  noy standard audio. > Is it possible to import th

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Laurent Desnogues
On Fri, Aug 7, 2009 at 11:54 AM, Jamie Lokier wrote: > > 1. Does the architecture not prevent speculative instruction > prefetches from crossing a page boundary?  It would be handy under the > circumstances. There's no such restriction in ARMv7 architecture. Laurent -- To unsubscribe from this l

Re: [PATCHv14 6/8] FM TX: si4713: Add files to handle si4713 i2c device

2009-08-07 Thread Hans Verkuil
Hi Eduardo, Douglas pointed out to me that I hadn't reviewed this series yet. That was mostly because it's pretty good as far as I'm concerned :-) I do think one small thing should change: On Monday 27 July 2009 17:12:08 Eduardo Valentin wrote: > diff --git a/linux/drivers/media/radio/si4713-i2

Re: [PATCH,RFC] Drop non-unlocked ioctl support in v4l2-dev.c

2009-08-07 Thread Hans Verkuil
On Friday 07 August 2009 13:03:22 Laurent Pinchart wrote: > Hi Hans, > > On Thursday 06 August 2009 17:16:08 Hans Verkuil wrote: > > Hi Laurent, > > > > > Hi everybody, > > > > > > this patch moves the BKL one level down by removing the non-unlocked > > > ioctl in v4l2-dev.c and calling lock_kerne

Re: Issues with Empire Dual Pen: request for help and suggestions!!!

2009-08-07 Thread xwang1976
Just a little addendum. I remember that the audio of analog tv has started to work with Markus' drivers when he added the em28xx-audioep driver because, if I have correctly understood, my device has a noy standard audio. Is it possible to import the necessary code in the main branch so that to

Re: [PATCH,RFC] Drop non-unlocked ioctl support in v4l2-dev.c

2009-08-07 Thread Laurent Pinchart
Hi Hans, On Thursday 06 August 2009 17:16:08 Hans Verkuil wrote: > Hi Laurent, > > > Hi everybody, > > > > this patch moves the BKL one level down by removing the non-unlocked > > ioctl in v4l2-dev.c and calling lock_kernel/unlock_kernel in the > > unlocked_ioctl handler if the driver only support

[PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc

2009-08-07 Thread Hans Verkuil
Hi Mauro, Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc for the following: - pvrusb2: fix compile warning - cx24113: fix mips compiler warning - hdpvr: add missing initialization of current_norm - v4l2-ioctl: fix G_STD and G_PARM default handlers - v4l2-ctl: fix get/set-parm

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Jamie Lokier
David Xiao wrote: > > However, that won't work with ARMv7's speculative prefetching. I'm > > afraid with such things, DMA direct into userspace mappings becomes a > > _lot_ harder, and lets face it, lots of Linux drivers just aren't going > > to bother supporting this - we can't currently get agre

Re: How to efficiently handle DMA and cache on ARMv7 ? (was " Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Laurent Pinchart
On Friday 07 August 2009 10:12:23 Matthieu CASTET wrote: > Laurent Pinchart a écrit : > > On Thursday 06 August 2009 20:46:14 David Xiao wrote: > > > > Think about the simple following use case. An application wants to > > display video it acquires from the device to the screen using Xv. The > > vi

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2009 at 10:54:27AM +0100, Jamie Lokier wrote: > Russell King - ARM Linux wrote: > > On Fri, Aug 07, 2009 at 09:58:30AM +0200, Laurent Pinchart wrote: > > > Sorry about this, but I'm not sure to understand the speculative > > > prefetching > > > cache issue completely. > > > > The

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Jamie Lokier
Russell King - ARM Linux wrote: > On Fri, Aug 07, 2009 at 09:58:30AM +0200, Laurent Pinchart wrote: > > Sorry about this, but I'm not sure to understand the speculative > > prefetching > > cache issue completely. > > The general case with speculative prefetching is that if memory is > accessible

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Matthieu CASTET
Laurent Pinchart a écrit : > On Thursday 06 August 2009 20:46:14 David Xiao wrote: > > Think about the simple following use case. An application wants to display > video it acquires from the device to the screen using Xv. The video buffer is > allocated by Xv. Using the v4l2 user pointer streami

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Russell King - ARM Linux
On Fri, Aug 07, 2009 at 09:58:30AM +0200, Laurent Pinchart wrote: > Sorry about this, but I'm not sure to understand the speculative prefetching > cache issue completely. The general case with speculative prefetching is that if memory is accessible, it can be prefetched. In other words, if we ma

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Russell King - ARM Linux
On Thu, Aug 06, 2009 at 10:59:26PM -0700, David Xiao wrote: > The V7 speculative prefetching will then probably apply to DMA coherency > issue in general, both kernel and user space DMAs. Could this be > addressed by inside the dma_unmap_sg/single() calling dma_cache_maint() > when the direction is

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Laurent Pinchart
On Friday 07 August 2009 07:59:26 David Xiao wrote: > On Thu, 2009-08-06 at 15:25 -0700, Russell King - ARM Linux wrote: > > As far as userspace DMA coherency, the only way you could do it with > > current kernel APIs is by using get_user_pages(), creating a scatterlist > > from those, and then pas

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Laurent Pinchart
On Friday 07 August 2009 00:25:43 Russell King - ARM Linux wrote: > > As far as userspace DMA coherency, the only way you could do it with > current kernel APIs is by using get_user_pages(), creating a scatterlist > from those, and then passing it to dma_map_sg(). While the device has > ownership

Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?")

2009-08-07 Thread Laurent Pinchart
On Thursday 06 August 2009 20:46:14 David Xiao wrote: [snip] > Another approach is working from a different direction: the kernel > allocates the non-cached buffer and then mmap() into user space. I have > done that in similar situation to try to achieve "zero-copy". That's what most drivers do.