Bug #4030
closedUSALS (rotor) not working properly
0%
Description
USALS support is not functioning properly. Opened a thread in the forum section: https://tvheadend.org/boards/5/topics/23082?r=23088
I have a motorized dish, and I'm using USALS. With VDR, DVBViewer and my Dreambox everything is working perfectly fine. However, I'm having real difficulties with TVH. The situation is the following:
- Ubuntu Server 16.04 LTS, default kernel
- DVBSky T9580 PCIe card, DVB-S2, DVB-T2, DVB-C tuner
- using tvh unstable repository, current version is 4.1-2281~g39108ce~xenial
I configured TVH according to the post by @Gary Brown here https://tvheadend.org/boards/5/topics/12194?r=14860#message-14860
I have a similar motor, that drives the dish at 2.5 / sec at 18V, so I have set the rate to 400, like suggested.
I have the proper long and lat configured.
I configure two orbital positions, 0.8W and 16E, it scans the muxes fine, TVH moves the dish. I map the channels, everything is working fine. I select a channel at 0.8W, TVH drives the dish and channel plays perfectly. I then select a channel on 16E, dish is moving, and channel starts perfectly. Everything is working very nice.
But! I restart my backend, and DVB-S stops working. I can't tune to any of the DVB-S channels, not on 0.8W or 16E, just no signal message. It happens also if I only restart tvheadend service from cli. I need to start VDR, tune to a channel on 0.8W, it moves the dish perfectly, channel starts playing, then I disable VDR, start tvheadend, and everything is working again perfectly. Of course, until the next service or system restart. It looks that somehow tvheadend loses the position where the dish is and it can't find the satellites anymore. It is very strange. I might try to set GOTOX positions with DVBViewer and try GOTOX for these two positions instead of USALS, but still strange. I haven't tested GOTOX yet, as I always used USALS.
Anyhow, something is definitely broken with Tvheadend and motor (USALS?) code. It must be tvheadend since the same setup work perfectly fine with VDR and DVBViewer.
Similar problems reported: https://tvheadend.org/issues/4023
I tried to create logs, but not sure I have have succeeded to create proper logs. Anyway, I attach two full trace logs:
log.tar.gz -> here is usals is working fine
log2.tar.gz -> not working at all, after a restart
Files