Skip to contentSkip to conversation

PATCH: HVR-4000 support for multiproto_plus (tested on 2.6.25)

linux-dvb Gregoire Favre 4 participants 10 messages Apr 24, 2008 – May 6, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

I finally got a working patch to use my card with news tools :-)

I don't see the point on updating the wiki when I am already low on time... please don't email me question or request about this card, when I got some time, I do a little, but only when I got time...

I hope it works for other also and that it could be included before every thing change again...

I am not sure why, but I don't seems to be able to send email to [email protected] : if this don't get to it, feel free (or not) to forward it :-)

Signature · 2 lines
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Am Donnerstag, 24. April 2008 21:45:30 schrieb Gregoire Favre:

Quoted 4 lines

Hello,

I finally got a working patch to use my card with news tools :-)

Hello,

I have the same card and I really appreciate your work. Thank you!

S.

Quoted 10 lines

I don't see the point on updating the wiki when I am already low on time... please don't email me question or request about this card, when I got some time, I do a little, but only when I got time...

I hope it works for other also and that it could be included before every thing change again...

I am not sure why, but I don't seems to be able to send email to [email protected] : if this don't get to it, feel free (or not) to forward it :-)

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

On Thu, Apr 24, 2008 at 10:04:38PM +0200, Sebastian Frei wrote:

Hello list,

Quoted 2 lines

I have the same card and I really appreciate your work. Thank you!

You're completey welcome, minor changes isn't such a big work, the real work was all done by others :-)

Signature · 7 lines
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#8 lore raw
In reply to Gregoire Favre

Dear Gregoire

thanks for your patch. I have one problem with missing multiproto_plus/v4l/modules.order

Igor

goga:/usr/src/multiproto_plus# cat HVR-4000-multiproto_plus-2008-04-25.diff | patch -p1 --dry-run
patching file linux/drivers/media/dvb/frontends/cx24116.c
patching file linux/drivers/media/dvb/frontends/cx24116.h
patching file linux/drivers/media/dvb/frontends/Kconfig
patching file linux/drivers/media/dvb/frontends/Makefile
patching file linux/drivers/media/video/cx88/cx88-cards.c
patching file linux/drivers/media/video/cx88/cx88-dvb.c
patching file linux/drivers/media/video/cx88/cx88.h
patching file linux/drivers/media/video/cx88/cx88-i2c.c
patching file linux/drivers/media/video/cx88/cx88-input.c
patching file linux/drivers/media/video/cx88/Kconfig
patching file linux/drivers/media/video/ir-kbd-i2c.c
patching file linux/include/linux/compiler.h
patching file linux/include/linux/dvb/frontend.h
patching file v4l/.config.old
missing header for unified diff at line 2786 of patch
can't find file to patch at input line 2786
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rubBN multiproto_plus-clean/v4l/modules.order multiproto_plus/v4l/modules.order
|-- multiproto_plus-clean/v4l/modules.order     2008-04-20 11:57:43.000000000 +0200
|+++ multiproto_plus/v4l/modules.order  2008-04-24 20:44:30.000000000 +0200
--------------------------
File to patch: 
Quoted 7 lines

I finally got a working patch to use my card with news tools :-)

I don't see the point on updating the wiki when I am already low on time... please don't email me question or request about this card, when I got some time, I do a little, but only when I got time...

Quoted 12 lines

I hope it works for other also and that it could be included before every thing change again...

I am not sure why, but I don't seems to be able to send email to [email protected] : if this don't get to it, feel free (or not) to forward it :-)

Signature · 4 lines
GrИgoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

ATTACHMENT: application/octet-stream (HVR-4000-multiproto_plus-2008-04-25.diff.bz2)

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw

Re: [linux-dvb] PATCH: HVR-4000 support for multiproto_plus (testedon 2.6.25)

In reply to Gregoire Favre

Hi, Gregoire

with multiproto_plus + your hvr4000-patch I have the same problem with szap2 from dvb-apps

./szap2 -c 19 -n1

reading channels from file '19'
zapping to 1 'Pro7':
sat 0, frequency = 12722 MHz H, symbolrate 22000000, vpid = 0x00ff, apid = 0x0103 sid = 0x27d8 Querying info .. Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ioctl DVBFE_GET_INFO failed: Operation not supported

Igor

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#9 lore raw
In reply to Igor

On Fri, Apr 25, 2008 at 10:25:13AM +0400, Igor wrote:

Hello Igor :-)

Quoted 2 lines

thanks for your patch. I have one problem with missing multiproto_plus/v4l/modules.order

Just ignore it ;-)

Signature · 7 lines
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#4 lore raw

Re: [linux-dvb] PATCH: HVR-4000 support for multiproto_plus (testedon 2.6.25)

In reply to Igor
Quoted 5 lines · On Friday 25 April 2008 09:07:13 Igor wrote:

Hi, Gregoire

with multiproto_plus + your hvr4000-patch I have the same problem with szap2 from dvb-apps

Quoted 8 lines

./szap2 -c 19 -n1

reading channels from file '19'
zapping to 1 'Pro7':
sat 0, frequency = 12722 MHz H, symbolrate 22000000, vpid = 0x00ff, apid = 0x0103 sid = 0x27d8 Querying info .. Delivery system=DVB-S using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' ioctl DVBFE_GET_INFO failed: Operation not supported

the patch changes the api...

you can try the attached patch, which not changes the api. that means szap2 is working (only DVB-S, for DVB-S2 you need to modify fe_params: DVB_FEC_AUTO is not supported and you have to define a modulation)

fe_params.delsys.dvbs2.fec = DVBFE_FEC_9_10; fe_params.delsys.dvbs2.modulation = DVBFE_MOD_QPSK;

with the attached patch you need to call DVB_SET_DELSYS (like in szap2)...

gernot

Quoted 9 lines

Igor

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#5 lore raw

Re: [linux-dvb] PATCH: HVR-4000 support for multiproto_plus (testedon 2.6.25)

Quoted 8 lines · On Friday 25 April 2008 09:07:13 Igor wrote:
Quoted 7 lines

Hi, Gregoire

with multiproto_plus + your hvr4000-patch I have the same problem with szap2 from dvb-apps

./szap2 -c 19 -n1

Quoted 8 lines
Quoted 6 lines

reading channels from file '19'
zapping to 1 'Pro7':
sat 0, frequency = 12722 MHz H, symbolrate 22000000, vpid = 0x00ff, apid = 0x0103 sid = 0x27d8 Querying info .. Delivery system=DVB-S using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' ioctl DVBFE_GET_INFO failed: Operation not supported

the patch changes the api...

which patch do yuo mean ?

Quoted 8 lines

you can try the attached patch, which not changes the api. that means szap2 is working (only DVB-S, for DVB-S2 you need to modify fe_params: DVB_FEC_AUTO is not supported and you have to define a modulation)

fe_params.delsys.dvbs2.fec = DVBFE_FEC_9_10; fe_params.delsys.dvbs2.modulation = DVBFE_MOD_QPSK;

with the attached patch you need to call DVB_SET_DELSYS (like in szap2)...

could you explain me - how is it possible to modify fe_params for dvb-s2 QPSK/8PSK reception ?

Igor

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#6 lore raw

Re: [linux-dvb] {SPAM 05.4} Re[2]: PATCH: HVR-4000 support for multiproto_plus (testedon 2.6.25)

Quoted 15 lines · On Monday 05 May 2008 15:14:24 Igor wrote:
Quoted 15 lines · On Friday 25 April 2008 09:07:13 Igor wrote:
Quoted 13 lines

Hi, Gregoire

with multiproto_plus + your hvr4000-patch I have the same problem with szap2 from dvb-apps

./szap2 -c 19 -n1

reading channels from file '19'
zapping to 1 'Pro7':
sat 0, frequency = 12722 MHz H, symbolrate 22000000, vpid = 0x00ff, apid = 0x0103 sid = 0x27d8 Querying info .. Delivery system=DVB-S using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' ioctl DVBFE_GET_INFO failed: Operation not supported

Quoted 3 lines
Quoted 1 line

the patch changes the api...

which patch do yuo mean ?

the patch from gregoire. it modifies dvb/frontend.h

Quoted 5 lines
Quoted 5 lines

you can try the attached patch, which not changes the api. that means szap2 is working (only DVB-S, for DVB-S2 you need to modify fe_params:
DVB_FEC_AUTO is not supported and you have to define a modulation)

Quoted 8 lines
Quoted 5 lines

fe_params.delsys.dvbs2.fec = DVBFE_FEC_9_10; fe_params.delsys.dvbs2.modulation = DVBFE_MOD_QPSK;

with the attached patch you need to call DVB_SET_DELSYS (like in szap2)...

could you explain me - how is it possible to modify fe_params for dvb-s2 QPSK/8PSK reception ?

in szap2?

szap.c 2008-05-01 14:25:16.409871814 +0200 renamed from root/dvb-apps/test/szap2.c 2008-05-01 00:40:50.048558456 +0200 +2 -1
@@ -269,7 +269,8 @@
                        break;
                case DVBS2:
                        fe_params.delsys.dvbs2.symbol_rate = sr;
-                       fe_params.delsys.dvbs2.fec = FEC_AUTO;
+                       fe_params.delsys.dvbs2.fec = DVBFE_FEC_9_10;
+                       fe_params.delsys.dvbs2.modulation = DVBFE_MOD_QPSK;
                        printf("%s: Frequency = %d, Srate = %d\n",
                                __func__, fe_params.frequency, 
fe_params.delsys.dvbs2.symbol_rate);
                        break;

perhaps you have to set a different fec or modulation (DVBFE_MOD_8PSK);

gernot

Quoted 2 lines

Igor

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#7 lore raw

Re: [linux-dvb] {SPAM 05.4} Re[2]: PATCH: HVR-4000 support for multiproto_plus (testedon 2.6.25)

Hi

thank you - your patch is working to me. But I can't use it long because I use the vdr 170 with multiproto api support. May be you can create the patch for szap2 with multiproto api support :)

Igor

-----Original Message-----
From: Gernot Pansy <[email protected]>
To: Igor <[email protected]>
Date: Mon, 5 May 2008 15:43:59 +0200
Subject: Re: {SPAM 05.4} Re[2]: [linux-dvb] PATCH: HVR-4000 support for multiproto_plus (testedon 2.6.25)

Quoted 54 lines · On Monday 05 May 2008 15:14:24 Igor wrote:
Quoted 15 lines
Quoted 15 lines · On Friday 25 April 2008 09:07:13 Igor wrote:
Quoted 13 lines

Hi, Gregoire

with multiproto_plus + your hvr4000-patch I have the same problem with szap2 from dvb-apps

./szap2 -c 19 -n1

reading channels from file '19'
zapping to 1 'Pro7':
sat 0, frequency = 12722 MHz H, symbolrate 22000000, vpid = 0x00ff, apid = 0x0103 sid = 0x27d8 Querying info .. Delivery system=DVB-S using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' ioctl DVBFE_GET_INFO failed: Operation not supported

Quoted 3 lines
Quoted 1 line

the patch changes the api...

which patch do yuo mean ?

the patch from gregoire. it modifies dvb/frontend.h

Quoted 5 lines
Quoted 5 lines

you can try the attached patch, which not changes the api. that means szap2 is working (only DVB-S, for DVB-S2 you need to modify fe_params:
DVB_FEC_AUTO is not supported and you have to define a modulation)

Quoted 8 lines
Quoted 5 lines

fe_params.delsys.dvbs2.fec = DVBFE_FEC_9_10; fe_params.delsys.dvbs2.modulation = DVBFE_MOD_QPSK;

with the attached patch you need to call DVB_SET_DELSYS (like in szap2)...

could you explain me - how is it possible to modify fe_params for dvb-s2 QPSK/8PSK reception ?

in szap2?

szap.c 2008-05-01 14:25:16.409871814 +0200 renamed from root/dvb-apps/test/szap2.c 2008-05-01 00:40:50.048558456 +0200 +2 -1
@@ -269,7 +269,8 @@
                        break;
                case DVBS2:
                        fe_params.delsys.dvbs2.symbol_rate = sr;
-                       fe_params.delsys.dvbs2.fec = FEC_AUTO;
+                       fe_params.delsys.dvbs2.fec = DVBFE_FEC_9_10;
+                       fe_params.delsys.dvbs2.modulation = DVBFE_MOD_QPSK;
                        printf("%s: Frequency = %d, Srate = %d\n",
                                __func__, fe_params.frequency, 
 fe_params.delsys.dvbs2.symbol_rate);
                        break;
Quoted 8 lines

perhaps you have to set a different fec or modulation (DVBFE_MOD_8PSK);

gernot

Quoted 2 lines

Igor

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb