Re: [PATCH 2/4] mx2_camera: return IRQ_NONE when doing nothing

2010-07-28 Thread Sascha Hauer
On Tue, Jul 27, 2010 at 03:06:08PM +0300, Baruch Siach wrote: Signed-off-by: Baruch Siach bar...@tkos.co.il --- drivers/media/video/mx2_camera.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/mx2_camera.c

Re: [PATCHv2 2/4] mm: cma: Contiguous Memory Allocator added

2010-07-28 Thread Michał Nazarewicz
+static inline dma_addr_t __must_check +cma_alloc(const struct device *dev, const char *kind, + size_t size, dma_addr_t alignment) +{ + return dev ? -EINVAL : __cma_alloc(dev, kind, size, alignment); On Tue, 27 Jul 2010 14:08:41 +0200, Russell King - ARM Linux

RE: [PATCHv2 2/4] mm: cma: Contiguous Memory Allocator added

2010-07-28 Thread Marek Szyprowski
Hello, On Tuesday, July 27, 2010 6:27 PM Hans Verkuil wrote: On Tuesday 27 July 2010 09:41:40 Marek Szyprowski wrote: On Monday, July 26, 2010 10:29 PM Hans Verkuil wrote: On Monday 26 July 2010 16:40:30 Michal Nazarewicz wrote: The Contiguous Memory Allocator framework is a set of

[PATCH] V4L/DVB: tvp7002: fix write to H-PLL Feedback Divider LSB register

2010-07-28 Thread Sudhakar Rajashekhara
H-PLL Feedback Divider LSB register is an 8 bit register out of which the first 4 bits are reserved. Current code is writing to these reserved location. This patch corrects this issue by left shifting the values being written to the register by 4. This patch has been tested on DM6467 EVM with

Re: [PATCH]videobuf_dma_sg: a new implementation for mmap

2010-07-28 Thread Laurent Pinchart
Hi, On Tuesday 27 July 2010 14:21:40 Figo.zhang wrote: a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when it encounter page fault at video_vm_ops-fault(). a new implementation for mmap, it translate the vmalloc to page at video_vm_ops-fault(). How is that supposed

JPEG hw decoder

2010-07-28 Thread rd bairva
Hi ,      My board has a hardware JPEG decoder. I want to write a driver for this in Linux kernel, But it seems there that no Framework exists in kernel. Can somebody provide me some pointers? Can V4l2 be used? Thanks in advance. Regards, Rbairva -- To unsubscribe from this list: send the line

RE: JPEG hw decoder

2010-07-28 Thread Pawel Osciak
Hi, rd bairva wrote: My board has a hardware JPEG decoder. I want to write a driver for this in Linux kernel, But it seems there that no Framework exists in kernel. Can somebody provide me some pointers? Can V4l2 be used? Thanks in advance. please take a look at the mem2mem

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jon Smirl
On Wed, Jul 28, 2010 at 2:30 AM, Maxim Levitsky maximlevit...@gmail.com wrote: On Tue, 2010-07-27 at 22:33 -0400, Jarod Wilson wrote: On Tue, Jul 27, 2010 at 9:29 PM, Jon Smirl jonsm...@gmail.com wrote: On Tue, Jul 27, 2010 at 7:32 PM, Maxim Levitsky maximlevit...@gmail.com wrote: On Wed,

Re: [PATCH 2/4] mx2_camera: return IRQ_NONE when doing nothing

2010-07-28 Thread Guennadi Liakhovetski
A general comment to your patches: the actual driver is going to be merged via the ARM tree, all other your incremental patches should rather go via the v4l tree. So, we'll have to synchronise with ARM, let's hope ARM patches go in early enough. On Tue, 27 Jul 2010, Baruch Siach wrote:

[PATCH v2]videobuf_dma_sg: a new implementation for mmap

2010-07-28 Thread Figo.zhang
a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when it encounter page fault at video_vm_ops-fault(). a new implementation for mmap, it translate the vmalloc to page at video_vm_ops-fault(). in v2, if mem-dma.vmalloc is NULL at video_vm_ops-fault(), it will alloc memory by

AverMedia Volar Black HD (A850) - crashes in mythtv, does not find HD

2010-07-28 Thread Michael Moritz
Hi I've read through the earlier thread about the driver for this here: http://www.mail-archive.com/linux-media@vger.kernel.org/msg03661.html First I've used the default Ubuntu Lucid kernel driver (2.6.32) - kaffeine, scan etc work, mythtv scanning finds channels, times out, and channels get

[PATCH v2]videobuf_dma_sg: a new implementation for mmap

2010-07-28 Thread Figo.zhang
a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when it encounter page fault at video_vm_ops-fault(). a new implementation for mmap, it translate the vmalloc to page at video_vm_ops-fault(). in v2, if mem-dma.vmalloc is NULL at video_vm_ops-fault(), it will alloc memory by

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 07:40, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 2:30 AM, Maxim Levitsky maximlevit...@gmail.com wrote: On Tue, 2010-07-27 at 22:33 -0400, Jarod Wilson wrote: On Tue, Jul 27, 2010 at 9:29 PM, Jon Smirl jonsm...@gmail.com wrote: No its not, its just extended NEC.

DVBT +AF9015 +MXL5007t

2010-07-28 Thread hmd
HI all I have a usb dvbt module with af9015 +mx5007t both drivers exist in kernel but af9015.c needs to be patched lsusb: Bus 002 Device 003: ID 15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0 stick dmesg | grep 9015 [ 3407.599086] dvb_usb_af9015 2-4:1.0: usb_probe_interface [

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jon Smirl
Let's be really sure it is NEC and not JVC. 8850 4350 525 1575 525 1575 525 450 525 450 525 450 525 450 525 1575 525 450 525 1575 525 450 525 1575 525 450 525

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 10:13 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 07:40, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 2:30 AM, Maxim Levitsky maximlevit...@gmail.com wrote: On Tue, 2010-07-27 at 22:33 -0400, Jarod Wilson wrote: On Tue, Jul 27, 2010 at 9:29 PM, Jon Smirl

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Andy Walls
On Wed, 2010-07-28 at 09:46 -0400, Jon Smirl wrote: Let's be really sure it is NEC and not JVC. 8850 4350 525 1575 525 1575 525 450 525 450 525 450 525 450 525 1575 525 450 525 1575 525

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jon Smirl
On Wed, Jul 28, 2010 at 10:24 AM, Maxim Levitsky maximlevit...@gmail.com wrote: On Wed, 2010-07-28 at 10:13 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 07:40, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 2:30 AM, Maxim Levitsky maximlevit...@gmail.com wrote: On Tue, 2010-07-27 at

[PATCH 1/9] IR: Kconfig fixes

2010-07-28 Thread Maxim Levitsky
Move IR drives below separate menu. This allows to disable them. Also correct a typo. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/Kconfig | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/media/IR/Kconfig

[PATCH 2/9] IR: minor fixes:

2010-07-28 Thread Maxim Levitsky
* lirc: Don't propagate reset event to userspace * lirc: Remove strange logic from lirc that would make first sample always be pulse * Make TO_US macro actualy print what it should. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-core-priv.h |3 +--

[PATCH 3/9] IR: replace spinlock with mutex.

2010-07-28 Thread Maxim Levitsky
Some handlers (lirc for example) allocates memory on initialization, doing so in atomic context is cumbersome. Fixes warning about sleeping function in atomic context. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-raw-event.c | 28 ++-- 1

[PATCH 4/9] IR: add helper functions for ir input devices that send ir timing data in small chunks, and alternation between pulses and spaces isn't guaranteed.

2010-07-28 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-core-priv.h |1 + drivers/media/IR/ir-keytable.c |2 +- drivers/media/IR/ir-raw-event.c | 86 +++ include/media/ir-core.h | 24 +- 4 files changed, 109

[PATCH 5/9] IR: extend interfaces to support more device settings

2010-07-28 Thread Maxim Levitsky
Also reuse LIRC_SET_MEASURE_CARRIER_MODE as LIRC_SET_LEARN_MODE (LIRC_SET_LEARN_MODE will start carrier reports if possible, and tune receiver to wide band mode) This IOCTL isn't yet used by lirc, so this won't break userspace. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com ---

[PATCH 6/9] IR: actually allow not to compile keymaps in..

2010-07-28 Thread Maxim Levitsky
Currntly, ir device registration fails if keymap requested by driver is not found... Fix that by always compiling in the empty keymap, and using it as a failback Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-core-priv.h |3 +- drivers/media/IR/ir-sysfs.c

[PATCH 7/9] IR: actualy report unknown scancodes the in-kernel decoders found.

2010-07-28 Thread Maxim Levitsky
This way it is possible to use evtest to create keymap for unknown remote. (Providing that in-kernel decoding understands remote's protocol. Hint: it doesn't) Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-keytable.c |5 + 1 files changed, 5

[PATCH 8/9] IR: Add ENE input driver.

2010-07-28 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/Kconfig | 11 + drivers/media/IR/Makefile |1 + drivers/media/IR/ene_ir.c | 1019 + drivers/media/IR/ene_ir.h | 228 ++ 4 files changed, 1259 insertions(+), 0

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 10:41:27AM -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 10:24 AM, Maxim Levitsky ... You are right that my remote has  JVC protocol. (at least I am sure now it hasn't NEC, because repeat looks differently). My remote now actually partially works with JVC

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 11:53, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 10:38 AM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 09:46 -0400, Jon Smirl wrote: Is JVC enabled by default? I recall analyzing that it could generate false positives on NEC codes. Hopefully the engines

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 11:41, Jon Smirl escreveu: It's possible to build a Linux IR decoder engine that can be loaded with the old LIRC config files. I think it is a good idea to have a decoder that works with such files anyway. There are some good reasons for that, as it would allow in-kernel support

Re: [PATCH 2/9] IR: minor fixes:

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 12:14, Maxim Levitsky escreveu: * lirc: Don't propagate reset event to userspace * lirc: Remove strange logic from lirc that would make first sample always be pulse * Make TO_US macro actualy print what it should. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com ---

Re: [PATCH 3/9] IR: replace spinlock with mutex.

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 12:14, Maxim Levitsky escreveu: Some handlers (lirc for example) allocates memory on initialization, doing so in atomic context is cumbersome. Fixes warning about sleeping function in atomic context. You should not replace it by a mutex, as the decoding code may happen during IRQ

Re: [PATCH 4/9] IR: add helper functions for ir input devices that send ir timing data in small chunks, and alternation between pulses and spaces isn't guaranteed.

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 12:14, Maxim Levitsky escreveu: Please provide a smaller subject. Feel free to add a more detailed description, but subjects longer then 74 bytes end by causing some troubles when using git commands. It would be nice to have a good description on this patch, as it provides a

Re: [PATCH 4/9] IR: add helper functions for ir input devices that send ir timing data in small chunks, and alternation between pulses and spaces isn't guaranteed.

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 13:09 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: Please provide a smaller subject. Feel free to add a more detailed description, but subjects longer then 74 bytes end by causing some troubles when using git commands. I didn't

Re: [PATCH 3/9] IR: replace spinlock with mutex.

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 13:03 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: Some handlers (lirc for example) allocates memory on initialization, doing so in atomic context is cumbersome. Fixes warning about sleeping function in atomic context. You should

Re: [PATCH 2/9] IR: minor fixes:

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 13:01 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: * lirc: Don't propagate reset event to userspace * lirc: Remove strange logic from lirc that would make first sample always be pulse * Make TO_US macro actualy print what it

Re: [PATCH 5/9] IR: extend interfaces to support more device settings

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 12:14, Maxim Levitsky escreveu: Also reuse LIRC_SET_MEASURE_CARRIER_MODE as LIRC_SET_LEARN_MODE (LIRC_SET_LEARN_MODE will start carrier reports if possible, and tune receiver to wide band mode) This IOCTL isn't yet used by lirc, so this won't break userspace. Signed-off-by:

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Andy Walls
On Wed, 2010-07-28 at 12:42 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 11:53, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 10:38 AM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 09:46 -0400, Jon Smirl wrote: I recommend that all decoders initially follow the

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jon Smirl
On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 28-07-2010 11:41, Jon Smirl escreveu: It's possible to build a Linux IR decoder engine that can be loaded with the old LIRC config files. I think it is a good idea to have a decoder that works with such

Re: [PATCH 8/9] IR: Add ENE input driver.

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 12:14, Maxim Levitsky escreveu: Signed-off-by: Maxim Levitsky maximlevit...@gmail.com Please, instead of patch 9/9, do a patch moving ENE driver from staging into drivers/media/IR, and then a patch porting it into rc-core. This will allow us to better understand what were done to

Re: [PATCH 8/9] IR: Add ENE input driver.

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 14:10 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: Signed-off-by: Maxim Levitsky maximlevit...@gmail.com Please, instead of patch 9/9, do a patch moving ENE driver from staging into drivers/media/IR, and then a patch porting it

Re: linux-next: Tree for July 28 (lirc)

2010-07-28 Thread Randy Dunlap
On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote: Hi all, Changes since 20100727: when CONFIG_MODULES is not enabled: drivers/staging/lirc/lirc_parallel.c:243: error: implicit declaration of function 'module_refcount' drivers/staging/lirc/lirc_it87.c:150: error: implicit

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Andy Walls
On Wed, 2010-07-28 at 13:04 -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 28-07-2010 11:41, Jon Smirl escreveu: Are there any IR protocols less than 20 (or 17) years old? If they are older than that the patents have expired. I

Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Randy Dunlap
On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote: Hi all, Changes since 20100727: When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled: ERROR: lirc_dev_fop_close [drivers/staging/lirc/lirc_streamzap.ko] undefined! ERROR: lirc_dev_fop_open

Re: [PATCH 8/9] IR: Add ENE input driver.

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 08:13:35PM +0300, Maxim Levitsky wrote: On Wed, 2010-07-28 at 14:10 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: Signed-off-by: Maxim Levitsky maximlevit...@gmail.com Please, instead of patch 9/9, do a patch moving ENE driver

Re: [PATCH 2/9] IR: minor fixes:

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 06:14:04PM +0300, Maxim Levitsky wrote: * lirc: Don't propagate reset event to userspace * lirc: Remove strange logic from lirc that would make first sample always be pulse * Make TO_US macro actualy print what it should. Signed-off-by: Maxim Levitsky

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jon Smirl
On Wed, Jul 28, 2010 at 1:02 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 12:42 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 11:53, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 10:38 AM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 09:46

Re: [PATCH 1/9] IR: Kconfig fixes

2010-07-28 Thread Randy Dunlap
On Wed, 28 Jul 2010 18:14:03 +0300 Maxim Levitsky wrote: Move IR drives below separate menu. This allows to disable them. Also correct a typo. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/Kconfig | 14 +++--- 1 files changed, 11 insertions(+), 3

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jon Smirl
On Wed, Jul 28, 2010 at 1:21 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 13:04 -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 28-07-2010 11:41, Jon Smirl escreveu: Are there any IR protocols less than 20

Re: [PATCH 3/9] IR: replace spinlock with mutex.

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 07:32:58PM +0300, Maxim Levitsky wrote: On Wed, 2010-07-28 at 13:03 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: Some handlers (lirc for example) allocates memory on initialization, doing so in atomic context is cumbersome.

Re: [PATCH 4/9] IR: add helper functions for ir input devices that send ir timing data in small chunks, and alternation between pulses and spaces isn't guaranteed.

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 06:14:06PM +0300, Maxim Levitsky wrote: Signed-off-by: Maxim Levitsky maximlevit...@gmail.com With the caveat of requiring an improved changelog, per Mauro's suggestion: Acked-by: Jarod Wilson ja...@redhat.com I suspect at least some of this code may be of use to the

Re: [PATCH 2/9] IR: minor fixes:

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 13:38, Maxim Levitsky escreveu: On Wed, 2010-07-28 at 13:01 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: * lirc: Don't propagate reset event to userspace * lirc: Remove strange logic from lirc that would make first sample always be pulse *

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 14:04, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 28-07-2010 11:41, Jon Smirl escreveu: It's possible to build a Linux IR decoder engine that can be loaded with the old LIRC config files. I think it is a good idea

Re: [PATCH 6/9] IR: actually allow not to compile keymaps in..

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 06:14:08PM +0300, Maxim Levitsky wrote: Currntly, ir device registration fails if keymap requested by driver is not found... Fix that by always compiling in the empty keymap, and using it as a failback Signed-off-by: Maxim Levitsky maximlevit...@gmail.com I like

Re: [PATCH 8/9] IR: Add ENE input driver.

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 14:13, Maxim Levitsky escreveu: On Wed, 2010-07-28 at 14:10 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: Signed-off-by: Maxim Levitsky maximlevit...@gmail.com Please, instead of patch 9/9, do a patch moving ENE driver from staging into

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 03:08:13PM -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 14:04, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 28-07-2010 11:41, Jon Smirl escreveu: It's possible to build a Linux IR decoder engine

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Andy Walls
On Wed, 2010-07-28 at 13:35 -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 1:02 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 12:42 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 11:53, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 10:38 AM, Andy Walls

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 14:02, Andy Walls escreveu: On Wed, 2010-07-28 at 12:42 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 11:53, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 10:38 AM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 09:46 -0400, Jon Smirl wrote: I recommend

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 14:38, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 1:21 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 13:04 -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 28-07-2010 11:41, Jon Smirl escreveu:

Re: [PATCH 3/9] IR: replace spinlock with mutex.

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 14:43, Jarod Wilson escreveu: On Wed, Jul 28, 2010 at 07:32:58PM +0300, Maxim Levitsky wrote: On Wed, 2010-07-28 at 13:03 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 12:14, Maxim Levitsky escreveu: Some handlers (lirc for example) allocates memory on initialization, doing

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 15:05, Jarod Wilson escreveu: On Wed, Jul 28, 2010 at 03:08:13PM -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 14:04, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 11:56 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 28-07-2010 11:41, Jon Smirl escreveu: It's

Pinnacle Systems, Inc. PCTV 330e 2.6.34 /dev/dvb

2010-07-28 Thread folkert
Hi, I have a: Bus 001 Device 006: ID 2304:0226 Pinnacle Systems, Inc. PCTV 330e inserted in a system with kernel 2.6.34. When plugged in, I get: [3639480.291662] em28xx: New device Pinnacle Systems PCTV 330e @ 480 Mbps (2304:0226, interface 0, class 0) [3639480.291870] em28xx #0: chip ID is

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

2010-07-28 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:Wed Jul 28 19:00:24 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14993:9652f85e688a git master:

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Andy, Em 28-07-2010 15:18, Andy Walls escreveu: On Wed, 2010-07-28 at 13:35 -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 1:02 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 12:42 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 11:53, Jon Smirl escreveu: On Wed, Jul

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 17:13 -0300, Mauro Carvalho Chehab wrote: Andy, Em 28-07-2010 15:18, Andy Walls escreveu: On Wed, 2010-07-28 at 13:35 -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 1:02 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 12:42 -0300, Mauro

Re: [PATCH 1/9] IR: Kconfig fixes

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 10:36 -0700, Randy Dunlap wrote: On Wed, 28 Jul 2010 18:14:03 +0300 Maxim Levitsky wrote: Move IR drives below separate menu. This allows to disable them. Also correct a typo. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com ---

Re: [PATCH 5/9] IR: extend interfaces to support more device settings

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 06:14:07PM +0300, Maxim Levitsky wrote: Also reuse LIRC_SET_MEASURE_CARRIER_MODE as LIRC_SET_LEARN_MODE (LIRC_SET_LEARN_MODE will start carrier reports if possible, and tune receiver to wide band mode) This IOCTL isn't yet used by lirc, so this won't break userspace.

Re: [PATCH 4/9] IR: add helper functions for ir input devices that send ir timing data in small chunks, and alternation between pulses and spaces isn't guaranteed.

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 01:46:27PM -0400, Jarod Wilson wrote: On Wed, Jul 28, 2010 at 06:14:06PM +0300, Maxim Levitsky wrote: Signed-off-by: Maxim Levitsky maximlevit...@gmail.com With the caveat of requiring an improved changelog, per Mauro's suggestion: Acked-by: Jarod Wilson

Re: [PATCH 4/9] IR: add helper functions for ir input devices that send ir timing data in small chunks, and alternation between pulses and spaces isn't guaranteed.

2010-07-28 Thread Maxim Levitsky
On Wed, 2010-07-28 at 16:57 -0400, Jarod Wilson wrote: On Wed, Jul 28, 2010 at 01:46:27PM -0400, Jarod Wilson wrote: On Wed, Jul 28, 2010 at 06:14:06PM +0300, Maxim Levitsky wrote: Signed-off-by: Maxim Levitsky maximlevit...@gmail.com With the caveat of requiring an improved changelog,

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Mauro Carvalho Chehab
Em 28-07-2010 18:01, Maxim Levitsky escreveu: On Wed, 2010-07-28 at 17:24 +0300, Maxim Levitsky wrote: On Wed, 2010-07-28 at 10:13 -0300, Mauro Carvalho Chehab wrote: Em 28-07-2010 07:40, Jon Smirl escreveu: On Wed, Jul 28, 2010 at 2:30 AM, Maxim Levitsky maximlevit...@gmail.com wrote: On

Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Janne Grunau
On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote: On Wed, 28 Jul 2010 16:28:55 +1000 Stephen Rothwell wrote: Hi all, Changes since 20100727: When USB_SUPPORT is not enabled and MEDIA_SUPPORT is not enabled: following patch should fix it Janne From

[no subject]

2010-07-28 Thread Maxim Levitsky
Subject: [PATCH 0/9 v2] IR: few fixes, additions and ENE driver Hi, This is second version of the patchset. Hopefully, I didn't forget to address all comments. In addition to comments, I changed helper function that processes samples so it sends last space as soon as timeout is reached. This

[PATCH 1/9] IR: Kconfig fixes

2010-07-28 Thread Maxim Levitsky
Move IR drives below separate menu. This allows to disable them. Also correct a typo. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/Kconfig | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/media/IR/Kconfig

[PATCH 2/9] IR: minor fixes:

2010-07-28 Thread Maxim Levitsky
* lirc: Don't propagate reset event to userspace * lirc: Remove strange logic from lirc that would make first sample always be pulse * Make TO_US macro actualy print what it should. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-core-priv.h |4 +---

[PATCH 3/9] IR: replace spinlock with mutex.

2010-07-28 Thread Maxim Levitsky
Some handlers (lirc for example) allocates memory on initialization, doing so in atomic context is cumbersome. Fixes warning about sleeping function in atomic context. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-raw-event.c | 28 ++-- 1

[PATCH 5/9] IR: extend interfaces to support more device settings

2010-07-28 Thread Maxim Levitsky
Also reuse LIRC_SET_MEASURE_CARRIER_MODE as LIRC_SET_LEARN_MODE (LIRC_SET_LEARN_MODE will start carrier reports if possible, and tune receiver to wide band mode) This IOCTL isn't yet used by lirc, so this won't break userspace. Note that drivers currently can't report carrier, because raw event

[PATCH 6/9] IR: Allow not to compile keymaps in.

2010-07-28 Thread Maxim Levitsky
Currently, ir device registration fails if keymap requested by driver is not found. Fix that by always compiling in the empty keymap, and using it as a failback. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-core-priv.h |3 +- drivers/media/IR/ir-sysfs.c

[PATCH 4/9] IR: add helper function for hardware with small o/b buffer.

2010-07-28 Thread Maxim Levitsky
Some ir input devices have small buffer, and interrupt the host each time it is full (or half full) Add a helper that automaticly handles timeouts, and also automaticly merges samples of same time (space-space) Such samples might be placed by hardware because size of sample in the buffer is small

[PATCH 7/9] IR: report unknown scancodes the in-kernel decoders found.

2010-07-28 Thread Maxim Levitsky
This way it is possible to use evtest to create keymap for unknown remote. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- drivers/media/IR/ir-keytable.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/media/IR/ir-keytable.c

[PATCH 9/9] IR: Port ene driver to new IR subsystem and enable it.

2010-07-28 Thread Maxim Levitsky
note that error_adjustment module option is added. This allows to reduce input samples by a percent. This makes input on my system more correct. Default is 4% as it works best here. Note that only normal input is adjusted. I don't know what ajustements to apply to fan tachtometer input. Maybe it

Re: saa7164 i2c problem

2010-07-28 Thread Andy Walls
Hi Dong, On Sun, 2010-07-25 at 09:38 -0700, Dong Lin wrote: Andy, PLease be advised that I will usually ignore private emails asking for tech support, when there is no obvious need for privacy. Linux development works best with many eyes to help shoulder the workload and spot the problems.

Re: cx23885: Unknown symbol __ir_input_register

2010-07-28 Thread Andy Walls
On Sun, 2010-07-25 at 14:55 -0300, Mauro Carvalho Chehab wrote: Em 25-07-2010 10:22, Andy Walls escreveu: On Sun, 2010-07-25 at 08:44 -0400, Andy Walls wrote: On Sat, 2010-07-24 at 18:45 +0200, v...@onet.pl wrote: Or do I misunderstand the select depends keywords? IMHO, we need to

Re: Can I expect in-kernel decoding to work out of box?

2010-07-28 Thread Andy Walls
On Wed, 2010-07-28 at 17:13 -0300, Mauro Carvalho Chehab wrote: Andy, Em 28-07-2010 15:18, Andy Walls escreveu: On Wed, 2010-07-28 at 13:35 -0400, Jon Smirl wrote: On Wed, Jul 28, 2010 at 1:02 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2010-07-28 at 12:42 -0300, Mauro

Re: [PATCH] IR/mceusb: remove bad ir_input_dev use

2010-07-28 Thread Jarod Wilson
On Tue, Jul 27, 2010 at 10:24 PM, Jarod Wilson ja...@redhat.com wrote: The ir_input_dev gets filled in by __ir_input_register, the one allocated in mceusb_init_input_dev was being overwritten by the correct one shortly after it was initialized (ultimately resulting in a memory leak). This bug

[GIT PATCHES FOR 2.6.36] cx23885, cx25840, v4l2_subdev: I/O pin config and CX23885 chip IR Rx

2010-07-28 Thread Andy Walls
Mauro, Please pull these changes for 2.6.36. They are based off of the v4l-dvb/other branch from a few weeks ago, IIRC. These changes implement CX23885 chip IR Rx support, which different people seem to bug me about once a month or so. IR support for the CX23885 chip, which is not used in new

Re: [PATCH 0/9 v2] IR: few fixes, additions and ENE driver

2010-07-28 Thread Jarod Wilson
On Thu, Jul 29, 2010 at 02:40:43AM +0300, Maxim Levitsky wrote: Hi, This is second version of the patchset. Hopefully, I didn't forget to address all comments. In addition to comments, I changed helper function that processes samples so it sends last space as soon as timeout is reached.

Re: linux-next: Tree for July 28 (lirc #2)

2010-07-28 Thread Jarod Wilson
On Wed, Jul 28, 2010 at 6:27 PM, Jarod Wilson ja...@wilsonet.com wrote: On Wed, Jul 28, 2010 at 6:16 PM, Randy Dunlap randy.dun...@oracle.com wrote: On 07/28/10 15:04, Janne Grunau wrote: On Wed, Jul 28, 2010 at 10:24:17AM -0700, Randy Dunlap wrote: On Wed, 28 Jul 2010 16:28:55 +1000 Stephen