Hi,
I have some Problems running TVHeadend with DVB-S2 Support on my Intel Atom based QNAP NAS and need some help.
The Facts:
QNAP NAS Model: TS-469U-SP
Kernel Version: 3.4.6
TVHeadend Version: HTS Tvheadend 3.5.201~g2a9ccdd-dirty
DVB-S2 Device: PCTV DVB-S2 Stick 460e (USB)
LNB-Type: Universal
Sat-Config: Astra 19,2
First of all I will explain what I have done so far.
There still exists a Third-Party QNAP Application (QPKG) provided by "virtualdj" which enables TVHeadend on QNAP NAS Servers. So I have installed the QPKG.
To be able to use my DVB-S2 USB Device i needed working Kernel Modules so I found them in DVBLogics TVSource Package which are built for Kernel Version 3.4.6. I know that they are working because I can use it on DVBLink TVSource to scan for Services.
After loading the Modules and starting TVHeadend i reconized that I can only use DVB-S Features. I can scan for Services and watch them but only DVB-S.
So after some Research on the Internet i found the reason here on this Forum:
https://tvheadend.org/d/928-problem-setting-up-dvb-s2-muxes-in-version-3-2-18-g40a8920
I have asked virtualdj to compile a new binary with replaced the Header files listed in this Topic and got a new binary Version. I have also compiled another binary on the QNAP itself but the result is the same:
I now can set Muxxes for DVB-S2 Support (PSK_8, etc) but if I try to make a Mux Scan i got following error (complete debug log with a clean config at beginning):
Jun 10 19:09:04.006 [ INFO] charset: 119 entries loaded
Jun 10 19:09:04.006 [ ALERT] dvb: /dev/dvb/adapter0/frontend0: unable to open (err=Device or resource busy)
Jun 10 19:09:04.007 [ INFO] dvb: Found adapter /dev/dvb/adapter8 (NXP TDA10071) via PCI
Jun 10 19:09:04.010 [ INFO] v4l: /dev/video0: em28xx PCTV DVB-S2 Stick (460e) usb-0000:00:1d.7-5 capabilities: 0x05000041
Jun 10 19:09:04.010 [ INFO] v4l: /dev/video0: Standard #0: 000000000000b000 NTSC, frameperiod: 1001/30000, 525 lines
Jun 10 19:09:04.010 [ INFO] v4l: /dev/video0: Standard #1: 0000000000001000 NTSC-M, frameperiod: 1001/30000, 525 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #2: 0000000000002000 NTSC-M-JP, frameperiod: 1001/30000, 525 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #3: 0000000000008000 NTSC-M-KR, frameperiod: 1001/30000, 525 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #4: 0000000000004000 NTSC-443, frameperiod: 1001/30000, 525 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #5: 00000000000000ff PAL, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #6: 0000000000000007 PAL-BG, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #7: 0000000000000008 PAL-H, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #8: 0000000000000010 PAL-I, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #9: 00000000000000e0 PAL-DK, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #10: 0000000000000100 PAL-M, frameperiod: 1001/30000, 525 lines
Jun 10 19:09:04.011 [ INFO] v4l: /dev/video0: Standard #11: 0000000000000200 PAL-N, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #12: 0000000000000400 PAL-Nc, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #13: 0000000000000800 PAL-60, frameperiod: 1001/30000, 525 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #14: 0000000000ff0000 SECAM, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #15: 0000000000010000 SECAM-B, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #16: 0000000000040000 SECAM-G, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #17: 0000000000080000 SECAM-H, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #18: 0000000000320000 SECAM-DK, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #19: 0000000000400000 SECAM-L, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Standard #20: 0000000000800000 SECAM-Lc, frameperiod: 1/25, 625 lines
Jun 10 19:09:04.012 [ INFO] v4l: /dev/video0: Format #0: 16 bpp YUY2, 4:2:2, packed [YUYV]
Jun 10 19:09:04.021 [ INFO] v4l: /dev/video0: Format #1: 16 bpp RGB 565, LE [RGBP]
Jun 10 19:09:04.021 [ INFO] v4l: /dev/video0: Format #2: 8 bpp Bayer BGBG..GRGR [BA81]
Jun 10 19:09:04.021 [ INFO] v4l: /dev/video0: Format #3: 8 bpp Bayer GRGR..BGBG [GRBG]
Jun 10 19:09:04.021 [ INFO] v4l: /dev/video0: Format #4: 8 bpp Bayer GBGB..RGRG [GBRG]
Jun 10 19:09:04.021 [ INFO] v4l: /dev/video0: Format #5: 12 bpp YUV411 [411P]
Jun 10 19:09:04.021 [WARNING] v4l: /dev/video0: Device does not have a tuner, device skipped
Jun 10 19:09:04.024 [ ALERT] v4l: Unable to open /dev/video1 -- No such device or address
Jun 10 19:09:04.026 [ ALERT] v4l: Unable to open /dev/video2 -- No such device or address
Jun 10 19:09:04.028 [ ALERT] v4l: Unable to open /dev/video3 -- No such device or address
Jun 10 19:09:04.030 [ ALERT] v4l: Unable to open /dev/video4 -- No such device or address
Jun 10 19:09:04.032 [ INFO] CSA: Using SSE2 128bit parallel descrambling
Jun 10 19:09:04.032 [ INFO] epggrab: module eit created
Jun 10 19:09:04.032 [ INFO] epggrab: module uk_freesat created
Jun 10 19:09:04.032 [ INFO] epggrab: module uk_freeview created
Jun 10 19:09:04.032 [ INFO] epggrab: module viasat_baltic created
Jun 10 19:09:04.035 [ DEBUG] opentv: dictionary skyit loaded
Jun 10 19:09:04.036 [ DEBUG] opentv: dictionary skyeng loaded
Jun 10 19:09:04.037 [ DEBUG] opentv: dictonaries loaded
Jun 10 19:09:04.037 [ DEBUG] opentv: genre map skyuk loaded
Jun 10 19:09:04.037 [ DEBUG] opentv: genre maps loaded
Jun 10 19:09:04.037 [ INFO] epggrab: module opentv-ausat created
Jun 10 19:09:04.038 [ DEBUG] opentv: provider ausat loaded
Jun 10 19:09:04.038 [ INFO] epggrab: module opentv-skyuk created
Jun 10 19:09:04.038 [ DEBUG] opentv: provider skyuk loaded
Jun 10 19:09:04.038 [ INFO] epggrab: module opentv-skyit created
Jun 10 19:09:04.038 [ DEBUG] opentv: provider skyit loaded
Jun 10 19:09:04.038 [ DEBUG] opentv: providers loaded
Jun 10 19:09:04.039 [ INFO] epggrab: module pyepg created
Jun 10 19:09:04.039 [ INFO] epggrab: module xmltv created
Jun 10 19:09:04.040 [ DEBUG] epggrab: using internal grab search
Jun 10 19:09:04.042 [ INFO] epgdb: loaded v2
Jun 10 19:09:04.042 [ INFO] epgdb: channels 0
Jun 10 19:09:04.042 [ INFO] epgdb: brands 0
Jun 10 19:09:04.042 [ INFO] epgdb: seasons 0
Jun 10 19:09:04.042 [ INFO] epgdb: episodes 0
Jun 10 19:09:04.042 [ INFO] epgdb: broadcasts 0
Jun 10 19:09:04.043 [ INFO] dvr: Creating new configuration ''
Jun 10 19:09:04.043 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface.
Jun 10 19:09:04.044 [ NOTICE] START: HTS Tvheadend version 3.5.201~g2a9ccdd-dirty started, running as PID:18236 UID:0 GID:0, settings located in '/share/MD0_DATA/.qpkg/TVHeadend/config'
Jun 10 19:09:17.902 [ NOTICE] dvb: Adapter "NXP TDA10071" Enabled
Jun 10 19:09:17.953 [ INFO] dvb: Adapter /dev/dvb/adapter8 will run in full mux mode
Jun 10 19:09:21.142 [ NOTICE] dvb: Adapter "NXP TDA10071" mux autodiscovery set to: On
Jun 10 19:09:24.519 [ NOTICE] dvb: Adapter "NXP TDA10071" quality monitoring set to: On
Jun 10 19:09:33.161 [ NOTICE] dvb: New mux "12,551,500 kHz Vertical (Default (Port 0, Universal LNB))" created by built-in configuration from "dvb-s_Astra_19_2E"
Jun 10 19:09:33.162 [ DEBUG] dvb: /dev/dvb/adapter8 opened frontend /dev/dvb/adapter8/frontend0
Jun 10 19:09:43.584 [ ERROR] diseqc: error trying to turn off continuous tone
Jun 10 19:09:43.584 [ ERROR] dvb: diseqc setup failed -1
Jun 10 19:09:43.585 [ DEBUG] dvb: "/dev/dvb/adapter8" tuning via s2api to "12,551,500 kHz Vertical (Default (Port 0, Universal LNB))" (1951500, 22000000 Baud, 5/6, SYS_DVBS, QPSK) for Initial autoscan
Jun 10 19:09:43.585 [ ERROR] dvb: "/dev/dvb/adapter8" tuning to "12,551,500 kHz Vertical (Default (Port 0, Universal LNB))" -- Front configuration failed -- Inappropriate ioctl for device, frequency: 1951500
Now I need some help to identify what the Problem is. Any idea?
Regards,
wi-tom