AF9015 DVB-T USB2.0 stick

Bus ? Device ?: ID 15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0 stick Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x15a4 Afatech Technologies, Inc. idProduct 0x9016 AF9015 DVB-T USB2.0 stick bcdDevice 2.00 iManufacturer 1 Afatech iProduct 2 DVB-T 2 iSerial 3 010101010600001 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 71 bNumInterfaces 2 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 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 1 Keyboard iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.01 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 65 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 10 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) ~~~

  • dmesg | grep -i 'af9015|dvb' | cut -d ']' -f 2:

usb 2-5: Product: DVB-T 2 Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7 input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:13.2/usb2/2-5/2-5:1.1/input/input2 generic-usb 0003:15A4:9016.0001: input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T 2 af9015: tuner id:179 not supported, please report! usbcore: registered new interface driver dvb_usb_af9015 ~~~

Debian

  • V4L for the DVB with chip AF9015 and tuner TDA18218 (rev. 14185:0f41fd7df85d) patched with af9015.patch (the patch is necessary, otherwise “af9015: tuner NXP TDA18218 not supported yet” in rev. 14858:932dc08503ed) and loaded with firmware (ver. 4.95.0); with CONFIG_DVB_FIRETV=m:
    1. sudo aptitude install mercurial linux-headers-$(uname -r) build-essential
    2. hg clone -r 0f41fd7df85d http://linuxtv.org/hg/~anttip/af9015/
    3. sudo wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw -O /lib/firmware/dvb-usb-af9015.fw
    4. cd af9015
    5. wget http://media.ubuntuusers.de/forum/attachments/2466878/af9015.patch -O - | patch -p1
    6. make
    7. sed -i 's/CONFIG_DVB_FIREDTV=m/CONFIG_DVB_FIREDTV=n/' ./v4l/.config
    8. make
    9. sudo make install
    10. sudo reboot

Tunning

  • cat cz-Mikulov:

DVB-T Mikulov (Mikulov, Czech Republic)

T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy

T 538000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 626000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE ~~~

  • scan cz-Mikulov | tee /etc/mplayer/channels.conf

CT 1 JM:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:257:273:257 CT 2:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:513:529:258 CT 24:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:769:785:259 CT 4:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:1025:1041:260 CRo1-Radiozurnal:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4113:16641 CRo2-Praha:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4369:16642 CRo3-Vltava:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4625:16643 CRo Radio Wave:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:4881:16644 CRo D-dur:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:5137:16645 CRo Leonardo:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:5393:16646 CRo Radio Cesko:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:5649:16647 NOVA:626000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:101:111:513 NOVA CINEMA:626000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:401:411:514 PRIMA:626000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:201:211:769 Prima COOL:626000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:501:511:770 BARRANDOV TV:626000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:301:311:2049 ~~~

  • cat .kde/share/apps/kaffeine/channels.dvb

TV|CT 1 JM|257(2)|273(cze),|289|257|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|1|||8395| TV|CT 2|513(2)|529(cze),|545|258|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|2|||8395| TV|CT 24|769(2)|785(cze),|801|259|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|3|||8395| TV|CT 4|1025(2)|1041(cze),|1057|260|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|4|||8395| TV|NOVA|101(2)|111(CZE),|121|513|514|Terrestrial|626000|0|v|-1|-1|-1|-1|8|-1|-1|-1|5|||8395| TV|NOVA CINEMA|401(2)|411(CZE),|421|514|514|Terrestrial|626000|0|v|-1|-1|-1|-1|8|-1|-1|-1|6|||8395| TV|PRIMA|201(2)|211(CZE),|221|769|514|Terrestrial|626000|0|v|-1|-1|-1|-1|8|-1|-1|-1|7|||8395| TV|Prima COOL|501(2)|511(CZE),|521|770|514|Terrestrial|626000|0|v|-1|-1|-1|-1|8|-1|-1|-1|8|||8395| TV|BARRANDOV TV|301(2)|311(CZE),|321|2049|514|Terrestrial|626000|0|v|-1|-1|-1|-1|8|-1|-1|-1|9|||8395| RA|CRo1-Radiozurnal|0|4113(cze),|0|16641|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|10|||8395| RA|CRo2-Praha|0|4369(cze),|0|16642|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|11|||8395| RA|CRo3-Vltava|0|4625(cze),|0|16643|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|12|||8395| RA|CRo D-dur|0|5137(cze),|0|16645|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|13|||8395| RA|CRo Leonardo|0|5393(cze),|0|16646|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|14|||8395| RA|CRo Radio Cesko|0|5649(cze),|0|16647|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|15|||8395| RA|CRo Radio Wave|0|4881(cze),|0|16644|274|Terrestrial|538000|0|v|-1|-1|-1|-1|8|-1|-1|-1|16|||8395| ~~~

Players

  • mplayer "dvb://CT 1 JM"
  • Kaffeine
  • Me TV (works with DVB-T, DVB-S, DVB-C and ATSC devices that are supported by Linux kernel drivers)

 Share!

 
comments powered by Disqus