Astrometa DVB-T2 plus Analog USB TV Stick

From LinuxTVWiki
Jump to navigation Jump to search

Astrometa DVB-T2 plus Analog USB TV Stick (ID: 15f4:0135)

A small USB based digital and analogue TV Tuner and FM radio receiver (with composite input).

This device is also mentioned here: https://www.linuxtv.org/wiki/index.php/Astrometa_DVB-T2

Overview/Features

Digital TV DVB-T/DVB-T2/DVB-C, Analog TV, FM Radio, Composite Video-in

  • USB 2.0 interface
  • Inputs: IEC connector 75 Ohm (COAX), Remote, Composite Video (Cinch)


Components Used

Other Images

Identification

$ lsusb -v -d 15f4:0135

Bus 002 Device 004: ID 15f4:0135 HanfTek 
Couldn't open device, some information will be missing
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass          239 Miscellaneous Device
 bDeviceSubClass         2 ?
 bDeviceProtocol         1 Interface Association
 bMaxPacketSize0        64
 idVendor           0x15f4 HanfTek
 idProduct          0x0135 
 bcdDevice           40.01
 iManufacturer           1 
 iProduct                2 
 iSerial                 3 
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength          344
   bNumInterfaces          7
   bConfigurationValue     1
   iConfiguration          4 
   bmAttributes         0xa0
     (Bus Powered)
     Remote Wakeup
   MaxPower              500mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           2
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             32 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x8e  EP 14 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0020  1x 32 bytes
       bInterval               4
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x0e  EP 14 OUT
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0020  1x 32 bytes
       bInterval               4
   Interface Association:
     bLength                 8
     bDescriptorType        11
     bFirstInterface         1
     bInterfaceCount         6
     bFunctionClass        255 Vendor Specific Class
     bFunctionSubClass     255 Vendor Specific Subclass
     bFunctionProtocol     255 Vendor Specific Protocol
     iFunction               0 
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface              7 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x8f  EP 15 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0008  1x 8 bytes
       bInterval               7
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface              8 
     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
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       1
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface              9 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       2
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             10 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x0080  1x 128 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       3
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             11 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x013c  1x 316 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       4
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             12 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x02c8  1x 712 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       5
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             13 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x0ac8  2x 712 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        3
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             20 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        3
     bAlternateSetting       1
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             21 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x001c  1x 28 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        3
     bAlternateSetting       2
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             22 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x0034  1x 52 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        4
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             23 
     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
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        4
     bAlternateSetting       1
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             24 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x00b8  1x 184 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        4
     bAlternateSetting       2
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             25 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x02d8  1x 728 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        4
     bAlternateSetting       3
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             26 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x13c4  3x 964 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        4
     bAlternateSetting       4
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             27 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x0b84  2x 900 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        5
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             28 
     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
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        5
     bAlternateSetting       1
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             31 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x05  EP 5 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        6
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             29 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x86  EP 6 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        6
     bAlternateSetting       1
     bNumEndpoints           1
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface             30 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x86  EP 6 IN
       bmAttributes            5
         Transfer Type            Isochronous
         Synch Type               Asynchronous
         Usage Type               Data
       wMaxPacketSize     0x0240  1x 576 bytes
       bInterval               1

Making it Work

Somehow w_scan works with Ubuntu 18.04.1 LTS but I have not been able to get picture. The driver may need a patch to improve signal quality or something. It did manage to get some signal because I got Kaffeine to show program guide information, but the picture remained a black screen and no audio.

Firmware

The required firmware I believe is included with Ubuntu 18.04.1 LTS. (See dmesg)

Drivers

cx231xx driver is used.

Sample Kernel Output

# dmesg
[ 1892.967706] usb 2-1.1: new high-speed USB device number 4 using ehci-pci
[ 1893.098068] usb 2-1.1: New USB device found, idVendor=15f4, idProduct=0135
[ 1893.098074] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1893.098078] usb 2-1.1: Product: T2hybrid
[ 1893.098082] usb 2-1.1: Manufacturer: Astrometa
[ 1893.333026] lirc_dev: IR Remote Control driver registered, major 242
[ 1893.343077] IR LIRC bridge handler initialized
[ 1893.375647] Registered IR keymap rc-astrometa-t2hybrid
[ 1893.381701] IR NEC protocol handler initialized
[ 1893.407722] rc rc0: Astrometa T2Hybrid (15f4:0135) as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/rc/rc0
[ 1893.407814] input: Astrometa T2Hybrid (15f4:0135) as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/rc/rc0/input19
[ 1893.408286] lirc lirc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[ 1893.667786] mceusb 2-1.1:1.0: Registered Astrometa T2hybrid with mce emulator interface version 1
[ 1893.667792] mceusb 2-1.1:1.0: 2 tx ports (0x3 cabled) and 2 rx sensors (0x1 active)
[ 1893.667974] usbcore: registered new interface driver mceusb
[ 1893.706887] media: Linux media interface: v0.10
[ 1893.739184] Linux video capture interface: v2.00
[ 1893.814600] cx231xx 2-1.1:1.1: New device Astrometa T2hybrid @ 480 Mbps (15f4:0135) with 7 interfaces
[ 1893.814723] cx231xx 2-1.1:1.1: Identified as Astrometa T2hybrid (card=24)
[ 1893.816375] i2c i2c-9: Added multiplexed i2c bus 11
[ 1893.816716] i2c i2c-9: Added multiplexed i2c bus 12
[ 1894.011118] cx25840 8-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[ 1896.116395] cx25840 8-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[ 1896.153013] cx231xx 2-1.1:1.1: v4l2 driver version 0.0.3
[ 1896.221744] cx231xx 2-1.1:1.1: Unknown tuner type configuring SIF
[ 1896.251182] cx231xx 2-1.1:1.1: Registered video device video0 [v4l2]
[ 1896.251314] cx231xx 2-1.1:1.1: Registered VBI device vbi0
[ 1896.251322] cx231xx 2-1.1:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[ 1896.251327] cx231xx 2-1.1:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[ 1896.251331] cx231xx 2-1.1:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2
[ 1896.251334] cx231xx 2-1.1:1.1: TS EndPoint Addr 0x81, Alternate settings: 6
[ 1896.251647] usbcore: registered new interface driver cx231xx
[ 1896.272528] cx231xx 2-1.1:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[ 1896.272532] cx231xx 2-1.1:1.1: Cx231xx Audio Extension initialized
[ 1896.490603] mn88473 11-0018: Panasonic MN88473 successfully identified
[ 1896.516874] r820t 12-003a: creating new instance
[ 1896.517962] r820t 12-003a: Rafael Micro r820t successfully identified
[ 1896.517964] dvbdev: DVB: registering new adapter (cx231xx #0)
[ 1896.517969] cx231xx 2-1.1:1.1: DVB: registering adapter 0 frontend 0 (Panasonic MN88473)...
[ 1896.518366] cx231xx 2-1.1:1.1: Successfully loaded cx231xx-dvb
[ 1896.518371] cx231xx 2-1.1:1.1: Cx231xx dvb Extension initialized
[ 1940.742757] perf: interrupt took too long (2505 > 2500), lowering kernel.perf_event_max_sample_rate to 79750

Remote Control Support

The device comes with a small remote control.

Drivers and software

The devices comes with a mini CD containing Windows software with TVRplayer and DVBC-TVRplayer.
It also includes a small remote control, an antenna and a cable to connect to some AV device for capturing.

External Links