Remote not working in stable 0.21.0-64 (MM_INIT_TYPE=sh)

Help with booting MiniMyth

Moderator: Pablo

Post Reply
MythLegend
Contributor
Posts: 56
Joined: Thu Jul 12, 2007 7:46 pm

Remote not working in stable 0.21.0-64 (MM_INIT_TYPE=sh)

Post by MythLegend » Wed Feb 04, 2009 7:33 pm

Hi,

mentioned this in another thread about virtual box, removed it from there to create a separate post.

On my SP8000E (which runs OK with stable 61 with the MM_INIT_TYPE=sh), having removed the MM_INIT_TYPE=sh [Kernel panic otherwise], it no longer recognises the remote control.....
I thought that the MM_INIT_TYPE=sh was a fix for the remote not working previously, but I can't find that post ?

Had anyone else had a similar problem and perhaps have an idea of a fix ?

Thanks

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Wed Feb 04, 2009 7:52 pm

What remote receiver are you using?

What MM_LIRC_* variables do you have set in your minimyth.conf file?

What are the values of the MM_LIRC_* variables in /etc/conf.d/minimyth after you boot?

What is the output of

Code: Select all

ps ax ocmd | grep lirc
after you boot?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

MythLegend
Contributor
Posts: 56
Joined: Thu Jul 12, 2007 7:46 pm

Post by MythLegend » Wed Feb 04, 2009 8:22 pm

Hi Paul,
ps ax ocmd | grep lirc
gives me:
/usr/sbin/lircd --device=/dev/lirc-usb:0471:0815:PH00P4t3 --driver=default --output=/dev/lircd --pidfile=/var/run/lircd.pid
/usr/bin/irexec -d /etc/lircrc

I have
MM_LIRC_SLEEP_ENABLED='no'
MM_LIRC_WAKEUP_ENABLED='no'
MM_LIRC_FETCH_LIRCRC='yes'

The contents of the lircrc are :
root@tvserver:/tftpboot/minimyth/conf/default# cat lircrc
# autogenerated
include /etc/lirc.d/lircrc
include /etc/lirc.d/lircrc.volume.internal
include /etc/lirc.d/lircrc.d/lircrc.hauppauge_A415
include /etc/lirc.d/lircrc.d/lircrc.hauppauge_R808
include /etc/lirc.d/lircrc.d/lircrc.mceusb
include /etc/lirc.d/lircrc.d/lircrc.mceusb2

begin
prog = irexec
button = KEY_POWER
config = /sbin/poweroff &
end

It's been ages since I did anything with this, having changed the MM_LIRC_FETCH_LIRCRC to 'no', the remote now works again, but please remind me which is the lircrc on the client that is used, am i correct assuming that I need to take a copy of it, add any commands (like the power off above) and put it back in the read only config dir and set it to fetch it again - or is there an easier way to get the power key working ?

Thanks for your help.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Wed Feb 04, 2009 8:34 pm

MythLegend wrote:The contents of the lircrc are :
root@tvserver:/tftpboot/minimyth/conf/default# cat lircrc
# autogenerated
include /etc/lirc.d/lircrc
include /etc/lirc.d/lircrc.volume.internal
include /etc/lirc.d/lircrc.d/lircrc.hauppauge_A415
include /etc/lirc.d/lircrc.d/lircrc.hauppauge_R808
include /etc/lirc.d/lircrc.d/lircrc.mceusb
include /etc/lirc.d/lircrc.d/lircrc.mceusb2

begin
prog = irexec
button = KEY_POWER
config = /sbin/poweroff &
The includes are the problem. With release 62 (from changelog)

Code: Select all

    - Reorganized the /etc/lirc.d directory.
        - Renamed some directories to shorten the names:
            /etc/lirc.d/driver.conf.d -> /etc/lirc.d/driver.conf
            /etc/lirc.d/lircd.conf.d  -> /etc/lirc.d/lircd.conf
            /etc/lirc.d/lircrc.d      -> /etc/lirc.d/lircrc
        - Reorganized the lircrc files so that they are grouped by application.
          Each application's lircrc configuration is now in either a single
          file or single directory, making it easier for a user to replace one
          application's lircrc configuration without impacting any other
          application.
        - Shortened the names of the files in the /etc/lirc.d/drivers.conf and
          /etc/lirc.d/lircd.conf directories.
Therefore, you need to change the includes. Just download the current autogenerated /etc/lircrc from your frontend using the web interface and replace your includes with the includes from it.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

MythLegend
Contributor
Posts: 56
Joined: Thu Jul 12, 2007 7:46 pm

Post by MythLegend » Thu Feb 05, 2009 12:15 am

Done, Thanks for your help.

Post Reply