public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* How can I add IR remote to this new device (DIKOM DK300)?
@ 2010-01-16  1:15 Andrea.Amorosi76
  2010-01-25 12:40 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea.Amorosi76 @ 2010-01-16  1:15 UTC (permalink / raw)
  To: Linux Media Mailing List

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);



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-04 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-16  1:15 How can I add IR remote to this new device (DIKOM DK300)? Andrea.Amorosi76
2010-01-25 12:40 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox