public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Andrea.Amorosi76@gmail.com" <Andrea.Amorosi76@gmail.com>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: How can I add IR remote to this new device (DIKOM DK300)?
Date: Sat, 16 Jan 2010 02:15:22 +0100	[thread overview]
Message-ID: <4B51132A.1000606@gmail.com> (raw)

Hi to all,
I'm trying to use my Dikom DK300, my old notebook and an external 
monitor to create a media centre (I'm mostly interested in TV and TV 
recording).

The problem is that, even if I have managed to have the device working 
with the following patch, I can't still use the IR remote control 
shipped with it.
Can you give me some suggestion in order to have also the remote 
controller working? Otherwise is it easier to buy another remote with a 
dedicated receiver?

Moreover, since the digital demodulator remains activated when the tuner 
is switched from digital to analogue mode or when kaffeine (which 
actually I'm using to see digital tv) is closed, I wonder if someone can 
explain me how to verify the gpio settings using the usbsnoop (which 
I've done some times ago under win XP) to solve the issue.
If it is not possible, is there any way to deactivate the usb port and 
reactivate it when the device is in needed?

Meantime this it the patch that fixes the Dikom DK300 hybrid USB card 
which is recognized as a Kworld VS-DVB-T 323UR (card=54).

The patch adds digital TV and solves analogue TV audio bad quality issue.
Moreover it removes the composite and s-video analogue inputs which are 
not present on the board.

Not working: remote controller

Signed-off-by: Andrea Amorosi <Andrea.Amorosi76@gmail.com>

diff -r 59e746a1c5d1 linux/drivers/media/video/em28xx/em28xx-cards.c
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c	Wed Dec 30 09:10:33 2009 -0200
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c	Tue Jan 12 21:58:30 2010 +0100
@@ -1447,19 +1447,25 @@
 		.tuner_type   = TUNER_XC2028,
 		.tuner_gpio   = default_tuner_gpio,
 		.decoder      = EM28XX_TVP5150,
+		.mts_firmware = 1,
+		.has_dvb      = 1,
+		.dvb_gpio     = kworld_330u_digital,
 		.input        = { {
 			.type     = EM28XX_VMUX_TELEVISION,
 			.vmux     = TVP5150_COMPOSITE0,
 			.amux     = EM28XX_AMUX_VIDEO,
-		}, {
+			.gpio     = default_analog,
+		},/* {
 			.type     = EM28XX_VMUX_COMPOSITE1,
 			.vmux     = TVP5150_COMPOSITE1,
 			.amux     = EM28XX_AMUX_LINE_IN,
+			.gpio     = kworld_330u_analog,
 		}, {
 			.type     = EM28XX_VMUX_SVIDEO,
 			.vmux     = TVP5150_SVIDEO,
 			.amux     = EM28XX_AMUX_LINE_IN,
-		} },
+			.gpio     = kworld_330u_analog,
+		} */},
 	},
 	[EM2882_BOARD_TERRATEC_HYBRID_XS] = {
 		.name         = "Terratec Hybrid XS (em2882)",
@@ -2168,6 +2174,7 @@
 		ctl->demod = XC3028_FE_DEFAULT;
 		break;
 	case EM2883_BOARD_KWORLD_HYBRID_330U:
+	case EM2882_BOARD_KWORLD_VS_DVBT:
 		ctl->demod = XC3028_FE_CHINA;
 		ctl->fname = XC2028_DEFAULT_FIRMWARE;
 		break;
diff -r 59e746a1c5d1 linux/drivers/media/video/em28xx/em28xx-dvb.c
--- a/linux/drivers/media/video/em28xx/em28xx-dvb.c	Wed Dec 30 09:10:33 2009 -0200
+++ b/linux/drivers/media/video/em28xx/em28xx-dvb.c	Tue Jan 12 21:58:30 2010 +0100
@@ -504,6 +504,7 @@
 		break;
 	case EM2880_BOARD_TERRATEC_HYBRID_XS:
 	case EM2881_BOARD_PINNACLE_HYBRID_PRO:
+	case EM2882_BOARD_KWORLD_VS_DVBT:
 		dvb->frontend = dvb_attach(zl10353_attach,
 					   &em28xx_zl10353_xc3028_no_i2c_gate,
 					   &dev->i2c_adap);



             reply	other threads:[~2010-01-16  1:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16  1:15 Andrea.Amorosi76 [this message]
2010-01-25 12:40 ` How can I add IR remote to this new device (DIKOM DK300)? Mauro Carvalho Chehab
     [not found]   ` <4B5F6914.4080502@gmail.com>
2010-01-26 22:24     ` Mauro Carvalho Chehab
     [not found]       ` <4B61E759.5000707@gmail.com>
2010-01-29 17:10         ` Mauro Carvalho Chehab
2010-02-04 19:15           ` Andrea.Amorosi76

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=4B51132A.1000606@gmail.com \
    --to=andrea.amorosi76@gmail.com \
    --cc=linux-media@vger.kernel.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