User:Trogod/System0Up1810Needs
From MythTV Official Wiki
System 0 Upgrade to Ubuntu 18.10
NOTES
- may want to install mythbuntu-lirc-generator, see LIRC
Contents
ALSA: sudo apt-get upgrade alsa
as of 24 January 2019
$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k4.18.0-13-generic.
$ sudo apt-get upgrade alsa The following packages were automatically installed and are no longer required: libncursesw5 libtinfo5 Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: irqbalance 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I haven't removed libncursesw5 nor libtinfo5, yet. I'll do sudo apt autoremove
, later.
LIRC: sudo apt install lirc
$ sudo apt install lirc The following additional packages will be installed: libftdi1-2 liblirc-client0 liblirc0 libusb-0.1-4 Suggested packages: lirc-compat-remotes lirc-drv-irman lirc-doc lirc-x setserial ir-keytable Recommended packages: gir1.2-vte The following NEW packages will be installed: libftdi1-2 liblirc-client0 liblirc0 libusb-0.1-4 lirc 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
LIRC configure
from my old home
$ cp -pr .lirc .lircrc ~/.
config files
273 sudo cp -pr lircd.conf lircd.conf-orig 274 sudo cp -pr lircmd.conf lircmd.conf-orig $ sudo cp lircd.conf lircmd.conf /etc/lirc/. $ sudo mv lircd.conf lircd.conf.d/previous.conf $ sudo mv lircd.conf-orig lircd.conf $ sudo service lircd restartI wasn't seeing any output when I tried
irwso I tried
$ mode2 -d /dev/lirc0 Using driver devinput on device /dev/lirc0 Cannot initiate device /dev/lirc0
maybe I need to remove the devinput conf file....
$ cd /etc/lirc/lircd.conf.d/ $ sudo mv devinput.lircd.conf devinput.lircd.conf-orig $ sudo service lircd restart
I cleaned up my conf files and separated the two remotes
$ sudo mv previous.conf tivo.conf $ sudo cp tivo.conf atlas4.conf $ sudo vi tivo.conf $ sudo vi atlas4.conf
I saw some advice at https://www.raspberrypi.org/forums/viewtopic.php?t=192891
$ sudo /usr/share/lirc/lirc-old2new WARNING: Cannot locate hardware.conf(!) Using existing lircd configuration and enabling lircd.socket /etc/lirc/lircmd.conf is unconfigured (skip lircmd) sudo cp {old device}/etc/lirc/hardware.conf /etc/lirc/.
tried again
$ sudo /usr/share/lirc/lirc-old2new Traceback (most recent call last): File "/usr/share/lirc/lirc-old2new", line 247, in <module> main() File "/usr/share/lirc/lirc-old2new", line 233, in main hardware_conf = decode_hw(os.path.join(etcdir, 'hardware.conf')) File "/usr/share/lirc/lirc-old2new", line 212, in decode_hw parser.read_string(s, path) File "/usr/lib/python3.6/configparser.py", line 723, in read_string self.read_file(sfile, source) File "/usr/lib/python3.6/configparser.py", line 718, in read_file self._read(f, source) File "/usr/lib/python3.6/configparser.py", line 1092, in _read fpname, lineno) configparser.DuplicateOptionError: While reading from '/etc/lirc/hardware.conf' [line 6]: option 'remote' in section 'main' already exists $ sudo vi hardware.conf $ diff ~/lircbak/hardware.conf hardware.conf 4d3 < REMOTE="Windows Media Center Transceivers/Remotes (all)" $ sudo /usr/share/lirc/lirc-old2new Traceback (most recent call last): File "/usr/share/lirc/lirc-old2new", line 247, in <module> main() File "/usr/share/lirc/lirc-old2new", line 234, in main options_conf = get_lircd_options(hardware_conf, etcdir) File "/usr/share/lirc/lirc-old2new", line 134, in get_lircd_options and hardware_cf['modules']: KeyError: 'modules'
not sure why that failed, but I looked at the change it made to lirc_options and cleaned it up
$ sudo vi lirc_options.conf $ diff lirc_options.conf.dist lirc_options.conf 11c11 < driver = devinput --- > driver = default $ sudo service lircd restart $ mode2 -d /dev/lirc0 Using driver default on device /dev/lirc0 Cannot initiate device /dev/lirc0
I cleaned up a couple of files that didn't really change
$ sudo cp -pr irexec.lircrc.dist irexec.lircrc $ sudo cp -pr lircmd.conf.dist lircmd.conf
Tried irw again, but this time I used modprobe, too
$ modprobe mceusb $ sudo service lircd restart $ mode2 -d /dev/lirc0 Using driver default on device /dev/lirc0 Cannot initiate device /dev/lirc0 $ irw 00000000a10c6807 00 DOWN Tivo_S2 00000000a10c2807 00 UP Tivo_S2
I'll reboot and test it again...
development software
needed for HDHOMERUN software
$ sudo apt-get install make gcc autoconf automake $ sudo apt-get install -y pkg-config
HDHOMERUN software
see
$ cd ~/hdhomerun/ $ wget http://download.silicondust.com/hdhomerun/libhdhomerun_20180817.tgz $ wget http://download.silicondust.com/hdhomerun/hdhomerun_config_gui_20180817.tgz $ tar xzf hdhomerun_config_gui_20180817.tgz $ tar xzf libhdhomerun_20180817.tgz
I tried
$ cd hdhomerun_config_gui/ $ ./configure configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met: No package 'gtk+-2.0' found
so then
$ cd hdhomerun_config_gui/ $ make $ sudo make install (ignoring request to make install) $ which hdhomerun_config /usr/bin/hdhomerun_config $ ls -Ftl /usr/bin/hdhomerun_config -rwxr-xr-x 1 root root 75848 Aug 21 20:39 /usr/bin/hdhomerun_config*
not sure why my build didn't install, however, the date on the existing one looks like it is the current version.