Not fixed in June 2017 update
Indeed – working on it. Annoying issue.
Try this – should work:
wget "https://www.dropbox.com/s/cdnoarzq1jkd437/armv7-tvheadend-app-osmc.deb?dl=1" -O tvh.deb
sudo dpkg -i tvh.deb
reboot
This patches frontend.h to fix the 32->64-bit pointer, but breaks
Pi and other platforms, so I need to think of a better approach.
Sam
I t worked on Afatech DVB-T successfully.
It does
The link is not valid now. Can you upload it again?
I’ve sent you a message with a new build.
Sam
Just curious: are there changes in this “new build” that are relevant to the Kernel modules missing for the PCTV 292e DVB stick - #58 by sam_nazarko issue? Should I give it a spin?
Cheers
No – this was just a TVHeadend change. Same as before
I will merge those changes now so they are publicly available.
hi there,
would this solve my issue as well?
in that case would it be necessary to do an update?
Thanks
I expect to make a post about DVB improvements later today.
Sam
Hi,
Please see this post:
Sam
I have to 1 sundtek dvb-t adapter but some reason this adapter not work with vero4 and tvheadend
dmesg
0.231302] usbcore: registered new interface driver usbfs
[ 0.231335] usbcore: registered new interface driver hub
[ 0.231392] usbcore: registered new device driver usb
[ 0.354661] usbcore: registered new interface driver smsc95xx
[ 0.355108] usbcore: registered new interface driver usb-storage
[ 0.355191] usbcore: registered new interface driver usbserial
[ 0.355215] usbcore: registered new interface driver usbserial_generic
[ 0.355237] usbserial: USB Serial support registered for generic
[ 0.355260] usbcore: registered new interface driver pl2303
[ 0.355281] usbserial: USB Serial support registered for pl2303
[ 0.355487] amlogic-new-usb2 d0078000.usb2phy: USB2 phy probe:phy_mem:0xd0078000, iomap phy_base:0xffffff80001d4000
[ 0.355574] amlogic-new-usb3 d0078080.usb3phy: This phy has no usb port
[ 0.355596] amlogic-new-usb3 d0078080.usb3phy: USB3 phy probe:phy_mem:0xd0078080, iomap phy_base:0xffffff80001d6080
[ 0.357831] usbcore: registered new interface driver usbhid
[ 0.357836] usbhid: USB HID core driver
[ 2.450880] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.450887] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.450893] usb usb1: Product: xHCI Host Controller
[ 2.450898] usb usb1: Manufacturer: Linux 3.14.29-51-osmc xhci-hcd
[ 2.450904] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 2.456337] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 2.456343] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.456349] usb usb2: Product: xHCI Host Controller
[ 2.456354] usb usb2: Manufacturer: Linux 3.14.29-51-osmc xhci-hcd
[ 2.456360] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 2.785891] usb 1-2: new high-speed USB device number 2 using xhci-hcd
[ 2.928172] usb 1-2: New USB device found, idVendor=2659, idProduct=1210
[ 2.928176] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.928179] usb 1-2: Product: MediaTV Pro III (EU)
[ 2.928182] usb 1-2: Manufacturer: Sundtek
[ 2.928184] usb 1-2: SerialNumber: U151008002850
[ 4.246484] dwc_otg: usb0: type: 2 speed: 0, config: 0, dma: 0, id: 0, phy: d0078000, ctrl: 0
[ 4.246497] dwc_otg_driver_probe host only, not probe usb_otg!!!
[ 13.012730] usb 1-2: usbfs: process 1596 (mediasrv) did not claim interface 0 before use
root@osmc:/opt/bin# ./mediaclient -e
ERROR: ld.so: object ‘/opt/lib/libmediaclient.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
**** List of Media Hardware Devices ****
device 0: [MediaTV Pro III (EU)] DVB-C, DVB-T, DVB-T2, ANALOG-TV, FM-RADIO, REMOTE-CONTROL, OSS-AUDIO, RDS
[INFO]:
STATUS: ACTIVE
[BUS]:
ID: 1-2
[SERIAL]:
ID: U151008002850
[DVB-C,DVB-T,DVB-T2]:
FRONTEND: /dev/dvb/adapter0/frontend0
DVR: /dev/dvb/adapter0/dvr0
DMX: /dev/dvb/adapter0/demux0
[ANALOG-TV]:
VIDEO0: /dev/video11
VBI0: /dev/vbi0
[FM-RADIO]:
RADIO0: /dev/radio0
RDS: /dev/rds0
[REMOTECONTROL]:
INPUT0: /dev/mediainput0
[OSS]:
OSS0: /dev/dsp0
sudo -u hts /usr/bin/tvheadend -c /home/hts/.hts/tvheadend
ERROR: ld.so: object ‘/opt/lib/libmediaclient.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
sudo: unknown user: hts
sudo: unable to initialize policy plugin
root@osmc:/opt/bin# hts /usr/bin/tvheadend -c /home/osmc/.hts/tvheadend
bash: hts: command not found
root@osmc:/opt/bin# /usr/bin/tvheadend -c /home/osmc/.hts/tvheadend
ERROR: ld.so: object ‘/opt/lib/libmediaclient.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
2018-01-29 14:02:21.594 [ INFO] main: Log started
2018-01-29 14:02:21.594 [ INFO] tcp: No systemd socket: creating a new one
2018-01-29 14:02:21.595 [ ERROR] tcp: bind: *:9981: Address already in use
2018-01-29 14:02:21.595 [ INFO] tcp: No systemd socket: creating a new one
2018-01-29 14:02:21.595 [ ERROR] tcp: bind: *:9982: Address already in use
2018-01-29 14:02:21.602 [ INFO] config: loaded
2018-01-29 14:02:21.602 [ INFO] config: scanfile (re)initialization with path
2018-01-29 14:02:21.603 [ ERROR] profile: wrong class profile-transcode!
2018-01-29 14:02:21.603 [ ERROR] profile: wrong class profile-transcode!
2018-01-29 14:02:21.603 [ ERROR] profile: wrong class profile-transcode!
2018-01-29 14:02:21.615 [ ERROR] bouquet: found duplicate source id: ‘iptv-netw ork://ab96e33740dbb14e8bc8609ed1a0cc8f’, remove duplicate config
2018-01-29 14:02:21.615 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,19.2E,12515000,H,22000000,901’, remove duplicate config
2018-01-29 14:02:21.615 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,19.2E,12515000,H,22000000,900’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,23.5E,12070000,H,27500000,911’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,19.2E,12515000,H,22000000,921’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘iptv-netw ork://e19accf6208d72d813e4c97e7308b0fa’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘iptv-netw ork://11cf180f56f031c68d119f7189b3d58a’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘iptv-netw ork://8fc098b36b1de29d0cc966dcdbf95438’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,23.5E,12070000,H,27500000,30’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,19.2E,12515000,H,22000000,910’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,19.2E,12515000,H,22000000,950’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,23.5E,12070000,H,27500000,31’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S2,23.5E,12187000,H,27500000,950’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S2,23.5E,12187000,H,27500000,921’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,19.2E,12515000,H,22000000,911’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,19.2E,12515000,H,22000000,920’, remove duplicate config
2018-01-29 14:02:21.616 [ ERROR] bouquet: found duplicate source id: ‘dvb-fasts can://DVB-S,23.5E,12070000,H,27500000,901’, remove duplicate config
2018-01-29 14:02:22.611 [ INFO] scanfile: DVB-S - loaded 1 regions with 112 ne tworks
2018-01-29 14:02:22.611 [ INFO] scanfile: DVB-T - loaded 44 regions with 1112 networks
2018-01-29 14:02:22.611 [ INFO] scanfile: DVB-C - loaded 17 regions with 57 ne tworks
2018-01-29 14:02:22.611 [ INFO] scanfile: ATSC-T - loaded 2 regions with 11 ne tworks
2018-01-29 14:02:22.611 [ INFO] scanfile: ATSC-C - loaded 1 regions with 5 net works
2018-01-29 14:02:22.611 [ INFO] scanfile: ISDB-T - loaded 2 regions with 1297 networks
2018-01-29 14:02:24.121 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter0/fro ntend0
root@osmc:/tmp# systemctl status sundtek.service
ERROR: ld.so: object ‘/opt/lib/libmediaclient.so’ from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object ‘/opt/lib/libmediaclient.so’ from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
- sundtek.service - Sundtek MediaTV
Loaded: loaded (/lib/systemd/system/sundtek.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-01-29 14:42:24 EET; 12min ago
Process: 297 ExecStart=/opt/bin/mediaclient --start=4 (code=exited, status=203/EXEC)
Main PID: 297 (code=exited, status=203/EXEC)
Jan 29 14:42:24 osmc systemd[1]: Starting Sundtek MediaTV…
Jan 29 14:42:24 osmc systemd[297]: sundtek.service: Failed at step EXEC spawning /opt/bin/mediaclient: No such file or directory
Jan 29 14:42:24 osmc systemd[1]: sundtek.service: Main process exited, code=exited, status=203/EXEC
Jan 29 14:42:24 osmc systemd[1]: Failed to start Sundtek MediaTV.
Jan 29 14:42:24 osmc systemd[1]: sundtek.service: Unit entered failed state.
Jan 29 14:42:24 osmc systemd[1]: sundtek.service: Failed with result ‘exit-code’.
Warning: sundtek.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.
did you run the sundtek.sh script which installs the drivers?
$ wget http://www.sundtek.de/media/sundtek_netinst.sh
$ chmod 777 sundtek_netinst.sh
$ sudo ./sundtek_netinst.sh
yes
I see from streaming server http: // localhost: 22000 adapter and can scan channels but from tvheadend nothing…
You seem to be going about it in a complicated way. Apart from installing sundtek drivers, (which may or may not be needed) you should be just installing tvheadend from the AppStore. It then runs automatically under user osmc. Did you try that first?
which version tvheadend is on vero4 64bit or 32 bit someone using sundtek with vero4?
Maybe is a problem with the mixture of 64bit kernel and 32bit user space.
No — because Sundtek avoid kernel space drivers