[PATCH 09/17] v4l2_subdev, cx23885: Differentiate IR carrier sense and I/O pin inversion

2010-07-19 Thread Andy Walls
. This permits the IR device to be configured and enabled without the IR Tx LED being on during idle/space time due to an external hardware level inversion Signed-off-by: Andy Walls awa...@md.metrocast.net --- drivers/media/video/cx23885/cx23885-input.c |2 +- drivers/media/video/cx23885/cx23888

[PATCH 10/17] cx23885: For CX23888 IR, configure the IO pin mux IR pins explcitly

2010-07-19 Thread Andy Walls
Explicitly configure the IR Tx and IR Rx pins to be driven by the IR Rx and Tx pads from the AV core for CX23888 IR. For the HVR-1850 and HVR-1290 configure the IR Tx level inversion, so the Tx LED is off when idle. Signed-off-by: Andy Walls awa...@md.metrocast.net --- drivers/media/video

[PATCH 11/17] v4l2_subdev: Move interrupt_service_routine ptr to v4l2_subdev_core_ops

2010-07-19 Thread Andy Walls
generate interrupts along with the IR block. This change also makes sense for other subdev's that generate interrupts and do not have an IR block. Signed-off-by: Andy Walls awa...@md.metrocast.net --- drivers/media/video/cx23885/cx23885-core.c |2 +- drivers/media/video/cx23885/cx23888-ir.c

[PATCH 12/17] cx25840: Add support for CX2388[57] A/V core integrated IR controllers

2010-07-19 Thread Andy Walls
are + * Copyright (C) 2010 Andy Walls awa...@md.metrocast.net + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 @@ -48,6 +51,28 @@ MODULE_DESCRIPTION

[PATCH 13/17] cx23885: Add a v4l2_subdev group id for the CX2388[578] integrated AV core

2010-07-19 Thread Andy Walls
Signed-off-by: Andy Walls awa...@md.metrocast.net --- drivers/media/video/cx23885/cx23885-cards.c |5 - drivers/media/video/cx23885/cx23885.h |3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video

[PATCH 14/17] cx23885: Add preliminary IR Rx support for the HVR-1250 and TeVii S470

2010-07-19 Thread Andy Walls
to generate perptual interrupts that renders a user' system nearly unusable. The TeVii S470 IR will be disabled by default in a follow on patch. Signed-off-by: Andy Walls awa...@md.metrocast.net --- drivers/media/video/cx23885/cx23885-cards.c | 52 -- drivers/media/video/cx23885

[PATCH 15/17] cx23885: Protect PCI interrupt mask manipulations with a spinlock

2010-07-19 Thread Andy Walls
This patch encapsulates access to the PCI_INT_MSK register and dev-pci_irqmask variable and protects them with a spinlock. This is needed because both the hard IRQ handler and a workhandler will need to manipulate the mask to disable the AV_CORE interrupt. Signed-off-by: Andy Walls awa

[PATCH 16/17] cx23885: Move AV Core irq handling to a work handler

2010-07-19 Thread Andy Walls
Interrupts from the AV Core are best handled by a workqueue handler since many I2C transactions are required to service the AV Core interrupt. The AV_CORE PCI interrupt is disabled by the IRQ handler and reenabled when the work handler is finished. Signed-off-by: Andy Walls awa

[PATCH 17/17] cx23885: Require user to explicitly enable CX2388[57] IR via module param

2010-07-19 Thread Andy Walls
The CX23885 IR controller was reported to cause an interrupt storm on a TeVii S470 card, but was reported fine on an HVR-1250. Keep integrated IR disabled by default on CX2388[57] based cards to avoid a bad user experience in the general case. Signed-off-by: Andy Walls awa...@md.metrocast.net

Re: Need testers: cx23885 IR Rx for TeVii S470 and HVR-1250

2010-07-18 Thread Andy Walls
On Fri, 2010-07-09 at 15:28 -0500, Kenney Phillisjr wrote: I know this is an old thread, however i have an card that meets the requirements to be tested by the patches made by andy, and so far with what i've tried it's been doing really well for input. I pretty much just downloaded and

Re: [PATCH 24/25] video/ivtv: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used)

2010-07-16 Thread Andy Walls
On Thu, 2010-07-15 at 18:07 -0400, Jarod Wilson wrote: On Thu, Jul 15, 2010 at 5:43 PM, Andy Walls awa...@md.metrocast.net wrote: On Thu, 2010-07-15 at 21:08 +0200, Peter Huewe wrote: From: Peter Huewe peterhu...@gmx.de a. PCI_ANY_ID indicates to the reader a wildcard match is being

Re: How to begin v4l2 application development??

2010-07-16 Thread Andy Walls
On Fri, 2010-07-16 at 14:40 -0500, Bryan Nations wrote: I am new to video for linux and would like to know what resources are available to assist me in programming a simple webcam application with c++ in a *nix environment. My main goal right now is to just view the webcam in a small

Re: How to begin v4l2 application development??

2010-07-16 Thread Andy Walls
On Fri, 2010-07-16 at 17:48 -0400, Andy Walls wrote: On Fri, 2010-07-16 at 14:40 -0500, Bryan Nations wrote: I am new to video for linux and would like to know what resources are available to assist me in programming a simple webcam application with c++ in a *nix environment. My main goal

Re: [PATCH 24/25] video/ivtv: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used)

2010-07-15 Thread Andy Walls
On Thu, 2010-07-15 at 21:08 +0200, Peter Huewe wrote: From: Peter Huewe peterhu...@gmx.de This patch converts pci_table entries, where .subvendor=PCI_ANY_ID and .subdevice=PCI_ANY_ID, .class=0 and .class_mask=0, to use the PCI_VDEVICE macro, and thus improves readability. Hi Peter, I have

Re: RFC: Use of s_std calling s_freq when tuner powered down

2010-07-11 Thread Andy Walls
On Fri, 2010-07-09 at 14:09 -0400, Devin Heitmueller wrote: Hello all, Here's the scenario: 1. I have a USB device that supports both an analog tuner and composite/s-video inputs 2. The bridge is smart enough to power down the tuner when capturing on composite/s-video 3. Changing the

Re: [PATCH] Add support for AUX_PLL on cx2583x chips

2010-07-10 Thread Andy Walls
...@googlemail.com Acked-By: Mike Isely is...@pobox.com Reviewed-by: Andy Walls awa...@md.metrocast.net Acked-by: Andy Walls awa...@md.metrocast.net From my recollection of our previous emails, this patch looks right and is the right approach. Regards, Andy diff -aur v4l-src/linux/drivers/media/video

Re: [git:v4l-dvb/other] V4L/DVB: ivtv: use kthread_worker instead of workqueue

2010-07-10 Thread Andy Walls
makes setting the priority cleaner. Signed-off-by: Tejun Heo t...@kernel.org Reviewed-by: Andy Walls awa...@md.metrocast.net Acked-by: Andy Walls awa...@md.metrocast.net Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com Mauro, Please revert this or keep it from going upstream. It relies

Re: Status of the patches under review at LMML (60 patches)

2010-07-10 Thread Andy Walls
(if submitted via email). P.S.: This email is c/c to the developers where some action is expected. If you were copied, please review the patches, acking/nacking or submitting an update. == Andy Walls awa...@radix.net and Aleksandr Piskunov aleksandr.v.pisku

Re: [git:v4l-dvb/other] V4L/DVB: ivtv: use kthread_worker instead of workqueue

2010-07-10 Thread Andy Walls
On Sat, 2010-07-10 at 09:53 -0300, Mauro Carvalho Chehab wrote: Em 10-07-2010 09:33, Andy Walls escreveu: On Tue, 2010-07-06 at 03:51 +0200, Mauro Carvalho Chehab wrote: This is an automatic generated email to let you know that the following patch were queued at the http

Re: [PATCH 02/35] ivtv: use kthread_worker instead of workqueue

2010-07-09 Thread Andy Walls
On Tue, 2010-07-06 at 09:01 +0200, Tejun Heo wrote: On 07/05/2010 07:11 PM, Andy Walls wrote: Assuming the new kthread_worker implementation is OK, this change for ivtv looks good. Reviewed-by: Andy Walls awa...@md.metrocast.net Acked-by: Andy Walls awa...@md.metrocast.net May I

Re: Question about BTTV-video controls whitecrush upper/lower

2010-07-09 Thread Andy Walls
On Tue, 2010-07-06 at 13:27 +0200, Frank Schaefer wrote: Hi, there are two video controls in the Bttv-driver called whitecrush upper and whitecrush lower. But what does whitecrush mean ? Is it the same as white noise ? The german KDE translators are currently trying to translate these

Re: [PATCH] VIDEO: ivtvfb, remove unneeded NULL test

2010-07-05 Thread Andy Walls
On Mon, 2010-07-05 at 09:10 +0200, Jiri Slaby wrote: On 07/04/2010 03:22 PM, Andy Walls wrote: On Sun, 2010-07-04 at 09:24 +0200, Jiri Slaby wrote: On 07/04/2010 06:11 AM, Andy Walls wrote: There are windows of time where a struct device * will exist for a card in the ivtv driver

Re: [PATCH 02/35] ivtv: use kthread_worker instead of workqueue

2010-07-05 Thread Andy Walls
setting the priority cleaner. Signed-off-by: Tejun Heo t...@kernel.org Cc: Andy Walls awa...@md.metrocast.net Cc: Andrew Morton a...@linux-foundation.org Cc: ivtv-de...@ivtvdriver.org Cc: linux-media@vger.kernel.org Assuming the new kthread_worker implementation is OK, this change for ivtv

Re: [PATCH] VIDEO: ivtvfb, remove unneeded NULL test

2010-07-04 Thread Andy Walls
On Sun, 2010-07-04 at 09:24 +0200, Jiri Slaby wrote: On 07/04/2010 06:11 AM, Andy Walls wrote: You missed an identical instance of the useless test 10 lines prior in ivtvfb_callback_init(). :) Ah, thank you for pointing out. Find my comment below. --- a/drivers/media/video/ivtv

Re: MCEUSB memory leak and how to tell if ir_register_input() failure registered input_dev?

2010-07-03 Thread Andy Walls
On Sun, 2010-06-27 at 23:34 -0400, Jarod Wilson wrote: On Sun, Jun 27, 2010 at 7:17 PM, Andy Walls awa...@md.metrocast.net wrote: Mauro and Jarrod, When ir_register_input() fails, it doesn't indicate whether or not it was able to register the input_dev or not. To me it looks like it can

Re: [PATCH] VIDEO: ivtvfb, remove unneeded NULL test

2010-07-03 Thread Andy Walls
earlier than the test. Signed-off-by: Jiri Slaby jsl...@suse.cz Cc: Andy Walls awa...@md.metrocast.net Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: Tejun Heo t...@kernel.org Cc: Ian Armstrong i...@iarmst.demon.co.uk Cc: ivtv-de...@ivtvdriver.org Cc: linux-media@vger.kernel.org

Re: [PATCH 5/8] ir-core: partially convert bt8xx to not use ir-functions.c

2010-06-27 Thread Andy Walls
On Sun, 2010-06-27 at 09:11 -0300, Mauro Carvalho Chehab wrote: Em 07-06-2010 16:32, David Härdeman escreveu: Partially convert drivers/media/video/bt8xx/bttv-input.c to not use ir-functions.c. Since the last user is gone with this patch, also remove a bunch of code from

Re: [PATCH 5/8] ir-core: partially convert bt8xx to not use ir-functions.c

2010-06-27 Thread Andy Walls
On Sun, 2010-06-27 at 16:17 -0400, Jarod Wilson wrote: On Sun, Jun 27, 2010 at 8:11 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 07-06-2010 16:32, David Härdeman escreveu: Partially convert drivers/media/video/bt8xx/bttv-input.c to not use ir-functions.c. Since the last user

MCEUSB memory leak and how to tell if ir_register_input() failure registered input_dev?

2010-06-27 Thread Andy Walls
Jarrod, Looking at the patches branch from your WIP git tree: Is mceusb_init_input_dev() supposed to allocate a struct ir_input_dev? It looks like ir_register_input() handles that, and it is trashing your pointer (memory leak). Mauro and Jarrod, When ir_register_input() fails, it doesn't

[GIT FIXES for 2.6.35] cx23885: Convert to use new in kernel IR decoders

2010-06-27 Thread Andy Walls
The following changes since commit bf12d8720a7a5827b586d6102ffa9e087f193920: Jarod Wilson (1): IR/mceusb: give device a moment after issuing reset cmd are available in the git repository at: ssh://linuxtv.org/git/awalls/v4l-dvb.git wilson-ir Andy Walls (2): cx23885: Convert

Re: [git:v4l-dvb/ivtv] V4L/DVB: tda18271: fix error detection during initialization of first instance

2010-06-26 Thread Andy Walls
On Sat, 2010-06-26 at 14:51 +0200, Mauro Carvalho Chehab wrote: This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-dvb.git tree: Subject: V4L/DVB: tda18271: fix error detection during initialization of first

Re: V4L VLC 1.0.6 and standard selection

2010-06-26 Thread Andy Walls
On Tue, 2010-06-22 at 22:07 -0700, manunc wrote: I am trying to catch my tuner card signal by using vlc and v4l Under Fedora 12: vlc-1.0.6-1.fc12.i686 vlc-core-1.0.6-1.fc12.i686 libv4l-0.6.4-1.fc12.i686 xorg-x11-drv-v4l-0.2.0-3.fc12.1.i686 v4l2-tool-1.0.3-5.fc12.i686 By using the

Re: [PATCH 3/4] ir-core: move decoding state to ir_raw_event_ctrl

2010-06-21 Thread Andy Walls
On Sun, 2010-06-20 at 23:51 -0400, Jarod Wilson wrote: On Sun, Jun 20, 2010 at 8:47 PM, Andy Walls awa...@md.metrocast.net wrote: As for the building your own kernel thing... I've been doing my work mainly on a pair of x86_64 systems, one a ThinkPad T61 running Fedora 13, and the other an HP

[GIT FIXES for 2.6.35] ivtv: Ensure decoder always restarts with a blank screen

2010-06-20 Thread Andy Walls
Mauro, Please pull this small fix for ivtv. Thanks go to Martin Dauskardt and Ian Armstrong for the experimentation and testing, and Ian for the patch. The following changes since commit 41c5f984b67b331064e69acc9fca5e99bf73d400: Mauro Carvalho Chehab (1): Merge tag 'v2.6.35-rc2' into

Re: [PATCH 3/4] ir-core: move decoding state to ir_raw_event_ctrl

2010-06-17 Thread Andy Walls
On Wed, 2010-06-16 at 16:41 -0400, Jarod Wilson wrote: On Wed, Jun 16, 2010 at 4:04 PM, Jarod Wilson ja...@wilsonet.com wrote: ... I have another suggestion, let's keep the client register/unregister callbacks for decoders (but add a comment that they're only used for lirc). Then teach

[GIT FIXES for 2.6.34] tuner, tveeprom: Add the Philips FQ1236 MK5/TCL M30WTP-4N-E for eeprom tuner index 168

2010-06-17 Thread Andy Walls
Glenn yrral.gl...@gmail.com Regards, Andy The following changes since commit 41c5f984b67b331064e69acc9fca5e99bf73d400: Mauro Carvalho Chehab (1): Merge tag 'v2.6.35-rc2' into HEAD are available in the git repository at: ssh://linuxtv.org/git/awalls/v4l-dvb.git cx18tuner Andy Walls (3

Re: Kernel oops with new IR modules

2010-06-14 Thread Andy Walls
On Sun, 2010-06-13 at 19:55 -0700, Timothy D. Lenz wrote: I tried to build new drivers from v4l hg for 06/08/10 and when I tried to load drivers I got a kernel oops. Kernel is 2.6.34 64bit for amd cpu http://pastebin.com/7KwJtFJg See:

[GIT PATCHES for 2.6.36] ivtv: Firmware debugging and reloading

2010-06-12 Thread Andy Walls
41c5f984b67b331064e69acc9fca5e99bf73d400: Mauro Carvalho Chehab (1): Merge tag 'v2.6.35-rc2' into HEAD are available in the git repository at: ssh://linuxtv.org/git/awalls/v4l-dvb.git ivtvfw Andy Walls (1): ivtv: Increment driver version due to firmware loading changes Ian Armstrong (2

Re: Version 2: Tentative agenda for Helsinki mini-summit

2010-06-06 Thread Andy Walls
On Sun, 2010-06-06 at 15:15 +0200, Hans Verkuil wrote: We are also completely full. The substantial interest in this summit shows how active the v4l community is, in particular in the area of embedded systems. It does look interesting. Sorry I'll have to miss it. Regards, Andy -- To

Re: [PATCH 1/3] IR: add core lirc device interface

2010-06-05 Thread Andy Walls
On Fri, 2010-06-04 at 14:57 -0400, Jon Smirl wrote: On Fri, Jun 4, 2010 at 2:38 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 04-06-2010 12:51, Christoph Bartelmus escreveu: Hi Mauro, on 04 Jun 10 at 01:10, Mauro Carvalho Chehab wrote: Em 03-06-2010 19:06, Jarod Wilson

Re: question about v4l2_subdev

2010-06-04 Thread Andy Walls
On Tue, 2010-06-01 at 10:14 +0200, Sedji Gaouaou wrote: Hi, 1. Something first should call v4l2_device_register() on a v4l2_device object. (Typically there is only one v4l2_device object per bridge chip between the PCI, PCIe, or USB bus and the subdevices, even if that bridge chip

Re: ir-core multi-protocol decode and mceusb

2010-05-31 Thread Andy Walls
, Andy Walls awa...@md.metrocast.net wrote: ... We do have the option to disable all but the relevant protocol handler on a per-device basis though, if that's a problem. Hrm, the key tables also have a protocol tied to them, not sure if that's taken into account when doing matching

Re: SPCA1527A/SPCA1528 (micro)SD camera in webcam mode

2010-05-31 Thread Andy Walls
On Mon, 2010-05-31 at 09:19 +0200, Jean-Francois Moine wrote: On Mon, 31 May 2010 00:03:10 +0200 Ondrej Zary li...@rainbow-software.org wrote: I would try extracting a JPEG header from one of the files captured by the camera in stand alone mode (either a JPEG still or MJPEG file), and

Re: question about v4l2_subdev

2010-05-31 Thread Andy Walls
On Mon, 2010-05-31 at 17:38 +0200, Sedji Gaouaou wrote: Hi, I am currently working on the atmel video driver, and I am facing a issue. I have written a driver for the ov2640 omnivison sensor(enclosed). In the ov2640 driver I am using the v4l2_subdev API. The point is I don't how how can I

Re: 2.6.35-rc1 fails to boot: OOPS in ir_register_class

2010-05-31 Thread Andy Walls
On Mon, 2010-05-31 at 07:25 +0200, Torsten Kaiser wrote: Trying to boot the new -rc1 it fails with the following OOPS: [3.454804] IR NEC protocol handler initialized [3.461310] IR RC5(x) protocol handler initialized [3.467865] IR RC6 protocol handler initialized [3.474070] IR

Re: ir-core multi-protocol decode and mceusb

2010-05-31 Thread Andy Walls
On Mon, 2010-05-31 at 16:06 -0300, Mauro Carvalho Chehab wrote: Hi Andy, Em 31-05-2010 09:15, Andy Walls escreveu: I've now got an ir-lirc-codec bridge passing data over to a completely unmodified lirc_dev, with the data then making its way out to the lircd userspace where its even

Re: ir-core multi-protocol decode and mceusb

2010-05-31 Thread Andy Walls
On Mon, 2010-05-31 at 17:58 -0300, Mauro Carvalho Chehab wrote: Em 31-05-2010 16:38, Andy Walls escreveu: On Mon, 2010-05-31 at 16:06 -0300, Mauro Carvalho Chehab wrote: Hi Andy, Em 31-05-2010 09:15, Andy Walls escreveu: I've now got an ir-lirc-codec bridge passing data over

Re: PROBLEM: 2.6.34-rc7 kernel panics BUG: unable to handle kernel NULL pointer dereference at (null) while channel scan running

2010-05-31 Thread Andy Walls
On Sun, 2010-05-30 at 12:33 +0200, Silamael wrote: Hi there, When i try to scan for available DBV-S channels kernel panics: BUG: unable to handle kernel NULL pointer dereference at (null) I'm trying to setup a TV box. Contains an Intel Atom N270 CPU, 2GB RAM, 1 TB SATA Hard-Drive.

Re: SPCA1527A/SPCA1528 (micro)SD camera in webcam mode

2010-05-30 Thread Andy Walls
On Sun, 2010-05-30 at 13:34 +0200, Jean-Francois Moine wrote: On Sat, 29 May 2010 21:32:07 +0200 Ondrej Zary li...@rainbow-software.org wrote: The Color Space/Compression reported by the driver is only one: RGB 24 The driver also uses these files which may (or may not) be related to used

Re: SPCA1527A/SPCA1528 (micro)SD camera in webcam mode

2010-05-30 Thread Andy Walls
On Sun, 2010-05-30 at 19:55 +0200, Ondrej Zary wrote: On Sunday 30 May 2010 13:34:55 Jean-Francois Moine wrote: On Sat, 29 May 2010 21:32:07 +0200 Ondrej Zary li...@rainbow-software.org wrote: The Color Space/Compression reported by the driver is only one: RGB 24 The driver also uses

Re: SPCA1527A/SPCA1528 (micro)SD camera in webcam mode

2010-05-30 Thread Andy Walls
On Sun, 2010-05-30 at 23:28 +0200, Ondrej Zary wrote: On Sunday 30 May 2010 21:26:14 Andy Walls wrote: On Sun, 2010-05-30 at 19:55 +0200, Ondrej Zary wrote: On Sunday 30 May 2010 13:34:55 Jean-Francois Moine wrote: SP54 is Sunplus' ( http://www.sunplus.com.tw/ ) FourCC code

Re: SPCA1527A/SPCA1528 (micro)SD camera in webcam mode

2010-05-30 Thread Andy Walls
On Sun, 2010-05-30 at 20:13 +0200, Jean-Francois Moine wrote: On Sun, 30 May 2010 19:55:22 +0200 Ondrej Zary li...@rainbow-software.org wrote: That's bad... The driver contains file sp5x_32.dll which is registered in system.ini file as [drivers32] VIDC.SP54=SP5X_32.DLL Seems

Re: ir-core multi-protocol decode and mceusb

2010-05-29 Thread Andy Walls
On Fri, 2010-05-28 at 00:47 -0400, Jarod Wilson wrote: So I'm inching closer to a viable mceusb driver submission -- both a first-gen and a third-gen transceiver are now working perfectly with multiple different mce remotes. However, that's only when I make sure the mceusb driver is loaded

Re: ir-core multi-protocol decode and mceusb

2010-05-29 Thread Andy Walls
On Sat, 2010-05-29 at 12:58 -0400, Jarod Wilson wrote: On Sat, May 29, 2010 at 8:39 AM, Andy Walls awa...@md.metrocast.net wrote: On Fri, 2010-05-28 at 00:47 -0400, Jarod Wilson wrote: So I'm inching closer to a viable mceusb driver submission -- both a first-gen and a third-gen transceiver

Re: [RFC] Memory allocation requirements, videobuf integration, pluggable allocators

2010-05-27 Thread Andy Walls
On Tue, 2010-05-25 at 14:33 +0200, Pawel Osciak wrote: Hello, this RFC concerns video buffer allocation in videobuf, as well as in V4L in general. Its main purpose is to discuss issues, gather comments and specific requirements, proposals and ideas for allocation mechanisms from

Q: Setting up a GIT repository on linuxtv.org

2010-05-23 Thread Andy Walls
Hi, I'm a GIT idiot, so I need a little help on getting a properly setup repo at linuxtv.org. Can someone tell me if this is the right procedure: $ ssh -t awa...@linuxtv.org git-menu (clone linux-2.6.git naming it v4l-dvb -- Is this right?) $ git clone \

Re: Q: Setting up a GIT repository on linuxtv.org

2010-05-23 Thread Andy Walls
On Sun, 2010-05-23 at 15:35 -0300, Mauro Carvalho Chehab wrote: Andy Walls wrote: Hi, I'm a GIT idiot, so I need a little help on getting a properly setup repo at linuxtv.org. Can someone tell me if this is the right procedure: $ ssh -t awa...@linuxtv.org git-menu

[GIT PATCHES for 2.6.35] Update Andy Walls' email address

2010-05-23 Thread Andy Walls
The following changes since commit 3040547e3be04e635440ad899c71e63373c3: Mauro Carvalho Chehab (1): Merge branch 'staging/v4l1' into devel/for_v2.6.34 are available in the git repository at: ssh://linuxtv.org/git/awalls/v4l-dvb.git contact Andy Walls (1): cx18, cx23885

[HG PULL] http://linuxtv.org/hg/~awalls/ivtv-patches

2010-05-23 Thread Andy Walls
Mauro, Please pull from http://linuxtv.org/hg/~awalls/ivtv-patches for the following 4 changesets from Ian Armstrong: 01/04: cx2341x: Report correct temporal setting for log-status http://linuxtv.org/hg/~awalls/ivtv-patches?cmd=changeset;node=0149cf7faaaf 02/04: ivtvfb : Module load / unload

Re: VIDIOC_G_STD, VIDIOC_S_STD, VIDIO_C_ENUMSTD for outputs

2010-05-22 Thread Andy Walls
On Sat, 2010-05-22 at 15:06 +0100, Andre Draszik wrote: Hi, As per the spec, the above ioctl codes are defined for inputs only - it would be useful if there were similar codes for outputs. I therefore propose to add the following: VIDIOC_G_OUTPUT_STD VIDIOC_S_OUTPUT_STD

Re: Linux V4L2 support dual stream video capture device

2010-05-09 Thread Andy Walls
On Sat, 2010-05-08 at 02:20 +0800, Wang, Wen W wrote: Hi all, I'm wondering if V4L2 framework supports dual stream video capture device that transfer a preview stream and a regular stream (still capture or video capture) at the same time. Yes. At least for the ivtv and cx18 drivers,

Re: tuner XC5000 race condition??

2010-04-25 Thread Andy Walls
On Mon, 2010-04-26 at 10:44 +1000, Dmitri Belimov wrote: Hi Sometimes tuner XC5000 crashed on boot. This PC is dual-core. It can be race condition or multi-core depend problem. Add mutex for solve this problem is correct? Dmitri, This problem may be related to the firmware loading race

Re: Problem with cx25840 and Terratec Grabster AV400

2010-04-24 Thread Andy Walls
On Sat, 2010-04-24 at 22:54 +0200, Sven Barth wrote: It would be interesting to know why the v4l devs disabled the audio routing for cx2583x chips and whether it was intended that a cx25837 chip gets the same treatment as a e.g. cx25836. And those implications you're talking about is the

Re: [PATCH 00/15] ir-core: Several improvements to allow adding LIRC and decoder plugins

2010-04-23 Thread Andy Walls
On Fri, 2010-04-23 at 14:06 -0400, Jon Smirl wrote: On Fri, Apr 23, 2010 at 1:40 PM, Jarod Wilson ja...@wilsonet.com wrote: So now that I'm more or less done with porting the imon driver, I think I'm ready to start tackling the mceusb driver. But I'm debating on what approach to take with

Re: cx18: missing audio for analog recordings

2010-04-17 Thread Andy Walls
On Sat, 2010-04-17 at 08:09 -0400, Mark Lord wrote: On 17/04/10 12:43 AM, Andy Walls wrote: I had to disassemble and study some of the microcontorller firmware, and then reread some documents, to figure out how all the audio detection resets must work. I've just pushed some

Re: cx18: missing audio for analog recordings

2010-04-17 Thread Andy Walls
On Sat, 2010-04-17 at 09:01 -0400, Mark Lord wrote: On 17/04/10 08:09 AM, Mark Lord wrote: .. Mmm.. something is not right -- the audio is failing constantly with that change. Perhaps if I could dump out the registers, we might see what is wrong. .. When the microcontroller is reset,

Re: cx18: missing audio for analog recordings

2010-04-17 Thread Andy Walls
On Sat, 2010-04-17 at 08:18 -0400, Mark Lord wrote: On 16/04/10 08:59 AM, Andy Walls wrote: .. Accesses to those are orthognal to the rest of the cx18 driver, including the IRQ handler. (I agree, its hard to follow things in the driver; it's very large.) Do note, however

Re: cx18: missing audio for analog recordings

2010-04-16 Thread Andy Walls
On Thu, 2010-04-15 at 01:16 -0400, Mark Lord wrote: On 15/04/10 12:46 AM, Andy Walls wrote: On Wed, 2010-04-14 at 18:26 -0400, Mark Lord wrote: . Mmmm.. but it does do read-modify-write on several registers inside the IRQ handling. I suppose those might be safe groups, written to _only_

Re: cx18: missing audio for analog recordings

2010-04-16 Thread Andy Walls
On Wed, 2010-04-14 at 00:32 -0400, Mark Lord wrote: On 13/04/10 09:45 PM, Andy Walls wrote: The syslog shows the usual fallback messages, but the audio consisted of very loud static, the kind of noise one gets when the sample bits are all reversed. When in forced audio mode

Re: cx18: missing audio for analog recordings

2010-04-16 Thread Andy Walls
On Fri, 2010-04-16 at 09:15 -0400, Andy Walls wrote: Regards, Andy BTW, that's for all your testing. It's really helpful. ^^ That should be thanks. -Andy -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord

Re: make spec broken

2010-04-16 Thread Andy Walls
On Fri, 2010-04-16 at 21:58 -0400, Andy Walls wrote: In an hg clone of the v4l-dvb tree, make spec is broken: $ make spec make -C /home/andy/cx18dev/cx18-audio/v4l spec make[1]: Entering directory `/home/andy/cx18dev/cx18-audio/v4l' make -C ../media-specs make[2]: Entering directory `/home

Re: cx5000 default auto sleep mode

2010-04-14 Thread Andy Walls
On Wed, 2010-04-14 at 13:40 -0400, Devin Heitmueller wrote: On Wed, Apr 14, 2010 at 1:29 PM, Timothy D. Lenz tl...@vorgon.com wrote: Thanks to Andy Walls, found out why I kept loosing 1 tuner on a FusionHD7 Dual express. Didn't know linux supported an auto sleep mode on the tuner chips

Re: cx18: missing audio for analog recordings

2010-04-14 Thread Andy Walls
On Wed, 2010-04-14 at 18:26 -0400, Mark Lord wrote: On 14/04/10 12:32 AM, Mark Lord wrote: .. The syslog shows the usual fallback messages, but the audio consisted of very loud static, the kind of noise one gets when the sample bits are all reversed. While it was failing, I tried

Re: cx18: missing audio for analog recordings

2010-04-13 Thread Andy Walls
On Mon, 2010-04-12 at 22:34 -0400, Mark Lord wrote: On 12/04/10 10:30 PM, Mark Lord wrote: .. Mmm.. further to that: the problem went away as soon as I told it to tune to a different channel. No more fallbacks (for now). It can now even retune the original channel without fallbacks.

Re: cx18: missing audio for analog recordings

2010-04-13 Thread Andy Walls
On Tue, 2010-04-13 at 08:42 -0400, Mark Lord wrote: On 13/04/10 06:35 AM, Andy Walls wrote: On Mon, 2010-04-12 at 22:34 -0400, Mark Lord wrote: .. As soon as I quit from LiveTV, the next recording still needed a new fallback. So the chip is still in some weird state where auto-audio

Re: cx18: missing audio for analog recordings

2010-04-12 Thread Andy Walls
On Mon, 2010-04-12 at 16:08 -0400, Mark Lord wrote: On 11/04/10 03:01 PM, Andy Walls wrote: I would be interested in hearing how frequent these patches show forced audio standard for you: .. The MythTV box here has many tuners, most of which are not used every power-up

Re: cx18: missing audio for analog recordings

2010-04-11 Thread Andy Walls
On Sun, 2010-04-11 at 00:56 -0400, Andy Walls wrote: On Sat, 2010-04-10 at 23:21 -0400, Mark Lord wrote: On 10/04/10 06:54 PM, Andy Walls wrote: Hmmm. Darren's having problems (loss of video/black screen) with my patches under my cx18-audio repo, but I'm not quite convinced he doesn't

Re: cx18: missing audio for analog recordings

2010-04-11 Thread Andy Walls
On Sun, 2010-04-11 at 09:24 -0400, Mark Lord wrote: On 11/04/10 07:47 AM, Andy Walls wrote: On Sun, 2010-04-11 at 00:56 -0400, Andy Walls wrote: Try this: http://linuxtv.org/hg/~awalls/cx18-audio2 this waits 1.5 seconds after an input/channel change to see if the audio standard

Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 08:48 +0200, David Härdeman wrote: On Fri, Apr 09, 2010 at 11:00:41AM -0300, Mauro Carvalho Chehab wrote: struct { unsigned mark : 1; unsigned duration :31; } There's no memory spend at all: it will use just one unsigned int and it is clearly indicated

Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 09:10 -0300, Mauro Carvalho Chehab wrote: Andy Walls wrote: On Sat, 2010-04-10 at 08:48 +0200, David Härdeman wrote: On Fri, Apr 09, 2010 at 11:00:41AM -0300, Mauro Carvalho Chehab wrote: struct { unsigned mark : 1; unsigned duration :31; } There's

Re: [PATCH 08/26] V4L/DVB: Break Remote Controller keymaps into modules

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 13:06 -0300, Mauro Carvalho Chehab wrote: Andy Walls wrote: On Tue, 2010-04-06 at 15:18 -0300, Mauro Carvalho Chehab wrote: The original Remote Controller approach were very messy: a big file, that were part of ir-common kernel module, containing 64 different RC

Re: [PATCH 4/4] Add RC6 support to ir-core

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 21:52 +0200, David Härdeman wrote: On Fri, Apr 09, 2010 at 09:12:08PM -0400, Andy Walls wrote: On Fri, 2010-04-09 at 01:04 +0200, David Härdeman wrote: diff --git a/drivers/media/IR/ir-rc6-decoder.c b/drivers/media/IR/ir-rc6-decoder.c new file mode 100644

Re: cx18: missing audio for analog recordings

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 18:28 -0400, Mark Lord wrote: On 15/03/10 07:51 AM, Andy Walls wrote: On Sun, 2010-03-14 at 22:48 -0400, Mark Lord wrote: On 03/02/10 07:40, Andy Walls wrote: .. after updating to the tip of the v4l2-dvb git tree last week, I've been hitting the no audio on analog

Re: cx18: missing audio for analog recordings

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 18:54 -0400, Andy Walls wrote: On Sat, 2010-04-10 at 18:28 -0400, Mark Lord wrote: On 15/03/10 07:51 AM, Andy Walls wrote: On Sun, 2010-03-14 at 22:48 -0400, Mark Lord wrote: On 03/02/10 07:40, Andy Walls wrote: .. after updating to the tip of the v4l2-dvb git

Re: cx18: missing audio for analog recordings

2010-04-10 Thread Andy Walls
On Sat, 2010-04-10 at 23:21 -0400, Mark Lord wrote: On 10/04/10 06:54 PM, Andy Walls wrote: Hmmm. Darren's having problems (loss of video/black screen) with my patches under my cx18-audio repo, but I'm not quite convinced he doesn't have some other PCI bus problem either. Anyway, my

Re: [ivtv-devel] cx18: missing audio for analog recordings

2010-04-10 Thread Andy Walls
On Sun, 2010-04-11 at 00:56 -0400, Andy Walls wrote: On Sat, 2010-04-10 at 23:21 -0400, Mark Lord wrote: On 10/04/10 06:54 PM, Andy Walls wrote: Hmmm. Darren's having problems (loss of video/black screen) with my patches under my cx18-audio repo, but I'm not quite convinced he doesn't

Re: [RFC] What are the goals for the architecture of an in-kernel IR system?

2010-04-09 Thread Andy Walls
On Fri, 2010-04-09 at 08:21 +0100, James Hogan wrote: Hi, On Thursday 25 March 2010 14:42:33 Mauro Carvalho Chehab wrote: Comments? I haven't seen this mentioned yet, but are there any plans for a sysfs interface to set up waking from suspend/standby on a particular IR scancode (for

Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-09 Thread Andy Walls
On Thu, 2010-04-08 at 13:39 +0200, David Härdeman wrote: drivers/media/IR/ir-raw-event.c is currently written with the assumption that all raw hardware will generate events only on state change (i.e. when a pulse or space starts). However, some hardware (like mceusb, probably the most

Found NEC IR specification in NEC uPD6122 datasheet (Re: [RFC3] Teach drivers/media/IR/ir-raw-event.c to use durations)

2010-04-09 Thread Andy Walls
On Fri, 2010-04-09 at 11:00 -0300, Mauro Carvalho Chehab wrote: Jon Smirl wrote: #define NEC_NBITS32 -#define NEC_UNIT 559979 /* ns */ -#define NEC_HEADER_MARK (16 * NEC_UNIT) -#define NEC_HEADER_SPACE (8 * NEC_UNIT) -#define NEC_REPEAT_SPACE

Re: [PATCH] V4L/DVB: saa7146: IRQF_DISABLED causes only trouble

2010-04-09 Thread Andy Walls
On Thu, 2010-04-08 at 12:05 +0200, Bjørn Mork wrote: Ehh, this is very embarrassing, but please disregard all my statements about a hanging system related to IRQF_DISABLED. It turns out that I've had a faulty SATA hard drive which probably have caused all these problems. I do not

Re: [PATCH] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-09 Thread Andy Walls
On Thu, 2010-04-08 at 18:10 +0200, David Härdeman wrote: With this patch: s64 int's are used to represent pulse/space durations in ns If performing divides on 64 bit numbers, please check to make sure your code compiles, links, and loads on a 32-bit system. We've had problems in the past in

Re: [RFC] What are the goals for the architecture of an in-kernel IR system?

2010-04-09 Thread Andy Walls
On Fri, 2010-04-09 at 17:55 -0400, Devin Heitmueller wrote: On Fri, Apr 9, 2010 at 9:01 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: [1] Basically, a keycode (like KEY_POWER) could be used to wake up the machine. So, by associating some scancode to KEY_POWER via ir-core, the driver

Re: [PATCH 4/4] Add RC6 support to ir-core

2010-04-09 Thread Andy Walls
On Fri, 2010-04-09 at 01:04 +0200, David Härdeman wrote: This patch adds an RC6 decoder (modes 0 and 6A) to ir-core. Signed-off-by: David Härdeman da...@hardeman.nu David, Overall, a nice job of implementing RC6 decoder logic. I have a few comments below (along with some of me reasoning to

Re: [PATCH] V4L/DVB: saa7146: IRQF_DISABLED causes only trouble

2010-04-07 Thread Andy Walls
On Mon, 2010-03-22 at 10:28 +0100, Bjørn Mork wrote: Andy Walls awa...@radix.net writes: On Sun, 2010-03-21 at 21:08 +0100, Bjørn Mork wrote: As discussed many times, e.g. in http://lkml.org/lkml/2007/7/26/401 mixing IRQF_DISABLED with IRQF_SHARED just doesn't make sense. Remove

Re: [RFC] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-07 Thread Andy Walls
On Tue, 2010-04-06 at 11:26 -0300, Mauro Carvalho Chehab wrote: Hi David, I won't comment every single bits of the change, since we're more interested on the conceptual aspects. -int ir_raw_event_store(struct input_dev *input_dev, enum raw_event_type type) Don't remove the

Re: [RFC2] Teach drivers/media/IR/ir-raw-event.c to use durations

2010-04-07 Thread Andy Walls
On Wed, 2010-04-07 at 22:18 +0200, David Härdeman wrote: drivers/media/IR/ir-raw-event.c is currently written with the assumption that all raw hardware will generate events only on state change (i.e. when a pulse or space starts). However, some hardware (like mceusb, probably the most

Re: RFC: exposing controls in sysfs

2010-04-06 Thread Andy Walls
On Tue, 2010-04-06 at 08:37 +0200, Hans Verkuil wrote: On Tuesday 06 April 2010 00:12:48 Hans Verkuil wrote: On Monday 05 April 2010 23:47:10 Hans Verkuil wrote: One thing that might be useful is to prefix the name with the control class name. E.g. hue becomes user_hue and audio_crc

Re: RFC: new V4L control framework

2010-04-05 Thread Andy Walls
On Mon, 2010-04-05 at 11:25 +0200, Hans Verkuil wrote: On Monday 05 April 2010 04:58:02 Andy Walls wrote: On Sun, 2010-04-04 at 17:41 +0200, Hans Verkuil wrote: 1. cx18 volume control: av_core subdev has a volume control (which the bridge driver currently reports as it's volume control

Re: [PATCH 04/15] V4L/DVB: ir-core: Add logic to decode IR protocols at the IR core

2010-04-04 Thread Andy Walls
On Sun, 2010-04-04 at 15:00 -0300, Mauro Carvalho Chehab wrote: Andy Walls wrote: And when you have time: A way to generate random IR glitches is with bright sunlight reflecting off of a basin of water that's surface is being disturbed to make waves. I have a better way: just let

Re: [PATCH 2/2] V4L/DVB: Use custom I2C probing function mechanism

2010-04-04 Thread Andy Walls
On Sun, 2010-04-04 at 16:14 +0200, Jean Delvare wrote: Now that i2c-core offers the possibility to provide custom probing function for I2C devices, let's make use of it. Signed-off-by: Jean Delvare kh...@linux-fr.org --- I wasn't too sure where to put the custom probe function: in each

<    2   3   4   5   6   7   8   9   10   11   >