English > Sundtek MediaTV Pro (Europe)

/etc/ld.so.preload conflicts on ubuntu

<< < (2/3) > >>

Sundtek:
MediaTV Pro supports:
* AnalogTV { PAL / SECAM / NTSC }
* FM radio
* S-Video/Composite
* DVB-C/T/T2 { bandwidth up to 144 MBit is supported }

And comes with:
* Remote Control
* Antenna
* USB extension
* S-Video/Composite extension cable

USB Transfers support:
* Bulk / Isochronous

Nearly all Linux Versions from 2006 are supported (ARM{32/64}bit, MIPS, PPC, SH4, x86{32/64}bit, various libcs) are supported and the driver can be installed within 10 seconds.

Drivers are available for Windows, Mac, Linux, Android (last one on request)

I think you're comparing the wrong items, we have spent tons of time to make things as easy as possible.

Aside of that our driver supports devices which we have sold since 2008, and updates are also regular { while the tuner you mentioned does not get any update especially from the vendor }

If you think anyone would really give a damn about customers for £10.99 for the next years that's pure insulting.
Several users have reported that the mentioned cheap tuner gives some glitches from time to time - the sensitivity is not as good as our one.
Plus even our manufacturing cost for that tuner is far above that price (and we already assemble by ourself - so the pure component cost is higher than that price)
Surely it might work fine for you but it doesn't for everyone.

I've told you what you can do, if you cannot live with that you might better sell the unit and get the other tuner.
The mentioned issue is a libc issue, I'm not even sure if we have reported this already years ago.

Alternatively the driver can be installed with the -service flag and our streamingserver can be used, because the LD_PRELOAD command is only needed to provide native support for legacy applications. TV applications could also directly connect to the driver {server} application (just as our DLNA streamingserver is doing)
https://support.sundtek.com/index.php?topic=2099.0

That one is still being developed.

tvrulesme:
Still unable to get this working and struggling to find any decent documentation to help out.

Here's what I have tried. All as sudo


--- Code: ---#remove all the old drivers
./sundtek_netinst.sh -u
wget http://www.sundtek.de/media/sundtek_installer_180626.045108.sh
./sundtek_installer_180626.045108.sh
unpacking...
checking system... testing libc OK 2.27.0
64Bit System detected
installing (local mode) ...
installing remote control support
finalizing configuration... (can take a few seconds) 
Starting driver...
This system is using systemctl for starting the driver...
done.

#remove the dodgy preload
rm /etc/ld.so.preload

--- Ende Code ---

Then I modify the service to isolate the dodgy preload

--- Code: ---me@ubuntu:~/sundtek$ service sundtek status
● sundtek.service - Sundtek MediaTV
   Loaded: loaded (/lib/systemd/system/sundtek.service; enabled; vendor preset: enabled)
   Active: active (exited) since Mon 2018-12-17 05:07:25 GMT; 11min ago
  Process: 8255 ExecStop=/opt/bin/mediaclient --shutdown (code=exited, status=0/SUCCESS)
  Process: 8267 ExecStart=/opt/bin/mediaclient --start=4 (code=exited, status=0/SUCCESS)
  Process: 8261 ExecStartPre=/bin/bash -c export LD_PRELOAD=/opt/lib/libmediaclient.so (code=exited, status=0/SUCCESS)
 Main PID: 8267 (code=exited, status=0/SUCCESS)
    Tasks: 19 (limit: 4915)
   CGroup: /system.slice/sundtek.service
           ├─8296 /opt/bin/rtspd --daemon
           ├─8297 /opt/bin/mediasrv -d --pluginpath=/opt/bin
           └─8301 /opt/bin/mediasrv -d --pluginpath=/opt/bin

Dec 17 05:07:25 ubuntu systemd[1]: Starting Sundtek MediaTV...
Dec 17 05:07:25 ubuntu systemd[1]: Started Sundtek MediaTV.
--- Ende Code ---

Permissions on /dev/dvb are not what I am expecting

--- Code: ---me@ubuntu:~/sundtek$ ls -la /dev/dvb/adapter0
total 0
drwxrwxrwx 2 root root    100 Dec 17 05:07 .
drwxrwxrwx 3 root root     60 Dec 17 05:07 ..
crwxrwxrwx 1 root root 212, 1 Dec 17 05:07 demux0
crwxrwxrwx 1 root root 212, 2 Dec 17 05:07 dvr0
crwxrwxrwx 1 root root 212, 0 Dec 17 05:07 frontend0
--- Ende Code ---

scan fails

--- Code: ---me@ubuntu:~/sundtek$ sudo scan /usr/share/dvb/dvb-t/uk-CrystalPalace
scanning /usr/share/dvb/dvb-t/uk-CrystalPalace
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2745: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 6 No such device or address
--- Ende Code ---

Mod info if that helps

--- Code: ---me@ubuntu:~/sundtek$ modinfo dvb-usb
filename:       /lib/modules/4.15.0-42-generic/kernel/drivers/media/usb/dvb-usb/dvb-usb.ko
license:        GPL
description:    A library module containing commonly used USB and DVB function USB DVB devices
author:         Patrick Boettcher <patrick.boettcher@posteo.de>
version:        1.0
srcversion:     E5E4BE0514FD701C49D3E36
depends:        rc-core,dvb-core
retpoline:      Y
intree:         Y
name:           dvb_usb
vermagic:       4.15.0-42-generic SMP mod_unload
signat:         PKCS#7
signer:         
sig_key:       
sig_hashalgo:   md4
parm:           debug:set debugging level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64,mem=128,uxfer=256  (or-able)). (debugging is not enabled) (int)
parm:           disable_rc_polling:disable remote control polling (default: 0). (int)
parm:           force_pid_filter_usage:force all dvb-usb-devices to use a PID filter, if any (default: 0). (int)
--- Ende Code ---

Sundtek:

--- Zitat ---me@ubuntu:~/sundtek$ LD_PRELOAD=/opt/lib/libmediaclient.so scan /usr/share/dvb/dvb-t/uk-CrystalPalace

--- Ende Zitat ---

no sudo required for the scan.


./sundtek_netinst.sh -service only installs the driver without using the PRELOAD mechanism.

No kernelmodules are required for our tuners.

tvrulesme:
Still something wrong I'm afraid


--- Code: ---sme@ubuntu:~/sundtek$ ls -la /dev/dvb/adapter0/
total 0
drwxrwxrwx 2 root root    100 Dec 17 08:21 .
drwxrwxrwx 3 root root     60 Dec 17 08:21 ..
crwxrwxrwx 1 root root 212, 1 Dec 17 08:21 demux0
crwxrwxrwx 1 root root 212, 2 Dec 17 08:21 dvr0
crwxrwxrwx 1 root root 212, 0 Dec 17 08:21 frontend0
me@ubuntu:~/sundtek$ /opt/bin/mediaclient --setdtvmode=DVBT
Using device: /dev/dvb/adapter0/frontend0
Setting Frontend Properties to: DVBT
Done.
me@ubuntu:~/sundtek$ LD_PRELOAD=/opt/lib/libmediaclient.so scan /usr/share/dvb/dvb-t/uk-CrystalPalace
scanning /usr/share/dvb/dvb-t/uk-CrystalPalace
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ERROR: cannot parse'[C23 BBC A]
'
ERROR: cannot parse' DELIVERY_SYSTEM = DVBT
'
ERROR: cannot parse' FREQUENCY = 490000000
'
ERROR: cannot parse' BANDWIDTH_HZ = 8000000
'
ERROR: cannot parse' CODE_RATE_HP = 2/3
'
ERROR: cannot parse' CODE_RATE_LP = NONE
'
ERROR: cannot parse' MODULATION = QAM/64
'
ERROR: cannot parse' TRANSMISSION_MODE = 8K
'
ERROR: cannot parse' GUARD_INTERVAL = 1/32
'
ERROR: cannot parse' HIERARCHY = NONE
'
ERROR: cannot parse' INVERSION = AUTO
'
ERROR: cannot parse'[C26 D3&4]
'
ERROR: cannot parse' DELIVERY_SYSTEM = DVBT
'
ERROR: cannot parse' FREQUENCY = 514000000
'
ERROR: cannot parse' BANDWIDTH_HZ = 8000000
'
ERROR: cannot parse' CODE_RATE_HP = 2/3
'
ERROR: cannot parse' CODE_RATE_LP = NONE
'
ERROR: cannot parse' MODULATION = QAM/64
'
ERROR: cannot parse' TRANSMISSION_MODE = 8K
'
ERROR: cannot parse' GUARD_INTERVAL = 1/32
'
ERROR: cannot parse' HIERARCHY = NONE
'
ERROR: cannot parse' INVERSION = AUTO
'
ERROR: cannot parse'[C33 COM7 HD]
'
ERROR: cannot parse' DELIVERY_SYSTEM = DVBT2
'
ERROR: cannot parse' FREQUENCY = 570000000
'
ERROR: cannot parse' BANDWIDTH_HZ = 8000000
'
ERROR: cannot parse' CODE_RATE_HP = 2/3
'
ERROR: cannot parse' CODE_RATE_LP = NONE
'
ERROR: cannot parse' MODULATION = QAM/256
'
ERROR: cannot parse' TRANSMISSION_MODE = 32K
'
ERROR: cannot parse' GUARD_INTERVAL = 1/128
'
ERROR: cannot parse' HIERARCHY = NONE
'
ERROR: cannot parse' STREAM_ID = 0
'
ERROR: cannot parse' INVERSION = AUTO
'
ERROR: cannot parse'[C25 SDN]
'
ERROR: cannot parse' DELIVERY_SYSTEM = DVBT
'
ERROR: cannot parse' FREQUENCY = 506000000
'
ERROR: cannot parse' BANDWIDTH_HZ = 8000000
'
ERROR: cannot parse' CODE_RATE_HP = 3/4
'
ERROR: cannot parse' CODE_RATE_LP = NONE
'
ERROR: cannot parse' MODULATION = QAM/64
'
ERROR: cannot parse' TRANSMISSION_MODE = 8K
'
ERROR: cannot parse' GUARD_INTERVAL = 1/32
'
ERROR: cannot parse' HIERARCHY = NONE
'
ERROR: cannot parse' INVERSION = AUTO
'
ERROR: cannot parse'[C22 ARQ A]
'
ERROR: cannot parse' DELIVERY_SYSTEM = DVBT
'
ERROR: cannot parse' FREQUENCY = 482000000
'
ERROR: cannot parse' BANDWIDTH_HZ = 8000000
'
ERROR: cannot parse' CODE_RATE_HP = 3/4
'
ERROR: cannot parse' CODE_RATE_LP = NONE
'
ERROR: cannot parse' MODULATION = QAM/64
'
ERROR: cannot parse' TRANSMISSION_MODE = 8K
'
ERROR: cannot parse' GUARD_INTERVAL = 1/32
'
ERROR: cannot parse' HIERARCHY = NONE
'
ERROR: cannot parse' INVERSION = AUTO
'
ERROR: cannot parse'[C28- ARQ B]
'
ERROR: cannot parse' DELIVERY_SYSTEM = DVBT
'
ERROR: cannot parse' FREQUENCY = 529833000
'
ERROR: cannot parse' BANDWIDTH_HZ = 8000000
'
ERROR: cannot parse' CODE_RATE_HP = 3/4
'
ERROR: cannot parse' CODE_RATE_LP = NONE
'
ERROR: cannot parse' MODULATION = QAM/64
'
ERROR: cannot parse' TRANSMISSION_MODE = 8K
'
ERROR: cannot parse' GUARD_INTERVAL = 1/32
'
ERROR: cannot parse' HIERARCHY = NONE
'
ERROR: cannot parse' INVERSION = AUTO
'
ERROR: cannot parse'[C30- BBC B HD]
'
ERROR: cannot parse' DELIVERY_SYSTEM = DVBT2
'
ERROR: cannot parse' FREQUENCY = 545833000
'
ERROR: cannot parse' BANDWIDTH_HZ = 8000000
'
ERROR: cannot parse' CODE_RATE_HP = 2/3
'
ERROR: cannot parse' CODE_RATE_LP = NONE
'
ERROR: cannot parse' MODULATION = QAM/256
'
ERROR: cannot parse' TRANSMISSION_MODE = 32K
'
ERROR: cannot parse' GUARD_INTERVAL = 1/128
'
ERROR: cannot parse' HIERARCHY = NONE
'
ERROR: cannot parse' STREAM_ID = 0
'
ERROR: cannot parse' INVERSION = AUTO
'
ERROR: initial tuning failed
dumping lists (0 services)
Done.
--- Ende Code ---

Sundtek:
I guess you have to adjust the antenna it might have received some incomplete data and the scantool was unable to parse it, for DVB-T/T2 it's very important that you get the right direction to the TV tower.

I'm also in the chat room in case you would like to receive answers quicker.

https://support.sundtek.de/chat.php

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln