Re: [PATCHv2] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-05-17 Thread Gianluca Gennari
Il 17/05/2014 19:52, Martin Kepplinger ha scritto: > Am 2014-05-17 19:21, schrieb Antti Palosaari: >> On 05/17/2014 07:05 PM, Martin Kepplinger wrote: >>> don't reinvent dev_dbg(). remove dprintk() in as102_drv.c. >>> use the common kernel coding style. >>> >>> Signed-off-by: Martin Kepplinger >>

[PATCH] drx39xyj: fix 64 bit division on 32 bit arch

2014-03-11 Thread Gianluca Gennari
Fix this linker warning: WARNING: "__divdi3" [media_build/v4l/drx39xyj.ko] undefined! Signed-off-by: Gianluca Gennari --- drivers/media/dvb-frontends/drx39xyj/drxj.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c

Re: [REVIEW PATCH 00/86] SDR tree

2014-02-10 Thread Gianluca Gennari
Hi Hans, > First of all, would this work for a rtl2838 as well or is this really 2832u > specific? I've got a 2838... If it is 2832u specific, then do you know which > product has it? It would be useful for me to have a usb stick with which I can > test SDR. regarding this question, 2838 is just

Re: [PATCH] media/i2c: ths8200: fix build failure with gcc 4.5.4

2013-10-13 Thread Gianluca Gennari
Il 13/10/2013 13:16, Russell King - ARM Linux ha scritto: > On Sun, Oct 13, 2013 at 12:36:07PM +0200, Gianluca Gennari wrote: >> Il 13/10/2013 12:13, Russell King - ARM Linux ha scritto: >>> v3.12-rc fails to build with this error: >>> >>> drivers/media/i2c/ths8

Re: [PATCH] media/i2c: ths8200: fix build failure with gcc 4.5.4

2013-10-13 Thread Gianluca Gennari
Il 13/10/2013 12:13, Russell King - ARM Linux ha scritto: > v3.12-rc fails to build with this error: > > drivers/media/i2c/ths8200.c:49:2: error: unknown field 'bt' specified in > initializer > drivers/media/i2c/ths8200.c:50:3: error: field name not in record or union > initializer > drivers/med

[PATCH 4/4] ths8200: fix compilation with GCC < 4.4.6

2013-08-30 Thread Gianluca Gennari
Signed-off-by: Gianluca Gennari --- drivers/media/i2c/ths8200.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c index a58a8f6..d9f65d7 100644 --- a/drivers/media/i2c/ths8200.c +++ b/drivers/media/i2c

[PATCH 0/4] fix compilation issues with GCC < 4.4.6

2013-08-30 Thread Gianluca Gennari
eserved[0]') ... A proper comment was added as a remainder. The same issue applies to other drivers too: ths8200, adv7511, ad9389b. The present patch series fixes all of them. Best regards, Gianluca Gianluca Gennari (4): adv7842: fix compilation with GCC < 4.4.6 adv7511: fix compilati

[PATCH 3/4] ad9389b: fix compilation with GCC < 4.4.6

2013-08-30 Thread Gianluca Gennari
Signed-off-by: Gianluca Gennari --- drivers/media/i2c/ad9389b.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/media/i2c/ad9389b.c b/drivers/media/i2c/ad9389b.c index bb0c99d..b06a7e5 100644 --- a/drivers/media/i2c/ad9389b.c +++ b/drivers/media/i2c

[PATCH 2/4] adv7511: fix compilation with GCC < 4.4.6

2013-08-30 Thread Gianluca Gennari
Signed-off-by: Gianluca Gennari --- drivers/media/i2c/adv7511.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/media/i2c/adv7511.c b/drivers/media/i2c/adv7511.c index 7a57609..cc3880a 100644 --- a/drivers/media/i2c/adv7511.c +++ b/drivers/media/i2c

[PATCH 1/4] adv7842: fix compilation with GCC < 4.4.6

2013-08-30 Thread Gianluca Gennari
Signed-off-by: Gianluca Gennari --- drivers/media/i2c/adv7842.c | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index d174890..22f729d 100644 --- a/drivers/media/i2c/adv7842.c +++ b

[RFC PATCH] adv7842: fix compilation with GCC < 4.4.6

2013-08-30 Thread Gianluca Gennari
27;) ... Maybe the reserved space in struct v4l2_dv_timings_cap could be moved after the 'bt' field to avoid this? The same issue applies to other drivers too: ths8200, adv7511 and ad9389b. If the fix is approved, I can post a patch serie fixing all of them. Signed-off-by: Gianluca Gen

[PATCH] r820t: fix imr calibration

2013-06-06 Thread Gianluca Gennari
KHz to Hz is already correctly implemented. Signed-off-by: Gianluca Gennari --- drivers/media/tuners/r820t.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 4835021..b817110 100644 --- a/drivers/media/tuners

[PATCH v2] rtl28xxu: fix buffer overflow when probing Rafael Micro r820t tuner

2013-06-02 Thread Gianluca Gennari
As suggested by Antti, this patch replaces: https://patchwork.kernel.org/patch/2649861/ The buffer overflow is fixed by reading only the r820t ID register. Signed-off-by: Gianluca Gennari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

Re: [PATCH] rtl28xxu: fix buffer overflow when probing Rafael Micro r820t tuner

2013-06-02 Thread Gianluca Gennari
Il 02/06/2013 22:04, Antti Palosaari ha scritto: > On 06/02/2013 10:51 PM, Gianluca Gennari wrote: >> Il 02/06/2013 21:30, Antti Palosaari ha scritto: >>> On 06/02/2013 09:56 PM, Gianluca Gennari wrote: >>>> req_r820t wants a buffer with a size of 5 bytes, but the buf

Re: [PATCH] rtl28xxu: fix buffer overflow when probing Rafael Micro r820t tuner

2013-06-02 Thread Gianluca Gennari
Il 02/06/2013 21:30, Antti Palosaari ha scritto: > On 06/02/2013 09:56 PM, Gianluca Gennari wrote: >> req_r820t wants a buffer with a size of 5 bytes, but the buffer 'buf' >> has a size of 2 bytes. >> >> This patch fixes the kernel oops with the r820t driv

[PATCH] rtl28xxu: fix buffer overflow when probing Rafael Micro r820t tuner

2013-06-02 Thread Gianluca Gennari
the random stability issues reported by some user on the linux-media list. This patch and https://patchwork.kernel.org/patch/2524651/ should go in the next 3.10-rc release, as they fix potential kernel crashes. Signed-off-by: Gianluca Gennari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 +- 1 fi

Re: Support of RTL2832U+R820T

2013-05-17 Thread Gianluca Gennari
Il 17/05/2013 18:35, Karsten Malcher ha scritto: > Hello poma, > > Am 08.05.2013 04:18, schrieb poma: >> On 08.05.2013 01:12, Karsten Malcher wrote: >>> Hello, >>> >>> i want to ask how i can get the DVB-T RTL2832U with the new R820T Tuner >>> supported? >>> >>> First i found this GitHub that i co

Re: cron job: media_tree daily build: ERRORS

2013-05-10 Thread Gianluca Gennari
Il 10/05/2013 20:16, Hans Verkuil ha scritto: > 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 May 10 19:00:23 CEST 2013 > git branch: test > git hash

[PATCH] media_build: fix uvcvideo compilation for kernels 2.6.33 and 2.6.34

2013-05-10 Thread Gianluca Gennari
Patch v2.6.32_usb_ss_ep_comp.patch is needed also by kernels 2.6.33 and 2.6.34. Signed-off-by: Gianluca Gennari --- backports/backports.txt| 2 +- backports/v2.6.32_usb_ss_ep_comp.patch | 11 --- backports/v2.6.34_usb_ss_ep_comp.patch | 11 +++ 3 files changed

Re: rtl2832u+r820t dvb-t usb kernel crash

2013-05-06 Thread Gianluca Gennari
Il 06/05/2013 13:48, marco caminati ha scritto: > My thanks to Mauro for his work on this device. Eager to try it, I built > sources yesterday following directions on > > http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers > > My environment is Tinycore Lin

[PATCH 3/3] r820t: avoid potential memcpy buffer overflow in shadow_store()

2013-05-06 Thread Gianluca Gennari
The memcpy in shadow_store() could exceed buffer limits when r > 0. Signed-off-by: Gianluca Gennari --- drivers/media/tuners/r820t.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index d8fd16a..2d6d498 100

[PATCH 2/3] r820t: remove redundant initializations in r820t_attach()

2013-05-06 Thread Gianluca Gennari
fe->tuner_priv and fe->ops.tuner_ops are initialized twice in r820t_attach(). Remove the redundant initializations and also move fe->ops.tuner_ops initialization outside of the mutex lock (as in the xc4000 tuner code for example). Signed-off-by: Gianluca Gennari --- drivers/med

[PATCH 1/3] r820t: do not double-free fe->tuner_priv in r820t_release()

2013-05-06 Thread Gianluca Gennari
fe->tuner_priv is already freed by hybrid_tuner_release_state(). Signed-off-by: Gianluca Gennari --- drivers/media/tuners/r820t.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 2d6d498..0a5f96b 100644 --- a/drivers/me

[PATCH 0/3] r820t: fix several potential issues

2013-05-06 Thread Gianluca Gennari
3908] CR2: [ 155.703912] ---[ end trace 2ec0a657e95c8a33 ]--- At least the first patch should go in the next 3.10-rc, as it's a real issue. Best regards, Gianluca Gennari Gianluca Gennari (3): r820t: do not double-free fe->tuner_priv in r820t_release() r820t:

[PATCH] media_build: enable uvcvideo starting from kernel 2.6.32

2013-05-03 Thread Gianluca Gennari
-by: Gianluca Gennari --- v4l/versions.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v4l/versions.txt b/v4l/versions.txt index c541319..ea203b2 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -58,8 +58,6 @@ VIDEO_VIA_CAMERA [2.6.36

[PATCH] s5c73m3: fix indentation of the help section in Kconfig

2013-04-25 Thread Gianluca Gennari
cripts/kconfig/qconf ./Kconfig ./Kconfig:4985: unknown option "This" ./Kconfig:4986: unknown option "8" make[1]: *** [xconfig] Errore 1 Signed-off-by: Gianluca Gennari --- drivers/media/i2c/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

Re: cron job: media_tree daily build: ERRORS

2013-04-19 Thread Gianluca Gennari
Il 19/04/2013 10:36, Hans Verkuil ha scritto: > Sorry for the ongoing breakage. I expect to have time this weekend to fix it. > > Regards, > > Hans > -- Hi Hans, this should fix the current media_build breakage. Tested on Ubuntu 10.04 with kernel 2.6.32. Signed-off-by

Re: media-tree build is broken

2013-03-22 Thread Gianluca Gennari
Il 22/03/2013 10:25, Mauro Carvalho Chehab ha scritto: > Em Thu, 21 Mar 2013 19:16:55 +0100 > Frank Schäfer escreveu: > >> ... >> Kernel: arch/x86/boot/bzImage is ready (#2) >> ERROR: "__divdi3" [drivers/media/common/siano/smsdvb.ko] undefined! >> make[1]: *** [__modpost] Fehler 1 >> make: *** [

[PATCH] cx231xx: fix undefined function cx231xx_g_chip_ident()

2013-03-07 Thread Gianluca Gennari
: "cx231xx_g_chip_ident" [/home/jena/media_build/v4l/cx231xx.ko] undefined! Signed-off-by: Gianluca Gennari --- drivers/media/usb/cx231xx/cx231xx-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231

Re: af9035 test needed!

2013-02-09 Thread Gianluca Gennari
Il 31/01/2013 19:52, Antti Palosaari ha scritto: > Jose, Gianluca, > > On 01/31/2013 08:40 PM, Andre Heider wrote: >> Hey, >> >> On Thu, Jan 31, 2013 at 2:59 PM, Antti Palosaari wrote: On Fri, Jan 11, 2013 at 7:38 PM, Antti Palosaari wrote: > > Could you test that (tda18218 & mxl500

[PATCH] media_build: add PTR_RET to compat.h

2013-02-09 Thread Gianluca Gennari
PTR_RET is used by the solo6x10 staging driver, and was introduced in kernel 2.6.39. Add it to compat.h for compatibility with older kernels. Signed-off-by: Gianluca Gennari --- v4l/compat.h | 10 ++ v4l/scripts/make_config_compat.pl | 1 + 2 files changed, 11

Re: Bug report - em28xx

2013-01-29 Thread Gianluca Gennari
Il 29/01/2013 16:30, Olivier Subilia ha scritto: > Thanks for help. > > I must confess there are so many entries in menuconfig I can't find > where enabling em28xx is hidden (20 minutes searching in vain :-( . > Could you please help me ? > You can use 'make xconfig' and the Find command (ctrl-F

Re: Bug report - em28xx

2013-01-29 Thread Gianluca Gennari
Il 29/01/2013 15:59, Hans Verkuil ha scritto: > On Tue January 29 2013 15:18:12 Olivier Subilia wrote: >> Hi, >> >> First of all, I've no experience with this mailing list. I'm not sure >> I'm sending my report to the right place. If not, please don't hesitate >> to tell it to me (possibly with t

Re: af9035 test needed!

2013-01-18 Thread Gianluca Gennari
Il 11/01/2013 19:38, Antti Palosaari ha scritto: > Hello Jose and Gianluca > > Could you test that (tda18218 & mxl5007t): > http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/it9135_tuner > > > I wonder if ADC config logic still works for superheterodyne tuners > (tuner having IF).

[PATCH] media_build: enable em28xx-dvb again for old kernels

2013-01-09 Thread Gianluca Gennari
all the other em28xx-dvb devices can be used again with old kernels. Signed-off-by: Gianluca Gennari --- backports/backports.txt | 1 + backports/v2.6.33_no_gpio_request_one.patch | 25 + v4l/versions.txt| 2 -- 3 files

Re: cron job: media_tree daily build: ERRORS

2013-01-08 Thread Gianluca Gennari
Il 08/01/2013 13:43, Hans Verkuil ha scritto: > On Tue 8 January 2013 12:01:51 Gianluca Gennari wrote: >> Il 08/01/2013 10:58, Hans Verkuil ha scritto: >>> On Mon 7 January 2013 22:38:23 Hans Verkuil wrote: >>>> This message is generated daily by a cron job that

Re: cron job: media_tree daily build: ERRORS

2013-01-08 Thread Gianluca Gennari
Il 08/01/2013 10:58, Hans Verkuil ha scritto: > On Mon 7 January 2013 22:38:23 Hans Verkuil wrote: >> 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:Mon J

Re: mmotm 2012-09-25-17-06 uploaded (media/tuners/fc2580)

2012-09-26 Thread Gianluca Gennari
Il 26/09/2012 19:26, Randy Dunlap ha scritto: > On 09/25/2012 05:07 PM, a...@linux-foundation.org wrote: > >> The mm-of-the-moment snapshot 2012-09-25-17-06 has been uploaded to >> >>http://www.ozlabs.org/~akpm/mmotm/ >> >> mmotm-readme.txt says >> >> README for mm-of-the-moment: >> >> http://

[PATCH] media_build: add module_pci_driver to compat.h

2012-09-24 Thread Gianluca Gennari
eter names (without types) in function declaration core.c:314: warning: 'solo_pci_driver' defined but not used Signed-off-by: Gianluca Gennari --- v4l/compat.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/v4l/compat.h b/v4l/compat.h index fdc6d4a..8d5

[PATCH 2/3 V2] fc2580: silence uninitialized variable warning

2012-09-24 Thread Gianluca Gennari
fc2580.c: In function 'fc2580_set_params': fc2580.c:118: warning: 'ret' may be used uninitialized in this function V2: fixed coding style. Signed-off-by: Gianluca Gennari --- drivers/media/tuners/fc2580.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff -

[PATCH 3/3] fc2580: use macro for 64 bit division and reminder

2012-09-24 Thread Gianluca Gennari
Fixes the following warnings on a 32 bit system with GCC 4.4.3 and kernel Ubuntu 2.6.32-43 32 bit: WARNING: "__udivdi3" [fc2580.ko] undefined! WARNING: "__umoddi3" [fc2580.ko] undefined! Signed-off-by: Gianluca Gennari --- drivers/media/tuners/fc2580.c |3 +--

[PATCH 2/3] fc2580: silence uninitialized variable warning

2012-09-24 Thread Gianluca Gennari
fc2580.c: In function 'fc2580_set_params': fc2580.c:118: warning: 'ret' may be used uninitialized in this function Signed-off-by: Gianluca Gennari --- drivers/media/tuners/fc2580.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/tuner

[PATCH 1/3] fc2580: define const as UL to silence a warning

2012-09-24 Thread Gianluca Gennari
fc2580.c: In function 'fc2580_set_params': fc2580.c:150: warning: this decimal constant is unsigned only in ISO C90 Signed-off-by: Gianluca Gennari --- drivers/media/tuners/fc2580.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/tuners/fc2580.c

[PATCH 0/3] Fix several warnings on new fc2580 tuner driver

2012-09-24 Thread Gianluca Gennari
Hi all, this small patch series fixes the warnings generated compiling the new fc2580 tuner driver on a Ubuntu system with the 2.6.32-43 32 bit kernel and GCC 4.4.3. Compile tested only. Best regards, Gianluca Gennari Gianluca Gennari (3): fc2580: define const as UL to silence a warning

[PATCH] media_build: add backport patch for request_firmware_nowait() to kernels <= 2.6.32

2012-07-05 Thread Gianluca Gennari
In kernel 2.6.33 request_firmware_nowait() gained a new parameter to set the memory allocation flags. We have to remove this parameter to make the drxk driver (the only user of request_firmware_nowait() so far) compilable again with kernels older than 2.6.33. Signed-off-by: Gianluca Gennari

Re: DVB USB: change USB stream settings dynamically

2012-05-27 Thread Gianluca Gennari
Hi Antti, Il 27/05/2012 15:10, Antti Palosaari ha scritto: > On 26.05.2012 01:47, Antti Palosaari wrote: >> I was planning make DVB USB be able to switch USB streaming parameters >> dynamically. I mean [struct usb_data_stream_properties] parameters. >> >> Currently it reserves USB streaming buffer

Re: SNR status for demods

2012-05-22 Thread Gianluca Gennari
Il 22/05/2012 11:09, Antti Palosaari ha scritto: > > Basically, but not every case, there seems to be 3 different way: > 1) return raw register value without any calculation > 2) 0.1 dB > 3) scaled to 0-0x using some formula > > Very many drivers seems to do some dB handling even finally scal

[PATCH] media_build: disable VIDEO_SMIAPP_PLL, VIDEO_MT9M032 and VIDEO_MT9P031 on old kernels

2012-05-21 Thread Gianluca Gennari
ready blacklisted) but are still manually selectable by the user through 'make menuconfig' or 'make xconfig', breaking compilation. So it's better to explicitly blacklist this drivers too. Signed-off-by: Gianluca Gennari http://vger.kernel.org/majordomo-info.html

[PATCH 2/2] media_build: disable VIDEO_SMIAPP driver on kernels older than 2.6.34

2012-05-16 Thread Gianluca Gennari
The new 'smiapp' driver requires 'gpio_request_one': media_build/v4l/smiapp-core.c:2333: error: implicit declaration of function 'gpio_request_one' that was first introduced in kernel 2.6.34, so let's disable it on older kernels. Signed-off-by: Gian

[PATCH 1/2] media_build: add SET_SYSTEM_SLEEP_PM_OPS definition to compat.h

2012-05-16 Thread Gianluca Gennari
element is not constant media_build/v4l/msp3400-driver.c:872:1: error: (near initialization for 'msp3400_pm_ops.prepare') Add it to compat.h to fix the compilation breakage. Signed-off-by: Gianluca Gennari http://vger.kernel.org/majordomo-info.html

[PATCH 0/2] media_build: fix compilation on old kernels (<2.6.34)

2012-05-16 Thread Gianluca Gennari
This patches fix compilation of the media_build tree on kernels older than 2.6.34. Tested on kernel 2.6.32 (Ubuntu 10.04). Gianluca Gennari (2): media_build: add SET_SYSTEM_SLEEP_PM_OPS definition to compat.h media_build: disable VIDEO_SMIAPP driver on kernels older than 2.6.34 v4l

Re: [PATCH] media_build: add fixp-arith.h in linux/include/linux

2012-05-15 Thread Gianluca Gennari
Il 15/05/2012 15:25, Mauro Carvalho Chehab ha scritto: > Em 15-05-2012 10:16, Gianluca Gennari escreveu: >> This patch: >> http://patchwork.linuxtv.org/patch/10824/ >> moved the file fixp-arith.h from drivers/input/ to include/linux/ . >> >> To make this file

[PATCH] media_build: add fixp-arith.h in linux/include/linux

2012-05-15 Thread Gianluca Gennari
licit declaration of function 'fixp_cos' Tested on kernel 2.6.32-41-generic-pae (Ubuntu 10.04). Signed-off-by: Gianluca Gennari + */ + +#include + +/* The type representing fixed-point values */ +typedef s16 fixp_t; + +#define FRAC_N 8 +#define FRAC_MASK ((1< 123.0 */ +static inline fixp_t

[PATCH] media_build: fix backport patches removing et61x251 hunks

2012-05-08 Thread Gianluca Gennari
The old et61x251 driver has been removed: http://git.linuxtv.org/media_tree.git/commit/04ef052419ac61f28c6b7eafbe5d8e82c02bbee2 so let's delete the related hunks from the media_build backport patches. Signed-off-by: Gianluca Gennari --- backports/api_version.patch |6 -- back

Re: [PATCH v2] add support for DeLOCK-USB-2.0-DVB-T-Receiver-61744

2012-05-04 Thread Gianluca Gennari
Il 04/05/2012 03:27, poma ha scritto: > On 05/03/2012 11:03 AM, Gianluca Gennari wrote: >> Hi poma, >> I have a 0BDA:2838 (Easycap EZTV646) and a 0BDA:2832 (no name 20x20mm >> mini DVB-T stick) and both are based on the E4000 tuner, which is not >> supported in the kern

Re: [PATCH v2] add support for DeLOCK-USB-2.0-DVB-T-Receiver-61744

2012-05-04 Thread Gianluca Gennari
Hi poma, thanks for the very interesting links. Il 04/05/2012 03:27, poma ha scritto: > On 05/03/2012 11:03 AM, Gianluca Gennari wrote: >> Hi poma, >> I have a 0BDA:2838 (Easycap EZTV646) and a 0BDA:2832 (no name 20x20mm >> mini DVB-T stick) and both are based on the E400

Re: [PATCH v2] add support for DeLOCK-USB-2.0-DVB-T-Receiver-61744

2012-05-03 Thread Gianluca Gennari
Hi poma, I have a 0BDA:2838 (Easycap EZTV646) and a 0BDA:2832 (no name 20x20mm mini DVB-T stick) and both are based on the E4000 tuner, which is not supported in the kernel at the moment. I have no idea if there are sticks with the same USB PID and the fc0012 tuner. Regards, Gianluca Il 03/05/201

Re: [PATCH] dib0700: add new USB PID for the Elgato EyeTV DTT stick

2012-04-16 Thread Gianluca Gennari
tocol=nec --sysdev=rc0 but I've never used it. Regards, Gianluca > > On 14/04/2012 15:14, Gianluca Gennari wrote: >> Reported working here: >> http://ubuntuforums.org/archive/index.php/t-1510188.html >> http://ubuntuforums.org/archive/index.php/t-1756828.html >>

[PATCH] dib0700: add new USB PID for the Elgato EyeTV DTT stick

2012-04-14 Thread Gianluca Gennari
Reported working here: http://ubuntuforums.org/archive/index.php/t-1510188.html http://ubuntuforums.org/archive/index.php/t-1756828.html https://sites.google.com/site/slackwarestuff/home/elgato-eyetv Signed-off-by: Gianluca Gennari --- drivers/media/dvb/dvb-usb/dib0700_devices.c |7

Re: Add a new usb id for Elgato EyeTV DTT

2012-04-14 Thread Gianluca Gennari
Il 14/04/2012 08:55, Daniel ha scritto: > Hi, > > I've got an Elgato EyeTV for Mac and PC > (http://www.linuxtv.org/wiki/index.php/Elgato_EyeTV_DTT). It is given as > compatible since Linux 2.6.31, but the usb id can be not only 0fd9:0021, > but 0fd9:003f too. This id is currently not recognized..

[PATCH] dib7000p: remove duplicate code and comment

2012-04-12 Thread Gianluca Gennari
Remove duplicate code and comment, probably due to a patch applied twice. Signed-off-by: Gianluca Gennari --- drivers/media/dvb/frontends/dib7000p.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends

[PATCH] media_build: fix v2.6.32_kfifo backport patch

2012-04-11 Thread Gianluca Gennari
This patch: http://patchwork.linuxtv.org/patch/10425/ collides with the v2.6.32_kfifo backport patch. Fix it and rebase it on the new media_build tree. Signed-off-by: Gianluca Gennari --- backports/v2.6.32_kfifo.patch | 130 ++--- 1 files changed, 70

[PATCH] media_build: fix v2.6.35_i2c_new_probed_device backport patch

2012-04-11 Thread Gianluca Gennari
This patch: http://patchwork.linuxtv.org/patch/10486/ collides with the v2.6.35_i2c_new_probed_device backport patch. Fix it and rebase it on the new media_build tree. Signed-off-by: Gianluca Gennari --- backports/v2.6.35_i2c_new_probed_device.patch | 46 1 files

Re: RTL28XX driver

2012-04-09 Thread Gianluca Gennari
and base your work on top of it. Best regards, Gianluca > Greetings > Thomas > > 2012/4/7 Gianluca Gennari : >> Il 06/04/2012 11:11, Thomas Mair ha scritto: >>> Hello everyone, >>> >>> i own a TerraTec Cinergy T Stick Black device, and was able to f

Re: [PATCH] media_build: fix module_*_driver redefined warnings

2012-04-09 Thread Gianluca Gennari
Il 09/04/2012 14:34, Mauro Carvalho Chehab ha scritto: > Hi Gianluca, > > Em 20-03-2012 11:10, Gianluca Gennari escreveu: > > Please avoid adding more tests for an specific Kernel version here. There are > two issues with checks like that: > > 1) this may break on

Re: RTL28XX driver

2012-04-07 Thread Gianluca Gennari
Il 06/04/2012 11:11, Thomas Mair ha scritto: > 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

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 bu

[PATCH] af9033: implement get_frontend

2012-04-05 Thread Gianluca Gennari
Implement the get_frontend function. The code is derived from the old af9033 driver by Antti Palosaari. Signed-off-by: Gianluca Gennari --- drivers/media/dvb/frontends/af9033.c | 133 ++ 1 files changed, 133 insertions(+), 0 deletions(-) diff --git a/drivers

Re: [PATCH] af9035: add several new USB IDs

2012-04-05 Thread Gianluca Gennari
Thanks Pierangelo, but there are still issues with your patch. See in-line comments. Il 05/04/2012 16:34, pierigno ha scritto: > gosh!! I pasted the wrong patch, sorry for the noise, here it is (it > should be applied against > http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/af903

Re: [PATCH] af9035: add several new USB IDs

2012-04-04 Thread Gianluca Gennari
Il 04/04/2012 15:09, Antti Palosaari ha scritto: > On 04.04.2012 15:40, Gianluca Gennari wrote: >> Il 04/04/2012 13:59, Antti Palosaari ha scritto: >>> On 04.04.2012 14:47, Gianluca Gennari wrote: >>>> Add several new USB IDs extracted from the Windows and Linux driv

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

2012-04-04 Thread Gianluca Gennari
Il 03/04/2012 12:19, Antti Palosaari ha scritto: > On 03.04.2012 03:44, Gianluca Gennari wrote: >> Il 03/04/2012 00:40, Antti Palosaari ha scritto: >>> On 03.04.2012 00:25, Gianluca Gennari wrote: >>>> This is necessary to tune VHF channels with the AVerMedia A835

Re: [PATCH] af9035: add several new USB IDs

2012-04-04 Thread Gianluca Gennari
Il 04/04/2012 13:59, Antti Palosaari ha scritto: > On 04.04.2012 14:47, Gianluca Gennari wrote: >> Add several new USB IDs extracted from the Windows and Linux drivers >> published >> by the manufacturers (Terratec and AVerMedia). >> +[AF9035_07CA_0867]

[PATCH] af9035: add several new USB IDs

2012-04-04 Thread Gianluca Gennari
-supported-by-the-newest-openpli/page__view__findpost__p__254634 so I think it should work also on the new driver version, at least in single-tuner mode. Signed-off-by: Gianluca Gennari --- drivers/media/dvb/dvb-usb/af9035.c | 60 +- drivers/media/dvb/dvb-usb/dvb

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

2012-04-03 Thread Gianluca Gennari
Il 03/04/2012 12:19, Antti Palosaari ha scritto: > On 03.04.2012 03:44, Gianluca Gennari wrote: >> Il 03/04/2012 00:40, Antti Palosaari ha scritto: >>> On 03.04.2012 00:25, Gianluca Gennari wrote: >>>> This is necessary to tune VHF channels with the AVerMedia A835

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

2012-04-02 Thread Gianluca Gennari
Il 03/04/2012 00:40, Antti Palosaari ha scritto: > On 03.04.2012 00:25, Gianluca Gennari wrote: >> This is necessary to tune VHF channels with the AVerMedia A835 stick. >> >> Signed-off-by: Gianluca Gennari >> --- >> drivers/media/common/tuners/tda18218.c

[PATCH 4/5 v2] af9035: fix warning

2012-04-02 Thread Gianluca Gennari
On a 32 bit system: af9035.c: In function 'af9035_download_firmware': af9035.c:446:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat] %zu avoids any warning on both 32 and 64 bit s

[PATCH 5/5] af9035: use module_usb_driver macro

2012-04-02 Thread Gianluca Gennari
Let's save a few lines of code using the module_usb_driver macro. Signed-off-by: Gianluca Gennari --- drivers/media/dvb/dvb-usb/af9035.c | 26 +- 1 files changed, 1 insertions(+), 25 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/af9035.c b/drivers/media/dv

[PATCH 4/5] af9035: fix warning

2012-04-02 Thread Gianluca Gennari
af9035.c: In function 'af9035_download_firmware': af9035.c:446:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat] Signed-off-by: Gianluca Gennari --- drivers/media/dvb/dvb-usb/af9035.c

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

2012-04-02 Thread Gianluca Gennari
This is necessary to tune VHF channels with the AVerMedia A835 stick. Signed-off-by: Gianluca Gennari --- drivers/media/common/tuners/tda18218.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/common/tuners/tda18218.c b/drivers/media/common/tuners

[PATCH 2/5] af9035: add support for the tda18218 tuner

2012-04-02 Thread Gianluca Gennari
Add basic support for the tda18218 tuner and the AVerMedia A835 devices. Signed-off-by: Gianluca Gennari --- drivers/media/dvb/dvb-usb/Kconfig |1 + drivers/media/dvb/dvb-usb/af9035.c| 26 +- drivers/media/dvb/dvb-usb/dvb-usb-ids.h |2 + drivers

[PATCH 1/5] af9035: add USB id for 07ca:a867

2012-04-02 Thread Gianluca Gennari
New USB id for the Avermedia A867 stick (Sky Digital Key with blue led). Signed-off-by: Gianluca Gennari --- drivers/media/dvb/dvb-usb/af9035.c |6 +- drivers/media/dvb/dvb-usb/dvb-usb-ids.h |1 + 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb

[PATCH 0/5] af9035: support for tda18218 tuner, new USB IDs and more

2012-04-02 Thread Gianluca Gennari
PCTV 290e. Best regards, Gianluca Gennari Gianluca Gennari (5): af9035: add USB id for 07ca:a867 af9035: add support for the tda18218 tuner tda18218: fix IF frequency for 7MHz bandwidth channels af9035: fix warning af9035: use module_usb_driver macro drivers/media/common/tuners/tda18

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

2012-04-01 Thread Gianluca Gennari
Il 01/04/2012 06:51, Antti Palosaari ha scritto: [snip] > I need more AF903x hardware, please give links to cheap eBay devices > etc. Also I would like to get one device where is AF9033 but no AF9035 > at all just for stand-alone demodulator implementation. I know there is > few such devices, lik

Re : AverTV Volar HD PRO : a return case.

2012-03-27 Thread Gianluca Gennari
-- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h @@ -227,6 +227,8 @@ #define USB_PID_AVERMEDIA_A8050xa805 #define USB_PID_AVERMEDIA_A815M0x815a #define USB_PID_AVERMEDIA_A8250x0825 +#define USB_PID_AVERMEDIA_A835 0xa835 +#define USB_PID_AV

[PATCH] em28xx: clean-up several unused parametrs in struct em28xx_usb_isoc_ctl

2012-03-22 Thread Gianluca Gennari
Get rid of several unused parameters in struct em28xx_usb_isoc_ctl. Signed-off-by: Gianluca Gennari --- drivers/media/video/em28xx/em28xx-core.c |1 - drivers/media/video/em28xx/em28xx.h | 14 -- 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/drivers

[PATCH] em28xx-dvb: stop URBs when stopping the streaming

2012-03-22 Thread Gianluca Gennari
Stop the URBs in em28xx_stop_streaming(), so that em28xx_irq_callback() cannot be called after the streaming has stopped. This should eliminate the crashes reported by Antti Palosaari and the warnings reported by Andy Furniss. Signed-off-by: Gianluca Gennari --- drivers/media/video/em28xx

Re: current em28xx driver crashes

2012-03-22 Thread Gianluca Gennari
Il 22/03/2012 12:00, Antti Palosaari ha scritto: > Hello > I am running Kernel 3.3-rc7 + around week old linux-media. > > During the implementation of MaxMedia UB425-TC and PCTV QuatroStick nano > (520e) device support I ran very many crashes likely when unloading > modules. Here is Kernel Panic [

Re: [PATCH 1/2] Fitipower fc0011 driver

2012-03-21 Thread Gianluca Gennari
Il 21/03/2012 16:56, Michael Büsch ha scritto: > This adds the Fitipower fc0011 tuner driver. > > Note: The '#if 0' statements will be removed on the final submission. > > Signed-off-by: Michael Buesch > > --- .. > + > +#if 0 //TODO 3.3 > +static int fc0011_set_params(struct dvb_frontend

Re: [PATCH 2/3] Basic AF9035/AF9033 driver

2012-03-20 Thread Gianluca Gennari
Il 20/03/2012 17:37, Michael Büsch ha scritto: > On Tue, 20 Mar 2012 17:27:45 +0100 > Gianluca Gennari wrote: > >> Hi Michael, >> >> Il 20/03/2012 14:04, Michael Büsch ha scritto: >>> Thank you for working on a af903x driver. >>> >>> I

Re: [PATCH 2/3] Basic AF9035/AF9033 driver

2012-03-20 Thread Gianluca Gennari
Hi Michael, Il 20/03/2012 14:04, Michael Büsch ha scritto: > Thank you for working on a af903x driver. > > I tried to test the driver on a debian 3.2 kernel, after applying a small fix: > It should be CONFIG_DVB_USB_AF903X here. this issue is fixed in version "1.02" of the driver, posted by Hans

[PATCH] lirc: delete unused init/exit function prototypes

2012-03-20 Thread Gianluca Gennari
: warning: 'sasem_exit' declared 'static' but never defined [-Wunused-function] Signed-off-by: Gianluca Gennari --- drivers/staging/media/lirc/lirc_imon.c |4 drivers/staging/media/lirc/lirc_sasem.c |4 2 files changed, 0 insertions(+), 8 deletions(-) d

[PATCH] media_build: fix module_*_driver redefined warnings

2012-03-20 Thread Gianluca Gennari
e_platform_driver was introduced in kernel 3.2. Tested with kernel 3.3, 3.2 and 3.0. Signed-off-by: Gianluca Gennari --- v4l/compat.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v4l/compat.h b/v4l/compat.h index 62710c9..ab0f2e7 100644 --- a/v4l/compat.h +

[PATCH] media_build: add uvc_driver.c to no_atomic_include backport patch

2012-03-20 Thread Gianluca Gennari
fix the problem, let's remove the included file adding a new chunk for uvc_driver.c in the existing no_atomic_include.patch backport patch. Tested with kernel 2.6.32. Signed-off-by: Gianluca Gennari --- backports/no_atomic_include.patch |6 ++ 1 files changed, 6 insertions(+), 0 dele

Re: [PATCH] em28xx: pre-allocate DVB isoc transfer buffers

2012-03-16 Thread Gianluca Gennari
Il 16/03/2012 16:05, Andy Furniss ha scritto: > Andy Furniss wrote: >> Gianluca Gennari wrote: > >>> Hi Andy, >>> the patch is already in the current media_build tree and is queued for >>> kernel 3.4. >> >> Ahh, I'll give that a try, th

Re: [PATCH] em28xx: pre-allocate DVB isoc transfer buffers

2012-03-15 Thread Gianluca Gennari
Il 16/03/2012 01:25, Andy Furniss ha scritto: > > Does this patch have a chance of getting in? > > I am still having to flush caches before use. If you want more testing I > can give it a go. I didn't earlier as I didn't have a git to apply it to > and thought it was going to get in anyway. > H

Re: [PATCH] em28xx: pre-allocate DVB isoc transfer buffers

2012-03-15 Thread Gianluca Gennari
Il 16/03/2012 01:25, Andy Furniss ha scritto: > Does this patch have a chance of getting in? > > I am still having to flush caches before use. If you want more testing I > can give it a go. I didn't earlier as I didn't have a git to apply it to > and thought it was going to get in anyway. Hi And

Re: [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode

2012-03-15 Thread Gianluca Gennari
Il 15/03/2012 18:41, Mauro Carvalho Chehab ha scritto: > > Hi Gianluca, > > With regards to LNA, the better is to add a DVBv5 property for it. > > The LNA is generally located at the antenna, and not at the device. > > As you know, more than one device may be connected to the same antenna, >

[PATCH 1/3] cxd2820r: tweak search algorithm behavior

2012-03-15 Thread Gianluca Gennari
x27;s not tested. Signed-off-by: Gianluca Gennari --- drivers/media/dvb/frontends/cxd2820r_core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends/cxd2820r_core.c b/drivers/media/dvb/frontends/cxd2820r_core.c index 5c7c2aa..3bba37d 10064

[PATCH 3/3] cxd2820r: delete unused function cxd2820r_init_t2

2012-03-15 Thread Gianluca Gennari
Deleted unused declaration of function "cxd2820r_init_t2". Signed-off-by: Gianluca Gennari --- drivers/media/dvb/frontends/cxd2820r_priv.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends/cxd2820r_priv.h b/drivers/media/dvb

[PATCH 2/3] em28xx-dvb: enable LNA for cxd2820r in DVB-T mode

2012-03-15 Thread Gianluca Gennari
OK RAI mux 279% 0 OK Moreover, with LNA enabled, the PCTV 290e was able to pick up 2 new frequencies matching the integrated tuner of my Panasonic G20 TV, which is really good. Signed-off-by: Gianluca Gennari --- drivers/media/video/em28xx/em28xx-dvb.c |3 ++- 1 files

  1   2   >