Re: Status of the patches under review (85 patches) and some misc notes about the devel procedures

2010-05-08 Thread Jean-Francois Moine
On Fri, 7 May 2010 09:39:16 -0300
Mauro Carvalho Chehab mche...@redhat.com wrote:

   == Gspca patches - Waiting Jean-Francois Moine
 moin...@free.fr submission/review == 
 
 Feb,24 2010: gspca pac7302: add USB PID range based on
 heuristics   http://patchwork.kernel.org/patch/81612
 May, 3 2010: gspca: Try a less bandwidth-intensive alt
 setting. http://patchwork.kernel.org/patch/96514

Hello Mauro,

I don't think the patch about pac7302 should be applied.

The patch about the gspca main is in my last git pull request.

Cheers.

-- 
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef |   http://moinejf.free.fr/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] TT CT-3650 DVB-C support

2010-05-08 Thread Martin Dauskardt
Hi Guy,

great news! Does it also work with QAM256?

Hope the patch becomes accepted. And maybe anybody can add support for the CI 
later.

Greets,
Martin
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


em28xx build failure (backport tree)

2010-05-08 Thread Roberto Ragusa
Hi,

I'm getting build errors on this tree

  http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2

The make command fails with the output pasted below (I didn't
touch any config).
As a bizarre coincidence, the em28xx IR support (for Pinnacle PCTV USB2)
is _exactly_ what I'm interested to have working, as I had no
luck with my kernel (official Fedora 2.6.29 based).

Thank you for any help.

  CC [M]  /somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.o
/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.c: In function 'em28xx_set_ir':
/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.c:2410: error: 
'ir_codes_em_terratec_table' undeclared (first use in this function)
/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.c:2410: error: (Each 
undeclared identifier is reported only once
/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.c:2410: error: for each 
function it appears in.)
/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.c:2422: error: 
'ir_codes_pinnacle_grey_table' undeclared (first use in this function)
/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.c:2434: error: 
'ir_codes_rc5_hauppauge_new_table' undeclared (first use in this function)
/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.c:2445: error: 
'ir_codes_winfast_usbii_deluxe_table' undeclared (first use in this function)
make[3]: *** [/somewhere/v4l-dvb-4a8d6d981f07/v4l/em28xx-cards.o] Error 1
make[2]: *** [_module_/somewhere/v4l-dvb-4a8d6d981f07/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.29.4-75.fc10.i686.PAE'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/somewhere/v4l-dvb-4a8d6d981f07/v4l'
make: *** [all] Error 2


-- 
   Roberto Ragusamail at robertoragusa.it
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Remote control at Zolid Hybrid TV Tuner

2010-05-08 Thread Sander Pientka
Hi Hermann,

I am going to revive this old thread, I completely forgot about it and
I still want to solve this problem.

Yes, with the IR transmitter not plugged in, the gpio is reported as
0 by dmesg.

I am aware there is a picture of the backside missing on the wiki, I
will try to make one a.s.a.p.

NEC IR support seems to be built-in already: drivers/media/IR/ir-nec-decoder.c.

Besides, dmesg outputs a section of error messages I don't understand:

[ 1585.548221] tda18271_write_regs: ERROR: idx = 0x5, len = 1,
i2c_transfer returned: -5
[ 1585.548229] tda18271_toggle_output: error -5 on line 47
[ 1585.720118] tda18271_write_regs: ERROR: idx = 0x5, len = 1,
i2c_transfer returned: -5
[ 1585.720129] tda18271_init: error -5 on line 826
[ 1585.720136] tda18271_tune: error -5 on line 904
[ 1585.720141] tda18271_set_analog_params: error -5 on line 1041
[ 1586.381026] tda18271_write_regs: ERROR: idx = 0x6, len = 1,
i2c_transfer returned: -5
[ 1586.500589] tda18271_write_regs: ERROR: idx = 0x1d, len = 1,
i2c_transfer returned: -5
[ 1586.629447] tda18271_write_regs: ERROR: idx = 0x10, len = 1,
i2c_transfer returned: -5
[ 1586.629458] tda18271_channel_configuration: error -5 on line 160
[ 1586.629465] tda18271_set_analog_params: error -5 on line 1041


Do you have any idea about the origin of these errors? Do you think
they affect the IR functionality?


--

Sander Pientka

2010/2/17 hermann pitton hermann-pit...@arcor.de:
 Hi,

 Am Mittwoch, den 17.02.2010, 17:38 +0100 schrieb Sander Pientka:
 Thanks for your answer. If I understand you correctly, I should
 disattach the IR receiver, which is a cable with a diode at the end?
 It is plugged in to a port like the green one for audio.

 did you remove the copy to the list by will?

 Then I will not complain about top posting here ;)

 I think we have only a photo of the frontside of that card.

 One line from the IR input connector vanishes to the backside.

 If on the backside is not a dedicated IR controller chip, gpio18 might
 be in use for the remote. This gpio is capable of triggering IRQs and is
 also connected to the clock.

 On recent Asus saa713x cards it is used for some RC5 protocol derived
 from those IRQs, gpio18 is the up/down button and the only changing gpio
 pin concerning the remote. That pin goes low, if the receiver is not
 plugged on the Asus cards.

 Mauro recently added also support for NEC IR protocol also on that gpio.

 You should be able to track rc5 and nec support from the mercurial/cvs
 interface or from the lists. Maybe it gets you started.

 Cheers,
 Hermann

 2010/2/17 hermann pitton hermann-pit...@arcor.de:
  Hi Sander,
 
  Am Dienstag, den 16.02.2010, 20:16 +0100 schrieb Sander Pientka:
  Hi,
 
  my Zolid Hybrid TV Tuner has been working like a charm for over two
  months now. The remote control is not working though, which is a
  showstopper. I don't have experience with remote controls in any kind,
  I've heard of LIRC but I would rather choose a more elegant solution,
  for instance evdev in X11.
 
  It's wiki page: 
  http://www.linuxtv.org/wiki/index.php/Zolid_Hybrid_TV_Tuner
 
  gpio init of your board is reported as 0x24.
 
  So gpio18/0x4 is high.
 
  Assuming the IR receiver is plugged during that, unplug it on next boot
  and see if gpio init is now only 0x20.
 
  Cheers,
  Hermann
 
 
 


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] Compro Videomate T750F Vista digital+analog support

2010-05-08 Thread Emard
HI

I've been fixing this driver a bit in order to unify dvb-t and
loading of xc2028 firmware for analog tv and fm radio without 
failure when cold booted directly to linux 

(some say that xc2028 would load if card is prepared by previously 
boothing window$ but franky I was too bothered to go this far)

So this is my v07 of the patch that even registers IR remote device
(I copied the code for compro S350)
but it recognizes remote IR keypresses but all keys are the same - 
generate the same GPIO value thus having same keycode 0x3f so it's 
not too useable right now if you want a remote with more than one 
button.

Can someone knowlegeable of saa7134 remotes review the code and suggest 
some fix?

--- linux-2.6.33.3/drivers/media/video/saa7134/saa7134-cards.c.orig 
2010-05-08 16:13:28.0 +0200
+++ linux-2.6.33.3/drivers/media/video/saa7134/saa7134-cards.c  2010-05-08 
16:46:19.0 +0200
@@ -4885,8 +4885,9 @@ struct saa7134_board saa7134_boards[] =
.audio_clock= 0x00187de7,
.tuner_type = TUNER_XC2028,
.radio_type = UNSET,
-   .tuner_addr = ADDR_UNSET,
+   .tuner_addr = 0x61,
.radio_addr = ADDR_UNSET,
+   .mpeg   = SAA7134_MPEG_DVB,
.inputs = {{
.name   = name_tv,
.vmux   = 3,
@@ -6550,6 +6551,11 @@ static int saa7134_xc2028_callback(struc
msleep(10);
saa7134_set_gpio(dev, 18, 1);
break;
+   case SAA7134_BOARD_VIDEOMATE_T750:
+   saa7134_set_gpio(dev, 20, 0);
+   msleep(10);
+   saa7134_set_gpio(dev, 20, 1);
+   break;
}
return 0;
}
@@ -6956,6 +6962,11 @@ int saa7134_board_init1(struct saa7134_d
saa_andorl(SAA7134_GPIO_GPMODE0  2,   0x8000, 0x8000);
saa_andorl(SAA7134_GPIO_GPSTATUS0  2, 0x8000, 0x8000);
break;
+   case SAA7134_BOARD_VIDEOMATE_T750:
+   dev-has_remote = SAA7134_REMOTE_GPIO;
+   saa_andorl(SAA7134_GPIO_GPMODE0  2,   0x8000, 0x8000);
+   saa_andorl(SAA7134_GPIO_GPSTATUS0  2, 0x8000, 0x8000);
+   break;
}
return 0;
 }
@@ -7192,6 +7203,7 @@ int saa7134_board_init2(struct saa7134_d
case SAA7134_BOARD_AVERMEDIA_SUPER_007:
case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
case SAA7134_BOARD_CREATIX_CTX953:
+   case SAA7134_BOARD_VIDEOMATE_T750:
{
/* this is a hybrid board, initialize to analog mode
 * and configure firmware eeprom address
--- linux-2.6.33.3/drivers/media/video/saa7134/saa7134-dvb.c.orig   
2010-05-08 16:20:12.0 +0200
+++ linux-2.6.33.3/drivers/media/video/saa7134/saa7134-dvb.c2010-05-08 
16:21:10.0 +0200
@@ -55,6 +55,7 @@
 #include tda8290.h
 
 #include zl10353.h
+#include qt1010.h
 
 #include zl10036.h
 #include zl10039.h
@@ -886,6 +887,17 @@ static struct zl10353_config behold_x7_c
.disable_i2c_gate_ctrl = 1,
 };
 
+static struct zl10353_config videomate_t750_zl10353_config = {
+   .demod_address  = 0x0f,
+   .no_tuner = 1,
+   .parallel_ts = 1,
+};
+
+static struct qt1010_config videomate_t750_qt1010_config = {
+   .i2c_address = 0x62
+};
+
+
 /* ==
  * tda10086 based DVB-S cards, helper functions
  */
@@ -1556,6 +1568,26 @@ static int dvb_init(struct saa7134_dev *
__func__);
 
break;
+/*FIXME: What frontend does Videomate T750 use? */
+case SAA7134_BOARD_VIDEOMATE_T750:
+printk(Compro VideoMate T750 DVB setup\n);
+fe0-dvb.frontend = dvb_attach(zl10353_attach,
+videomate_t750_zl10353_config,
+dev-i2c_adap);
+if (fe0-dvb.frontend != NULL) {
+printk(Attaching pll\n);
+// if there is a gate function then the i2c bus 
breaks.!
+fe0-dvb.frontend-ops.i2c_gate_ctrl = 0;
+ 
+if (dvb_attach(qt1010_attach,
+   fe0-dvb.frontend,
+   dev-i2c_adap,
+   videomate_t750_qt1010_config) == NULL)
+{
+wprintk(error attaching QT1010\n);
+}
+}
+break;
case SAA7134_BOARD_ZOLID_HYBRID_PCI:
fe0-dvb.frontend = dvb_attach(tda10048_attach,
   zolid_tda10048_config,
--- 

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

2010-05-08 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:Sat May  8 19:00:17 CEST 2010
path:http://www.linuxtv.org/hg/v4l-dvb
changeset:   14644:4a8d6d981f07
git master:   f6760aa024199cfbce564311dc4bc4d47b6fb349
git media-master: 08b8618ac4dbcd05ec1886853b1d865798d26e1d
gcc version:  i686-linux-gcc (GCC) 4.4.3
host hardware:x86_64
host os:  2.6.32.5

linux-2.6.32.6-armv5: ERRORS
linux-2.6.33-armv5: ERRORS
linux-2.6.34-rc1-armv5: ERRORS
linux-2.6.32.6-armv5-davinci: ERRORS
linux-2.6.33-armv5-davinci: ERRORS
linux-2.6.34-rc1-armv5-davinci: ERRORS
linux-2.6.32.6-armv5-ixp: ERRORS
linux-2.6.33-armv5-ixp: ERRORS
linux-2.6.34-rc1-armv5-ixp: ERRORS
linux-2.6.32.6-armv5-omap2: ERRORS
linux-2.6.33-armv5-omap2: ERRORS
linux-2.6.34-rc1-armv5-omap2: ERRORS
linux-2.6.22.19-i686: ERRORS
linux-2.6.23.17-i686: ERRORS
linux-2.6.24.7-i686: ERRORS
linux-2.6.25.20-i686: ERRORS
linux-2.6.26.8-i686: ERRORS
linux-2.6.27.44-i686: ERRORS
linux-2.6.28.10-i686: ERRORS
linux-2.6.29.1-i686: ERRORS
linux-2.6.30.10-i686: ERRORS
linux-2.6.31.12-i686: ERRORS
linux-2.6.32.6-i686: ERRORS
linux-2.6.33-i686: OK
linux-2.6.34-rc1-i686: WARNINGS
linux-2.6.32.6-m32r: ERRORS
linux-2.6.33-m32r: ERRORS
linux-2.6.34-rc1-m32r: ERRORS
linux-2.6.32.6-mips: ERRORS
linux-2.6.33-mips: ERRORS
linux-2.6.34-rc1-mips: ERRORS
linux-2.6.32.6-powerpc64: ERRORS
linux-2.6.33-powerpc64: ERRORS
linux-2.6.34-rc1-powerpc64: ERRORS
linux-2.6.22.19-x86_64: ERRORS
linux-2.6.23.17-x86_64: ERRORS
linux-2.6.24.7-x86_64: ERRORS
linux-2.6.25.20-x86_64: ERRORS
linux-2.6.26.8-x86_64: ERRORS
linux-2.6.27.44-x86_64: ERRORS
linux-2.6.28.10-x86_64: ERRORS
linux-2.6.29.1-x86_64: ERRORS
linux-2.6.30.10-x86_64: ERRORS
linux-2.6.31.12-x86_64: ERRORS
linux-2.6.32.6-x86_64: ERRORS
linux-2.6.33-x86_64: OK
linux-2.6.34-rc1-x86_64: WARNINGS
linux-git-armv5: WARNINGS
linux-git-armv5-davinci: WARNINGS
linux-git-armv5-ixp: WARNINGS
linux-git-armv5-omap2: WARNINGS
linux-git-i686: WARNINGS
linux-git-m32r: OK
linux-git-mips: OK
linux-git-powerpc64: OK
linux-git-x86_64: WARNINGS
spec: ERRORS
spec-git: OK
sparse: ERRORS
linux-2.6.16.62-i686: ERRORS
linux-2.6.17.14-i686: ERRORS
linux-2.6.18.8-i686: ERRORS
linux-2.6.19.7-i686: ERRORS
linux-2.6.20.21-i686: ERRORS
linux-2.6.21.7-i686: ERRORS
linux-2.6.16.62-x86_64: ERRORS
linux-2.6.17.14-x86_64: ERRORS
linux-2.6.18.8-x86_64: ERRORS
linux-2.6.19.7-x86_64: ERRORS
linux-2.6.20.21-x86_64: ERRORS
linux-2.6.21.7-x86_64: ERRORS

Detailed results are available here:

http://www.xs4all.nl/~hverkuil/logs/Saturday.log

Full logs are available here:

http://www.xs4all.nl/~hverkuil/logs/Saturday.tar.bz2

The V4L-DVB specification from this daily build is here:

http://www.xs4all.nl/~hverkuil/spec/media.html
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] size_t/int mismatch on 64 bits

2010-05-08 Thread Mathieu Rene
Hi all,

sizeof(size_t) is 8 on 64 bits, therefore:

struct atsc_event_info {
uint16_t id;
struct tm start;
struct tm end;
int title_pos;
int title_len;
int msg_pos;
int msg_len;
};

and: (size_t *)curr_info-title_buf.buf_pos), was segfaulting. 



atsc_epg.diff
Description: Binary data

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mr...@avgs.ca






Re: Status of the patches under review (85 patches) and some misc notes about the devel procedures

2010-05-08 Thread Mauro Carvalho Chehab
Herton Ronaldo Krzesinski wrote:
 Em Sex 07 Mai 2010, às 09:39:16, Mauro Carvalho Chehab escreveu:
  == Patch(broken) - waiting for Herton Ronaldo Krzesinski 
 her...@mandriva.com.br new submission == 

 Apr, 5 2010: saa7134: add support for Avermedia M733A
http://patchwork.kernel.org/patch/90692
 
 Hi, I submitted now a new fixed version of the patch to mailing list, under
 title [PATCH v2] saa7134: add support for Avermedia M733A

OK, thanks!

 Mar,19 2010: saa7134: add support for one more remote control for Avermedia 
 M135A   http://patchwork.kernel.org/patch/86989
 
 This was the addition of RM-K6 remote control to M135A too, I think we can 
 drop
 this, since adding this to the kernel is deprecated now in favour of assigning
 keymaps in userspace (keytable tool from v4l-utils), right?

For now, I prefer to add the keytab there, since there are some scripts that 
syncs v4l-util
keytables with the kernel ones. If you prefer, you may the put RM-K6 table 
together
with the other M135A keytable. I intend to group the non-conflicting keytables 
soon,
and it makes kense to group both the original and the RM-K6 into the same 
table, in order to 
provide an easier hot-plug support for this device.

-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Status of the patches under review (85 patches) and some misc notes about the devel procedures

2010-05-08 Thread Mauro Carvalho Chehab
Jean-Francois Moine wrote:
 On Fri, 7 May 2010 09:39:16 -0300
 Mauro Carvalho Chehab mche...@redhat.com wrote:
 
  == Gspca patches - Waiting Jean-Francois Moine
 moin...@free.fr submission/review == 

 Feb,24 2010: gspca pac7302: add USB PID range based on
 heuristics   http://patchwork.kernel.org/patch/81612
 May, 3 2010: gspca: Try a less bandwidth-intensive alt
 setting. http://patchwork.kernel.org/patch/96514
 
 Hello Mauro,
 
 I don't think the patch about pac7302 should be applied.

 
 The patch about the gspca main is in my last git pull request.

(c/c Sarah)

I also didn't like this patch strategy. It seems a sort of workaround
for xHCI, instead of a proper fix.

I'll mark this patch as rejected, and wait for a proper fix.

-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


compro s500

2010-05-08 Thread Tarik AIT-ARYANE

Hi,
I want to know if there is any support in linux of compro videomate s500 
(dvbs by USB card).


Thanks
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html