Re: [patch][saa7134] do not change mute state for capturing audio

2011-07-18 Thread Stas Sergeev
19.07.2011 03:16, Lennart Poettering wrote: ALSA doesn't really have a enumeration API which would allow us to get device properties without opening and configuring a device. In fact, we can't even figure out whether a device may be opened in duplex or simplex without opening it. And that's w

Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-18 Thread Luiz Ramos
Hello, Jean-François, I downloaded the tarball you recommended, compiled it and it works nicely. The original problem also happened with this package. Playing around with reg17 at some points, and looking the code before the commit of 2010-12-21, I could manage to work around the problem. Only

Re: [PATCH] add support for the dvb-t part of CT-3650 v3

2011-07-18 Thread Antti Palosaari
On 07/19/2011 02:00 AM, Jose Alberto Reguero wrote: On Lunes, 18 de Julio de 2011 22:28:41 Antti Palosaari escribió: Hello I did some review for this since I was interested of adding MFE for Anysee driver which is rather similar (dvb-usb-framework). I found this patch have rather major issue(s)

Re: [patch][saa7134] do not change mute state for capturing audio

2011-07-18 Thread Lennart Poettering
Heya, On 17.07.2011 13:51, Mauro Carvalho Chehab wrote: If pulseaudio is starting sound capture at startup, then it is either a pulseaudio miss-configuration or a bug there. I fail to understand why pulseaudio would start capturing sound from a V4L audio at startup. I think that this is not th

Re: [PATCH] add support for the dvb-t part of CT-3650 v3

2011-07-18 Thread Jose Alberto Reguero
On Lunes, 18 de Julio de 2011 22:28:41 Antti Palosaari escribió: > Hello > I did some review for this since I was interested of adding MFE for > Anysee driver which is rather similar (dvb-usb-framework). > > I found this patch have rather major issue(s) which should be fixed > properly. > > * it

Re: [PATCH] [media] imon: don't submit urb before rc_dev set up

2011-07-18 Thread Chris W
On 19/07/11 02:46, Jarod Wilson wrote: > The interface 0 urb callback was being wired up before the rc_dev device > was allocated, meaning the callback could be called with a null rc_dev, > leading to an oops. This likely only ever happens on the older 0xffdc > SoundGraph devices, which continually

Re: [PATCH] add support for the dvb-t part of CT-3650 v3

2011-07-18 Thread Michael Krufky
MFE really needs to be implemented in the dvb-usb framework itself. I had started to work on this some time ago but had to stop working on it due to lack of time, and the fact that there was no public driver that I could use as a poster-child for the new functionality. In the end, rather than impl

Re: [PATCH] add support for the dvb-t part of CT-3650 v3

2011-07-18 Thread Antti Palosaari
Hello I did some review for this since I was interested of adding MFE for Anysee driver which is rather similar (dvb-usb-framework). I found this patch have rather major issue(s) which should be fixed properly. * it does not compile drivers/media/dvb/dvb-usb/dvb-usb.h:24:21: fatal error: dvb

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 drivers conversion? to media controller API

2011-07-18 Thread Sylwester Nawrocki
Sakari Ailus wrote: >On Fri, Jul 15, 2011 at 09:36:50PM +0300, Sylwester Nawrocki wrote: >> Hi Sakari, >> >> thanks for your comments. > >Hi Sylwester, > >You're welcome. :-) > >> Sakari Ailus wrote: >> >> T>On Thu, Jul 14, 2011 at 10:07:03PM +0300, Sylwester Nawrocki wrote: >> >> Hi Mauro, >>

[PATCH v2 9/9] [media] mceusb: update version, copyright, author

2011-07-18 Thread Jarod Wilson
Add note about recent updates coming from Microsoft's publicly available specs on Windows Media Center remotes and receivers/transmitters. Signed-off-by: Jarod Wilson --- drivers/media/rc/mceusb.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc

[PATCH v2 8/9] [media] mceusb: report actual tx frequencies

2011-07-18 Thread Jarod Wilson
Rather than dumping out hex values, lets print the actual calculated frequency and period the hardware has been configured for. After this change: [ 2643.276215] mceusb 3-1:1.0: tx data: 9f 07 (length=2) [ 2643.276218] mceusb 3-1:1.0: Get carrier mode and freq [ 2643.277206] mceusb 3-1:1.0: rx dat

[PATCH v2 7/9] [media] mceusb: flash LED (emu v2+ only) to signal end of init

2011-07-18 Thread Jarod Wilson
v2: rebase for mdelay->msleep changes and tx fix Signed-off-by: Jarod Wilson --- drivers/media/rc/mceusb.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index 9e71aef..160409e 100644 --- a/drivers/medi

[PATCH v2 6/9] [media] mceusb: get misc port data from hardware

2011-07-18 Thread Jarod Wilson
According to the specs, you can read the number of tx ports, number of rx sensors, which tx ports have cables plugged into them, and which rx sensors are active. In practice, most of my devices do seem to report sane values for tx ports and rx sensors (but not all -- one without any tx ports report

[PATCH v2 5/9] [media] mceusb: query device for firmware emulator version

2011-07-18 Thread Jarod Wilson
Supposedly, there are essentially three different classes of devices that are compatible with Microsoft's specs. First are the "legacy" devices, which are built using Microsoft-provided hardware specs and firmware. Second are "emulator" devices, which are built using custom hardware and firmware, w

[PATCH v2 4/9] [media] mceusb: issue device resume cmd when needed

2011-07-18 Thread Jarod Wilson
According to MS docs, the device firmware may halt after receiving an unknown instruction, but that it should be possible to tell the firmware to continue running by simply sending a device resume command. So lets do that. v2: use msleep instead of mdelay per Mauro's suggestion Signed-off-by: Jar

[PATCH v2 3/9] [media] mceusb: set wakeup bits for IR-based resume

2011-07-18 Thread Jarod Wilson
Its not uncommon for folks to force these bits enabled, because people do want to wake their htpc kit via their remote. Lets just set the bits for 'em. v2: rebase for mdelay->msleep changes Signed-off-by: Jarod Wilson --- drivers/media/rc/mceusb.c |5 + 1 files changed, 5 insertions(+),

[PATCH v2 2/9] [media] mceusb: give hardware time to reply to cmds

2011-07-18 Thread Jarod Wilson
Sometimes the init routine is blasting commands out to the hardware faster than it can reply. Throw a brief delay in there to give the hardware a chance to reply before we send the next command. v2: use msleep instead of mdelay per Mauro's suggestion Signed-off-by: Jarod Wilson --- drivers/medi

[PATCH v2 1/9] [media] mceusb: command/response updates from MS docs

2011-07-18 Thread Jarod Wilson
I was recently pointed to the document titled Windows-Media-Center-RC-IR-Collection-Green-Button-Specification-03-08-2011-V2.pdf which as of this writing, is publicly available from download.microsoft.com. It covers a LOT of the gaps in the mceusb driver, which to this point, was written almost ent

[PATCH v2 0/9] mceusb updates per MS docs

2011-07-18 Thread Jarod Wilson
This is a stack of updates made based on the Windows Media Center remote and receiver/transmitter specification and requirements document that Rafi Rubin recently pointed me at. Its titled Windows-Media-Center-RC-IR-Collection-Green-Button-Specification-03-08-2011-V2.pdf which as of this writing, i

[cron job] v4l-dvb daily build: ERRORS

2011-07-18 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:Mon Jul 18 19:00:35 CEST 2011 git hash:9bc5f6fa12c9e3e1e73e66bfabe9d463ea779b08 gcc version: i686-linux-gcc (GCC) 4.5

[GIT PULL for v3.1] OMAP_VOUT code cleanup

2011-07-18 Thread hvaibhav
Hi Mauro, The following changes since commit 5dcd07b9f39ca3e9be5bcc387d193fc0674e1c81: Linus Torvalds (1): Merge git://git.kernel.org/.../steve/gfs2-2.6-fixes are available in the git repository at: git://arago-project.org/git/people/vaibhav/ti-psp-omap-video.git for-linux-media Am

em28xx: new board id [eb1a:2881]

2011-07-18 Thread unknown unknown
Hi, I've made tests with my Hybrid TV Stick: Model: eMPIA Technology, Inc. EM2881 Video Controller Vendor/Product id: [eb1a:2881]. Tests made: - Analog [Module Load] (There is no Analog-TV at my Place, so I can't test) - DVB[Worked] Tested-by: unknown dot obvious at google

RE: [PATCH v2 3/3] V4l2: OMAP: VOUT: Minor Cleanup, removing the unnecessary code.

2011-07-18 Thread Hiremath, Vaibhav
> -Original Message- > From: JAIN, AMBER > Sent: Thursday, July 07, 2011 5:51 PM > To: linux-media@vger.kernel.org > Cc: Hiremath, Vaibhav; JAIN, AMBER; Nilofer, Samreen > Subject: [PATCH v2 3/3] V4l2: OMAP: VOUT: Minor Cleanup, removing the > unnecessary code. > > Minor changes to remove

RE: [PATCH v2 2/3] V4L2: OMAP: VOUT: dma map and unmap v4l2 buffers in qbuf and dqbuf

2011-07-18 Thread Hiremath, Vaibhav
> -Original Message- > From: JAIN, AMBER > Sent: Thursday, July 07, 2011 5:51 PM > To: linux-media@vger.kernel.org > Cc: Hiremath, Vaibhav; JAIN, AMBER > Subject: [PATCH v2 2/3] V4L2: OMAP: VOUT: dma map and unmap v4l2 buffers > in qbuf and dqbuf > > Add support to map the buffer using dm

Re: [PATCH 2/9] [media] mceusb: give hardware time to reply to cmds

2011-07-18 Thread Jarod Wilson
Jarod Wilson wrote: Mauro Carvalho Chehab wrote: Em 14-07-2011 19:09, Jarod Wilson escreveu: Sometimes the init routine is blasting commands out to the hardware faster than it can reply. Throw a brief delay in there to give the hardware a chance to reply before we send the next command. Signed

RE: [PATCH v2 1/3] V4L2: OMAP: VOUT: isr handling extended for DPI and HDMI interface

2011-07-18 Thread Hiremath, Vaibhav
> -Original Message- > From: JAIN, AMBER > Sent: Thursday, July 07, 2011 5:51 PM > To: linux-media@vger.kernel.org > Cc: Hiremath, Vaibhav; JAIN, AMBER > Subject: [PATCH v2 1/3] V4L2: OMAP: VOUT: isr handling extended for DPI > and HDMI interface > > Extending the omap vout isr handling f

Re: [PATCH 2/9] [media] mceusb: give hardware time to reply to cmds

2011-07-18 Thread Jarod Wilson
Mauro Carvalho Chehab wrote: Em 14-07-2011 19:09, Jarod Wilson escreveu: Sometimes the init routine is blasting commands out to the hardware faster than it can reply. Throw a brief delay in there to give the hardware a chance to reply before we send the next command. Signed-off-by: Jarod Wilson

[PATCH] [media] imon: don't submit urb before rc_dev set up

2011-07-18 Thread Jarod Wilson
The interface 0 urb callback was being wired up before the rc_dev device was allocated, meaning the callback could be called with a null rc_dev, leading to an oops. This likely only ever happens on the older 0xffdc SoundGraph devices, which continually trigger interrupts even when they have no vali

Re: Happuage HDPVR 0 byte files.

2011-07-18 Thread Jarod Wilson
Keep it on the mailing list, please. On Jul 18, 2011, at 10:58 AM, Greg Williamson wrote: > I'm using rca on the back. Audio input is set to 0. trying to change > it results in 'VIDIOC_S_AUDIO: failed: Resource temporarily > unavailable' Hm. Afriad I have no clue what's going on then, just know

Re: Imon module Oops and kernel hang

2011-07-18 Thread Jarod Wilson
On Jul 17, 2011, at 9:36 AM, Andy Walls wrote: > On Sun, 2011-07-17 at 11:38 +1000, Chris W wrote: >> On 17/07/11 10:43, Andy Walls wrote: >>> This is an obviously repeatable NULL pointer dereference in >>> rc_g_keycode_from_table(). The faulting line of code in both cases >>> disasembles to: >>>

Re: Happuage HDPVR 0 byte files.

2011-07-18 Thread Jarod Wilson
On Jul 18, 2011, at 6:49 AM, Greg Williamson wrote: > Hi, I'm on Archlinux running 2.6.39-ARCH. When I plug in my hdpvr I > see it registers. > > Here is the dmesg output: > [ 778.518866] hdpvr 1-3:1.0: firmware version 0x15 dated Jun 17 2010 09:26:53 > [ 778.704965] hdpvr 1-3:1.0: device now

[PATCH 16/34] drivers/media changes for SMBIOS and System Firmware

2011-07-18 Thread Prarit Bhargava
As part of the new SMBIOS and System Firmware code: - Replace old dmi* structures and functions with new sysfw* and smbios* structures and functions in individual drivers - cleanup sysfw_id lookup tables - cleanup of includes for dmi.h and mod_devicetable.h which were included in some files that d

[PATCH 34/34] Remove old DMI & SMBIOS code and make SMBIOS default on

2011-07-18 Thread Prarit Bhargava
This code has now been completely replaced by the new System Firmware Interface (SYSFW) and SMBIOS code. It is no longer needed in the kernel. Cc: linux-i...@vger.kernel.org Cc: x...@kernel.org Cc: linux-a...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: openipmi-develo...@lists.sourceforge.n

[PATCH 02/34] New SMBIOS driver for x86 and ia64.

2011-07-18 Thread Prarit Bhargava
This, along with the System Firmware (sysfw) interface replaces the existing DMI code in the kernel. This subsystem provides functionality for individual drivers to access the SMBIOS structures for their own use, smbios_walk(), as well as some helper functions for some kernel modules. Cc: linux-i

[PATCH 01/34] System Firmware Interface

2011-07-18 Thread Prarit Bhargava
This patch introduces a general System Firmware interface to the kernel, called sysfw. Inlcluded in this interface is the ability to search a standard set of fields, sysfw_lookup(). The fields are currently based upon the x86 and ia64 SMBIOS fields but exapandable to fields that other arches may

Happuage HDPVR 0 byte files.

2011-07-18 Thread Greg Williamson
Hi, I'm on Archlinux running 2.6.39-ARCH. When I plug in my hdpvr I see it registers. Here is the dmesg output: [ 778.518866] hdpvr 1-3:1.0: firmware version 0x15 dated Jun 17 2010 09:26:53 [ 778.704965] hdpvr 1-3:1.0: device now attached to video0 [ 778.705006] usbcore: registered new interf

[PATCH] capture-example: don't use bytesperline when allocating buffers

2011-07-18 Thread Michael Jones
This removes "buggy driver paranoia", which set sizeimage equal to at least width * height * 2. This was a false assumption when the pixel format only required 1 byte per pixel. Originally, the paranoia was in place to handle drivers which incorrectly set sizeimage=0, but these seem to have been fi

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 drivers conversion? to media controller API

2011-07-18 Thread Sakari Ailus
On Fri, Jul 15, 2011 at 09:36:50PM +0300, Sylwester Nawrocki wrote: > Hi Sakari, > > thanks for your comments. Hi Sylwester, You're welcome. :-) > Sakari Ailus wrote: > > T>On Thu, Jul 14, 2011 at 10:07:03PM +0300, Sylwester Nawrocki wrote: > >> Hi Mauro, > > > >Hi Sylwester and Mauro, > T> >

Re: [PATCH] v4l: mt9v032: Fix Bayer pattern

2011-07-18 Thread Laurent Pinchart
On Monday 18 July 2011 00:30:52 Guennadi Liakhovetski wrote: > On Mon, 18 Jul 2011, Laurent Pinchart wrote: > > On Monday 18 July 2011 00:14:21 Guennadi Liakhovetski wrote: > > > On Sun, 17 Jul 2011, Laurent Pinchart wrote: > > > > Hi Guennadi, > > > > > > > > On Saturday 16 July 2011 23:40:23 Gue

Re: [PATCH] v4l: mt9v032: Fix Bayer pattern

2011-07-18 Thread Sakari Ailus
On Sat, Jul 16, 2011 at 11:40:23PM +0200, Guennadi Liakhovetski wrote: > On Sat, 16 Jul 2011, Laurent Pinchart wrote: > > > Hi Guennadi, > > > > On Saturday 16 July 2011 01:11:28 Guennadi Liakhovetski wrote: > > > On Fri, 15 Jul 2011, Laurent Pinchart wrote: > > > > Compute crop rectangle boundar

[GIT PULL] NetUP Dual DVB-T/C CI RF card

2011-07-18 Thread Abylay Ospan
Hi Mauro, Please pull 3 changes from http://stand.netup.tv/gitweb/?p=linux-3.0-netup;a=summary Thanks! The following changes since commit f560f6697f17e2465c8845c09f3a483faef38275: Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (2011-07-17 12:49:55 -0700) are avail

RE: [PATCH 1/2] videobuf2: Add a non-coherent contiguous DMA mode

2011-07-18 Thread Marek Szyprowski
Hello, On Friday, July 15, 2011 4:30 PM Jonathan Corbet wrote: > Hi, Marek, > > Thanks for having a look. > > > > +static unsigned int vb2_dma_nc_num_users(void *vbuf) > > > +{ > > > + struct vb2_nc_buf *buf = vbuf; > > > + > > > + return atomic_read(&buf->refcount); > > > + /* Let's hope they