LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2009, 02:13 AM   #1
farmerdave
Member
 
Registered: Mar 2008
Location: Adelaide, Australia
Distribution: Arch, Slackware 14.2, Fedora 27
Posts: 111
Blog Entries: 1

Rep: Reputation: 16
mce remote in mythtv using lirc


Just wondering if anyone has got the MCE remote to work in slackware 12.2 with mythtv.

So far when i use mode2 to check if the remote is working, i get zero response no matter which buttons i press. I dont know how to fix this.
 
Old 04-12-2009, 01:15 AM   #2
farmerdave
Member
 
Registered: Mar 2008
Location: Adelaide, Australia
Distribution: Arch, Slackware 14.2, Fedora 27
Posts: 111

Original Poster
Blog Entries: 1

Rep: Reputation: 16
I now have my MCE remote working with the following:

Add the following to /etc/lircd.conf
Code:
# Derived from MCEUSB2 lircd.conf file (lircd.conf.mceusb) found at:
# https://help.ubuntu.com/community/Install_Lirc_Feisty
#
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
#         http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti  dconti|acm.wwu.edu
#
# Updated with codes for MCE 2005 Remote additional buttons
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
# Note: TV power button transmits no code until programmed.
# Updated 12th September 2005
# Graham Auld - mce|graham.auld.me.uk
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#
#
# Updated with codes for MCE 2007 Remote additional buttons
# Visualization, Aspect, SlideShow, Eject
# Note: 
# Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound
# Note: 
# Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote

begin remote

  name        mceusb
  bits                 16
  flags  RC6|CONST_LENGTH
  eps                  30
  aeps                100

  header       2667   889
  one           444   444
  zero          444   444
  pre_data_bits        21
  pre_data        0x37FF0
  gap              105000
  toggle_bit           22
  rc6_mask    0x100000000


      begin codes

#unused by HP remote
	Blue	      0x00007ba1
	Yellow	      0x00007ba2
	Green	      0x00007ba3
	Red	      0x00007ba4
	Teletext      0x00007ba5

#ba6 - bae unused 
        BA6           0x00007ba6
        BA7           0x00007ba7
        BA8           0x00007ba8
        BA9           0x00007ba9
        BAA           0x00007baa
        BAB           0x00007bab
        BAC           0x00007bac
        BAD           0x00007bad
        BAE           0x00007bae

        Radio         0x00007baf
        Print         0x00007bb1

#bb2 - bb4 unused  
        BB2           0x00007bb2
        BB3           0x00007bb3
        BB4           0x00007bb4

        Videos        0x00007bb5
        Pictures      0x00007bb6
        RecTV         0x00007bb7
        Music         0x00007bb8
        TV            0x00007bb9

#bba - bbf unused 
        BBA           0x00007bba
        BBB           0x00007bbb
        BBC           0x00007bbc
        BBD           0x00007bbd
        BBE           0x00007bbe
        BBF           0x00007bbf
#bc1 - bca unused 
        BC1           0x00007bc1
        BC2           0x00007bc2
        BC3           0x00007bc3
        BC4           0x00007bc4
        BC5           0x00007bc5
        BC6           0x00007bc6
        BC7           0x00007bc7
        BC8           0x00007bc8
        BC9           0x00007bc9
        BCA           0x00007bca

        Eject         0x00007bcb
        SlideShow     0x00007bcc
        Visualization 0x00007bcd

#bce - bcf unused 
        BCE           0x00007bce
        BCF           0x00007bcf
#bd1 - bd7 unused 
        BD1           0x00007bd1
        BD2           0x00007bd2
        BD3           0x00007bd3
        BD4           0x00007bd4
        BD5           0x00007bd5
        BD6           0x00007bd6
        BD7           0x00007bd7

        Aspect        0x00007bd8
        Guide         0x00007bd9
        LiveTV        0x00007bda
        DVD           0x00007bdb
#NoGap
        Back          0x00007bdc
        OK            0x00007bdd
        Right         0x00007bde
        Left          0x00007bdf
        Down          0x00007be0
        Up            0x00007be1
#NoGap
        Star          0x00007be2
        Hash          0x00007be3
#NoGap
        Replay        0x00007be4
        Skip          0x00007be5
        Stop          0x00007be6
        Pause         0x00007be7
        Record        0x00007be8
        Play          0x00007be9
        Rewind        0x00007bea
        Forward       0x00007beb
#NoGap
        ChanDown      0x00007bec
        ChanUp        0x00007bed
        VolDown       0x00007bee
        VolUp         0x00007bef
#NoGap
        More          0x00007bf0
        Mute          0x00007bf1
        Home          0x00007bf2
        Power         0x00007bf3
#NoGap
        Enter         0x00007bf4
        Clear         0x00007bf5
#NoGap
        Nine          0x00007bf6
        Eight         0x00007bf7
        Seven         0x00007bf8
        Six           0x00007bf9
        Five          0x00007bfa
        Four          0x00007bfb
        Three         0x00007bfc
        Two           0x00007bfd
        One           0x00007bfe
        Zero          0x00007bff
      end codes

end remote
Add the following to ~/.mythtv/lircrc:
Code:
 
begin
   prog = mythtv
   button = One
   config = 1
 end
 
 begin
   prog = mythtv
   button = Two
   config = 2
 end
 
 begin
   prog = mythtv
   button = Three
   config = 3
 end
 
 begin
   prog = mythtv
   button = Four
   config = 4
 end
 
 begin
   prog = mythtv
   button = Five
   config = 5
 end
 
 begin
   prog = mythtv
   button = Six
   config = 6
 end
 
 begin
   prog = mythtv
   button = Seven
   config = 7
 end
 
 begin
   prog = mythtv
   button = Eight
   config = 8
 end
 
 begin
   prog = mythtv
   button = Nine
   config = 9
 end
 
 begin
   prog = mythtv
   button = Zero
   config = 0
 end
 
 begin
   prog = mythtv
   button = Back
   config = Esc
 end
 
 begin
   prog = mythtv
   button = Home
   config = Esc
 end
 
 begin
   prog = mythtv
   button = Guide
   config = M
 end
 
 begin
   prog = mythtv
   button = More
   config = I
 end
 
 begin
   prog = mythtv
   button = VolDown
   repeat = 1
   config = F10
 end
 
 begin
   prog = mythtv
   button = VolUp
   repeat = 1
   config = F11
 end
 
 begin
   prog = mythtv
   button = ChanUp
   repeat = 3
   config = Up
 end
 
 begin
   prog = mythtv
   button = ChanDown
   repeat = 3
   config = Down
 end
 
 begin
   prog = mythtv
   button = Up
   repeat = 3
   config = Up
 end
 
 begin
   prog = mythtv
   button = Down
   repeat = 3
   config = Down
 end
 
 begin
   prog = mythtv
   button = Left
   repeat = 3
   config = Left
 end
 
 begin
   prog = mythtv
   button = Right
   repeat = 3
   config = Right
 end
 
 begin
   prog = mythtv
   button = Play
   config = Return
 end
 
 begin
   prog = mythtv
   button = OK
   config = Return
 end
 
 begin
   prog = mythtv
   button = Enter
   config = Return
 end
 
 begin
   prog = mythtv
   button = Mute
   config = |
 end
 
 begin
   prog = mythtv
   button = Rewind
   config = <
 end
 
 begin
   prog = mythtv
   button = Forward
   config = >
 end
 
 begin
   prog = mythtv
   button = Record
   config = R
 end
 
 begin
  prog = mythtv
  button = Stop
  config = O
 end
 
 begin
   prog = mythtv
   button = Pause
   config = P
 end
 
 # Use for backwards commercial skip
 begin
  prog = mythtv
  button = Replay
  config = Q
 end
 
 # Use for forward commercial skip
 begin
  prog = mythtv
  button = Skip
  config = Z
 end
 
 begin
  prog = mythtv
  button = LiveTV
  repeat = 3
  config = ALT+L
 end
 
 # Toggle subtitles (closed captions)
 begin
  prog = mythtv
  button = Teletext
  config = T   
 end
 
 begin
  prog = mythtv
  button = Blue
  config = W   
 end
To start lircd at boot i put
Code:
lircd -d /dev/lirc/0
into the file /etc/rc.d/rc.local
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mce remote not working anymore terry1982 Linux - Hardware 1 05-05-2008 06:27 AM
LXer: Pre-build MythTV Linux PVR eats Windows MCE for breakfast LXer Syndicated Linux News 0 12-16-2006 12:54 AM
MCE remote, wake up Xerop Linux - Hardware 2 11-16-2006 05:00 PM
lirc and mythtv scales Linux - Hardware 1 06-15-2006 04:25 PM
Kubuntu 5.10+MythTV+WinTV PVR 500 MCE no picture madj42 Ubuntu 0 03-03-2006 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration