Re: [PATCH] af9033: implement ber and ucb functions

2012-04-06 Thread Hans-Frieder Vogt
Am Mittwoch, 4. April 2012 schrieb Antti Palosaari: On 03.04.2012 23:59, Hans-Frieder Vogt wrote: af9033: implement read_ber and read_ucblocks functions. Signed-off-by: Hans-Frieder Vogthfv...@gmx.net For my quick test UCB counter seems to reset every query. That is violation of API.

RTL28XX driver

2012-04-06 Thread Thomas Mair
Hello everyone, i own a TerraTec Cinergy T Stick Black device, and was able to find a working driver for the device. It seems to be, that the driver was originally written by Realtek and has since been updated by different Developers to meet DVB API changes. I was wondering what would be the

Re: [PATCH] af9033: implement ber and ucb functions

2012-04-06 Thread Antti Palosaari
On 06.04.2012 11:34, Hans-Frieder Vogt wrote: Am Mittwoch, 4. April 2012 schrieb Antti Palosaari: On 03.04.2012 23:59, Hans-Frieder Vogt wrote: af9033: implement read_ber and read_ucblocks functions. Signed-off-by: Hans-Frieder Vogthfv...@gmx.net For my quick test UCB counter seems to reset

Re: RTL28XX driver

2012-04-06 Thread Antti Palosaari
On 06.04.2012 12:11, Thomas Mair wrote: i own a TerraTec Cinergy T Stick Black device, and was able to find a working driver for the device. It seems to be, that the driver was originally written by Realtek and has since been updated by different Developers to meet DVB API changes. I was

Re: [PATCH 3/5] tda18218: fix IF frequency for 7MHz bandwidth channels

2012-04-06 Thread Gianluca Gennari
Il 04/04/2012 15:27, Antti Palosaari ha scritto: IF frequency is frequency used between tuner and demodulator. Thus it should be same for the tuner, it is sender Tx, and for demodulator which receives it. As you can guess it is like radio channel, it will work if it is a little bit wrong but

DVB ioctl FE_GET_EVENT behaviour broken in 3.3

2012-04-06 Thread Chris Rankin
The reason that DVB playback with xine is broken in 3.3 is that the userspace semantics of FE_GET_EVENT have changed. Xine tunes into a DVB channel as follows: * discards stale frontend events by calling FE_GET_EVENT until there is none left. * calls FE_SET_FRONTEND with the new frequency. *

Re: [GIT PULL FOR 3.5] AF9035/AF9033/TUA9001 = TerraTec Cinergy T Stick [0ccd:0093]

2012-04-06 Thread Antti Palosaari
PULL-request update. On 30.03.2012 15:33, Antti Palosaari wrote: Terve Mauro and all the other hackers, I did some massive rewrite for my old AF9035/AF9033 driver that was never merged. Anyhow, here it is. New drivers here are: Infineon TUA 9001 silicon tuner driver Afatech AF9033 DVB-T

Re: DVB ioctl FE_GET_EVENT behaviour broken in 3.3

2012-04-06 Thread Antti Palosaari
On 06.04.2012 13:49, Chris Rankin wrote: The reason that DVB playback with xine is broken in 3.3 is that the userspace semantics of FE_GET_EVENT have changed. Xine tunes into a DVB channel as follows: * discards stale frontend events by calling FE_GET_EVENT until there is none left. * calls

AF9035/AF9033 development

2012-04-06 Thread Antti Palosaari
Here is TODO list I took from mail I wrote 31.3.2012: * fix af9033 IF freq control (now Zero-IF only) DONE * change firmware download to use new firmware syntax DONE * dual tuner support * check if IT9035 is enough similar (My personal suspicion is that integrated tuner is only main

Re: DVB ioctl FE_GET_EVENT behaviour broken in 3.3

2012-04-06 Thread Chris Rankin
Before LOCK you cannot know many parameters at all and frequency also can be changed a little bit during tuning process (ZigZag tuning algo). But surely the point of calling poll() on the front end's descriptor is either to be notified once the tuning algorithm has locked, or to be told that

Re: [PATCH 02/11] Documentation: media: description of DMABUF importing in V4L2

2012-04-06 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Thursday 05 April 2012 15:59:59 Tomasz Stanislawski wrote: This patch adds description and usage examples for importing DMABUF file descriptor in V4L2. [snip] diff --git a/Documentation/DocBook/media/v4l/io.xml b/Documentation/DocBook/media/v4l/io.xml

Re: [PATCH 03/11] v4l: vb2: add support for shared buffer (dma_buf)

2012-04-06 Thread Laurent Pinchart
Hi Tomasz, On Thursday 05 April 2012 16:00:00 Tomasz Stanislawski wrote: From: Sumit Semwal sumit.sem...@ti.com This patch adds support for DMABUF memory type in videobuf2. It calls relevant APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations. For this version, the support is for

[PATCH 1/2] [media] v4l2-ctrls: fix integer overflow in v4l2_g_ext_ctrls()

2012-04-06 Thread Xi Wang
A large cs-count from userspace may overflow the allocation size, leading to memory corruption. v4l2_g_ext_ctrls() can be reached from subdev_do_ioctl() or __video_do_ioctl(). Use kmalloc_array() to avoid the overflow. Signed-off-by: Xi Wang xi.w...@gmail.com ---

[PATCH 2/2] [media] v4l2-ctrls: fix integer overflow in try_set_ext_ctrls()

2012-04-06 Thread Xi Wang
A large cs-count from userspace may overflow the allocation size, leading to memory corruption. try_set_ext_ctrls() can be reached from subdev_do_ioctl() or __video_do_ioctl(). Use kmalloc_array() to avoid the overflow. Signed-off-by: Xi Wang xi.w...@gmail.com ---

Re: [PATCH 09/11] v4l: vb2: add prepare/finish callbacks to allocators

2012-04-06 Thread Laurent Pinchart
Hi Tomasz, On Thursday 05 April 2012 16:00:06 Tomasz Stanislawski wrote: From: Marek Szyprowski m.szyprow...@samsung.com This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski

Re: DVB ioctl FE_GET_EVENT behaviour broken in 3.3

2012-04-06 Thread Chris Rankin
The problem is that the following line was deleted from the FE_SET_FRONTEND ioctl logic: fepriv-parameters_out = fepriv-parameters_in; The following dirty little patch restores the correct behaviour: --- dvb_frontend.c.orig 2012-04-06 13:28:43.0 +0100 +++ dvb_frontend.c

Re: [PATCH 08/11] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-04-06 Thread Laurent Pinchart
Hi Tomasz, On Thursday 05 April 2012 16:00:05 Tomasz Stanislawski wrote: From: Andrzej Pietrasiewicz andrze...@samsung.com This patch introduces usage of dma_map_sg to map memory behind a userspace pointer to a device as dma-contiguous mapping. Signed-off-by: Andrzej Pietrasiewicz

Re: [PATCH 11/11] v4l: vb2: Add dma-contig allocator as dma_buf user

2012-04-06 Thread Laurent Pinchart
Hi Tomasz, On Thursday 05 April 2012 16:00:08 Tomasz Stanislawski wrote: From: Sumit Semwal sumit.sem...@ti.com This patch makes changes for adding dma-contig as a dma_buf user. It provides function implementations for the {attach, detach, map, unmap}_dmabuf() mem_ops of DMABUF memory type.

stk webcam driver needs DMI upside down table

2012-04-06 Thread Gregor Jasny
Hello, I recently received a webcam upside down report from a ASUS Z96Fm owner. Usually we add the USB id and DMI information to the libv4l upside down table. Except for webcam drivers that can flip images in hardware. By looking at stk-webcam.c I see both, a hflip anf vflip parameter. Some

cron job: media_tree daily build: WARNINGS

2012-04-06 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Fri Apr 6 19:00:20 CEST 2012 git hash:296da3cd14db9eb5606924962b2956c9c656dbb0 gcc version: i686-linux-gcc

Re: AF9035/AF9033 development

2012-04-06 Thread Antti Palosaari
On 06.04.2012 15:02, Antti Palosaari wrote: Here is TODO list I took from mail I wrote 31.3.2012: * fix af9033 IF freq control (now Zero-IF only) DONE * change firmware download to use new firmware syntax DONE * dual tuner support * check if IT9035 is enough similar (My personal suspicion is

[REGRESSION] Linux 3.3 DVB userspace ABI broken for xine (FE_SET_FRONTEND)

2012-04-06 Thread Chris Rankin
Hi, The following commit has broken the DVB ABI for xine: http://git.linuxtv.org/linux-2.6.git/commitdiff/e399ce77e6e8f0ff2e0b8ef808cbb88fc824c610 author: Mauro Carvalho Chehab mche...@redhat.com Sun, 1 Jan 2012 19:11:16 + (16:11 -0300) committer: Mauro Carvalho Chehab mche...@redhat.com

[PATCH] Linux 3.3 DVB userspace ABI broken for xine (FE_SET_FRONTEND)

2012-04-06 Thread Chris Rankin
In fact, the following patch works for me. Signed-off-by: Chris Rankin ranki...@yahoo.com --- linux-3.3/drivers/media/dvb/dvb-core/dvb_frontend.c.orig 2012-04-06 20:16:02.0 +0100 +++ linux-3.3/drivers/media/dvb/dvb-core/dvb_frontend.c 2012-04-06 21:17:38.0 +0100 @@ -1831,6

[PATCH v2] Linux 3.3 DVB userspace ABI broken for xine (FE_SET_FRONTEND)

2012-04-06 Thread Chris Rankin
I've had a closer look at the commit which caused the regression and it looks like there were two places where fepriv-parameters_in was assigned to fepriv-parameters_out. So I've updated my patch accordingly. Cheers, Chris Signed-off-by: Chris Rankin ranki...@yahoo.com ---

DVB-T USB Stick Pinnacle PCTV

2012-04-06 Thread Michael Hagner
Hello, I' ve tried to install the above mentioned USB-device, but the system doesn't work e.g. the device hasn't been recognized from the system. Kubuntu 10.10 Kernel ...35.28 Do you have some information to solve that problem ? I believe, that's the USB portmaybe I've to use the