[mythtv-users] HDHomeRun issues following OS upgrade to Ubuntu 18.04 from 16.04
Jan Ceuleers
jan.ceuleers at gmail.com
Fri Aug 28 09:33:06 UTC 2020
Hi.
I have just upgraded the operating system on my backend machine to
Ubuntu 18.04 from 16.04. The MythTV version before and after the OS
upgrade is the same: 0.29 from the Mythbuntu PPA.
Once I fixed the LIRC problem (by running Stephen Worthington's script
and also changing the LIRC driver to default instead of devinput) I
could record and channel-change from my PVRUSB2 tuners.
My HDHR tuners are another matter: when I open Live TV and change input
to one of the HDHR tuners I get a picture, but when I try and change to
another channel I get a timeout after 20 seconds. I change channels from
an event script thusly, and this worked fine before the upgrade:
#!/bin/bash
# Call as event script with parameters %CARDID% and %CHANID%
# Parameters
OURSOURCEID=4
OURDVBCMOD=a8qam256-6875
OURHDHRDEVICE=1420577E
/usr/bin/logger $0: $*
if [ "$1" == "%CARDID%" ] ; then
exit 0
fi
SOURCEID=`/usr/bin/mysql -umythtv -pmythtv -s -N -e "SELECT sourceid
FROM capturecard WHERE cardid=$1;" mythconverg`
if [ "$SOURCEID" != "$OURSOURCEID" ] ; then
exit 0
fi
MPLEXID=`/usr/bin/mysql -umythtv -pmythtv -s -N -e "SELECT mplexid FROM
channel WHERE chanid=$2 AND sourceid=$SOURCEID;" mythconverg`
FREQ=`/usr/bin/mysql -umythtv -pmythtv -s -N -e "SELECT frequency FROM
dtv_multiplex WHERE mplexid=$MPLEXID;" mythconverg`
TUNER=`/usr/bin/mysql -umythtv -pmythtv -s -N -e "SELECT
RIGHT(videodevice,1) from capturecard where cardid=$1;" mythconverg`
/usr/bin/logger $0: Issuing command /usr/bin/hdhomerun_config
$OURHDHRDEVICE set /tuner$TUNER/channel $OURDVBCMOD:$FREQ
/usr/bin/hdhomerun_config $OURHDHRDEVICE set /tuner$TUNER/channel
$OURDVBCMOD:$FREQ
I see in the logs that this is indeed being called. Here are a few
sample entries:
Aug 28 09:46:15 dracor mythtv: /home/mythtv/chch_hdhr: Issuing command
/usr/bin/hdhomerun_config 1420577E set /tuner0/channel a8qam256-6875:290
Aug 28 09:46:16 dracor mythtv: /home/mythtv/chch_hdhr: Issuing command
/usr/bin/hdhomerun_config 1420577E set /tuner0/channel a8qam256-6875:290
Aug 28 09:46:23 dracor mythtv: /home/mythtv/chch_hdhr: Issuing command
/usr/bin/hdhomerun_config 1420577E set /tuner0/channel a8qam256-6875:298
Aug 28 11:02:40 dracor mythtv: /home/mythtv/chch_hdhr: Issuing command
/usr/bin/hdhomerun_config 1420577E set /tuner0/channel a8qam256-6875:298
Aug 28 11:02:41 dracor mythtv: /home/mythtv/chch_hdhr: Issuing command
/usr/bin/hdhomerun_config 1420577E set /tuner0/channel a8qam256-6875:298
Aug 28 11:02:49 dracor mythtv: /home/mythtv/chch_hdhr: Issuing command
/usr/bin/hdhomerun_config 1420577E set /tuner0/channel a8qam256-6875:298
Aug 28 11:02:51 dracor mythtv: /home/mythtv/chch_hdhr: Issuing command
/usr/bin/hdhomerun_config 1420577E set /tuner0/channel a8qam256-6875:298
Another symptom is that when I enter the Cards menu in mythtv-setup it
hangs on the "Loading..." screen such that I have to kill it (with
signal -9).
I would appreciate any guidance anyone might have.
Thanks, Jan
More information about the mythtv-users
mailing list