[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 601
  • Last Modified:

Mythbuntu Silverstone Infra Red Remote Stops Working when Myth TV Launches

I am running Mythbuntu fully updated at present.
I am running it within a Silverstone LC20 Case and therefore am using the Soundgraph iMON PAD IR/VFD remote config file for the remote.
This will work but as soon as I load MythTV the remote will stop working until I reset the system.
Any ideas what would be causing this?
0
bnoyzy
Asked:
bnoyzy
  • 6
  • 3
1 Solution
 
andel7Commented:
Is it working after the mythtv closed?
there is a file lircrc in home directory of each user and it defines what buttun-configurations do what. It is possible the the remote control will work with some programs and with other it won't especially with mythtv.

Check this article to get more info:

http://www.mythtv.org/wiki/LIRC

also when running mythtv run in different window/screen irw and check if you are still getting the singals from the remote ( if you do it's only a question of configuration)

Good Luck
0
 
bnoyzyAuthor Commented:
Thanks for your reply andel7.

Once MythTV loads it stops working. When mythtv is exited it continues to not work. Once I reset it works again until mythtv is started.

I will read into what you have posted and let you know how I go. If you have any other ideas please let me know.
0
 
bnoyzyAuthor Commented:
I just restarted and found that this time it is only in mythtv that it stops working. I do not know what caused it to fully stop functioning completely last time.
So yes this definitely places it down to the application.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
bnoyzyAuthor Commented:
Ok how does this all work?
I just did a locate on lircrc and I found to my extent that there is only one file with this name on my system.

There is a .lircrc : /home/darren/.lircrc which contains the following:

:~$ cat .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

And the actual lircrc is in $HOME/.mythtv/lircrc with the following configuration:

:$ cat lircrc
# LIRCRC Auto Generated by Mythbuntu Lirc Generator
# Author(s): Mario Limonciello, Nick Fox
# Created for use with Mythbuntu
begin
    remote = iMON-PAD
    prog = mythtv
    button = 7
    config = 7
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Right
    config = Right
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Mute
    config = |
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 1
    config = 1
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Down
    config = Down
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 0
    config = 0
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Pause
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Menu
    config = M
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 6
    config = 6
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 2
    config = 2
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Ch-
    config = Down
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Ch+
    config = Up
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Rewind
    config = <
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Play
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Vol-
    config = [
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Stop
    config = Escape
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Vol+
    config = ]
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 5
    config = 5
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 4
    config = 4
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Enter
    config = Return
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Up
    config = Up
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Record
    config = R
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 9
    config = 9
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 3
    config = 3
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Enter
    config = Enter
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = 8
    config = 8
    repeat = 0
    delay = 0
end

begin
    remote = iMON-PAD
    prog = mythtv
    button = Left
    config = Left
    repeat = 0
    delay = 0
end


To me this looks fine but does this mean that this file is being used for both mythtv and gnome (where it works in gnome but not in mythtv).

Now below is the file included in my lircd.conf files (there are two; one directly under /etc and one under/etc/lirc; they both refer to this config file of the iMON PAD remote):

#
# this config file was automatically generated
# using lirc-0.7.1pre2(imon) on Tue Mar  1 23:15:44 2005
#
# contributed by Venky Raju
#
# brand:                       iMON-New
# model no. of remote control: iMON-PAD
# devices being controlled by this remote:
#

begin remote

  name     iMON-PAD
  bits           32
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          235965
  min_repeat      1
  toggle_bit      0


      begin codes
          AppExit                  0x288195B7
          Record                   0x298115B7
          Play                     0x2A8115B7
          SlowMotion               0x29B195B7
          Rewind                   0x2A8195B7
          Pause                    0x2A9115B7
          FastForward              0x2B8115B7
          PrevChapter              0x2B9115B7
          Stop                     0x2B9715B7
          NextChapter              0x298195B7
          Esc                      0x2BB715B7
          Eject                    0x299395B7
          AppLauncher              0x29B715B7
          MultiMon                 0x2AB195B7
          TaskSwitcher             0x2A9395B7
          Mute                     0x2B9595B7
          Vol+                     0x28A395B7
          Vol-                     0x28A595B7
          Ch+                      0x289395B7
          Ch-                      0x288795B7
          Timer                    0x2B8395B7
          1                        0x28B595B7
          2                        0x2BB195B7
          3                        0x28B195B7
          4                        0x2A8595B7
          5                        0x299595B7
          6                        0x2AA595B7
          7                        0x2B9395B7
          8                        0x2A8515B7
          9                        0x2AA115B7
          0                        0x2BA595B7
          ShiftTab                 0x28B515B7
          Tab                      0x29A115B7
          MyMovie                  0x2B8515B7
          MyMusic                  0x299195B7
          MyPhoto                  0x2BA115B7
          MyTV                     0x28A515B7
          Bookmark                 0x288515B7
          Thumbnail                0x2AB715B7
          AspectRatio              0x29A595B7
          FullScreen               0x2AA395B7
          MyDVD                    0x29A295B7
          Menu                     0x2BA385B7
          Caption                  0x298595B7
          Language                 0x2B8595B7
          MouseKeyboard            0x299115B7
          SelectSpace              0x2A9315B7
          MouseMenu                0x28B715B7
          MouseRightClick          0x688481B7
          Enter                    0x28A195B7
          MouseLeftClick           0x688301B7
          WindowsKey               0x2B8195B7
          Backspace                0x28A115B7
# Corrin added
        Space                    0x2B9B15F7
          Up                       0xEB53F9B7
          Left                     0x6ABAFFBF
          Down                     0x6F9ECBB7
          Right                    0x69A281B7

      end codes

end remote

#
# this config file was automatically generated
# using lirc-0.8.0(userspace) on Tue Oct 17 22:45:11 2006
#
# contributed by
#
# brand:                       Antec Fusion Wheel
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  Antec_Fusion_Wheel
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  post_data_bits  16
  post_data      0xFF
  gap          131971
  min_repeat      1
  toggle_bit      0


      begin codes
          CCW                      0x0100
          CW                       0x0001
      end codes

end remote


Any ideas what is wrong?
0
 
andel7Commented:
Here's the fast way to troubleshoot your problem.

Since we already know that remote is working - you have no problem with drivers.


Run irw in different windows when you run your mythtv.

(make sure the lircd is running if not restart it)

Press on different buttons on your remote control and you should see output that indicates that your the drivers are OK and that you have right configuration files in term of Lirc.

you should see something like:

00000008001004f 00 1 hauppauge_nova_t_uk
0000000080010050 00 2 hauppauge_nova_t_uk
0000000080010051 00 3 hauppauge_nova_t_uk
000000008001001c 00 OK hauppauge_nova_t_uk
00000000800100ae 00 Back hauppauge_nova_t_uk
00000000800100cf 00 Play hauppauge_nova_t_u


Only instead of hauppauge_nova_t_uk you should see  iMON-PAD or any other configuration file that responds to your remote controll.

Additionally make sure that the button mapping in irw are configured as in  ~/.lirc/mythtv.

For example if you press PLAY on your remote and you get in irw :
00000000800100cf 00 PLAY_BUTTON my_remote

make sure that that in the file ~/.lirc/mythtv you have the following

begin
    remote = my_remote
    prog = mythtv
    button = PLAY_BUTTON
    config = P
    repeat = 0
    delay = 0
end


hope this helps good luck.

0
 
bnoyzyAuthor Commented:
Thanks for your reply andel7. I will try this in the morning and let you know how I go.
0
 
bnoyzyAuthor Commented:
When I use irw it returns:
connect: Connection refused

How do I use irw correctly?
The remote is working while I type the command into the terminal.
0
 
andel7Commented:
U have to be root I think

0
 
bnoyzyAuthor Commented:
Yeah I tried:
sudo irw

and

sudo irw /dev/lircd

Which I gather are the same thing as its default parameters point to lircd. The same error as described above occur though.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now