Skip to contentSkip to conversation

Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version

linux-dvb Dominik Kuhlen 4 participants 16 messages Apr 18, 2008 – May 21, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

Here is my current version after quite a while of testing and tuning:
I stripped the stb0899 tuning/searching algo to speed up tuning a bit now I have very fast and reliable locks (no failures, no errors)

I have also merged the TT-S2-3600 patch from André. (I cannot test it though.)

the attached patch applies to jusst.de multiproto rev 7213 the simpledvbtune application is for tuning tests: it does only open the frontend and tunes. no data reading/section parsing. compile with:
gcc -I/YOUR_MP_PATH/linux/include simpledvbtune.c -o simpletune and tune to (if you have Astra 19.2 as first satellite) ZDF DVB-S transponder
./simpledvbtune -f 11954
Astra demo DVB-S2 transponder
./simpledvbtune -f 11915 -d 2

happy testing,
Dominik

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

#1 lore raw

Hi,
Good news for all stb0899 owners :)

Quoted 6 lines · Dominik Kuhlen

Hi,

Here is my current version after quite a while of testing and tuning:
I stripped the stb0899 tuning/searching algo to speed up tuning a bit now I have very fast and reliable locks (no failures, no errors)

The frequency reported by DVBFE_GET_PARAMS when in DVB-S2 mode is not correct. The attached patch fixes this:
Now i can request any frequency near the center (even more than 10MHz lower or higher) and the reported frequency is within a few kHz of the actual center frequency.

Dominik

linux/drivers/media/dvb/frontends/stb0899_algo.c +9 -7
diff -r 42a7b0fff69d linux/drivers/media/dvb/frontends/stb0899_algo.c
@@ -1539,14 +1539,16 @@ enum stb0899_status stb0899_dvbs2_algo(s
 
 		/* Store signal parameters	*/
 		offsetfreq = STB0899_READ_S2REG(STB0899_S2DEMOD, CRL_FREQ);
+		if (offsetfreq & 0x20000000) {
+			/* sign extension */
+			offsetfreq |= 0xc0000000;
+		}
+		/* use 64-bit arithmetic to avoid overflow */
+		offsetfreq = (s32)((s64)offsetfreq * 
+		                  ((s64)internal->master_clk / (s64)1000000) / 
+		                  ((s64)((1 << 30) / (s64)1000)));
 
-		offsetfreq = offsetfreq / ((1 << 30) / 1000);
-		offsetfreq *= (internal->master_clk / 1000000);
-		reg = STB0899_READ_S2REG(STB0899_S2DEMOD, DMD_CNTRL2);
-		if (STB0899_GETFIELD(SPECTRUM_INVERT, reg))
-			offsetfreq *= -1;
-
-		internal->freq = internal->freq - offsetfreq;
+		internal->freq = internal->freq + offsetfreq;
 		internal->srate = stb0899_dvbs2_get_srate(state);
 
 		reg = STB0899_READ_S2REG(STB0899_S2DEMOD, UWP_STAT2);

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

#2 lore raw

2008/4/19 Dominik Kuhlen <[email protected]>:

Quoted 17 lines

Hi,
Good news for all stb0899 owners :)

Quoted 6 lines · Dominik Kuhlen

Hi,

Here is my current version after quite a while of testing and tuning:
I stripped the stb0899 tuning/searching algo to speed up tuning a bit now I have very fast and reliable locks (no failures, no errors)

The frequency reported by DVBFE_GET_PARAMS when in DVB-S2 mode is not correct. The attached patch fixes this:
Now i can request any frequency near the center (even more than 10MHz lower or higher) and the reported frequency is within a few kHz of the actual center frequency.

Quoted 8 lines

Dominik

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

First of all thanks for the latest drivers.
I'm using Technotrend TT Connect S2-3650 CI this new drivers works well with vdr, no problem locking and tunning to any dvbs channels. As for dvbs2 doesn't seem to work with vdr but i have no problem locking it with szap.

The second patch you posted "patch_multiproto_dvbs2_frequency.diff" doesn't seem to work for me, it does compile fine but the problem is loading the the driver.

insmod stb0899.ko verbose=5

insmod: error inserting 'stb0899.ko': -1 Unknown symbol in module

Apr 19 21:22:40 archer usbcore: deregistering interface driver pctv452e
Apr 19 21:22:40 archer dvb-usb: Technotrend TT Connect S2-3600
successfully deinitialized and disconnected.
Apr 19 21:22:40 archer usbcore: deregistering interface driver
dvb-usb-tt-connect-s2-3600-01.fw
Apr 19 21:22:45 archer stb0899: Unknown symbol __divdi3
Apr 19 21:22:45 archer dvb-usb: found a 'Technotrend TT Connect
S2-3600' in warm state.
Apr 19 21:22:45 archer pctv452e_power_ctrl: 1
Apr 19 21:22:47 archer dvb-usb: recv bulk message failed: -110
Apr 19 21:22:47 archer dvb-usb: will pass the complete MPEG2 transport
stream to the software demuxer.
Apr 19 21:22:47 archer DVB: registering new adapter (Technotrend TT
Connect S2-3600)
Apr 19 21:22:47 archer pctv452e_frontend_attach Enter
Apr 19 21:22:47 archer DVB: Unable to find symbol stb0899_attach()
Apr 19 21:22:47 archer dvb-usb: no frontend was attached by
'Technotrend TT Connect S2-3600'
Apr 19 21:22:47 archer input: IR-receiver inside an USB DVB receiver
as /devices/pci0000:00/0000:00:1d.7/usb5/5-4/input/input13
Apr 19 21:22:47 archer dvb-usb: schedule remote query interval to 100 msecs.
Apr 19 21:22:47 archer pctv452e_power_ctrl: 0
Apr 19 21:22:47 archer dvb-usb: Technotrend TT Connect S2-3600
successfully initialized and connected.
Apr 19 21:22:47 archer usbcore: registered new interface driver pctv452e
Apr 19 21:22:47 archer usbcore: registered new interface driver

dvb-usb-tt-connect-s2-3600-01.fw
..............................................................................................
One last thing how come you didn't include this part in your latest patch ?

+/* Remote Control Stuff fo S2-3600 (copied from TT-S1500): */ +static struct dvb_usb_rc_key tt_connect_s2_3600_rc_key[] = {

+        {0x15, 0x01, KEY_POWER},
+        {0x15, 0x02, KEY_SHUFFLE}, /* ? double-arrow key */
+        {0x15, 0x03, KEY_1},
+        {0x15, 0x04, KEY_2},
+        {0x15, 0x05, KEY_3},
+        {0x15, 0x06, KEY_4},
+        {0x15, 0x07, KEY_5},
+        {0x15, 0x08, KEY_6},
+        {0x15, 0x09, KEY_7},
+        {0x15, 0x0a, KEY_8},
+        {0x15, 0x0b, KEY_9},
+        {0x15, 0x0c, KEY_0},
+        {0x15, 0x0d, KEY_UP},
+        {0x15, 0x0e, KEY_LEFT},
+        {0x15, 0x0f, KEY_OK},
+        {0x15, 0x10, KEY_RIGHT},
+        {0x15, 0x11, KEY_DOWN},
+        {0x15, 0x12, KEY_INFO},
+        {0x15, 0x13, KEY_EXIT},
+        {0x15, 0x14, KEY_RED},
+        {0x15, 0x15, KEY_GREEN},
+        {0x15, 0x16, KEY_YELLOW},
+        {0x15, 0x17, KEY_BLUE},
+        {0x15, 0x18, KEY_MUTE},
+        {0x15, 0x19, KEY_TEXT},
+        {0x15, 0x1a, KEY_MODE},  /* ? TV/Radio */
+        {0x15, 0x21, KEY_OPTION},
+        {0x15, 0x22, KEY_EPG},
+        {0x15, 0x23, KEY_CHANNELUP},
+        {0x15, 0x24, KEY_CHANNELDOWN},
+        {0x15, 0x25, KEY_VOLUMEUP},
+        {0x15, 0x26, KEY_VOLUMEDOWN},
+        {0x15, 0x27, KEY_SETUP},
+        {0x15, 0x3a, KEY_RECORD},/* these keys are only in the black remote */
+        {0x15, 0x3b, KEY_PLAY},
+        {0x15, 0x3c, KEY_STOP},
+        {0x15, 0x3d, KEY_REWIND},
+        {0x15, 0x3e, KEY_PAUSE},
+        {0x15, 0x3f, KEY_FORWARD}

+};

Faruk

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

#3 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

Hi,

Quoted 2 lines · Faruk A

2008/4/19 Dominik Kuhlen <[email protected]>:

Quoted 1 line

Hi,

---snip---

Quoted 6 lines

First of all thanks for the latest drivers.
I'm using Technotrend TT Connect S2-3650 CI this new drivers works well with vdr, no problem locking and tunning to any dvbs channels. As for dvbs2 doesn't seem to work with vdr but i have no problem locking it with szap.

Nice to hear that :)

Quoted 7 lines

The second patch you posted "patch_multiproto_dvbs2_frequency.diff" doesn't seem to work for me, it does compile fine but the problem is loading the the driver.

insmod stb0899.ko verbose=5

Quoted 8 lines

insmod: error inserting 'stb0899.ko': -1 Unknown symbol in module

Apr 19 21:22:40 archer usbcore: deregistering interface driver pctv452e
Apr 19 21:22:40 archer dvb-usb: Technotrend TT Connect S2-3600
successfully deinitialized and disconnected.
Apr 19 21:22:40 archer usbcore: deregistering interface driver
dvb-usb-tt-connect-s2-3600-01.fw
Apr 19 21:22:45 archer stb0899: Unknown symbol __divdi3

hmm, there might be an issue with the 64-bit arithmetic. what platform are your running? I'll try to convert that back to 32-bit only.
---snip---

Quoted 3 lines

..............................................................................................
One last thing how come you didn't include this part in your latest patch ? +/* Remote Control Stuff fo S2-3600 (copied from TT-S1500): */

You're right, I had used an old patch which didn't contain the key-table. I have attached an update.

Dominik

linux/drivers/media/dvb/dvb-usb/pctv452e.c +50 -2
diff -r 2dc3054e8bee linux/drivers/media/dvb/dvb-usb/pctv452e.c
@@ -305,6 +305,53 @@ static struct dvb_usb_rc_key pctv452e_rc
 	{0x07, 0x3c, KEY_STOP},
 	{0x07, 0x3f, KEY_HELP}
 };
+
+
+
+/* Remote Control Stuff fo S2-3600 (copied from TT-S1500): */
+static struct dvb_usb_rc_key tt_connect_s2_3600_rc_key[] = {
+        {0x15, 0x01, KEY_POWER},
+        {0x15, 0x02, KEY_SHUFFLE}, /* ? double-arrow key */
+        {0x15, 0x03, KEY_1},
+        {0x15, 0x04, KEY_2},
+        {0x15, 0x05, KEY_3},
+        {0x15, 0x06, KEY_4},
+        {0x15, 0x07, KEY_5},
+        {0x15, 0x08, KEY_6},
+        {0x15, 0x09, KEY_7},
+        {0x15, 0x0a, KEY_8},
+        {0x15, 0x0b, KEY_9},
+        {0x15, 0x0c, KEY_0},
+        {0x15, 0x0d, KEY_UP},
+        {0x15, 0x0e, KEY_LEFT},
+        {0x15, 0x0f, KEY_OK},
+        {0x15, 0x10, KEY_RIGHT},
+        {0x15, 0x11, KEY_DOWN},
+        {0x15, 0x12, KEY_INFO},
+        {0x15, 0x13, KEY_EXIT},
+        {0x15, 0x14, KEY_RED},
+        {0x15, 0x15, KEY_GREEN},
+        {0x15, 0x16, KEY_YELLOW},
+        {0x15, 0x17, KEY_BLUE},
+        {0x15, 0x18, KEY_MUTE},
+        {0x15, 0x19, KEY_TEXT},
+        {0x15, 0x1a, KEY_MODE},  /* ? TV/Radio */
+        {0x15, 0x21, KEY_OPTION},
+        {0x15, 0x22, KEY_EPG},
+        {0x15, 0x23, KEY_CHANNELUP},
+        {0x15, 0x24, KEY_CHANNELDOWN},
+        {0x15, 0x25, KEY_VOLUMEUP},
+        {0x15, 0x26, KEY_VOLUMEDOWN},
+        {0x15, 0x27, KEY_SETUP},
+        {0x15, 0x3a, KEY_RECORD},/* these keys are only in the black remote */
+        {0x15, 0x3b, KEY_PLAY},
+        {0x15, 0x3c, KEY_STOP},
+        {0x15, 0x3d, KEY_REWIND},
+        {0x15, 0x3e, KEY_PAUSE},
+        {0x15, 0x3f, KEY_FORWARD}
+};
+
+
 
 
 static int pctv452e_rc_query(struct dvb_usb_device *d, u32 *keyevent, int *keystate) {
@@ -989,7 +1036,7 @@ static struct dvb_usb_device_properties 
 
 	.power_ctrl       = pctv452e_power_ctrl,
 
-	.rc_key_map       = pctv452e_rc_keys,
+	.rc_key_map       = tt_connect_s2_3600_rc_key,
 	.rc_key_map_size  = ARRAY_SIZE(pctv452e_rc_keys),
 	.rc_query         = pctv452e_rc_query,
 	.rc_interval      = 100,
@@ -1079,5 +1126,6 @@ module_exit(pctv452e_usb_exit);
 module_exit(pctv452e_usb_exit);
 
 MODULE_AUTHOR("Dominik Kuhlen <[email protected]>");
-MODULE_DESCRIPTION("Pinnacle PCTV HDTV USB DVB Driver");
+MODULE_AUTHOR("Andre Weidemann <[email protected]>");
+MODULE_DESCRIPTION("Pinnacle PCTV HDTV USB DVB / TT connect S2-3600 Driver");
 MODULE_LICENSE("GPL");

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

#4 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

Quoted 8 lines
Quoted 8 lines

The second patch you posted "patch_multiproto_dvbs2_frequency.diff" doesn't seem to work for me, it does compile fine but the problem is loading the the driver.

insmod stb0899.ko verbose=5

insmod: error inserting 'stb0899.ko': -1 Unknown symbol in module

Quoted 8 lines
Quoted 6 lines
Apr 19 21:22:40 archer usbcore: deregistering interface driver pctv452e
Apr 19 21:22:40 archer dvb-usb: Technotrend TT Connect S2-3600
successfully deinitialized and disconnected.
Apr 19 21:22:40 archer usbcore: deregistering interface driver
dvb-usb-tt-connect-s2-3600-01.fw
Apr 19 21:22:45 archer stb0899: Unknown symbol __divdi3

hmm, there might be an issue with the 64-bit arithmetic. what platform are your running? I'll try to convert that back to 32-bit only.

I'm using 32-bit Archlinux kernel 2.6.24.4 and my testing computer spec is:
Dell Optiplex GX620
Pentium D 2.80GHz
2GB RAM, 160GB SATA2.

thanks for "patch_add_tt_s2_3600_rc_keymap.diff" I have tested it with vdr remote plugin and all keys are working.

If you are going to release another version or future update please add support for TT connect s2 3650 CI, its same as 3600 but with CI.
+#define USB_PID_TECHNOTREND_CONNECT_S2_3650_CI 0x300a

Faruk

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

#5 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

Quoted 8 lines · Faruk A
Quoted 8 lines
Quoted 8 lines

The second patch you posted "patch_multiproto_dvbs2_frequency.diff" doesn't seem to work for me, it does compile fine but the problem is loading the the driver.

insmod stb0899.ko verbose=5

insmod: error inserting 'stb0899.ko': -1 Unknown symbol in module

Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Apr 19 21:22:40 archer usbcore: deregistering interface driver pctv452e
Apr 19 21:22:40 archer dvb-usb: Technotrend TT Connect S2-3600
successfully deinitialized and disconnected.
Apr 19 21:22:40 archer usbcore: deregistering interface driver
dvb-usb-tt-connect-s2-3600-01.fw
Apr 19 21:22:45 archer stb0899: Unknown symbol __divdi3

hmm, there might be an issue with the 64-bit arithmetic. what platform are your running? I'll try to convert that back to 32-bit only.

Could you please try to change line 1547 in stb0899_algo.c to:

offsetfreq = ((((offsetfreq / 1024) * 1000) / (1<<7)) * (s32)(internal->master_clk/1000000)) / (s32)(1<<13);

this should use only 32bit ops and not over/underflow for the expected ranges ;)

Quoted 8 lines

I'm using 32-bit Archlinux kernel 2.6.24.4 and my testing computer spec is:
Dell Optiplex GX620
Pentium D 2.80GHz
2GB RAM, 160GB SATA2.

thanks for "patch_add_tt_s2_3600_rc_keymap.diff" I have tested it with vdr remote plugin and all keys are working.

:)

Quoted 3 lines

If you are going to release another version or future update please add support for TT connect s2 3650 CI, its same as 3600 but with CI.
+#define USB_PID_TECHNOTREND_CONNECT_S2_3650_CI 0x300a

Ok, I'll add it.

Dominik

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

#6 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

Quoted 8 lines

Could you please try to change line 1547 in stb0899_algo.c to:

offsetfreq = ((((offsetfreq / 1024) * 1000) / (1<<7)) * (s32)(internal->master_clk/1000000)) / (s32)(1<<13);

this should use only 32bit ops and not over/underflow for the expected ranges ;)

Dominik

It works, with this new changes i had no problem loading the drivers.

One more thing i did some testing with vdr and dvbs2 it looks like it locks in exactly after 1 minute
but no video or audio vdr just displays no signal. I don't know if is the vdrs fault or the drivers
anyway i have attached a small log. (no attachment rejected by moderator, I've sent copy of this mail to Dominik with attachment. Tried pastebin too didn't help)

The dvb-s2 channel is ASTRA HD+ on ASTRA 19E
vdr version is 1.6.0 with Reinhard Nissl's DVB-S2 + H.264 patch

Faruk

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

#7 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

Quoted 11 lines · Faruk A
Quoted 8 lines

Could you please try to change line 1547 in stb0899_algo.c to:

offsetfreq = ((((offsetfreq / 1024) * 1000) / (1<<7)) * (s32)(internal->master_clk/1000000)) / (s32)(1<<13);

this should use only 32bit ops and not over/underflow for the expected ranges ;)

Dominik

It works, with this new changes i had no problem loading the drivers.

Quoted 7 lines

One more thing i did some testing with vdr and dvbs2 it looks like it locks in exactly after 1 minute
but no video or audio vdr just displays no signal. I don't know if is the vdrs fault or the drivers
anyway i have attached a small log. (no attachment rejected by moderator, I've sent copy of this mail to Dominik with attachment. Tried pastebin too didn't help)

Hmm, i have received your log file (its 3MB, you could try to bzip2 it before attaching. usually log files compress well)
The log starts at 19:51:19 with opening the device.
but it looks like delivery system is set to DVB-S not DVB-S2
frequency and symbolrate would match the astra-hd channel (1314MHz and 27500kSym/s). then at 19:52:20 the frontend parameter were changed to 1479MHz and 24500kSym/s not sure what triggered the retuning.
after 5 seconds the FE locks, which is surprising since the symbolrate is not correct.

Quoted 3 lines

The dvb-s2 channel is ASTRA HD+ on ASTRA 19E
vdr version is 1.6.0 with Reinhard Nissl's DVB-S2 + H.264 patch

hmm, I'm not familiar with vdr but afaik this should be ok.

Dominik

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

#8 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

Quoted 11 lines
Quoted 9 lines

It works, with this new changes i had no problem loading the drivers.

One more thing i did some testing with vdr and dvbs2 it looks like it locks in exactly after 1 minute
but no video or audio vdr just displays no signal. I don't know if is the vdrs fault or the drivers
anyway i have attached a small log. (no attachment rejected by moderator, I've sent copy of this mail to Dominik with attachment. Tried pastebin too didn't help)

Hmm, i have received your log file (its 3MB, you could try to bzip2 it before attaching. usually log files compress well)

Sorry i usually use bzip2 but i have a good excuse i had fever that day and now i am well :)

Quoted 7 lines

The log starts at 19:51:19 with opening the device.
but it looks like delivery system is set to DVB-S not DVB-S2
frequency and symbolrate would match the astra-hd channel (1314MHz and 27500kSym/s). then at 19:52:20 the frontend parameter were changed to 1479MHz and 24500kSym/s not sure what triggered the retuning.
after 5 seconds the FE locks, which is surprising since the symbolrate is not correct.

I found out the problem its my channel list and its solved. The reason is i rely on other peoples
channel list, i cannot produce one by my self i have tried many times and i just doesn't work for me.
I'm using the patch scan and with latest api patch. the program woks but the problem is it cannot
produce vdr output format when i use -o vdr at the end lets say it finds 150 channels it doesn't save
anything it only produce empty channels.conf file but when i use -o zap the saves what whatever
channels it finds to channels.conf the zap format never failed me before. I don't know how to fix this problem and i don't know if its the drivers fault or the softwares or me?

Faruk

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

#9 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

In reply to Faruk A
Quoted 17 lines · Faruk A
Quoted 8 lines
Quoted 8 lines

The second patch you posted "patch_multiproto_dvbs2_frequency.diff" doesn't seem to work for me, it does compile fine but the problem is loading the the driver.

insmod stb0899.ko verbose=5

insmod: error inserting 'stb0899.ko': -1 Unknown symbol in module

Quoted 8 lines
Quoted 6 lines
Apr 19 21:22:40 archer usbcore: deregistering interface driver pctv452e
Apr 19 21:22:40 archer dvb-usb: Technotrend TT Connect S2-3600
successfully deinitialized and disconnected.
Apr 19 21:22:40 archer usbcore: deregistering interface driver
dvb-usb-tt-connect-s2-3600-01.fw
Apr 19 21:22:45 archer stb0899: Unknown symbol __divdi3

hmm, there might be an issue with the 64-bit arithmetic. what platform are your running? I'll try to convert that back to 32-bit only.

Quoted 7 lines

I'm using 32-bit Archlinux kernel 2.6.24.4 and my testing computer spec is:
Dell Optiplex GX620
Pentium D 2.80GHz
2GB RAM, 160GB SATA2.

thanks for "patch_add_tt_s2_3600_rc_keymap.diff" I have tested it with vdr remote plugin and all keys are working.

I was told that there's a bug in the rc keymap size which is fixed by the attached patch

Quoted 3 lines

If you are going to release another version or future update please add support for TT connect s2 3650 CI, its same as 3600 but with CI.
+#define USB_PID_TECHNOTREND_CONNECT_S2_3650_CI 0x300a

attached as patch

Dominik

linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +1 -0
diff -r b25ed8c6c0e8 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -144,6 +144,7 @@
 #define USB_PID_PCTV_450E				0x0222
 #define USB_PID_PCTV_452E				0x021f
 #define USB_PID_TECHNOTREND_CONNECT_S2_3600             0x3007
+#define USB_PID_TECHNOTREND_CONNECT_S2_3650_CI          0x300a
 #define USB_PID_NEBULA_DIGITV				0x0201
 #define USB_PID_DVICO_BLUEBIRD_LGDT			0xd820
 #define USB_PID_DVICO_BLUEBIRD_LG064F_COLD		0xd500
linux/drivers/media/dvb/dvb-usb/pctv452e.c +5 -0
diff -r b25ed8c6c0e8 linux/drivers/media/dvb/dvb-usb/pctv452e.c
@@ -967,6 +967,7 @@ static struct usb_device_id pctv452e_usb
 static struct usb_device_id pctv452e_usb_table[] = {
 	{USB_DEVICE(USB_VID_PINNACLE, USB_PID_PCTV_452E)},
 	{USB_DEVICE(USB_VID_TECHNOTREND, USB_PID_TECHNOTREND_CONNECT_S2_3600)},
+	{USB_DEVICE(USB_VID_TECHNOTREND, USB_PID_TECHNOTREND_CONNECT_S2_3650_CI)},
 	{}
 };
 MODULE_DEVICE_TABLE(usb, pctv452e_usb_table);
@@ -1077,6 +1078,10 @@ static struct dvb_usb_device_properties 
 		  .cold_ids = { NULL, NULL }, // this is a warm only device
 		  .warm_ids = { &pctv452e_usb_table[1], NULL }
 		},
+		{ .name = "Technotrend TT Connect S2-3650-CI",
+		  .cold_ids = { NULL, NULL }, // this is a warm only device
+		  .warm_ids = { &pctv452e_usb_table[2], NULL }
+		},
 		{ 0 },
 	}
 };
linux/drivers/media/dvb/dvb-usb/pctv452e.c +1 -1
diff -r 6ebc788b30f2 linux/drivers/media/dvb/dvb-usb/pctv452e.c
@@ -1038,7 +1038,7 @@ static struct dvb_usb_device_properties 
 	.power_ctrl       = pctv452e_power_ctrl,
 
 	.rc_key_map       = tt_connect_s2_3600_rc_key,
-	.rc_key_map_size  = ARRAY_SIZE(pctv452e_rc_keys),
+	.rc_key_map_size  = ARRAY_SIZE(tt_connect_s2_3600_rc_key),
 	.rc_query         = pctv452e_rc_query,
 	.rc_interval      = 100,
 

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

#10 lore raw

Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)

Quoted 6 lines
Quoted 3 lines

If you are going to release another version or future update please add support for TT connect s2 3650 CI, its same as 3600 but with CI.
+#define USB_PID_TECHNOTREND_CONNECT_S2_3650_CI 0x300a

attached as patch

Dominik

Hi Dominik!

Last week i didn't had a chance to test the "patch_add_tt_s2_3650_ci.diff" i just tested and it's not working. I'll paste the log here when i use the device as 3600 and 3650 CI.

First when i use my device as 3600 (changed 0x3007 to 0x300a in dvb-usb-ids.h)

Apr 28 23:27:26 archer dvb-usb: found a 'Technotrend TT Connect
S2-3600' in warm state.
Apr 28 23:27:26 archer pctv452e_power_ctrl: 1
Apr 28 23:27:26 archer dvb-usb: will pass the complete MPEG2 transport
stream to the software demuxer.
Apr 28 23:27:26 archer DVB: registering new adapter (Technotrend TT
Connect S2-3600)
Apr 28 23:27:26 archer pctv452e_frontend_attach Enter
Apr 28 23:27:26 archer stb0899_write_regs [0xf1b6]: 02
Apr 28 23:27:26 archer stb0899_write_regs [0xf1c2]: 00
Apr 28 23:27:26 archer stb0899_write_regs [0xf1c3]: 00
Apr 28 23:27:26 archer stb0899_write_regs [0xf141]: 02
Apr 28 23:27:26 archer _stb0899_read_reg: Reg=[0xf000], data=82
Apr 28 23:27:26 archer stb0899_get_dev_id: ID reg=[0x82]
Apr 28 23:27:26 archer stb0899_get_dev_id: Device ID=[8], Release=[2]
Apr 28 23:27:26 archer _stb0899_read_s2reg Device=[0xf3fc], Base
address=[0x00000400], Offset=[0xf334], Data=[0x444d4431]
Apr 28 23:27:26 archer _stb0899_read_s2reg Device=[0xf3fc], Base
address=[0x00000400], Offset=[0xf33c], Data=[0x00000001]
Apr 28 23:27:26 archer stb0899_get_dev_id: Demodulator Core ID=[DMD1],
Version=[1]
Apr 28 23:27:26 archer _stb0899_read_s2reg Device=[0xfafc], Base
address=[0x00000800], Offset=[0xfa2c], Data=[0x46454331]
Apr 28 23:27:26 archer _stb0899_read_s2reg Device=[0xfafc], Base
address=[0x00000800], Offset=[0xfa34], Data=[0x00000001]
Apr 28 23:27:26 archer stb0899_get_dev_id: FEC Core ID=[FEC1], Version=[1]
Apr 28 23:27:26 archer stb0899_attach: Attaching STB0899
Apr 28 23:27:26 archer lnbp22_set_voltage: 2 (18V=1 13V=0)
Apr 28 23:27:26 archer lnbp22_set_voltage: 0x60)
Apr 28 23:27:26 archer pctv452e_frontend_attach Leave Ok
Apr 28 23:27:26 archer DVB: registering frontend 0 (STB0899 Multistandard)...
Apr 28 23:27:26 archer pctv452e_tuner_attach Enter
Apr 28 23:27:26 archer stb6100_attach: Attaching STB6100
Apr 28 23:27:26 archer pctv452e_tuner_attach Leave
Apr 28 23:27:26 archer input: IR-receiver inside an USB DVB receiver
as /devices/pci0000:00/0000:00:1d.7/usb5/5-4/input/input21
Apr 28 23:27:26 archer dvb-usb: schedule remote query interval to 100 msecs.
Apr 28 23:27:26 archer pctv452e_power_ctrl: 0
Apr 28 23:27:26 archer dvb-usb: Technotrend TT Connect S2-3600
successfully initialized and connected.
Apr 28 23:27:26 archer usbcore: registered new interface driver pctv452e
Apr 28 23:27:26 archer usbcore: registered new interface driver

dvb-usb-tt-connect-s2-3600-01.fw
............................................................................................

Second when i use my device as 3650 CI (changed back dvb-usb-ids.h to it's original)

Apr 28 23:31:17 archer usbcore: deregistering interface driver pctv452e
Apr 28 23:31:17 archer lnbp22_release
Apr 28 23:31:17 archer lnbp22_set_voltage: 2 (18V=1 13V=0)
Apr 28 23:31:17 archer lnbp22_set_voltage: 0x60)
Apr 28 23:31:17 archer dvb-usb: bulk message failed: -22 (11/572662306)
Apr 28 23:31:17 archer stb0899_release: Release Frontend
Apr 28 23:31:17 archer stb0899_write_regs [0xf141]: 82
Apr 28 23:31:17 archer dvb-usb: bulk message failed: -22 (10/572662306)
Apr 28 23:31:17 archer dvb-usb: Technotrend TT Connect S2-3600
successfully deinitialized and disconnected.
Apr 28 23:31:17 archer usbcore: deregistering interface driver
dvb-usb-tt-connect-s2-3600-01.fw
Apr 28 23:35:27 archer usbcore: registered new interface driver pctv452e
Apr 28 23:35:27 archer usbcore: registered new interface driver

dvb-usb-tt-connect-s2-3600-01.fw
.....................................................................................................
no /dev/dvb

Faruk

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

#11 lore raw
In reply to Dominik Kuhlen
Quoted 9 lines · Dominik Kuhlen

Hi,

Here is my current version after quite a while of testing and tuning:
I stripped the stb0899 tuning/searching algo to speed up tuning a bit now I have very fast and reliable locks (no failures, no errors)

I have also merged the TT-S2-3600 patch from André. (I cannot test it though.)

	Hi,

I will try it right away! BTW should I substract the 4MHz you talked about in another email when using this patch or is it already fixed by this (I did not try yet).
In will report ASAP.
Thx,
Bye
Manu

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

#12 lore raw

Hi,

Quoted 7 lines · manu
Quoted 6 lines · Dominik Kuhlen

Hi,

Here is my current version after quite a while of testing and tuning:
I stripped the stb0899 tuning/searching algo to speed up tuning a bit now I have very fast and reliable locks (no failures, no errors)

Quoted 8 lines
Quoted 3 lines

I have also merged the TT-S2-3600 patch from André. (I cannot test it though.)

	Hi,

I will try it right away! BTW should I substract the 4MHz you talked about in another email when using this patch or is it already fixed by this (I did not try yet).

This should be fixed. The offset I liked you to test was to check whether my investigations went in the right direction ;) For DVB-S transponders I can use a frequency offset in the range from -7MHz to +7MHz
and still get reliable locks. The actual frequency is reported by DVBFE_GET_PARAM ioctl
which could be used to update the frequency list automagically.

Dominik

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

#13 lore raw
Quoted 23 lines · Dominik Kuhlen

Hi,

Quoted 4 lines · manu
Quoted 3 lines · Dominik Kuhlen

Hi,

Here is my current version after quite a while of testing and

tuning:

Quoted 1 line
Quoted 1 line

I stripped the stb0899 tuning/searching algo to speed up tuning a

bit

Quoted 3 lines
Quoted 3 lines

now I have very fast and reliable locks (no failures, no errors)

I have also merged the TT-S2-3600 patch from André. (I cannot

test
it

Quoted 5 lines
Quoted 2 lines

though.)

	Hi,

I will try it right away! BTW should I substract the 4MHz you

talked

Quoted 1 line

about in another email when using this patch or is it already fixed

by

Quoted 9 lines
Quoted 1 line

this (I did not try yet).

This should be fixed. The offset I liked you to test was to check whether my investigations went in the right direction ;) For DVB-S transponders I can use a frequency offset in the range from -7MHz to +7MHz
and still get reliable locks. The actual frequency is reported by
DVBFE_GET_PARAM ioctl
which could be used to update the frequency list automagically.

I had to ADD 4Mhz to the frequency to get reliable locks on all transponders (I added that directly in mythtv sources).
BTW I only applied the part of your patch concerning the stb0899, but I dont know if you initialised it differently in the pctv sources than how it is in the budget-ci ones. Maybe that can make a difference also. HTH
Bye
Manu

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

#14 lore raw
In reply to Dominik Kuhlen
Quoted 9 lines · Dominik Kuhlen

Hi,

Here is my current version after quite a while of testing and tuning:
I stripped the stb0899 tuning/searching algo to speed up tuning a bit now I have very fast and reliable locks (no failures, no errors)

I have also merged the TT-S2-3600 patch from André. (I cannot test it though.)

Quoted 10 lines

the attached patch applies to jusst.de multiproto rev 7213 the simpledvbtune application is for tuning tests: it does only open the frontend and tunes. no data reading/section parsing. compile with:
gcc -I/YOUR_MP_PATH/linux/include simpledvbtune.c -o simpletune and tune to (if you have Astra 19.2 as first satellite) ZDF DVB-S transponder
./simpledvbtune -f 11954
Astra demo DVB-S2 transponder
./simpledvbtune -f 11915 -d 2

I patched stb988*.c to see if it immproved my reception, but so far it looks pretty much the same: transponder on 11093 is always perfect and all others are unreliable (meaning: going from no lock to perfect image between times, and if I get no lock tuning to the good transponder on 11093 MHz and tuning back to where it did not work will give me a lock in general), so... I was lost.
I also tried to substract 4 Mhz to the tuning frequency even up to 10 MHz but with the same symptoms.
BUT the good news is : ADDING 4MHz gives good results: perfect picture on every transponders!
Bye
Manu

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

#15 lore raw
In reply to Dominik Kuhlen
Quoted 1 line · Dominik Kuhlen

Hi,

Hi!

Quoted 5 lines

Here is my current version after quite a while of testing and tuning:
I stripped the stb0899 tuning/searching algo to speed up tuning a bit now I have very fast and reliable locks (no failures, no errors)

I have also merged the TT-S2-3600 patch from André. (I cannot test it though.)

I was able to use my TT-S2-3600 with your patches for DVB-S, with a few caveats:

I can't tune to 12727 V with 18400 symbolrate on 1°W. The only meaningful difference to other transponders on 1°W seems to be the symbolrate.

$ ./simpletune -a 4 -f12717 -p v -s 18400 -d 1
using '/dev/dvb/adapter4/frontend0' as frontend
frontend fd=3: type=0
ioclt: FE_SET_VOLTAGE : 0
High band
tone: 1
dvbfe setparams :  delsys=1 2117MHz / Rate : 18400kBPS
Status: 00:
SNR: 222 173 (0xdead) (5700.5dB)
BER: 0 0 0 0 (0x0)
Signal: 222 173 (0xdead) -8531 (5700.5dBm)
Frontend: f=2117.021

I also get some image distortions like André mentioned in his earlier message.

Signature · 6 lines
Anssi Hannula

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