[PATCH] STV22 Dual USB DVB-T Tuner HDTV linux kernel support

2011-06-23 Thread Emilio David Diaus López
Hello:

I expect the patches finally are ok.

This patches add

Signed-off-by: Emilio David Diaus Lopez reality...@yahoo.es
-

-- ./drivers/media/dvb/dvb-usb/af9015.c.orig2011-06-21 12:39:44.0 
+0200
+++ ./drivers/media/dvb/dvb-usb/af9015.c2011-06-22 12:05:28.0 
+0200
@@ -749,6 +749,8 @@ static const struct af9015_rc_setup af90
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,
@@ -1309,6 +1311,7 @@ static struct usb_device_id af9015_usb_t
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);
@@ -1649,6 +1652,11 @@ static struct dvb_usb_device_properties
.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.orig  2011-06-21
12:39:45.0 +0200
+++ ./drivers/media/dvb/dvb-usb/dvb-usb-ids.h   2011-06-18
11:48:22.0 +0200
@@ -128,6 +128,7 @@
 #define USB_PID_INTEL_CE9500   0x9500
 #define USB_PID_KWORLD_399U0xe399
 #define USB_PID_KWORLD_399U_2  0xe400
+#define USB_PID_SVEON_STV220xe401
 #define USB_PID_KWORLD_395U0xe396
 #define USB_PID_KWORLD_395U_2  0xe39b
 #define USB_PID_KWORLD_395U_3  0xe395

1.1
---
Thanks for your time

goodbye
Emilio David Diaus López
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: dual sveon stv22 Afatech af9015 support (kworld clone)

2011-06-16 Thread Emilio David Diaus López
Hello again:

The output for lsusb -vvd 1b80:e401 is:

Bus 001 Device 016: ID 1b80:e401 Afatech
Device Descriptor:
  bLength    18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass    0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0    64
  idVendor   0x1b80 Afatech
  idProduct  0xe401
  bcdDevice    2.00
  iManufacturer   1 AG Sistemas Informaticos
  iProduct    2 SVEON STV22
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength   46
    bNumInterfaces  1
    bConfigurationValue 1
    iConfiguration  0
    bmAttributes 0x80
  (Bus Powered)
    MaxPower  500mA
    Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber    0
  bAlternateSetting   0
  bNumEndpoints   4
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass  0
  bInterfaceProtocol  0
  iInterface  0
  Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81  EP 1 IN
    bmAttributes    2
  Transfer Type    Bulk
  Synch Type   None
  Usage Type   Data
    wMaxPacketSize 0x0200  1x 512 bytes
    bInterval   0
  Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02  EP 2 OUT
    bmAttributes    2
  Transfer Type    Bulk
  Synch Type   None
  Usage Type   Data
    wMaxPacketSize 0x0200  1x 512 bytes
    bInterval   0
  Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x84  EP 4 IN
    bmAttributes    2
  Transfer Type    Bulk
  Synch Type   None
  Usage Type   Data
    wMaxPacketSize 0x0200  1x 512 bytes
    bInterval   0
  Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x85  EP 5 IN
    bmAttributes    2
  Transfer Type    Bulk
  Synch Type   None
  Usage Type   Data
    wMaxPacketSize 0x0200  1x 512 bytes
    bInterval   0
Device Qualifier (for other device speed):
  bLength    10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass    0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0    64
  bNumConfigurations  1
Device Status: 0x
  (Bus Powered)
---

now i'm working in the remote controller keytable, i'm looking for the
remote because i forgot where i put it but i expect to find it soon.

thanks for all

Emilio David Diaus López