View  Edit  Attributes  History  Attach  Print  Search

Lirc

Installing lirc

 sudo apt-get install lirc

Following http://www.mythtv.org/wiki/index.php/LCDproc

http://ubuntuforums.org/showthread.php?t=306437 http://www.mythtv.org/wiki/index.php/Imon

No lirc_imon module

Installing lirc_imon module

Checking what type of vfd I have, it seems to be the iMon PAD:

 lsusb
 Bus 002 Device 001: ID 0000:0000  
 Bus 001 Device 002: ID 046d:c504 Logitech, Inc. Cordless Mouse+Keyboard Receiver
 Bus 001 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
 Bus 001 Device 001: ID 0000:0000  
  1. Downloading lirc-0.8.2.tar.bz2 from http://lirc.org/ Documentation can be found on http://lirc.org/html/index.html
  2. Extract and start the setup.sh to select driver
 bunzip2 lirc-0.8.2.tar.bz2
 tar xvf lirc-0.8.2.tar
 cd lirc-0.8.2
 ./setup.sh 
  1. Selecting
    1. 1. Driver configuration
    2. 8. USB devices
    3. k. Soundgraph iMON PAD IR/VFD (I here noted that the Soundgraph iMON Knob was listed...)
    4. 3. Save configuration & run configure
  2. Compile and install
 make
 sudo make install

Now I had to change a couple of lines in /etc/init.d/lirc:

 test -f /usr/local/sbin/lircd || exit 0
test -f /usr/local/sbin/lircmd || exit 0
    if $START_LIRCD; then
      echo -n " lircd"
      LIRCD_ARGS=`build_args $LIRCD_ARGS`
      start-stop-daemon --start --quiet --exec /usr/local/sbin/lircd -- $LIRCD_ARGS /etc/lirc/lircd.conf \
                < /dev/null
    fi
    if $START_LIRCMD; then
      echo -n " lircmd"
      start-stop-daemon --start --quiet --exec /usr/local/sbin/lircmd /etc/lirc/lircmd.conf \
                < /dev/null
    fi

and move the lircd.conf int /etc/lirc/lircd.conf

Making the Antec Fusion v2 Knob work.

The knob did not work with the lircd.conf file that got installed, (the sympton was that irw was silent) instead I used

 irrecord --device=/dev/lirc0 /etc/lircd.conf"

Which gave me the following lircd.conf:

 begin remote

  name         AntecFusion2VolumeKnob
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  post_data_bits  16
  post_data      0x0
  gap          163996
  min_repeat      5
  toggle_bit_mask 0x30000

      begin codes
          WhelCW                   0x0001
          WhelCC                   0x0100
      end codes

end remote

The Haupauge MCE remote

I used the irrecord for this as well and got the following:

 
begin remote

  name     HauppaugeMce
  bits            8
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   24
  pre_data       0x800F04
  gap          203999
  min_repeat      1
  toggle_bit_mask 0x8000

      begin codes
          MyTV                     0x46
          MyMusic                  0x47
          MyPictures               0x49
          Power                    0x0C
          MyVideos                 0x4A
          Stop                     0x19
          Record                   0x17
          Pause                    0x18
          Play                     0x16
          Rewind                   0x15
          Forward                  0x14
          Replay                   0x1B
          Skip                     0x1A
          Back                     0x23
          More                     0x0F
          Up                       0x1E
          Down                     0x1F
          Left                     0x20
          Right                    0x21
          Ok                       0x22
          Vol+                     0x10
          Vol-                     0x11
          Ch+                      0x12
          Ch-                      0x13
          Win                      0x0D
          Mute                     0x0E
          RecordedTV               0x48
          Guide                    0x26
          LiveTv                   0x25
          DvdMenu                  0x24
          1                        0x01
          2                        0x02
          3                        0x03
          4                        0x04
          5                        0x05
          6                        0x06
          7                        0x07
          8                        0x08
          9                        0x09
          *                        0x1D
          0                        0x00
          #                        0x1C
          Clear                    0x0A
          Enter                    0x0B
          Red                      0x5B
          Green                    0x5C
          Yellow                   0x5D
          Blue                     0x5E
          Teletext                 0x5A
      end codes

end remote

More remote codes can be found on http://lirc.sourceforge.net/remotes/

The next step was to get the UsbUirt to work.

Canal digital remote for CDC5050

I tried doing the irrecord for this remote, but it resulted in a zombied irrecord process and I had to to a full shutdow/powerup to restore things to normal.


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

Volume Knob on Antec Fusion: http://www.mythtv.org/wiki/index.php/Volume_Knob_on_Antec_Fusion
LCDproc: http://www.mythtv.org/wiki/index.php/LCDproc
Imon: http://www.mythtv.org/wiki/index.php/Imon
Antec Fusion and MythTV: http://longman.deadsquid.com/?p=287
HOW-TO Configure the VFD to work with MythTV on a Antec Fusion case: http://ubuntuforums.org/showthread.php?t=306437\\