public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* dual sveon stv22 Afatech af9015 support (kworld clone)
       [not found] <S1753342Ab1FKJ3p/20110611092945Z+46855@vger.kernel.org>
@ 2011-06-11  9:38 ` Lopez Lopez
  2011-06-12 11:27   ` Antti Palosaari
  0 siblings, 1 reply; 4+ messages in thread
From: Lopez Lopez @ 2011-06-11  9:38 UTC (permalink / raw)
  To: linux-media@vger.kernel.org

Hello:

I have patched af9015.c and dvb-usb-ids to support sveon stv22 ( KWorld USB Dual DVB-T TV Stick (DVB-T 399U)  clone ) dual with
-----
#define USB_PID_SVEON_STV22                0xe401
------
 in dvb-usb-ids.h file 

and 
-----
/* 30 */{USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_KWORLD_UB383_T)},
    {USB_DEVICE(USB_VID_KWORLD_2, 
 USB_PID_KWORLD_395U_4)},
    {USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_SVEON_STV22)},
    {0},
};

------
{
                .name = "Sveon STV22 Dual USB DVB-T Tuner HDTV ",
                .cold_ids = {&af9015_usb_table[32], NULL},
                .warm_ids = {NULL},
            },

-----

in af9015.c

i expect to help you to extends linux dvb usb support.

thanks for your time

Emilio David Diaus Lopez

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

* Re: dual sveon stv22 Afatech af9015 support (kworld clone)
  2011-06-11  9:38 ` dual sveon stv22 Afatech af9015 support (kworld clone) Lopez Lopez
@ 2011-06-12 11:27   ` Antti Palosaari
  2011-06-16 11:06     ` Emilio David Diaus López
       [not found]     ` <BANLkTikT9Tp6N9=Bf_cm7aYfiFdJEM-sbA@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Antti Palosaari @ 2011-06-12 11:27 UTC (permalink / raw)
  To: Lopez Lopez; +Cc: linux-media@vger.kernel.org

Could you send lsusb -vvd <usb:id> output from that device?

Also remote controller keytable is needed. You can enable remote debug 
by modprobe dvb_usb_af9015 debug=2. After that it should output remote 
codes to the message.log.

regards,
Antti


On 06/11/2011 12:38 PM, Lopez Lopez wrote:
> Hello:
>
> I have patched af9015.c and dvb-usb-ids to support sveon stv22 ( KWorld USB Dual DVB-T TV Stick (DVB-T 399U)  clone ) dual with
> -----
> #define USB_PID_SVEON_STV22                0xe401
> ------
>   in dvb-usb-ids.h file
>
> and
> -----
> /* 30 */{USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_KWORLD_UB383_T)},
>      {USB_DEVICE(USB_VID_KWORLD_2,
>   USB_PID_KWORLD_395U_4)},
>      {USB_DEVICE(USB_VID_KWORLD_2,  USB_PID_SVEON_STV22)},
>      {0},
> };
>
> ------
> {
>                  .name = "Sveon STV22 Dual USB DVB-T Tuner HDTV ",
>                  .cold_ids = {&af9015_usb_table[32], NULL},
>                  .warm_ids = {NULL},
>              },
>
> -----
>
> in af9015.c
>
> i expect to help you to extends linux dvb usb support.
>
> thanks for your time
>
> Emilio David Diaus Lopez
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
http://palosaari.fi/

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

* Re: dual sveon stv22 Afatech af9015 support (kworld clone)
  2011-06-12 11:27   ` Antti Palosaari
@ 2011-06-16 11:06     ` Emilio David Diaus López
       [not found]     ` <BANLkTikT9Tp6N9=Bf_cm7aYfiFdJEM-sbA@mail.gmail.com>
  1 sibling, 0 replies; 4+ messages in thread
From: Emilio David Diaus López @ 2011-06-16 11:06 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-media

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:     0x0000
  (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

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

* Re: dual sveon stv22 Afatech af9015 support (kworld clone)
       [not found]     ` <BANLkTikT9Tp6N9=Bf_cm7aYfiFdJEM-sbA@mail.gmail.com>
@ 2011-06-20 11:15       ` Antti Palosaari
  0 siblings, 0 replies; 4+ messages in thread
From: Antti Palosaari @ 2011-06-20 11:15 UTC (permalink / raw)
  To: David; +Cc: linux-media

On 06/20/2011 11:51 AM, David wrote:
> Hello again:
> I ' m working with remote in sveon stv22:
>
> remote es a grid of buttons 4 buttons horizontally and 8 vertically

That's RC_MAP_MSI_DIGIVOX_III remote. It is already used by that AF9015. 
You should add USB-ID mapping for that remote to auto detect.


[...]

> If you want anything more tell my it
> .
>
> thanks for your time

You should make patch or two and send for me in order to get changes 
upstream.

1. add support for your device (USB ID + name)
2. map remote to your device.


regards
Antti

-- 
http://palosaari.fi/

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

end of thread, other threads:[~2011-06-20 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <S1753342Ab1FKJ3p/20110611092945Z+46855@vger.kernel.org>
2011-06-11  9:38 ` dual sveon stv22 Afatech af9015 support (kworld clone) Lopez Lopez
2011-06-12 11:27   ` Antti Palosaari
2011-06-16 11:06     ` Emilio David Diaus López
     [not found]     ` <BANLkTikT9Tp6N9=Bf_cm7aYfiFdJEM-sbA@mail.gmail.com>
2011-06-20 11:15       ` Antti Palosaari

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