Project

General

Profile

Astrometa DVB-T2 not shown in Tvheadend

Added by Szymon Życińśki 3 months ago

Hello

I connected Astrometa DVB-T2 tuner and I can scan all freqences (beside VHF) with both frontends using w_scan2. However in TVHeadend this tuner does not show up. Both X-Box tuners are there but Astrometa seems not detected.

Bus 005 Device 003: ID 15f4:0131 HanfTek dvbt2
[email protected]:~# lsusb -vd 15f4:0131

Bus 005 Device 003: ID 15f4:0131 HanfTek dvbt2
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x15f4 HanfTek
  idProduct          0x0131
  bcdDevice            1.00
  iManufacturer           1 astrometadvbt2
  iProduct                2 dvbt2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 USB2.0-Bulk&Iso
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
      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        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      2
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)
[ 8121.159205] usb 5-1: new high-speed USB device number 3 using xhci_hcd
[ 8121.318758] usb 5-1: New USB device found, idVendor=15f4, idProduct=0131, bcdDevice= 1.00
[ 8121.318769] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8121.318775] usb 5-1: Product: dvbt2
[ 8121.318781] usb 5-1: Manufacturer: astrometadvbt2
[ 8121.329231] usb 5-1: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
[ 8121.481861] usb 5-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[ 8121.481890] dvbdev: DVB: registering new adapter (Astrometa DVB-T2)
[ 8121.481901] usb 5-1: media controller created
[ 8121.483746] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 8121.490752] i2c i2c-14: Added multiplexed i2c bus 15
[ 8121.490759] rtl2832 14-0010: Realtek RTL2832 successfully attached
[ 8121.490927] i2c i2c-14: cxd2841er_attach(): I2C adapter 00000000fbdfc9e9 SLVX addr 6e SLVT addr 6c
[ 8121.495685] i2c i2c-14: cxd2841er_attach(): attaching CXD2837ER DVB-C/T/T2 frontend
[ 8121.495690] i2c i2c-14: cxd2841er_attach(): chip ID 0xb1 OK.
[ 8121.495700] usb 5-1: DVB: registering adapter 5 frontend 0 (Realtek RTL2832 (DVB-T))...
[ 8121.495715] dvbdev: dvb_create_media_entity: media entity 'Realtek RTL2832 (DVB-T)' registered.
[ 8121.495930] usb 5-1: DVB: registering adapter 5 frontend 1 (Sony CXD2837ER DVB-T/T2/C demodulator)...
[ 8121.495937] dvbdev: dvb_create_media_entity: media entity 'Sony CXD2837ER DVB-T/T2/C demodulator' registered.
[ 8121.496099] r820t 15-003a: creating new instance
[ 8121.503633] r820t 15-003a: Rafael Micro r820t successfully identified
[ 8121.503703] r820t 15-003a: attaching existing instance
[ 8121.523367] r820t 15-003a: Rafael Micro r820t successfully identified
[ 8121.537680] rtl2832_sdr rtl2832_sdr.1.auto: Registered as swradio0
[ 8121.537686] rtl2832_sdr rtl2832_sdr.1.auto: Realtek RTL2832 SDR attached
[ 8121.537690] rtl2832_sdr rtl2832_sdr.1.auto: SDR API is still slightly experimental and functionality changes may follow
[ 8121.546220] Registered IR keymap rc-empty
[ 8121.546459] rc rc0: Astrometa DVB-T2 as /devices/pci0000:00/0000:00:10.0/usb5/5-1/rc/rc0
[ 8121.546821] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter
[ 8121.547033] input: Astrometa DVB-T2 as /devices/pci0000:00/0000:00:10.0/usb5/5-1/rc/rc0/input16
[ 8121.547618] usb 5-1: dvb_usb_v2: schedule remote query interval to 200 msecs
[ 8121.556940] usb 5-1: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected

drwxr-xr-x  2 root root       140 May 18 19:46 ./
drwxr-xr-x  5 root root       100 May 18 19:46 ../
crw-rw----+ 1 root plugdev 212, 3 May 18 19:46 demux0
crw-rw----+ 1 root plugdev 212, 4 May 18 19:46 dvr0
crw-rw----+ 1 root plugdev 212, 6 May 18 19:46 frontend0
crw-rw----+ 1 root plugdev 212, 7 May 18 19:46 frontend1
crw-rw----+ 1 root plugdev 212, 5 May 18 19:46 net0


Replies (1)

RE: Astrometa DVB-T2 not shown in Tvheadend - Added by Szymon Życińśki 3 months ago

Ok, solved:

chown -R :video /dev/dvb/adapter5/

Looks like driver itself is not setting proper permissions. I will add this command to systemd unit.

EDIT: It does not tune to VHF.

    (1-1/1)