public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Dominik Kuhlen <dkuhlen@gmx.net>
To: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap)
Date: Sun, 20 Apr 2008 10:54:35 +0200	[thread overview]
Message-ID: <200804201054.35570.dkuhlen@gmx.net> (raw)
In-Reply-To: <854d46170804191245m6015dbdpe8b244aa1c884153@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 1566 bytes --]

Hi,
On Saturday 19 April 2008, Faruk A wrote:
> 2008/4/19 Dominik Kuhlen <dkuhlen@gmx.net>:
> > Hi,
---snip---
> 
> 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 :)
> 
> 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
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---
> ..............................................................................................
> 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

[-- Attachment #1.1.2: patch_add_tt_s2_3600_rc_keymap.diff --]
[-- Type: text/x-diff, Size: 2705 bytes --]

diff -r 2dc3054e8bee linux/drivers/media/dvb/dvb-usb/pctv452e.c
--- a/linux/drivers/media/dvb/dvb-usb/pctv452e.c	Sun Apr 20 10:45:39 2008 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/pctv452e.c	Sun Apr 20 10:47:41 2008 +0200
@@ -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 <dkuhlen@gmx.net>");
-MODULE_DESCRIPTION("Pinnacle PCTV HDTV USB DVB Driver");
+MODULE_AUTHOR("Andre Weidemann <Andre.Weidemann@web.de>");
+MODULE_DESCRIPTION("Pinnacle PCTV HDTV USB DVB / TT connect S2-3600 Driver");
 MODULE_LICENSE("GPL");

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-04-20  8:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-18 23:01 [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version Dominik Kuhlen
2008-04-19  9:54 ` Dominik Kuhlen
2008-04-19 19:45   ` Faruk A
2008-04-20  8:54     ` Dominik Kuhlen [this message]
2008-04-20 13:05       ` [linux-dvb] Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version (RC-keymap) Faruk A
2008-04-20 15:39         ` Dominik Kuhlen
2008-04-20 19:48           ` Faruk A
2008-04-20 20:15             ` Dominik Kuhlen
2008-04-23 20:41               ` Faruk A
2008-04-20 20:31         ` Dominik Kuhlen
2008-04-28 22:00           ` Faruk A
2008-04-19 12:16 ` [linux-dvb] Re : Pinnacle PCTV Sat HDTV Pro USB (PCTV452e) and TT-Connect-S2-3600 final version manu
2008-04-20  9:03   ` Dominik Kuhlen
2008-04-20 12:51     ` [linux-dvb] Re : " manu
2008-04-19 17:48 ` [linux-dvb] " manu
2008-05-21 11:47 ` [linux-dvb] " Anssi Hannula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804201054.35570.dkuhlen@gmx.net \
    --to=dkuhlen@gmx.net \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox