Results 1 to 6 of 6

Thread: Trouble setting up LIRC and a MCE remote

  1. #1
    Join Date
    Mar 2006
    Location
    New York, USA
    Beans
    91
    Distro
    Ubuntu 10.04 Lucid Lynx

    Trouble setting up LIRC and a MCE remote

    I purchased an eDATA DEC-200B MCE remote recently, but haven't been able to get it to control any programs. I want it to be able to play/pause and do other things while running VLC.

    I browsed through many forums and tutorials, but it just doesn't work for me. When I run 'irw' I the terminal responds when I press buttons.

    I installed and ran mythbuntu-lirc-generator to generate some basic files, but they don't seem to help. I restarted my computer, which doesn't help either. Here are all my config files. Please help me if you are able to. Thanks in advance.

    /etc/lirc/hardware.conf
    Code:
    # /etc/lirc/hardware.conf
    #
    #Chosen Remote Control
    REMOTE="Windows Media Center Remotes (new version Philips et al.)"
    REMOTE_MODULES="lirc_dev lirc_mceusb2"
    REMOTE_DRIVER=""
    REMOTE_DEVICE="/dev/lirc0"
    REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
    REMOTE_LIRCD_ARGS=""
    
    #Chosen IR Transmitter
    TRANSMITTER="None"
    TRANSMITTER_MODULES=""
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE=""
    TRANSMITTER_LIRCD_CONF=""
    TRANSMITTER_LIRCD_ARGS=""
    
    #Enable lircd
    START_LIRCD="true"
    
    #Don't start lircmd even if there seems to be a good config file
    #START_LIRCMD="false"
    
    #Try to load appropriate kernel modules
    LOAD_MODULES="true"
    
    # Default configuration files for your hardware if any
    LIRCMD_CONF=""
    
    #Forcing noninteractive reconfiguration
    #If lirc is to be reconfigured by an external application
    #that doesn't have a debconf frontend available, the noninteractive
    #frontend can be invoked and set to parse REMOTE and TRANSMITTER
    #It will then populate all other variables without any user input
    #If you would like to configure lirc via standard methods, be sure
    #to leave this set to "false"
    FORCE_NONINTERACTIVE_RECONFIGURATION="false"
    START_LIRCMD=""
    lircrc
    Code:
    #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
    VLC config
    Code:
    # LIRCRC Auto Generated by Mythbuntu Lirc Generator
    # Author(s): Mario Limonciello, Nick Fox
    # Created for use with Mythbuntu
    begin
        remote = mceusb
        prog = vlc
        button = Down
        config = key-nav-down
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Play
        config = key-play
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Pause
        config = key-pause
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = OK
        config = key-nav-activate
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Mute
        config = key-vol-mute
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = VolDown
        config = key-vol-down
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = DVD
        config = key-disc-menu
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Stop
        config = key-quit
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Up
        config = key-nav-up
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = VolUp
        config = key-vol-up
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Replay
        config = key-prev
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = ChanDown
        config = key-prev
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Right
        config = key-nav-right
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Skip
        config = key-next
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = ChanUp
        config = key-next
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Rewind
        config = key-slower
        repeat = 0
        delay = 0
    end
    
    begin
    
    
        remote = mceusb
        prog = vlc
        button = Forward
        config = key-faster
        repeat = 0
        delay = 0
    end
    
    begin
        remote = mceusb
        prog = vlc
        button = Left
        config = key-nav-left
        repeat = 0
        delay = 0
    end
    /etc/lircd.conf
    Code:
    #This configuration has been automatically generated via
    #the Ubuntu LIRC package maintainer scripts.
    #
    #It includes the default configuration for the remote and/or
    #transmitter that you have selected during package installation.
    #
    #Feel free to add any custom remotes to the configuration
    #via additional include directives or below the existing
    #Ubuntu include directives from your selected remote and/or
    #transmitter.
    
    #Configuration for the Windows Media Center Remotes (new version Philips et al.) remote:
    include /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb
    Let me know if I forgot to include something. This is on Hardy Heron 8.04

  2. #2
    Join Date
    Mar 2006
    Location
    New York, USA
    Beans
    91
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Trouble setting up LIRC and a MCE remote

    sorry for the bump. any ideas would be appreciated

    EDIT: nevermind, i didn't know i had to enable lirc control from within VLC first.
    Last edited by zgerrz; April 27th, 2008 at 11:00 PM.

  3. #3
    Join Date
    Oct 2008
    Beans
    169

    Re: Trouble setting up LIRC and a MCE remote

    Where does the VLC Lirc config file go?

  4. #4
    Join Date
    Oct 2008
    Beans
    169

    Re: Trouble setting up LIRC and a MCE remote

    or better yet, how do I enable Lirc for VLC?

  5. #5
    Join Date
    Mar 2013
    Beans
    3

    Re: Trouble setting up LIRC and a MCE remote

    I know this is old, but I came here in 2013 trying to get lirc to work on a plain Ubuntu installation.

    All you have to do is run mythbuntu-lirc-generator from a terminal window and even without mythtv installed, you have .lircrc set up for most of the popular players.

    This worked with Ubuntu 12.04 LTS:

    Code:
    sudo apt-get install mythbuntu-lirc-generator
    Then, just run it from your directory. (I don't know if sudo is required, but that's how I did it.)
    Code:
    $ sudo mythbuntu-lirc-generator
    [sudo] password for user: 
    You should now have a .lircrc file generated in /home/user/.lircrc
    All application specific lircrc files are in /home/user/.lirc
    Now, just run vlc.
    Click Tools, Preferences.
    Under "Show Settings" (lower left corner)
    Select All.
    The icons on the left side change to a list, so you'll scroll down to Interface, under which is "Control interface". Yeah, click that.
    See the box next to "Infrared remote control interface"? Click that.
    The text box below should now have the word "lirc" with colons between it and any other options you select, if any.

    Now, you're ready.

    Don't like how the remote works?
    Edit ~/.lirc/vlc and make the changes you want. (Make a backup copy first.)

    Well, there you have it!

  6. #6
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •