Skip to contentSkip to conversation

Sveon stv22 patches

PATCH David 2 participants 3 messages Jun 22, 2011

Subsystems (2)
lore
Share & tools
lore

David

author
#0 lore raw

Hello Again:

The patches for sveon stv22 are done, the first test seems to be ok , tdt tv working , remote working, tests with ubuntu and custom kernel 3.0.0.rc4 , software tvheadend and xbmc tvlive frontend.

The console output is:

usb 5-1.4: new high speed USB device number 13 using ehci_hcd
dvb-usb: found a 'Sveon STV22 Dual USB DVB-T Tuner HDTV ' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
dvb-usb: found a 'Sveon STV22 Dual USB DVB-T Tuner HDTV ' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Sveon STV22 Dual USB DVB-T Tuner HDTV )
af9013: firmware version:5.1.0.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Sveon STV22 Dual USB DVB-T Tuner HDTV )
af9013: found a 'Afatech AF9013 DVB-T' in warm state.
af9013: firmware version:5.1.0.0
DVB: registering adapter 1 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
Registered IR keymap rc-msi-digivox-iii
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1.4/rc/rc2/input11
rc2: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1.4/rc/rc2
dvb-usb: schedule remote query interval to 500 msecs.
dvb-usb: Sveon STV22 Dual USB DVB-T Tuner HDTV successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_af9015

Thanks for your time

Emilio David Diaus López

drivers/media/dvb/dvb-usb/af9015.c renamed from af9015.c +0 -8
@@ -749,8 +749,6 @@
 		RC_MAP_AZUREWAVE_AD_TU700 },
 	{ (USB_VID_MSI_2 << 16) + USB_PID_MSI_DIGI_VOX_MINI_III,
 		RC_MAP_MSI_DIGIVOX_III },
-	{ (USB_VID_KWORLD_2 << 16) + USB_PID_SVEON_STV22,
-		RC_MAP_MSI_DIGIVOX_III },
 	{ (USB_VID_LEADTEK << 16) + USB_PID_WINFAST_DTV_DONGLE_GOLD,
 		RC_MAP_LEADTEK_Y04G0051 },
 	{ (USB_VID_AVERMEDIA << 16) + USB_PID_AVERMEDIA_VOLAR_X,
@@ -1311,7 +1309,6 @@
 		USB_PID_TERRATEC_CINERGY_T_STICK_DUAL_RC)},
 /* 35 */{USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A850T)},
 	{USB_DEVICE(USB_VID_GTEK,      USB_PID_TINYTWIN_3)},
-	{USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_SVEON_STV22)},
 	{0},
 };
 MODULE_DEVICE_TABLE(usb, af9015_usb_table);
@@ -1652,11 +1649,6 @@
 				.warm_ids = {NULL},
 			},
 			{
-				.name = "Sveon STV22 Dual USB DVB-T Tuner HDTV ",
-				.cold_ids = {&af9015_usb_table[37], NULL},
-				.warm_ids = {NULL},
-			},
-			{
 				.name = "Leadtek WinFast DTV2000DS",
 				.cold_ids = {&af9015_usb_table[29], NULL},
 				.warm_ids = {NULL},
drivers/media/dvb/dvb-usb/dvb-usb-ids.h renamed from dvb-usb-ids.h +0 -1
@@ -128,7 +128,6 @@
 #define USB_PID_INTEL_CE9500				0x9500
 #define USB_PID_KWORLD_399U				0xe399
 #define USB_PID_KWORLD_399U_2				0xe400
-#define USB_PID_SVEON_STV22				0xe401
 #define USB_PID_KWORLD_395U				0xe396
 #define USB_PID_KWORLD_395U_2				0xe39b
 #define USB_PID_KWORLD_395U_3				0xe395
include/media/rc-map.h renamed from rc-map.h +0 -1
@@ -130,7 +130,6 @@
 #define RC_MAP_RC6_MCE                   "rc-rc6-mce"
 #define RC_MAP_REAL_AUDIO_220_32_KEYS    "rc-real-audio-220-32-keys"
 #define RC_MAP_STREAMZAP                 "rc-streamzap"
-#define RC_MAP_SVEON_STV22		 "rc-msi-digivox-iii"
 #define RC_MAP_TBS_NEC                   "rc-tbs-nec"
 #define RC_MAP_TECHNISAT_USB2            "rc-technisat-usb2"
 #define RC_MAP_TERRATEC_CINERGY_XS       "rc-terratec-cinergy-xs"
#1 lore raw

Hello
Comments below.

Could you use Git since you have latest Kernel? If that's too hard don't try it, I can leave without, but it will easy my work a little.

You have diffed wrong direction, those patches are removing lines rather than adding (- vs. +). Also you your signed off by is needed. See:
http://linuxtv.org/wiki/index.php/Development:_Submitting_Patches

include/media/rc-map.h line 135

Quoted 10 lines
include/media/rc-map.h renamed from rc-map.h +0 -1
@@ -130,7 +130,6 @@
  #define RC_MAP_RC6_MCE                   "rc-rc6-mce"
  #define RC_MAP_REAL_AUDIO_220_32_KEYS    "rc-real-audio-220-32-keys"
  #define RC_MAP_STREAMZAP                 "rc-streamzap"
-#define RC_MAP_SVEON_STV22		 "rc-msi-digivox-iii"
  #define RC_MAP_TBS_NEC                   "rc-tbs-nec"
  #define RC_MAP_TECHNISAT_USB2            "rc-technisat-usb2"
  #define RC_MAP_TERRATEC_CINERGY_XS       "rc-terratec-cinergy-xs"

That's wrong, it is not needed at all. All the other seems to be rather OK.

regards
Antti

Signature · 1 line
http://palosaari.fi/
author
#2 lore raw

Helo again:

Sorry for my mistakes and errors, is my first patch, thanks for the doc, yes i have diffed in the wrong direction. i don't know how use git to patch but i'm gonna make a new patches, i expect the patches will be ok this time.

Ok. The rc.map.h patch is not needed because we are using DIGIBOX rc.map, one less patch needed then.

Thanks for your time

Emilio David Diaus López