Re: [vdr] Newbee questions about HDTV VDR system with TT-budget S2-3200.

2009-05-24 Thread Klaus Schmidinger
On 24.05.2009 12:35, Carsten Koch wrote:
 Hi,
 
 I would like to get a HDTV VDR system started.
 I have the following hardware to play with:
gigabyte m55plus s3g main board (nVidia GeForce 6100 / nForce 430)
with Athlon 64 3500+, 1GB RAM
GeForce 9500GT card with 1GB RAM
2 TT-budget S2-3200 DVB S2 cards
 I have installed OpenSuse 11.1 on it, which comes with
 vdr 1.6.0, the xine 0.8.2 plugin and dvb-1.1.0_CVS20080331-1.48.
 
 Is there a getting started with HDTV VDR FAQ somewhere?
 
 My first 3 questions questions are
 
 * Will a new VDR version be released today?

Most likely not.

   The latest I could find is 1.7.7 (3 weeks old).
 
 * Where do I find the right DVB driver?

http://linuxtv.org/hg/v4l-dvb should work, but you'll still
need the patch from

  ftp://ftp.cadsoft.de/vdr/Developer/v4l-dvb-header-fix.diff

because the header files apparently are still broken :-(

 * How do I configure LIRC, so it works with the S3-3200
   and the remote control included with it?

Sorry, can't help you there.

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Newbee questions about HDTV VDR system with TT-budget S2-3200.

2009-05-24 Thread Ales Jurik
On Sunday 24 of May 2009, Carsten Koch wrote:

 * How do I configure LIRC, so it works with the S3-3200
   and the remote control included with it?

 Thanks in advance for any hints,
 Carsten.
Hi,

you don't need lirc, try plugin remote (http://www.escape-
edv.de/endriss/vdr/). It seems to be easier to setup and works without 
problems.

BR

Ales

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Newbee questions about HDTV VDR system with TT-budget S2-3200.

2009-05-24 Thread Carsten Koch
On Sun, 2009-05-24 at 16:49 +0300, Anssi Hannula wrote:
 Klaus Schmidinger wrote:
  http://linuxtv.org/hg/v4l-dvb should work, but you'll still
  need the patch from
  
ftp://ftp.cadsoft.de/vdr/Developer/v4l-dvb-header-fix.diff
  
  because the header files apparently are still broken :-(
 
 This commit should've fixed them:
 http://linuxtv.org/hg/v4l-dvb/rev/dba0b6fae413
 
 What error are you getting?

Without that patch I am getting

g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD 
-DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\ -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-DVIDEODIR=\/video\ -DCONFDIR=\/home/cko/vdrconfig\ 
-DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\ -I/usr/include/freetype2 
-I/usr/src/v4l-dvb/linux/include dvbdevice.c


  
In file included from dvbdevice.c:13:   


   
/usr/src/v4l-dvb/linux/include/linux/videodev2.h:64:28: error: 
linux/compiler.h: No such file or directory 



In file included from /usr/include/netinet/in.h:24, 


   
 from /usr/include/arpa/inet.h:23,  


   
 from config.h:13,  


   
 from channels.h:13,


   
 from device.h:13,  


   
 from dvbdevice.h:15,   


   
 from dvbdevice.c:10:   


   
/usr/include/stdint.h:41: error: conflicting declaration 'typedef long int 
int64_t'


/usr/include/linux/types.h:98: error: 'int64_t' has a previous declaration as 
'typedef __s64 int64_t' 

 
/usr/include/stdint.h:56: error: conflicting declaration 'typedef long unsigned 
int uint64_t'   

   
/usr/include/linux/types.h:96: error: 'uint64_t' has a previous declaration as 
'typedef __u64 

Re: [vdr] Newbee questions about HDTV VDR system with TT-budget S2-3200.

2009-05-24 Thread Carsten Koch
On Sun, 2009-05-24 at 16:13 +0200, Carsten Koch wrote:
...
 With the patch I am getting
 
 g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD 
 -DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\ -D_GNU_SOURCE 
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
 -DVIDEODIR=\/video\ -DCONFDIR=\/home/cko/vdrconfig\ 
 -DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\-I/usr/include/freetype2 
 -I/usr/src/v4l-dvb/linux/include audio.c
 g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD 
 -DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\ -D_GNU_SOURCE 
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
 -DVIDEODIR=\/video\ -DCONFDIR=\/home/cko/vdrconfig\ 
 -DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\-I/usr/include/freetype2 
 -I/usr/src/v4l-dvb/linux/include channels.c
 g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD 
 -DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\ -D_GNU_SOURCE 
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
 -DVIDEODIR=\/video\ -DCONFDIR=\/home/cko/vdrconfig\ 
 -DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\-I/usr/include/freetype2 
 -I/usr/src/v4l-dvb/linux/include dvbdevice.c
 In file included from dvbdevice.c:13:
 /usr/src/v4l-dvb/linux/include/linux/videodev2.h:64:28: error: 
 linux/compiler.h: No such file or directory

I did a 
   cd /usr/src/v4l-dvb/linux/include/linux
   ln -s /usr/src/linux-2.6.27.21-0.1/include/linux/compiler.h .

that fixed it.

Carsten.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Newbee questions about HDTV VDR system with TT-budget S2-3200.

2009-05-24 Thread Lauri Tischler
Carsten Koch wrote:

 I did a 
cd /usr/src/v4l-dvb/linux/include/linux
ln -s /usr/src/linux-2.6.27.21-0.1/include/linux/compiler.h .
 
 that fixed it.

This has been a problem with all drivers for a long time,
whenever i grab complete new set of drivers, i need to add
compiler.h to them.
It also seems that it does not need to be actually the
same version as current headers, some compiler.h will do, odd..

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Newbee questions about HDTV VDR system with TT-budget S2-3200.

2009-05-24 Thread Lauri Tischler
Lauri Tischler wrote:
 Carsten Koch wrote:
 
 I did a 
cd /usr/src/v4l-dvb/linux/include/linux
ln -s /usr/src/linux-2.6.27.21-0.1/include/linux/compiler.h .

 that fixed it.
 
 This has been a problem with all drivers for a long time,
 whenever i grab complete new set of drivers, i need to add
 compiler.h to them.
 It also seems that it does not need to be actually the
 same version as current headers, some compiler.h will do, odd..

Actually it's not the problem with drivers, they compile just
fine, but VDR will not compile unless the file compiler.h
is added to /usr/src/v4l-dvb/linux/include/linux directory
Maybe VDR needs some include parameter...


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Newbee questions about HDTV VDR system with TT-budget S2-3200.

2009-05-24 Thread Carsten Koch
On Sun, 2009-05-24 at 13:22 +0200, Ales Jurik wrote:

 you don't need lirc, try plugin remote (http://www.escape-
 edv.de/endriss/vdr/). It seems to be easier to setup and works without 
 problems.

I got lirc to work first, then I read your message and
tried the remote plugin. 
Very nice. No daemons to configure, etc. 
I'll stick to the remote plugin.

I had to make the attached patch (inspired by a similar
patch I found using google) to make the remote control
work that came with my card.

Carsten.
diff -rc v4l-dvb-41d2c77ae71f/linux/drivers/media/common/ir-keymaps.c /usr/src/v4l-dvb/linux/drivers/media/common/ir-keymaps.c
*** v4l-dvb-41d2c77ae71f/linux/drivers/media/common/ir-keymaps.c	Sun May 24 05:46:01 2009
--- /usr/src/v4l-dvb/linux/drivers/media/common/ir-keymaps.c	Sun May 24 15:31:23 2009
***
*** 1761,1766 
--- 1761,1819 
  
  EXPORT_SYMBOL_GP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+ 	[ 0x3f ] = KEY_FASTFORWARD,	/*  */
+ 	[ 0x22 ] = KEY_EPG,
+ };
+ 
+ EXPORT_SYMBOL_GPL(ir_codes_tt_3200);
+ 
  IR_KEYTAB_TYPE ir_codes_npgtech[IR_KEYTAB_SIZE] = {
  	[ 0x1d ] = KEY_SWITCHVIDEOMODE, /* switch inputs */
  	[ 0x2a ] = KEY_FRONT,
diff -rc v4l-dvb-41d2c77ae71f/linux/drivers/media/dvb/ttpci/budget-ci.c /usr/src/v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c
*** v4l-dvb-41d2c77ae71f/linux/drivers/media/dvb/ttpci/budget-ci.c	Sun May 24 05:46:01 2009
--- /usr/src/v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c	Sun May 24 15:34:16 2009
***
*** 252,257 
--- 252,267 
  		else
  			budget_ci-ir.rc5_device = rc5_device;
  		break;
+ 	case 0x1019:
+ 		/* For the TT 3200 bundled remote */
+ 		ir_input_init(input_dev, budget_ci-ir.state,
+ 			  IR_TYPE_RC5, ir_codes_tt_3200);
+ 
+ 		if (rc5_device  0)
+ 			budget_ci-ir.rc5_device = IR_DEVICE_ANY;
+ 		else
+ 			budget_ci-ir.rc5_device = rc5_device;
+ 		break;
  	default:
  		/* unknown remote */
  		ir_input_init(input_dev, budget_ci-ir.state,

diff -rc v4l-dvb-41d2c77ae71f/linux/include/media/ir-common.h /usr/src/v4l-dvb/linux/include/media/ir-common.h
*** v4l-dvb-41d2c77ae71f/linux/include/media/ir-common.h	Sun May 24 05:46:01 2009
--- /usr/src/v4l-dvb/linux/include/media/ir-common.h	Sun May 24 14:06:54 2009
***
*** 148,153 
--- 148,154 
  extern IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE];
  extern IR_KEYTAB_TYPE ir_codes_encore_enltv2[IR_KEYTAB_SIZE];
  extern IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE];
+ extern IR_KEYTAB_TYPE ir_codes_tt_3200[IR_KEYTAB_SIZE];
  extern IR_KEYTAB_TYPE ir_codes_fusionhdtv_mce[IR_KEYTAB_SIZE];
  extern IR_KEYTAB_TYPE ir_codes_behold[IR_KEYTAB_SIZE];
  extern IR_KEYTAB_TYPE ir_codes_behold_columbus[IR_KEYTAB_SIZE];
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr