[mythtv-users] HVR-2250 Tuner Not Available
R. G. Newbury
newbury at mandamus.org
Thu Apr 21 18:17:29 UTC 2016
On 04/18/2016 11:41 AM, Curtis Gedak wrote:
> $ dmesg | egrep 'saa7164|firmware'
> [ 2.932469] saa7164 driver loaded
> [ 2.935922] CORE saa7164[0]: subsystem: 0070:8891, board: Hauppauge
<snip>
> 0 (Samsung S5H1411 QAM/8VSB Frontend)...
> [ 33.560243] saa7164[1]: registered device video2 [mpeg]
> [ 33.790607] saa7164[1]: registered device video3 [mpeg]
> [ 34.001664] saa7164[1]: registered device vbi2 [vbi]
> [ 34.001812] saa7164[1]: registered device vbi3 [vbi]
> $
I used to use an HVR-2250 (but eventually switched and added another
HDHR). It was problematic.
Under certain as-yet-undetermined-conditions (which may relate to
systemd loading everything at once), the three required modules load in
the *wrong* order.
Your snippet does not show this. lsmod is more useful in this case.
The order must be td118271, s5h1411, saa7164
I had to run a small script (originally in /etc/rc.d/rc.local - pre
systemd, then enabled as a systemd daemon )
These were the commands required.
# modprobe commands for HVR-2250 and firmware.
# backend must be stopped for modprobes to work
/usr/bin/systemctl stop mythbackend.service
killall mythlogserver ; killall mythbackend
# UTF encoding needed by myth
export LC_ALL=en_US.UTF-8
# sets adapter number
echo "options saa7164 adapter_nr=6,7" > /etc/modprobe.d/hvr2250.conf
# first clean out all modules
# cannot yank modules out of order, must yank 'top' module first
# So need to work around failed attempts: use combinations
modprobe -r tda18271
modprobe -r s5h1411
modprobe -r saa7164
modprobe -r s5h1411
modprobe -r tda18271
modprobe -r s5h1411
# all mods removed: any combo order
echo " Ignore FATAL error messages outputted above if next lines are empty"
lsmod | grep tad18271
lsmod | grep s5h1411
lsmod | grep saa7164
echo " No output means all of the modules were properly unloaded"
modprobe tda18271
modprobe s5h1411
modprobe saa7164
echo " Modules re-loaded in proper order"
Geoff
More information about the mythtv-users
mailing list