[mythtv-users] Blasting to STB,using a MCEUSB
Dave Pearson (Lists)
lists at the-pearsons.co.uk
Sat Oct 6 10:10:31 UTC 2018
-----Original message-----
From: Stephen Worthington <stephen_agent at jsw.gen.nz>
Sent: Saturday 6th October 2018 9:55
To: Discussion about MythTV <mythtv-users at mythtv.org>
Subject: Re: [mythtv-users] Blasting to STB,using a MCEUSB
On Sat, 6 Oct 2018 08:34:39 +0100, you wrote:
>-----Original message-----
>From: Greg Oliver <oliver.greg at gmail.com>
>Sent: Saturday 6th October 2018 0:54
>To: Discussion about mythtv <mythtv-users at mythtv.org>
>Subject: Re: [mythtv-users] Blasting to STB,using a MCEUSB
>
>On Fri, Oct 5, 2018 at 1:22 PM Dave Pearson (Lists) <lists at the-pearsons.co.uk <mailto:lists at the-pearsons.co.uk> > wrote:
>
> > On 5 Oct 2018, at 18:22, Stephen Worthington <stephen_agent at jsw.gen.nz <mailto:stephen_agent at jsw.gen.nz> > wrote:
> >
> >> On Fri, 5 Oct 2018 16:59:46 +0100, you wrote:
> >>
> >> I’m so close it hurts!
> >>
> >> Ok, so my ˜/.lirc/mythtv file looks like this:
> >>
> >> begin
> >> remote = devinput-32
> >> prog = mythtv
> >> button = left
> >> config = left
> >> end
> >>
> >> Etc.
> >>
> >> My ˜/.lircrc file looks like this:
> >>
> >> include ˜/.lirc/mythtv
> >>
> >> And I can see the key presses in irw
> >>
> >> I’ve restarted my front end and it’s still not working - there’s got to be something else, obvious, that I’m just not spotting - any ideas?
> >>
> >> (Just noticed, this thread is actually about controlling a set top box, not controlling the frontend, sorry about hijacking it - this should have stayed in the other thread)
> >>
> >> Regards,
> >> Dave
> >
> > Shut down mythfrontend and try "ircat mythtv" from a command prompt
> > with the same user as mythfrontend is run from. Does that show any
> > input from the remote?
> >
> > Also, I have just done the 16.04 to 18.04.1 upgrade on my main MythTV
> > box, and for some reason the lirc update did not install the new
> > /etc/lirc/lircd.conf file. Check if that happened to you. It should
> > look like this:
> >
> > # Populated config files can be found at http://sf.net/p/lirc-remotes <http://sf.net/p/lirc-remotes> .
> > The
> > # irdb-get(1) and lirc-setup(1) tools can be used to search and
> > download
> > # config files.
> > #
> > # From 0.9.2 config files could just be dropped as-is in the
> > lircd.conf.d
> > # directory and be included by this file.
> >
> > include "lircd.conf.d/*.conf"
> >
> >
> > If it does not, then you need to do this from a root prompt:
> >
> > cd /etc/lirc
> > cp -a lircd.conf.dist lircd.conf
> >
> > If you want to keep the old lircd.conf, rename it first:
> >
> > mv lircd.conf lircd.conf.16.04
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
> > http://lists.mythtv.org/mailman/listinfo/mythtv-users <http://lists.mythtv.org/mailman/listinfo/mythtv-users>
> > http://wiki.mythtv.org/Mailing_List_etiquette <http://wiki.mythtv.org/Mailing_List_etiquette>
> > MythTV Forums: https://forum.mythtv.org
>
> Hi Stephen,
>
> ircat mythtv doesn’t show any input from the remote
>
> I do have a lircd.conf file in /etc/lirc
>
> Regards,
> Dave
>
>Permissions on files possibly? The entries in your config looks correct, but can they be read? I am out of ideas here if ircat does not work. What are the perms on /var/run/lirc/lircd also?
>
>_______________________________________________
>
>mythtv-users mailing list
>
>mythtv-users at mythtv.org
>
>http://lists.mythtv.org/mailman/listinfo/mythtv-users
>
>http://wiki.mythtv.org/Mailing_List_etiquette
>
>MythTV Forums: https://forum.mythtv.org
>
>Hi Greg
>
>
>
>Permissions on /var/run/lirc/lircd:
>
>
>
>dave at nuc1:/var/run/lirc$ ls -al
>total 4
>drwxr-xr-x 2 root root 80 Oct 5 17:06 .
>drwxr-xr-x 32 root root 1080 Oct 6 07:26 ..
>srw-rw-rw- 1 root root 0 Oct 5 17:06 lircd
>-rw-r--r-- 1 root root 5 Oct 5 17:06 lircd.pid
> On ˜/.lircrc & ˜/.lirc:
> dave at nuc1:˜$ ls .lirc* -al
>-rw-rw-r-- 1 dave dave 23 Oct 5 16:38 .lircrc
>
>.lirc:
>total 16
>drwxrwxr-x 2 dave dave 4096 Oct 5 05:14 .
>drwxr-xr-x 25 dave dave 4096 Oct 6 07:26 ..
>-rw-rw-r-- 1 dave dave 4660 Oct 5 05:14 mythtv
>
>mythfrontend appears to be connecting to the lircd socket and also reading the .lircrc config file:
>
>Oct 5 19:48:29 nuc1 mythfrontend.real: mythfrontend[11534]: I CoreContext lirc.cpp:322 (Init) LIRC: Successfully initial
>ized '/var/run/lirc/lircd' using '/home/dave/.lircrc' config
>
>
>And yet still the control doesn't work!
> I'm almost at the point of rebuilding the frontend and starting again.
> Regards,
>Dave.
If "ircat mythtv" does not work, then the problem is in the lirc
setup, not mythfrontend. Please post the output of the following
commands:
cat /etc/lirc/lircd.conf
cat /etc/lirc/lirc_options.conf
grep name /etc/lirc/lircd.conf.d/*.conf
cat $HOME/.lircrc
grep remote $HOME/.lirc/* | uniq
This is what I get from those commands:
stephen at mypvr:˜$ cat /etc/lirc/lircd.conf
# Populated config files can be found at http://sf.net/p/lirc-remotes.
The
# irdb-get(1) and lirc-setup(1) tools can be used to search and
download
# config files.
#
# From 0.9.2 config files could just be dropped as-is in the
lircd.conf.d
# directory and be included by this file.
include "lircd.conf.d/*.conf"
stephen at mypvr:˜$ cat /etc/lirc/lirc_options.conf
# These are the default options to lircd, if installed as
# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
# manpages for info on the different options.
#
# Some tools including mode2 and irw uses values such as
# driver, device, plugindir and loglevel as fallback values
# in not defined elsewhere.
[lircd]
nodaemon = False
driver = devinput
device = auto
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/x86_64-linux-gnu/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
#effective-user =
#listen = [address:]port
#connect = host[:port]
#loglevel = 6
#release = true
#release_suffix = _EVUP
#logfile = ...
#driver-options = ...
[lircmd]
uinput = False
nodaemon = False
# [modinit]
# code = /usr/sbin/modprobe lirc_serial
# code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput
# code2 = ...
# [lircd-uinput]
# add-release-events = False
# release-timeout = 200
# release-suffix = _EVUP
stephen at mypvr:˜$ grep name /etc/lirc/lircd.conf.d/*.conf
# Rename to devinput.lircd.dist if not using devinput driver
name devinput-64
name devinput
stephen at mypvr:˜$ cat $HOME/.lircrc
#Custom lircrc generated via mythbuntu-lirc-generator
#All application specific lircrc files are within ˜/.lirc
include ˜/.lirc/mythtv
include ˜/.lirc/mplayer
include ˜/.lirc/xine
include ˜/.lirc/vlc
include ˜/.lirc/xmame
include ˜/.lirc/xmess
include ˜/.lirc/totem
include ˜/.lirc/elisa
include ˜/.lirc/irexec
stephen at mypvr:˜$ grep remote $HOME/.lirc/* | uniq
/home/stephen/.lirc/elisa: remote = mceusb_hauppauge
/home/stephen/.lirc/elisa: remote = Sky_Zenith
/home/stephen/.lirc/elisa: remote = vista_mce
/home/stephen/.lirc/elisa: remote = Pace_RC-30
/home/stephen/.lirc/elisa: remote = mceusb
/home/stephen/.lirc/irexec: remote = mceusb_hauppauge
/home/stephen/.lirc/irexec: remote = vista_mce
/home/stephen/.lirc/irexec: remote = mceusb
/home/stephen/.lirc/mplayer:# lircrc for devinput with Hauppauge Nova
TD-500 and Hauppauge HVR-900R2 remotes (with lirc 0.9.0).
/home/stephen/.lirc/mplayer: remote = devinput
/home/stephen/.lirc/mplayer.14.04: remote = mceusb_hauppauge
/home/stephen/.lirc/mplayer.14.04: remote = Sky_Zenith
/home/stephen/.lirc/mplayer.14.04: remote = vista_mce
/home/stephen/.lirc/mplayer.14.04: remote = Pace_RC-30
/home/stephen/.lirc/mplayer.14.04: remote = mceusb
/home/stephen/.lirc/mplayer.mce: remote = mceusb_hauppauge
/home/stephen/.lirc/mplayer.mce: remote = Sky_Zenith
/home/stephen/.lirc/mplayer.mce: remote = vista_mce
/home/stephen/.lirc/mplayer.mce: remote = Pace_RC-30
/home/stephen/.lirc/mplayer.mce: remote = mceusb
/home/stephen/.lirc/mplayer.mce: remote = mceusb_hauppauge
/home/stephen/.lirc/mplayer.original: remote = mceusb_hauppauge
/home/stephen/.lirc/mplayer.original: remote = vista_mce
/home/stephen/.lirc/mplayer.original: remote = mceusb
/home/stephen/.lirc/mythtv:# lircrc for devinput with Hauppauge Nova
TD-500 and Hauppauge HVR-900R2 remotes (with lirc 0.9.0),
/home/stephen/.lirc/mythtv:# and MCE remotes.
/home/stephen/.lirc/mythtv: remote = devinput
/home/stephen/.lirc/mythtv:# remote = devinput
/home/stephen/.lirc/mythtv: remote = devinput
/home/stephen/.lirc/mythtv:# remote = devinput
/home/stephen/.lirc/mythtv: remote = devinput
/home/stephen/.lirc/mythtv:# LiveTV button not available on Nova
TD-500 and HVR-900 remotes.
/home/stephen/.lirc/mythtv: remote = devinput
/home/stephen/.lirc/mythtv:# Clear button not available on Nova TD-500
and HVR-900 remotes, so use the Red key.
/home/stephen/.lirc/mythtv: remote = devinput
/home/stephen/.lirc/mythtv:# DVD Menu button not available on Nova
TD-500 and HVR-900 remotes, so use the Blue key.
/home/stephen/.lirc/mythtv: remote = devinput
/home/stephen/.lirc/mythtv:# DVD Menu button not available on Nova
TD-500 and HVR-900 remotes, so use the PrevCh key.
/home/stephen/.lirc/mythtv: remote = devinput
/home/stephen/.lirc/mythtv˜: remote = mceusb_hauppauge
/home/stephen/.lirc/mythtv˜: remote = vista_mce
/home/stephen/.lirc/mythtv˜: remote = mceusb
/home/stephen/.lirc/mythtv.14.04: remote = mceusb_hauppauge
/home/stephen/.lirc/mythtv.14.04: remote = Sky_Zenith
/home/stephen/.lirc/mythtv.14.04: remote = vista_mce
/home/stephen/.lirc/mythtv.14.04: remote = Pace_RC-30
/home/stephen/.lirc/mythtv.14.04: remote = mceusb
/home/stephen/.lirc/mythtv.mce: remote = mceusb_hauppauge
/home/stephen/.lirc/mythtv.mce: remote = Sky_Zenith
/home/stephen/.lirc/mythtv.mce: remote = vista_mce
/home/stephen/.lirc/mythtv.mce: remote = Pace_RC-30
/home/stephen/.lirc/mythtv.mce: remote = mceusb
/home/stephen/.lirc/mythtv.original: remote = mceusb_hauppauge
/home/stephen/.lirc/mythtv.original: remote = vista_mce
/home/stephen/.lirc/mythtv.original: remote = mceusb
/home/stephen/.lirc/rhythmbox:# edit the "button =" part for each
entry according to your remote, and stick
/home/stephen/.lirc/rhythmbox: remote = *
/home/stephen/.lirc/rhythmbox:# remote = *
/home/stephen/.lirc/rhythmbox: remote = *
/home/stephen/.lirc/totem: remote = mceusb_hauppauge
/home/stephen/.lirc/totem: remote = Sky_Zenith
/home/stephen/.lirc/totem: remote = vista_mce
/home/stephen/.lirc/totem: remote = Pace_RC-30
/home/stephen/.lirc/totem: remote = mceusb
/home/stephen/.lirc/vlc: remote = mceusb_hauppauge
/home/stephen/.lirc/vlc: remote = Sky_Zenith
/home/stephen/.lirc/vlc: remote = vista_mce
/home/stephen/.lirc/vlc: remote = Pace_RC-30
/home/stephen/.lirc/vlc: remote = mceusb
/home/stephen/.lirc/xine: remote = mceusb_hauppauge
/home/stephen/.lirc/xine: remote = Sky_Zenith
/home/stephen/.lirc/xine: remote = vista_mce
/home/stephen/.lirc/xine: remote = Pace_RC-30
/home/stephen/.lirc/xine: remote = mceusb
/home/stephen/.lirc/xmame: remote = mceusb_hauppauge
/home/stephen/.lirc/xmame: remote = Sky_Zenith
/home/stephen/.lirc/xmame: remote = vista_mce
/home/stephen/.lirc/xmame: remote = Pace_RC-30
/home/stephen/.lirc/xmame: remote = mceusb
/home/stephen/.lirc/xmess: remote = mceusb_hauppauge
/home/stephen/.lirc/xmess: remote = Sky_Zenith
/home/stephen/.lirc/xmess: remote = vista_mce
/home/stephen/.lirc/xmess: remote = Pace_RC-30
/home/stephen/.lirc/xmess: remote = mceusb
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Hi Stephen,
Thank you so much for all of your help with this, here is the output from those commands:
dave at nuc1:~$ cat /etc/lirc/lircd.conf
# Populated config files can be found at http://sf.net/p/lirc-remotes. <http://sf.net/p/lirc-remotes.> The
# irdb-get(1) and lirc-setup(1) tools can be used to search and download
# config files.
#
# From 0.9.2 config files could just be dropped as-is in the lircd.conf.d
# directory and be included by this file.
include "lircd.conf.d/*.conf"
dave at nuc1:~$ cat /etc/lirc/lirc_options.conf
# These are the default options to lircd, if installed as
# /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
# manpages for info on the different options.
#
# Some tools including mode2 and irw uses values such as
# driver, device, plugindir and loglevel as fallback values
# in not defined elsewhere.
[lircd]
nodaemon = False
driver = devinput
device = auto
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/x86_64-linux-gnu/lirc/plugins
permission = 666
allow-simulate = No
#repeat-max = 600
repeat-max = 1200
effective-user = dave
#listen = [address:]port
#connect = host[:port]
#loglevel = 6
#release = true
#release_suffix = _EVUP
#logfile = ...
#driver-options = ...
[lircmd]
uinput = False
nodaemon = False
# [modinit]
# code = /usr/sbin/modprobe lirc_serial
# code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput
# code2 = ...
# [lircd-uinput]
# add-release-events = False
# release-timeout = 200
# release-suffix = _EVUP
dave at nuc1:~$ grep name /etc/lirc/lircd.conf.d/*.conf
# Rename to devinput.lircd.dist if not using devinput driver
name devinput-64
name devinput-32
dave at nuc1:~$ cat $HOME/.lircrc
include ~/.lirc/mythtv
dave at nuc1:~$ grep remote $HOME/.lirc/* | uniq
remote = devinput-32
dave at nuc1:~$
I just hope the key to it all is to be found in there somewhere.
Regards,
Dave.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181006/d2282967/attachment.html>
More information about the mythtv-users
mailing list